.auth-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 0 18px
}

.auth-brand .auth-logo {
  height: 32px;
  display: block;
  margin: 0
}

.auth-site-name {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.3px
}

.auth-title {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  text-align: center;
  letter-spacing: -.3px;
  margin: 0 0 10px
}

.auth-discord-intro {
  font-size: 13.5px;
  color: var(--muted, #9a9aa6);
  text-align: center;
  margin: 0 0 22px;
  line-height: 1.6
}

.btn-discord {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: #5865F2;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  padding: 14px 20px;
  border-radius: 13px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(88, 101, 242, .38);
  transition: transform .15s, box-shadow .15s, filter .15s;
  margin-bottom: 4px
}

.btn-discord:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
  box-shadow: 0 13px 30px rgba(88, 101, 242, .52)
}

.btn-discord:active {
  transform: translateY(0)
}

.btn-discord svg {
  width: 20px;
  height: 20px;
  flex: none
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0 10px;
  color: var(--muted2, #63636e);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line, #28282f)
}




.btn-auth {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  background: transparent;
  background-color: transparent;
  color: #fff;
  font-size: 13.5px;
  font-weight: 650;
  height: 42px;
  padding: 0 20px;
  border-radius: 999px;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, .22);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .25);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: all .2s ease;
  text-decoration: none !important;
}

.btn-auth:hover {
  background: rgba(255, 255, 255, .12);
  background-color: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .4);
  box-shadow: 0 0 14px rgba(255, 255, 255, .12);
  transform: none;
  filter: none;
}

.btn-auth:active {
  transform: scale(0.98);
}

.btn-auth svg {
  width: 17px;
  height: 17px;
  color: #ffffff;
  stroke: #ffffff;
  fill: none;
}

#authSlot .user-chip,
.user-chip,
#authSlot .user-chip:hover,
.user-chip:hover,
#authSlot .user-chip:active,
.user-chip:active,
#authSlot .user-chip:focus,
.user-chip:focus,
#authSlot .user-chip:visited,
.user-chip:visited,
#authSlot .user-chip *,
.user-chip *,
#authSlot .btn-auth,
.btn-auth,
#authSlot .btn-auth *,
.btn-auth * {
  text-decoration: none !important;
}

.user-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: transparent;
  background-color: transparent;
  border: none;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  padding: 0;
  box-shadow: none;
  text-decoration: none !important;
  transition: transform .2s ease;
}

.user-chip:hover {
  background: transparent;
  border: none;
  box-shadow: none;
  transform: scale(1.06);
  text-decoration: none !important;
}

.user-chip:active {
  transform: scale(0.98);
  text-decoration: none !important;
}

.user-chip .ava {
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  border-radius: 50%;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #1c1f2e 0%, #2d3248 100%);
  border: 1.5px solid rgba(255, 255, 255, .25);
  box-shadow: 0 4px 16px rgba(0, 0, 0, .35);
  overflow: hidden;
  box-sizing: border-box;
  text-decoration: none !important;
}

.user-chip .ava img,
.user-chip .user-ava-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}

.user-chip .uname,
#authSlot .user-chip .uname,
#authSlot .user-chip span:not(.ava) {
  display: none !important;
}

#authSlot .btn-auth[hidden],
#authSlot .btn-auth.hidden,
#authSlot .btn-auth[style*="display: none"],
#authSlot .btn-auth[style*="display:none"],
.btn-auth[hidden],
.btn-auth.hidden,
.btn-auth[style*="display: none"],
.btn-auth[style*="display:none"] {
  display: none !important;
}

#authSlot .user-chip[hidden],
#authSlot .user-chip.hidden,
#authSlot .user-chip[style*="display: none"],
#authSlot .user-chip[style*="display:none"],
.user-chip[hidden],
.user-chip.hidden,
.user-chip[style*="display: none"],
.user-chip[style*="display:none"] {
  display: none !important;
}

.auth-overlay,
.profile-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483647 !important;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(4, 4, 7, .72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px)
}

@media(max-width:900px) {

  .auth-overlay,
  .profile-overlay {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(4, 4, 7, .88)
  }
}

.auth-overlay.open,
.profile-overlay.open {
  display: flex
}

.auth-card {
  width: 100%;
  max-width: 400px;
  background: #14141a;
  border: 1px solid var(--line2, #38383f);
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .7);
  position: relative;
  animation: authpop .22s ease
}

@keyframes authpop {
  from {
    opacity: 0;
    transform: translateY(12px) scale(.98)
  }

  to {
    opacity: 1;
    transform: none
  }
}

.auth-card .x,
.profile-card .x {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line, #28282f);
  color: var(--muted, #9a9aa6);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .15s;
  z-index: 2
}

.auth-card .x:hover,
.profile-card .x:hover {
  background: rgba(255, 255, 255, .1);
  color: #fff
}

.auth-logo {
  height: 34px;
  display: block;
  margin: 2px auto 18px
}

.auth-brand .auth-logo {
  margin: 0;
  height: 32px
}

.auth-tabs {
  display: flex;
  gap: 4px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line, #28282f);
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 20px
}

.auth-tabs button {
  flex: 1;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted, #9a9aa6);
  font-size: 13.5px;
  font-weight: 700;
  padding: 9px;
  border-radius: 9px;
  transition: .16s
}

.auth-tabs button.active {
  background: rgba(255, 255, 255, .1);
  color: #fff
}

.auth-field {
  margin-bottom: 13px
}

.auth-field label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted, #9a9aa6);
  margin-bottom: 6px
}

.auth-field input {
  width: 100%;
  background: var(--panel2, #1c1c24);
  border: 1px solid var(--line, #28282f);
  border-radius: 11px;
  padding: 12px 14px;
  color: var(--txt, #f3f3f6);
  font-size: 14px;
  outline: none;
  transition: border-color .16s, box-shadow .16s
}

.auth-field input:focus {
  border-color: rgba(255, 255, 255, .4);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .06)
}

.pass-wrap {
  position: relative
}

.pass-wrap input {
  padding-right: 46px
}

.pass-eye {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: none;
  background: none;
  color: var(--muted, #9a9aa6);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: .15s
}

.pass-eye:hover {
  color: #fff;
  background: rgba(255, 255, 255, .06)
}

.pass-eye svg {
  width: 18px;
  height: 18px
}

.auth-submit {
  width: 100%;
  margin-top: 6px;
  cursor: pointer;
  border: none;
  color: #fff;
  font-size: 14.5px;
  font-weight: 800;
  padding: 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent, #e50914), var(--accent2, #ff3b4a));
  box-shadow: 0 10px 26px rgba(229, 9, 20, .38);
  transition: transform .15s, box-shadow .15s, opacity .15s
}

.auth-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(229, 9, 20, .5)
}

.auth-submit:disabled {
  opacity: .6;
  cursor: default;
  transform: none;
  box-shadow: none
}

.auth-msg {
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 14px;
  padding: 10px 12px;
  border-radius: 10px;
  display: none
}

.auth-msg.show {
  display: block
}

.auth-msg.err {
  background: rgba(229, 9, 20, .12);
  border: 1px solid rgba(229, 9, 20, .35);
  color: #ff8f97
}

.auth-msg.ok {
  background: rgba(46, 160, 67, .14);
  border: 1px solid rgba(46, 160, 67, .4);
  color: #7ee18a
}

.auth-hint {
  font-size: 11.5px;
  color: var(--muted2, #63636e);
  text-align: center;
  margin-top: 14px;
  line-height: 1.5
}

.profile-card {
  width: 100%;
  max-width: 900px;
  max-height: 86vh;
  overflow: auto;
  background: #121218;
  border: 1px solid var(--line2, #38383f);
  border-radius: 20px;
  padding: 26px clamp(18px, 3vw, 32px) 30px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .7);
  position: relative;
  animation: authpop .22s ease
}

.profile-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  padding-right: 36px
}

.profile-head .ava {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--accent, #e50914), var(--accent2, #ff3b4a))
}

.profile-head .who {
  min-width: 0
}

.profile-head .who h3 {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 3px;
  letter-spacing: -.3px
}

.profile-head .who .m {
  font-size: 13px;
  color: var(--muted, #9a9aa6);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap
}

.prof-tabs {
  display: flex;
  gap: 4px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line, #28282f);
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 22px
}

.prof-tabs button {
  flex: 1;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted, #9a9aa6);
  font-size: 13.5px;
  font-weight: 700;
  padding: 10px;
  border-radius: 9px;
  transition: .16s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px
}

.prof-tabs button.active {
  background: rgba(255, 255, 255, .1);
  color: #fff
}

.prof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(clamp(120px, 15vw, 150px), 1fr));
  gap: clamp(12px, 1.6vw, 18px)
}

.prof-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: var(--panel, #15151b);
  border: 1px solid var(--line, #28282f);
  transition: transform .18s, border-color .18s
}

.prof-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, .28)
}

.prof-card a {
  display: block;
  color: inherit;
  text-decoration: none
}

.prof-poster {
  aspect-ratio: 2/3;
  background: linear-gradient(150deg, #20233180, #101219) center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px;
  color: var(--muted, #9a9aa6);
  font-size: 12px;
  font-weight: 700
}

.prof-card .nm {
  padding: 9px 10px 11px;
  font-size: 12.5px;
  font-weight: 700;
  color: #eef0f7;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap
}

.prof-remove {
  position: absolute;
  top: 7px;
  right: 7px;
  z-index: 2;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(8, 10, 15, .78);
  border: 1px solid rgba(255, 255, 255, .14);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: .16s
}

.prof-card:hover .prof-remove {
  opacity: 1
}

.prof-remove:hover {
  background: var(--accent, #e50914)
}

.prof-remove svg {
  width: 15px;
  height: 15px
}

.prof-empty {
  grid-column: 1/-1;
  text-align: center;
  color: var(--muted2, #63636e);
  padding: 50px 20px;
  font-size: 14px;
  line-height: 1.6
}

.content-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  max-width: 1640px;
  margin: clamp(14px, 2.4vw, 22px) auto 0;
  padding: 0 clamp(12px, 3vw, 32px)
}

.ca-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap
}

.ca-views {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted, #9a9aa6);
  background: #17171e;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 13px;
  padding: 12px 18px
}

.ca-views svg {
  width: 18px;
  height: 18px;
  opacity: .9
}

.ca-views b {
  color: #fff;
  font-weight: 800
}

.ca-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  background: #17171e;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, .1);
  transition: background .16s, border-color .16s, transform .16s, color .16s
}

.ca-btn:hover {
  background: #20202a;
  border-color: rgba(255, 255, 255, .2);
  transform: translateY(-1px)
}

.ca-btn svg {
  width: 19px;
  height: 19px
}

.ca-btn.busy {
  opacity: .6;
  pointer-events: none
}

.ca-count {
  font-variant-numeric: tabular-nums;
  min-width: 12px
}

.ca-btn.watch {
  color: #a5b4fc
}

.ca-btn.watch.active {
  color: #fff;
  background: linear-gradient(135deg, #4f46e5, #6366f1);
  border-color: transparent
}

.ca-react {
  display: inline-flex;
  gap: 0;
  border-radius: 13px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1);
  background: #17171e
}

.ca-react .ca-btn {
  border: none;
  border-radius: 0;
  background: transparent;
  padding: 12px 18px
}

.ca-react .ca-btn+.ca-btn {
  border-left: 1px solid rgba(255, 255, 255, .1)
}

.ca-react .ca-btn:hover {
  transform: none;
  background: rgba(255, 255, 255, .06)
}

.ca-btn.like {
  color: #4ade80
}

.ca-btn.dislike {
  color: #f87171
}

.ca-btn.like.active {
  color: #fff;
  background: linear-gradient(135deg, #16a34a, #22c55e)
}

.ca-btn.dislike.active {
  color: #fff;
  background: linear-gradient(135deg, #dc2626, #ef4444)
}

@media(max-width:560px) {
  .content-actions {
    justify-content: center
  }
}

.ca-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 12px);
  z-index: 2147483647 !important;
  background: #1c1c24;
  border: 1px solid var(--line2, #38383f);
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 12px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .5);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s, transform .2s;
  max-width: 88vw;
  text-align: center
}

.ca-toast.show {
  opacity: 1;
  transform: translate(-50%, 0)
}

.nb-login-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483647 !important;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(5, 6, 10, .74);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px)
}

.nb-login-modal.show {
  display: flex;
  animation: nbLoginFade .18s ease
}

@keyframes nbLoginFade {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

.nb-login-card {
  position: relative;
  width: 100%;
  max-width: 400px;
  text-align: center;
  overflow: hidden;
  padding: clamp(26px, 3.4vw, 36px) clamp(22px, 3vw, 30px) clamp(20px, 2.6vw, 26px);
  border-radius: 22px;
  background: linear-gradient(180deg, #181820, #0b0b11);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .66);
  animation: nbLoginPop .26s cubic-bezier(.2, .7, .3, 1)
}

@keyframes nbLoginPop {
  from {
    opacity: 0;
    transform: translateY(14px) scale(.97)
  }

  to {
    opacity: 1;
    transform: none
  }
}

.nb-login-card::before {
  display: none;
  content: none;
}

.nb-login-card>* {
  position: relative;
  z-index: 1
}

.nb-login-logo {
  height: clamp(28px, 3.6vw, 36px);
  width: auto;
  display: block;
  margin: 0 auto 18px
}

.nb-login-card h3 {
  font-size: clamp(19px, 2.6vw, 23px);
  font-weight: 800;
  color: #fff;
  margin: 0 0 10px;
  letter-spacing: -.3px
}

.nb-login-card p {
  font-size: 14px;
  color: #c7c7d4;
  line-height: 1.6;
  margin: 0 auto 22px;
  max-width: 320px
}

.nb-login-card p b {
  color: #fff;
  font-weight: 800
}

.nb-login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  cursor: pointer;
  border: none;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  padding: 12px 24px;
  border-radius: 12px;
  white-space: nowrap;
  background: #5865F2;
  box-shadow: 0 12px 28px rgba(88, 101, 242, .42);
  transition: transform .16s, box-shadow .16s, filter .16s
}

.nb-login-btn svg {
  width: 18px;
  height: 18px;
  flex: none
}

.nb-login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(88, 101, 242, .58);
  filter: brightness(1.08)
}

.nb-login-btn:active {
  transform: translateY(0)
}

.nb-login-note {
  margin-top: 16px;
  font-size: 12px;
  color: #7c7c8a;
  line-height: 1.5
}

.nb-login-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  cursor: pointer;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  color: #9a9aa6;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s, color .15s
}

.nb-login-close:hover {
  background: rgba(255, 255, 255, .13);
  color: #fff
}

.nb-login-close svg {
  width: 15px;
  height: 15px
}

@media(max-width:520px) {
  .nb-login-modal {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(5, 6, 10, .86)
  }

  .nb-login-card {
    max-width: 340px
  }

  .nb-login-card p {
    font-size: 13px
  }
}

.ctrl-btn#btnCast,
#btnCast {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  position: relative !important;
  cursor: pointer !important;
}

.ctrl-btn#btnCast .g-cast-icon {
  display: block !important;
  width: 20px !important;
  height: 20px !important;
  pointer-events: none;
}

.ctrl-btn#btnCast:hover .g-cast-icon {
  color: #ffffff !important;
  transform: scale(1.1);
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.5));
}

.ctrl-btn#btnCast.casting .g-cast-icon {
  color: #ff3b4a !important;
}

@media(max-width: 900px) {
  #authSlot {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 8px !important;
    flex: 0 0 auto !important;
    flex-shrink: 0 !important;
    margin-left: 0 !important;
    white-space: nowrap !important;
    z-index: 100 !important;
  }

  #authSlot .btn-auth,
  .btn-auth {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 14px !important;
    border-radius: 999px !important;
    background: transparent !important;
    background-color: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    color: #ffffff !important;
    font-size: 12.5px !important;
    font-weight: 650 !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25) !important;
    backdrop-filter: blur(18px) !important;
    -webkit-backdrop-filter: blur(18px) !important;
    cursor: pointer !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
  }

  #authSlot .btn-auth:hover,
  .btn-auth:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    background-color: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 0 14px rgba(255, 255, 255, 0.12) !important;
    transform: none !important;
  }

  #authSlot .btn-auth .lbl,
  .btn-auth .lbl {
    display: inline !important;
    font-size: 12.5px !important;
    font-weight: 650 !important;
    color: #ffffff !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  #authSlot .user-chip,
  .user-chip {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    background: transparent !important;
    border: none !important;
    border-radius: 50% !important;
    padding: 0 !important;
    text-decoration: none !important;
    transition: transform 0.16s ease !important;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    box-sizing: border-box !important;
    overflow: visible !important;
    flex: 0 0 auto !important;
  }

  #authSlot .user-chip:hover,
  .user-chip:hover {
    background: transparent !important;
    border: none !important;
    transform: scale(1.05) !important;
  }

  #authSlot .user-chip .ava,
  .user-chip .ava {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    border-radius: 50% !important;
    flex: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    color: #fff !important;
    background: linear-gradient(135deg, #1c1f2e 0%, #2d3248 100%) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.25) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35) !important;
    overflow: hidden !important;
  }

  #authSlot .user-chip .ava img,
  .user-chip .ava img,
  #authSlot .user-chip .ava img.discord-ava,
  .user-chip .ava img.discord-ava,
  #authSlot .user-chip .user-ava-img,
  .user-chip .user-ava-img {
    width: 100% !important;
    height: 100% !important;
    border-radius: 50% !important;
    display: block !important;
    object-fit: cover !important;
  }

  #authSlot .user-chip .uname,
  .user-chip .uname,
  #authSlot .user-chip span:not(.ava),
  .user-chip span:not(.ava) {
    display: none !important;
  }

  #authSlot .btn-auth[hidden],
  #authSlot .btn-auth.hidden,
  #authSlot .btn-auth[style*="display: none"],
  #authSlot .btn-auth[style*="display:none"],
  .btn-auth[hidden],
  .btn-auth.hidden,
  .btn-auth[style*="display: none"],
  .btn-auth[style*="display:none"] {
    display: none !important;
  }

  #authSlot .user-chip[hidden],
  #authSlot .user-chip.hidden,
  #authSlot .user-chip[style*="display: none"],
  #authSlot .user-chip[style*="display:none"],
  .user-chip[hidden],
  .user-chip.hidden,
  .user-chip[style*="display: none"],
  .user-chip[style*="display:none"] {
    display: none !important;
  }
}

@media(max-width: 480px) {
  #authSlot {
    gap: 6px !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
  }

  #authSlot .btn-auth,
  .btn-auth {
    width: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 34px !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
    text-decoration: none !important;
  }

  #authSlot .btn-auth .lbl,
  .btn-auth .lbl {
    display: none !important;
  }

  #authSlot .btn-auth svg,
  .btn-auth svg {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    min-height: 16px !important;
    margin: 0 !important;
  }

  #authSlot .user-chip,
  .user-chip {
    width: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 34px !important;
    overflow: hidden !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    background: transparent !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    text-decoration: none !important;
  }

  #authSlot .user-chip .uname,
  .user-chip .uname {
    display: none !important;
  }

  #authSlot .user-chip .ava,
  .user-chip .ava {
    width: 100% !important;
    height: 100% !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    background: linear-gradient(135deg, var(--accent, #e50914), var(--accent2, #ff3b4a)) !important;
    color: #ffffff !important;
    overflow: hidden !important;
    text-decoration: none !important;
  }

  #authSlot .user-chip .ava img,
  .user-chip .ava img,
  #authSlot .user-chip .ava img.discord-ava,
  .user-chip .ava img.discord-ava {
    width: 100% !important;
    height: 100% !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    display: block !important;
  }
}

@media(max-width: 360px) {
  #authSlot {
    gap: 4px !important;
  }

  #authSlot .btn-auth,
  .btn-auth {
    width: 32px !important;
    min-width: 32px !important;
    max-width: 32px !important;
    height: 32px !important;
    min-height: 32px !important;
    flex: 0 0 32px !important;
  }

  #authSlot .user-chip,
  .user-chip {
    width: 32px !important;
    min-width: 32px !important;
    max-width: 32px !important;
    height: 32px !important;
    min-height: 32px !important;
    flex: 0 0 32px !important;
  }
}

.notify-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.btn-notify {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  text-decoration: none !important;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
  margin: 0;
  flex: 0 0 auto;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  z-index: 101;
}

.btn-notify * {
  pointer-events: none;
}

.btn-notify:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  text-decoration: none !important;
  transform: scale(1.05);
}

.btn-notify:active {
  transform: scale(0.92);
}

.btn-notify svg {
  width: 19px;
  height: 19px;
  transition: transform 0.25s ease;
}

.btn-notify:hover svg {
  transform: rotate(15deg);
}

.btn-notify.has-unread {
  color: #ffd76a;
  border-color: rgba(241, 196, 15, 0.45);
  box-shadow: 0 0 16px rgba(241, 196, 15, 0.25);
}

.btn-notify.has-unread svg {
  animation: bellRing 3.5s ease infinite;
}

@keyframes bellRing {

  0%,
  60%,
  100% {
    transform: rotate(0deg);
  }

  10%,
  30% {
    transform: rotate(-14deg);
  }

  20%,
  40% {
    transform: rotate(14deg);
  }
}

.notify-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: linear-gradient(135deg, #e50914, #ff3b4a);
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #07080c;
  box-shadow: 0 0 10px rgba(229, 9, 20, 0.7);
  box-sizing: border-box;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  animation: badgePop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes badgePop {
  0% {
    transform: scale(0);
    opacity: 0;
  }

  70% {
    transform: scale(1.2);
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Dropdown Container */
.notify-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(370px, calc(100vw - 28px));
  background: #0f111a;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85), 0 0 30px rgba(229, 9, 20, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 100000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.96);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.notify-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.notify-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.notify-title {
  font-size: 13.5px;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 7px;
}

.notify-mark-all {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}

.notify-mark-all:hover {
  color: #ffd76a;
  background: rgba(255, 255, 255, 0.06);
}

.notify-list {
  max-height: 350px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}

.notify-list::-webkit-scrollbar {
  width: 5px;
}

.notify-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 99px;
}

.notify-item {
  display: flex;
  gap: 12px;
  padding: 13px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  text-decoration: none;
  color: inherit;
  transition: background 0.15s ease;
  position: relative;
  cursor: pointer;
}

.notify-item:hover {
  background: rgba(255, 255, 255, 0.04);
}

.notify-item.unread {
  background: rgba(229, 9, 20, 0.05);
}

.notify-item.unread:hover {
  background: rgba(229, 9, 20, 0.09);
}

.notify-item-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e50914;
  position: absolute;
  top: 16px;
  right: 14px;
  box-shadow: 0 0 6px #e50914;
}

.notify-item-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(229, 9, 20, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  font-size: 12.5px;
  font-weight: 800;
  color: #fff;
  overflow: hidden;
}

.notify-item-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.notify-author-name {
  font-size: 10.5px;
  font-weight: 800;
  color: #ffd76a;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.notify-item-body {
  flex: 1;
  min-width: 0;
}

.notify-item-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 3px;
  flex-wrap: wrap;
}

.notify-time {
  font-size: 11px;
  color: #64748b;
}

.notify-item-title {
  font-size: 13px;
  font-weight: 750;
  color: #ffffff;
  margin-bottom: 2px;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.notify-item-desc {
  font-size: 11.5px;
  color: #94a3b8;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.notify-empty {
  padding: 28px 20px;
  text-align: center;
  color: #64748b;
  font-size: 13px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.notify-empty svg {
  width: 30px;
  height: 30px;
  opacity: 0.4;
}

.notify-footer {
  padding: 11px 18px;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.notify-see-all {
  font-size: 12.5px;
  font-weight: 750;
  color: #e50914;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.15s, transform 0.15s;
}

.notify-see-all:hover {
  color: #ff3b4a;
  transform: translateX(2px);
}

.ann-link {
  color: #818cf8 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
  font-weight: 600 !important;
  word-break: break-all;
  transition: color 0.18s ease, text-decoration-color 0.18s ease;
  cursor: pointer;
}

.ann-link:hover {
  color: #a5b4fc !important;
  text-decoration: underline !important;
}

@media(max-width: 680px) {
  .btn-notify {
    width: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
  }

  .btn-notify svg {
    width: 16px !important;
    height: 16px !important;
  }

  .notify-dropdown {
    right: -10px;
    width: calc(100vw - 24px);
    max-width: 350px;
  }
}

/* Masquage complet du bouton Partager */
#btnShare,
.btn-share,
button[id="btnShare"],
button[title*="Partager" i],
button[aria-label*="Partager" i] {
  display: none !important;
  pointer-events: none !important;
}