.cr-reactions,
.notif-inner,
.notif-header-bar,
.notif-tabs,
.menu-m {
  display: flex;
  align-items: center;
}

.cr-reactions {
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.cr-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 24px;
  background: #151515;
  color: #ccc;
  cursor: pointer;
  overflow: hidden;
  transition: .18s ease;
  transition-property: transform, background-color, color, border-color, box-shadow, opacity;
}

.cr-btn:hover {
  background: #272727;
    color: #ffffff;
}
.cr-btn:focus { outline: 0; }
.cr-btn:focus-visible { outline: 2px solid rgba(255,255,255,.35); outline-offset: 2px; }
.cr-btn i { font-size: 13px; }

.cr-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cr-btn.clicked { transform: scale(.96); }
.cr-btn.clicked::after { animation: crRipple .35s ease; }
.cr-btn.active { transform: scale(1.02); }

.cr-like.active { background: rgba(76,175,80,.15); color: #4caf50; border-color: #4caf50; }
.cr-dislike.active { background: rgba(231,76,60,.15); color: #e74c3c; border-color: #e74c3c; }
.cr-btn.glow-like { box-shadow: 0 0 6px rgba(76,175,80,.35); }
.cr-btn.glow-dislike { box-shadow: 0 0 6px rgba(231,76,60,.35); }

.cr-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  gap: 2px;
}

.cr-score .score { font-size: 14px; font-weight: 600; line-height: 1; }
.cr-score .votes { font-size: 10px; line-height: 1; color: #777; }
.cr-score .pos { color: #4caf50; }
.cr-score .neg { color: #e74c3c; }
.cr-score .neutral { color: #aaa; }
.cr-score .score.bump { animation: scorePop .28s cubic-bezier(.2,.8,.2,1); }
.cr-score.flash { animation: flashBg .35s ease; }

.ss-comments-lazy {
  margin: 24px 0;
}

.ss-comments-entry {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 38px;
  background: rgba(255,255,255,.035);
  color: #f3f3f3;
  padding: 8px;
  text-align: right;
  cursor: pointer;
  transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
}

.ss-comments-entry:hover,
.ss-comments-entry:focus-visible {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.16);
  transform: translateY(-1px);
  outline: 0;
}

.ss-comments-entry__icon,
.ss-comments-panel__title-icon {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(57,190,138,.13);
  color: #59d5aa;
}

.ss-comments-entry__body {
  min-width: 0;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 5px;
}

.ss-comments-entry__title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
}

.ss-comments-entry__subtitle {
  color: #a8a8a8;
  font-size: 12px;
  line-height: 1.7;
}

.ss-comments-entry__chevron {
  color: #000000;
    font-size: 28px;
    margin-left: 10px;
    padding: 3px 10px;
    line-height: 0;
    border-radius: 30px;
    background: #ffffff;
}

/* Compact Single toolbar variant; the panel keeps the shared Comments lifecycle. */
body.single .ss-single-player-toolbar > .ss-comments-toolbar {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
	width: auto;
	max-width: none;
	min-width: 0;
	height: var(--ss-single-toolbar-secondary-hit, 40px);
	margin: 0;
}

body.single .ss-comments-toolbar > .ss-comments-toolbar__button {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	min-width: var(--ss-single-toolbar-secondary-hit, 40px);
	height: var(--ss-single-toolbar-secondary-hit, 40px);
	min-height: var(--ss-single-toolbar-secondary-hit, 40px);
	margin: 0;
	padding: 0;
	gap: 4px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	box-shadow: none;
	color: var(--ss-single-toolbar-secondary-color, rgba(255, 255, 255, .7));
	direction: ltr;
	transform: none;
}

body.single .ss-comments-toolbar > .ss-comments-toolbar__button.has-visible-count {
	min-width: 50px;
	padding: 0 8px;
}

@media (hover: hover) and (pointer: fine) {
	body.single .ss-comments-toolbar > .ss-comments-toolbar__button:hover {
		border: 0;
		background: transparent;
		box-shadow: none;
		color: var(--ss-single-toolbar-secondary-hover, #fff);
		transform: none;
	}

	body.single .ss-comments-toolbar > .ss-comments-toolbar__button:hover .ss-comments-toolbar__count {
		color: rgba(255, 255, 255, .88);
	}
}

.ss-comments-toolbar__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 20px;
	width: 20px;
	height: 20px;
	background: transparent;
	color: inherit;
	line-height: 1;
}

.ss-comments-toolbar__icon i {
	font-size: 18px;
	font-weight: 300;
	line-height: 1;
}

.ss-comments-toolbar__count {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
	min-width: 0;
	margin: 0;
	padding: 0;
	color: rgba(255, 255, 255, .6);
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	line-height: 1;
	letter-spacing: 0;
}

.ss-comments-toolbar__count[hidden] {
	display: none !important;
}

@media (max-width: 759.98px) {
	body.single .ss-comments-toolbar > .ss-comments-toolbar__button {
		min-width: 44px;
		padding: 0;
		gap: 4px;
	}

	body.single .ss-comments-toolbar > .ss-comments-toolbar__button.has-visible-count {
		min-width: 44px;
		padding: 0 6px;
	}

	.ss-comments-toolbar__icon i {
		font-size: 17px;
	}

	.ss-comments-toolbar__count {
		font-size: 11px;
		transform: translateY(1px);
	}
}

@media (max-width: 359.98px) {
	body.single .ss-single-player-toolbar > .ss-comments-toolbar,
	body.single .ss-comments-toolbar > .ss-comments-toolbar__button,
	body.single .ss-comments-toolbar > .ss-comments-toolbar__button.has-visible-count {
		width: 44px;
		min-width: 44px;
	}

	body.single .ss-comments-toolbar > .ss-comments-toolbar__button {
		padding: 0 2px;
		gap: 4px;
	}

	.ss-comments-toolbar__icon {
		flex-basis: 18px;
		width: 18px;
	}

	.ss-comments-toolbar__icon i {
		font-size: 18px;
	}

	.ss-comments-toolbar__count {
		position: static;
		display: inline-flex;
		width: auto;
		height: auto;
		min-width: 0;
		padding: 0;
		border: 0;
		border-radius: 0;
		background: transparent;
		box-shadow: none;
		font-size: 9.5px;
		font-weight: 600;
		line-height: 1;
		transform: translateY(1px);
	}
}

@media (max-width: 319.98px) {
	body.single .ss-single-player-toolbar > .ss-comments-toolbar {
		width: auto;
		min-width: 0;
	}

	body.single .ss-comments-toolbar > .ss-comments-toolbar__button,
	body.single .ss-comments-toolbar > .ss-comments-toolbar__button.has-visible-count {
		width: auto;
		min-width: var(--ss-single-toolbar-secondary-hit, 40px);
		padding: 0;
	}
}

.ss-comments-panel {
  position: fixed;
  inset: 0;
  z-index: var(--ss-layer-surface-panel);
  pointer-events: none;
}

.ss-player-login-prompt.ss-comments-auth-prompt {
  z-index: var(--ss-layer-surface-auth) !important;
}

.ss-comments-panel__backdrop {
  position: absolute;
  inset: 0;
  background: var(--ss-surface-backdrop-dialog);
  opacity: 0;
  transition: opacity .22s ease;
}

.ss-comments-panel__sheet {
  --ss-sheet-motion-y: 0px;
  position: absolute;
  box-sizing: border-box;
  top: 50%;
  left: 50%;
  width: min(560px, calc(100vw - 28px));
  max-height: min(82vh, 720px);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--ss-surface-border);
  border-radius: var(--ss-surface-radius-dialog);
  background: var(--ss-surface-bg-dialog);
  box-shadow: var(--ss-surface-shadow-dialog);
  opacity: 0;
  overflow: hidden;
  transform: translate3d(calc(-50% + 24px), calc(-50% + var(--ss-sheet-motion-y)), 0) scale(.985);
  transform-origin: center;
  transition: opacity var(--ss-surface-duration-fade) ease, transform var(--ss-surface-duration-enter) var(--ss-surface-ease-enter);
  touch-action: pan-y;
}

.ss-comments-panel.is-open {
  pointer-events: auto;
}

.ss-comments-panel.is-open .ss-comments-panel__backdrop {
  opacity: 1;
}

.ss-comments-panel.is-open .ss-comments-panel__sheet {
  opacity: 1;
  transform: translate3d(-50%, calc(-50% + var(--ss-sheet-motion-y)), 0) scale(1);
}

.ss-comments-panel.is-motion-dragging .ss-comments-panel__sheet,
.ss-comments-panel.is-motion-settling .ss-comments-panel__sheet {
  transition: none;
}

.ss-comments-panel.is-closing .ss-comments-panel__backdrop {
  opacity: 0;
}

.ss-comments-panel.is-closing .ss-comments-panel__sheet {
  opacity: 0;
  transform: translate3d(calc(-50% + 20px), calc(-50% + var(--ss-sheet-motion-y)), 0) scale(.985);
}

.ss-comments-panel__drag-handle {
  flex: 0 0 auto;
  display: none;
  justify-content: center;
  padding: 9px 0 2px;
  cursor: grab;
  touch-action: none;
}

.ss-comments-panel__drag-handle span {
  width: var(--ss-surface-handle-width);
  height: var(--ss-surface-handle-height);
  border-radius: var(--ss-surface-handle-radius);
  background: var(--ss-surface-handle-color);
  background: rgba(255,255,255,.18);
}

.ss-comments-panel.is-motion-dragging .ss-comments-panel__drag-handle {
  cursor: grabbing;
}

.ss-comments-panel__head {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  padding: 10px 16px 16px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.ss-comments-panel__top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ss-comments-panel__title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
}

.ss-comments-panel__count {
  color: #a7a7a7;
  font-size: 13px;
  font-weight: 700;
}

.ss-comments-panel__title-icon {
  flex-basis: 36px;
  width: 36px;
  height: 36px;
}

.ss-comments-panel__sort {
  align-self: flex-start;
  margin-right: auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255,255,255,.055);
}

.ss-comments-panel__sort button,
.ss-comments-panel__close,
.ss-comment-icon-btn,
.ss-comment-action,
.ss-comment-replies-toggle,
.ss-comments-form__context button {
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

.ss-comments-panel__sort button {
  min-width: 54px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #cfcfcf;
  font-size: 12px;
  line-height: 1.4;
}

.ss-comments-panel__sort button.active {
  background: rgba(255,255,255,.13);
  color: #fff;
}

.ss-comments-panel__close,
.ss-comment-icon-btn {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #d7d7d7;
}

.ss-comments-panel__close:hover,
.ss-comment-icon-btn:hover {
  background: rgba(255,255,255,.08);
  color: #fff;
}

.ss-comments-panel__body {
  padding: 14px 16px 16px;
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.ss-comments-form {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.ss-comments-form__guest {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.ss-comments-form input,
.ss-comments-form textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  background: rgba(255,255,255,.045);
  color: #fff;
  padding: 11px 12px;
  outline: 0;
}

.ss-comments-form textarea {
  resize: vertical;
  min-height: 92px;
  max-height: 180px;
  line-height: 1.8;
}

.ss-comments-form input:focus,
.ss-comments-form textarea:focus {
  border-color: rgba(89,213,170,.44);
}

.ss-comments-form__context,
.ss-comments-form__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ss-comments-form__context {
  color: #dcdcdc;
  font-size: 12px;
}

.ss-comments-form__context button {
  color: #59d5aa;
  padding: 4px 0;
}

.ss-comments-form__message {
  min-height: 20px;
  color: #aaa;
  font-size: 12px;
  line-height: 1.7;
}

.ss-comments-form__message.is-success {
  color: #59d5aa;
}

.ss-comments-form__message.is-error {
  color: #ff8f8f;
}

.ss-comments-submit {
  min-width: 96px;
  min-height: 38px;
  border: 0;
  border-radius: 999px;
  background: #f2f2f2;
  color: #151515;
  padding: 8px 14px;
  font-weight: 700;
  cursor: pointer;
}

.ss-comments-submit:disabled {
  opacity: .72;
  cursor: wait;
}

.ss-comments-submit .ss-shared-loader {
  color: #151515;
}

.ss-comments-list {
  display: grid;
  gap: 12px;
}

.ss-comment-item {
  position: relative;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: start;
  gap: 11px;
}

.ss-comment-item.has-open-replies::before {
  content: '';
  position: absolute;
  top: 46px;
  bottom: 58px;
  right: 23px;
  width: 1px;
  min-height: 42px;
  background: rgb(255 255 255 / 12%);
  pointer-events: none;
}

.ss-comment-item--reply {
  margin-top: 14px;
  z-index: 1;
}

.ss-comment-item__avatar {
  position: relative;
  align-self: start;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.ss-comment-item__profile-link {
  color: inherit;
  text-decoration: none !important;
}

.ss-comment-item__profile-link--avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  outline: 0;
}

.ss-comment-item__profile-link--avatar:focus-visible,
.ss-comment-item__profile-link--avatar:hover {
  box-shadow: 0 0 0 2px rgba(251, 203, 7, .34);
}

.ss-comment-item__avatar img,
.ss-comment-avatar-fallback {
  display: block;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 50%;
}

.ss-comment-item__avatar img {
  object-fit: cover;
}

.ss-comment-avatar-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #272727;
  color: rgb(223 230 232 / 34%);
  font-size: 18px;
}

.ss-comment-item--reply > .ss-comment-item__avatar::before {
  content: '';
  position: absolute;
  top: 50%;
  right: -34px;
  width: 34px;
  height: 1px;
  background: rgb(255 255 255 / 9%);
  transform: translateY(-50%);
  pointer-events: none;
}

.ss-comment-item__main {
  min-width: 0;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: border-color .18s ease, background-color .18s ease;
}

.ss-comment-item.is-target-comment .ss-comment-item__main {
  border-bottom-color: rgba(255,196,87,.55);
  background: linear-gradient(90deg, rgba(255,196,87,.08), transparent 52%);
}

.ss-comment-item__head,
.ss-comment-item__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ss-comment-item__head {
  justify-content: space-between;
}

.ss-comment-item__profile-link--name {
  display: inline-flex;
  min-width: 0;
  max-width: 100%;
}

.ss-comment-item__profile-link--name:hover,
.ss-comment-item__profile-link--name:focus-visible {
  color: #fbcb07;
  outline: 0;
}

.ss-comment-item__author {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}

.ss-comment-item__author strong {
  color: #fff;
  font-size: 13px;
}

.ss-comment-item__author span {
  color: #8f8f8f;
  font-size: 11px;
}

.ss-comment-item__text {
  color: #e7e7e7;
  font-size: 13px;
  line-height: 1.9;
  overflow-wrap: anywhere;
  text-align: right;
  direction: rtl;
}

.ss-comment-item__text p {
  margin: 8px 0 0;
}

.ss-comment-item__actions {
  justify-content: flex-start;
  margin-top: 8px;
}

.ss-comment-reactions {
  margin-top: 0;
  gap: 6px;
}

.ss-comment-reactions .cr-btn {
  min-width: 32px;
  min-height: 30px;
  padding: 5px 8px;
}

.ss-comment-action,
.ss-comment-replies-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #bdbdbd;
  font-size: 12px;
}

.ss-comment-action:hover,
.ss-comment-replies-toggle:hover {
  color: #fff;
}

.ss-comment-item__menu {
  position: relative;
}

.ss-comment-item__menu-list {
  position: absolute;
  top: 38px;
  left: 0;
  min-width: 138px;
  padding: 6px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  background: #202020;
  box-shadow: 0 12px 34px rgba(0,0,0,.25);
  z-index: 4;
}

.ss-comment-item__menu-list button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 10px;
  background: none;
  color: #e7e7e7;
  padding: 8px;
  text-align: right;
  cursor: pointer;
}

.ss-comment-item__menu-list button:hover {
  background: rgba(255,255,255,.07);
}

.ss-comment-replies-toggle {
  margin-top: 8px;
}

.ss-comment-replies {
  position: relative;
  margin-top: 10px;
  padding-top: 12px;
}

.ss-comment-replies-close {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 12px 57px 0 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255,196,87,.1);
  color: #ffc457;
  padding: 7px 12px;
  font-size: 12px;
  cursor: pointer;
}

.ss-comment-replies-close:hover,
.ss-comment-replies-close:focus-visible {
  background: rgba(255,196,87,.16);
  color: #ffd58a;
  outline: 0;
}

.ss-comments-empty,
.ss-comments-closed,
.ss-comments-loader {
  color: #aaa;
  text-align: center;
  padding: 18px 0;
  font-size: 13px;
}

.ss-comments-sentinel {
  width: 100%;
  height: 1px;
}

@media (max-width: 759.98px) {
  .ss-comments-panel__backdrop {
    background: var(--ss-surface-backdrop-sheet);
  }

  .ss-comments-panel__sheet {
    width: 100%;
    height: var(--ss-sheet-detent-height, 82vh);
    max-height: var(--ss-sheet-active-max-height, 88vh);
    top: auto;
    bottom: var(--ss-sheet-keyboard-inset, 0px);
    left: 0;
    border-radius: var(--ss-surface-radius-sheet);
    box-shadow: var(--ss-surface-shadow-sheet);
    transform: translate3d(0, calc(24px + var(--ss-sheet-motion-y)), 0);
  }

  .ss-comments-panel.is-open .ss-comments-panel__sheet {
    transform: translate3d(0, var(--ss-sheet-motion-y), 0);
  }

  .ss-comments-panel.is-closing .ss-comments-panel__sheet {
    transform: translate3d(0, calc(20px + var(--ss-sheet-motion-y)), 0);
  }

  .ss-comments-panel__drag-handle {
    display: flex;
  }

  .ss-comments-panel__head {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .ss-comments-panel__top {
    width: 100%;
    min-height: 36px;
    padding-left: 0;
  }

  .ss-comments-panel__sort {
    width: 100%;
    margin-right: 0;
  }

  .ss-comments-panel__sort button {
    flex: 1;
  }

  .ss-comments-form__guest {
    grid-template-columns: 1fr;
  }

  .ss-comments-form__foot {
    align-items: stretch;
    flex-direction: column;
  }

  .ss-comments-submit {
    width: 100%;
  }
}

.menu-m { justify-content: flex-end; gap: 11px; }
.menu-m > * { flex-shrink: 0; }

.bell-artists::after { display: none !important; }

.bell-artists,
.login-login {
  display: flex;
  align-items: center;
  justify-content: center;
}
.login-login i {
  display: block;
  font-size: 26px;
  color: #eee;
  margin-top: 18px !important;
  line-height: 1 !important;
}
.bell-artists i {
  display: block;
  font-size: 28px;
  color: rgba(245, 245, 247, .48);
  margin: 0;
  line-height: 1 !important;
  transition: color .18s ease, transform .18s ease;
}
.bell-artists.has-unread i {
  color: #fff;
}
.bell-artists:hover i,
.bell-artists:focus-visible i {
  color: #fff;
}
.cr-notification-root.is-open .bell-artists,
.bell-artists[aria-expanded="true"],
.cr-notification-root.is-open .bell-artists:hover,
.bell-artists[aria-expanded="true"]:hover {
  background: transparent !important;
}
.cr-notification-root.is-open .bell-artists i,
.bell-artists[aria-expanded="true"] i,
.cr-notification-root.is-open .bell-artists[aria-expanded="true"] i {
  color: #fff;
  transform: none;
}
.bell-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.bell-dot {
  position: absolute;
  top: 6px;
  right: 5px;
  width: 10px;
  height: 10px;
  background: #ff3b30;
  border-radius: 50%;
  z-index: 10;
  animation: bellPulse 1.4s infinite;
}

.bell-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(255,59,48,.6);
  animation: bellWave 1.4s infinite;
}
.notif-header-bar {
  justify-content: space-between;
  padding: 10px 20px;
  font-size: 20px;
  color: #fff;
  flex: 0 0 auto;
}

.notif-header-bar--surface {
  display: grid;
  grid-template-columns: minmax(96px, auto) minmax(0, 1fr);
  grid-template-areas: "actions main";
  align-items: center;
  gap: 10px 12px;
  direction: ltr !important;
  padding: 0 4px 8px;
}

.notif-header-main {
  grid-area: main;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  justify-self: end;
  direction: rtl;
}

.notif-header-title {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  color: #f5f5f5;
  direction: rtl;
  font-size: 18px;
  font-weight: 650;
  line-height: 26px;
  text-align: right;
  white-space: nowrap;
}

.notif-header-actions {
  grid-area: actions;
  min-width: 96px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  justify-self: start;
  gap: 4px;
}

.mark-all-read {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  border: 0;
  border-radius: 35px;
  background: none;
  color: #c9c9c9;
  padding: 6px 10px;
  cursor: pointer;
  font-size: 12px;
  line-height: 1;
  direction: ltr;
  white-space: nowrap;
}

.mark-all-read__label {
  direction: rtl;
  unicode-bidi: isolate;
}

.mark-all-read i {
  flex: 0 0 auto;
  font-size: 12px;
  line-height: 1;
}

.mark-all-read:hover {
  background: #191919;
  color: #fff;
}

/* Notification presentation; active state remains owned by cr.js. */
.notif-tabs {
  --ss-notif-tab-index: 0;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  height: 53px;
  padding: 0 0 8px;
  margin-bottom: 2px;
  box-sizing: border-box;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.065);
  border-radius: 0;
  flex: 0 0 auto;
}

.notif-tabs:has(button[data-tab="reply"].active) { --ss-notif-tab-index: 1; }
.notif-tabs:has(button[data-tab="reaction"].active) { --ss-notif-tab-index: 2; }
.notif-tabs:has(button[data-tab="post"].active) { --ss-notif-tab-index: 3; }

.notif-tabs::before {
  content: "";
  position: absolute;
  pointer-events: none;
  bottom: -1px;
  right: calc((100% - 12px)/8 - 12px + var(--ss-notif-tab-index)*((100% - 12px)/4 + 4px));
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: #decd9b;
  transition: right 240ms cubic-bezier(.22,1,.36,1);
}

.notif-tabs button {
  position: relative;
  min-width: 0;
  height: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #a8a9ae;
  text-align: center;
  cursor: pointer;
  padding: 0 8px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  line-height: 20px;
  transition: color 140ms ease, background-color 140ms ease, transform 110ms ease;
  -webkit-tap-highlight-color: transparent;
}

.notif-tabs button.active { color: #e4d6ac; }
.notif-tabs button::after { display: none !important; }
.notif-tabs button:active {
  transform: scale(.97);
  background: rgba(222,205,155,.075);
  transition-duration: 65ms;
}
.notif-tabs button:disabled {
  opacity: .45;
  cursor: default;
  transform: none;
}

.notif-item {
  position: relative;
  list-style: none;
  margin-top: 8px;
  margin-bottom: 0;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.045);
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
  transition: background-color 140ms ease;
}
.notif-item:first-child { margin-top: 0; }
.notif-item:last-child { border-bottom: 0; }
.notif-item[hidden] { display: none !important; }
.notif-item.unseen { background: rgba(255,255,255,.025); }
.notif-item:has(.notif-content-link:focus-visible) { background: rgba(222,205,155,.035); }
.notif-item:active { background: rgba(255,255,255,.055); transition-duration: 65ms; }
.notif-card { padding: 12px 8px; }

.notif-inner {
  display: grid !important;
  grid-template-columns: 32px minmax(0, 1fr) 48px;
  width: 100% !important;
  gap: 12px !important;
  min-height: 48px;
  align-items: center !important;
  padding: 0 !important;
}
.type-post .notif-inner { grid-template-columns: 32px minmax(0, 1fr) 60px; }
.notif-inner * { box-sizing: border-box; }

.notif-icon-right {
  position: relative;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  background: transparent;
  color: #b8bdc5;
  box-shadow: none;
  transform: none;
  transition: color 140ms ease;
}
.notif-item.unseen .notif-icon-right::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4da3ff;
  transform: translateY(-50%);
  pointer-events: none;
}
.notif-glyph {
  display: block;
  width: 24px;
  height: 24px;
  background: currentColor;
  -webkit-mask: var(--ss-notif-icon) center/contain no-repeat;
  mask: var(--ss-notif-icon) center/contain no-repeat;
}
.notif-icon-right--reply .notif-glyph { width: 23px; height: 23px; }
.notif-icon-right--like { color: #9bc4aa; }
.notif-icon-right--dislike { color: #d3a0a1; }
.notif-icon-right--reply { color: #c0c5ce; }
.notif-icon-right--music { color: #d8c080; }
.notif-icon-right--like {
  --ss-notif-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M7%2010v10H4a1%201%200%200%201-1-1v-8a1%201%200%200%201%201-1h3Zm0%200%204-7a3%203%200%200%201%202%203v3h5a2%202%200%200%201%202%202.4l-1.4%207A2%202%200%200%201%2016.6%2020H7%22%2F%3E%3C%2Fsvg%3E");
}
.notif-icon-right--dislike {
  --ss-notif-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cg%20transform%3D%22rotate%28180%2012%2012%29%22%3E%3Cpath%20d%3D%22M7%2010v10H4a1%201%200%200%201-1-1v-8a1%201%200%200%201%201-1h3Zm0%200%204-7a3%203%200%200%201%202%203v3h5a2%202%200%200%201%202%202.4l-1.4%207A2%202%200%200%201%2016.6%2020H7%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
}
.notif-icon-right--reply {
  --ss-notif-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m9%206-5%205%205%205M4%2011h10a6%206%200%200%201%206%206v1%22%2F%3E%3C%2Fsvg%3E");
}
.notif-icon-right--music {
  --ss-notif-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M9%2018V5l11-2v13M9%208l11-2%22%2F%3E%3Cellipse%20cx%3D%226%22%20cy%3D%2218%22%20rx%3D%223%22%20ry%3D%223%22%2F%3E%3Cellipse%20cx%3D%2217%22%20cy%3D%2216%22%20rx%3D%223%22%20ry%3D%223%22%2F%3E%3C%2Fsvg%3E");
}
.notif-icon-right--account {
  --ss-notif-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%228%22%20r%3D%223.5%22%2F%3E%3Cpath%20d%3D%22M5%2021v-2a7%207%200%200%201%2014%200v2%22%2F%3E%3C%2Fsvg%3E");
}

.notif-content {
  min-width: 0;
  min-height: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  text-align: right;
}
.notif-title {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow-wrap: anywhere;
  font-size: 14px;
  font-weight: 500;
  color: #e5e5e8;
  line-height: 23px;
  transition: color 140ms ease;
}
.notif-meta {
  margin: 0;
  font-size: 11.5px;
  font-weight: 500;
  line-height: 17px;
  color: #a0a1a6;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.notif-avatar {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
}
.notif-avatar img {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 50%;
}
.notif-post-cover { width: 60px; height: 60px; }
.notif-post-cover img { width: 60px; height: 60px; }
.notif-post-cover img, .notif-post-fallback { border-radius: 7px; }
.notif-post-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: #303030;
  color: #bcbcbc;
}
.type-account .notif-post-fallback { width: 48px; height: 48px; border-radius: 50%; }

.notif-panel-desk {
  --ss-notification-desktop-top: 0px;
  --ss-notification-desktop-bottom: 0px;
  position: fixed;
  inset: 0;
  z-index: var(--ss-layer-surface-panel);
  display: block;
  pointer-events: none;
}

.header-actions .cr-notification-root > .notif-panel-desk,
.cr-notification-root > .notif-panel-desk {
  position: fixed;
  inset: 0;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: auto;
  height: auto;
  z-index: var(--ss-layer-surface-panel);
}

.notif-panel-desk.is-open,
.notif-panel-desk.is-closing {
  pointer-events: auto;
}

.notif-panel-backdrop {
  position: absolute;
  inset: 0;
  background: var(--ss-surface-backdrop-drawer);
  opacity: 0;
  transition: opacity var(--ss-surface-duration-fade) ease;
}

.notif-panel-surface {
  --ss-sheet-motion-y: 0px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: min(420px, calc(100vw - 72px));
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  padding: 0 14px;
  border-right: 1px solid var(--ss-surface-border);
  border-radius: 0;
  background: var(--ss-surface-bg-drawer);
  box-shadow: var(--ss-surface-shadow-drawer-left);
  opacity: 0;
  transform: translate3d(-100%, 0, 0);
  transition: transform var(--ss-surface-duration-enter) var(--ss-surface-ease-enter), opacity var(--ss-surface-duration-fade) ease;
}

.notif-panel-desk.is-open .notif-panel-backdrop {
  opacity: 1;
}

.notif-panel-desk.is-open .notif-panel-surface {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.notif-panel-desk.is-closing .notif-panel-surface {
  opacity: 0;
  transform: translate3d(-100%, 0, 0);
}

.notif-panel-desk.is-motion-dragging .notif-panel-surface,
.notif-panel-desk.is-motion-settling .notif-panel-surface {
  transition: none;
}

.notif-panel-handle {
  display: none;
}

@media (min-width: 760px) {
  .notif-panel-desk,
  .notif-panel-desk.ss-sheet--notifications,
  body > .notif-panel-desk.ss-sheet--notifications {
    top: var(--ss-notification-desktop-top, 72px);
    bottom: var(--ss-notification-desktop-bottom, 74px);
    height: auto;
    max-height: calc(100dvh - var(--ss-notification-desktop-top, 72px) - var(--ss-notification-desktop-bottom, 74px));
  }

  .header-actions .cr-notification-root > .notif-panel-desk,
  .cr-notification-root > .notif-panel-desk {
    top: var(--ss-notification-desktop-top, 72px);
    bottom: var(--ss-notification-desktop-bottom, 74px);
    height: auto;
  }

  .notif-panel-surface {
    top: 0;
    bottom: 0;
    height: auto;
    min-height: 0;
    max-height: none;
  }
}

.notif-scroll {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0 3px 14px;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: #464649 transparent;
}

.notif-panel-desk a {
  color: #fff;
  padding: 0 5px;
  line-height: 2.2;
  font-size: 16px;
  text-decoration: none!important;
}

.notif-content-link {
  color: inherit !important;
  padding: 0 !important;
  line-height: inherit !important;
  font-size: inherit !important;
  text-decoration: none !important;
}

.notif-content-link:hover .notif-title,
.notif-content-link:focus-visible .notif-title {
  color: #fff;
}

.notif-avatar-link {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0;
  padding: 0 !important;
  line-height: 1 !important;
  border-radius: 50%;
  text-decoration: none !important;
  color: inherit !important;
  transition: opacity 140ms ease, transform 110ms ease, box-shadow 140ms ease;
  -webkit-tap-highlight-color: transparent;
}

.notif-user-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.035);
  color: #989ba2;
  font-size: 17px;
}

.notif-loader {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 10px;
  color: #bdbdbd;
  font-size: 12px;
}

.notif-loader .ss-shared-loader {
  --ss-loader-size: 22px;
  --ss-loader-thickness: 3px;
  gap: 8px;
  color: #bdbdbd;
  font-size: 12px;
  font-weight: 500;
}

.notif-scroll.is-initial-loading > .notif-item,
.notif-scroll.is-initial-loading > .notif-empty {
  display: none !important;
}

.notif-scroll.is-initial-loading > .notif-loader {
  min-height: 220px;
  margin-top: 0;
}

.notif-empty {
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  padding: 26px 14px;
  color: #b8b8b8;
  font-size: 13px;
  line-height: 1.7;
  text-align: center;
}

.notif-empty[hidden] {
  display: none !important;
}

.notif-empty i {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.055);
  color: #d8d8d8;
  font-size: 16px;
}

.notif-scroll::-webkit-scrollbar { width: 3px; }
.notif-scroll::-webkit-scrollbar-thumb { background: #464649; border-radius: 3px; }
.notif-scroll::-webkit-scrollbar-track { background: transparent; }

@media (max-width: 759.98px) {
  .notif-panel-handle {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    padding: 4px 0 8px;
    cursor: grab;
    touch-action: none;
  }

  .notif-panel-handle span {
    width: var(--ss-surface-handle-width);
    height: var(--ss-surface-handle-height);
    border-radius: var(--ss-surface-handle-radius);
    background: var(--ss-surface-handle-color);
  }

  .notif-panel-desk.is-motion-dragging .notif-panel-handle {
    cursor: grabbing;
  }

  .notif-panel-surface {
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    width: auto;
    height: var(--ss-sheet-detent-height, calc(100dvh - var(--ss-surface-mobile-top-gap, 64px)));
    max-height: var(--ss-sheet-active-max-height, calc(100dvh - var(--ss-surface-mobile-top-gap, 64px)));
    min-height: 360px;
    padding: 12px 12px max(12px, env(safe-area-inset-bottom));
    border-right: 0;
    border-radius: var(--ss-surface-radius-sheet);
    box-shadow: var(--ss-surface-shadow-sheet);
    transform: translate3d(0, calc(34px + var(--ss-sheet-motion-y)), 0);
  }

  .notif-panel-backdrop {
    background: var(--ss-surface-backdrop-sheet);
  }

  .notif-panel-desk.is-open .notif-panel-surface {
    transform: translate3d(0, var(--ss-sheet-motion-y), 0);
  }

  .notif-panel-desk.is-closing .notif-panel-surface {
    transform: translate3d(0, calc(34px + var(--ss-sheet-motion-y)), 0);
  }

  .notif-panel-desk.is-motion-dragging .notif-panel-surface,
  .notif-panel-desk.is-motion-settling .notif-panel-surface {
    transition: none;
  }

  .notif-header-bar {
    padding: 6px 8px 10px;
    font-size: 16px;
  }

  .notif-header-actions {
    min-width: 86px;
  }

  .mark-all-read {
    padding: 5px 6px;
    font-size: 11px;
    gap: 5px;
  }

  .mark-all-read i {
    font-size: 11px;
  }

  .notif-empty {
    min-height: 220px;
  }
}

@keyframes crRipple {
  from { width: 0; height: 0; opacity: 1; }
  to { width: 180px; height: 180px; opacity: 0; }
}

@keyframes scorePop {
  0% { transform: scale(1); }
  50% { transform: scale(1.18); }
  100% { transform: scale(1); }
}

@keyframes flashBg {
  0% { background: rgba(255,255,255,.08); }
  100% { background: transparent; }
}

@keyframes bellPulse {
  0%,100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

@keyframes bellWave {
  0% { transform: scale(1); opacity: .7; }
  100% { transform: scale(2.4); opacity: 0; }
}

.notif-panels {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
}

.notif-settings-link {
  position: relative;
  width: 44px;
  height: 44px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #94979e !important;
  padding: 0 !important;
  line-height: 1 !important;
  font-size: 14px !important;
  transition: color 140ms ease, background-color 140ms ease, transform 110ms ease;
  -webkit-tap-highlight-color: transparent;
}

.notif-settings-link i {
  font-size: 16px;
  line-height: 1;
}

.notif-scroll.is-hidden {
  display: none;
}

@media (max-width: 759.98px) {
  .ss-comments-panel__sheet {
    /* Keep the scrollport above system navigation; the keyboard inset already lifts the sheet. */
    padding-bottom: max(0px, calc(var(--ss-safe-area-bottom, env(safe-area-inset-bottom, 0px)) - var(--ss-sheet-keyboard-inset, 0px)));
  }

  .ss-comments-panel__head {
    flex: 0 0 auto;
  }

  .ss-comments-panel__body {
    flex: 1 1 auto;
    min-height: 0;
  }
}

/* Input feedback is presentation only; shared surface and link owners are unchanged. */
.notif-content-link { border-radius: 6px; -webkit-tap-highlight-color: transparent; }
.notif-content-link:focus-visible, .notif-tabs button:focus-visible,
.notif-inner[href]:focus-visible {
  outline: 2px solid #b8a777;
  outline-offset: 2px;
  border-radius: 6px;
}
.notif-settings-link:focus-visible, .notif-avatar-link:focus-visible {
  outline: 2px solid #b8a777;
  outline-offset: 2px;
  border-radius: 50%;
}
.notif-avatar-link:active { transform: scale(.94); opacity: .8; }
.notif-settings-link:active { transform: scale(.93); background: rgba(255,255,255,.08); }
.notif-settings-link[aria-disabled="true"] { opacity: .45; cursor: default; transform: none; }
.notif-scroll:not(.is-hidden):not(.is-initial-loading) {
  animation: ss-notif-content-in 140ms cubic-bezier(.2,.7,.2,1);
}
@keyframes ss-notif-content-in { from { opacity: .65; } to { opacity: 1; } }
@media (hover: hover) {
  .notif-tabs button:not(.active):hover { background: rgba(255,255,255,.035); color: #ececef; }
  .notif-tabs button.active:hover { background: transparent; color: #efe2bd; }
  .notif-item:hover { background: rgba(255,255,255,.025); }
  .notif-item:hover .notif-icon-right--like { color: #b1d8bf; }
  .notif-item:hover .notif-icon-right--dislike { color: #e7b8b9; }
  .notif-item:hover .notif-icon-right--reply { color: #e0e4eb; }
  .notif-avatar-link:hover { box-shadow: 0 0 0 3px rgba(255,255,255,.075); }
  .notif-settings-link:hover { background: rgba(255,255,255,.05); color: #e4d6ac !important; }
}
@media (max-width: 390px) {
  .notif-inner { grid-template-columns: 28px minmax(0, 1fr) 48px; }
  .type-post .notif-inner { grid-template-columns: 28px minmax(0, 1fr) 60px; }
  .notif-icon-right { width: 28px; }
  .notif-card { padding-left: 5px; padding-right: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  .notif-tabs::before, .notif-tabs button, .notif-item, .notif-title,
  .notif-icon-right, .notif-avatar-link, .notif-settings-link { transition: none; }
  .notif-scroll:not(.is-hidden):not(.is-initial-loading) { animation: none; }
  .notif-tabs button:active, .notif-avatar-link:active,
  .notif-settings-link:active { transform: none; }
}
