/* v99 notifications / party / profile fixes */
.watch-notify{position:relative;display:inline-flex}
.watch-notify__btn{position:relative}
.watch-notify__dot{position:absolute;right:9px;top:9px;width:8px;height:8px;border-radius:50%;background:#ff6b6b;box-shadow:0 0 0 2px rgba(var(--w-bg-rgb),1)}
.watch-notify__menu{position:absolute;top:calc(100% + 10px);right:0;width:min(380px,calc(100vw - 24px));max-height:70vh;overflow:auto;border-radius:22px;border:1px solid rgba(var(--w-ink-rgb),.12);background:rgba(20,22,28,.96);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);box-shadow:0 30px 70px rgba(0,0,0,.38);padding:12px;z-index:500}
html[data-watch-theme="light"] .watch-notify__menu{background:rgba(255,255,255,.96)}
.watch-notify__head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-bottom:10px;border-bottom:1px solid rgba(var(--w-ink-rgb),.08)}
.watch-notify__title{font-size:20px;font-weight:900;color:var(--w-text)}
.watch-notify__refresh{appearance:none;border:0;background:rgba(var(--w-ink-rgb),.08);color:var(--w-text);width:34px;height:34px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}
.watch-notify__list{display:grid;gap:10px;padding-top:12px}
.watch-notify__item{display:grid;grid-template-columns:1fr auto;gap:12px;padding:14px;border-radius:18px;background:rgba(var(--w-ink-rgb),.04);border:1px solid rgba(var(--w-ink-rgb),.08)}
.watch-notify__itemMain{min-width:0}
.watch-notify__itemTitle{font-size:14px;font-weight:800;color:var(--w-text)}
.watch-notify__itemText{margin-top:4px;font-size:12px;line-height:1.35;color:rgba(var(--w-ink-rgb),.72)}
.watch-notify__itemMeta{margin-top:6px;font-size:11px;color:rgba(var(--w-ink-rgb),.55)}
.watch-notify__actions{display:flex;gap:8px;align-items:center}
.watch-notify__action{appearance:none;border:0;cursor:pointer;border-radius:12px;padding:10px 12px;font-size:12px;font-weight:800;background:rgba(var(--w-ink-rgb),.08);color:var(--w-text)}
.watch-notify__action--primary{background:#f0f0f0;color:#0f1116}
html[data-watch-theme="light"] .watch-notify__action--primary{background:#111;color:#fff}
.watch-notify__empty{padding:18px 8px;color:rgba(var(--w-ink-rgb),.62);font-size:13px}

.watch-party-modal .watch-searchmodal__panel{width:min(1120px,calc(100vw - 24px));max-height:min(76vh,720px);overflow:hidden;border-radius:26px}
.watch-party-modal .watch-searchmodal__body{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:0;min-height:0;padding:0}
.watch-party-modal .watch-party__box{padding:20px;border-right:1px solid rgba(var(--w-ink-rgb),.08);margin:0;display:flex;flex-direction:column;gap:14px}
.watch-party-modal .watch-party__list{margin:0;padding:20px;border-top:0;background:rgba(var(--w-ink-rgb),.03)}
.watch-party-modal .watch-party__row{display:grid;grid-template-columns:minmax(0,1fr) repeat(2,max-content);gap:10px;align-items:center}
.watch-party-modal .watch-party__input{height:46px;border-radius:16px}
.watch-party-modal .watch-party__btn{height:46px;border-radius:16px;padding:0 16px}
.watch-party-modal .watch-party__hint{margin-top:auto;font-size:13px;line-height:1.5}
.watch-party-modal .watch-party__users{display:grid;gap:10px;max-height:420px;overflow:auto}
@media (max-width: 860px){.watch-party-modal .watch-searchmodal__body{grid-template-columns:1fr}.watch-party-modal .watch-party__box{border-right:0;border-bottom:1px solid rgba(var(--w-ink-rgb),.08)}}

.watch-block__titleLink{display:inline-flex !important;align-items:center !important;gap:0 !important;border:0 !important;background:transparent !important;padding:0 !important;border-radius:0 !important;box-shadow:none !important;text-decoration:none !important}
.watch-block__titleLink::after{content:"" !important;display:block !important;position:relative !important;right:auto !important;top:3px !important;width:9px !important;height:9px !important;margin:0 0 0 1px !important;border:0 !important;border-top:3px solid rgba(170,170,170,.92) !important;border-right:3px solid rgba(170,170,170,.92) !important;border-bottom:0 !important;border-left:0 !important;border-radius:1px !important;transform:rotate(45deg) !important;transform-origin:center !important;opacity:0 !important;transition:opacity .2s ease, transform .2s ease, border-color .2s ease !important;pointer-events:none !important;box-sizing:border-box !important;flex:0 0 auto !important}
.watch-block__titleArrow{display:none !important;opacity:0 !important;pointer-events:none !important}
.watch-block__titleArrow .watch-mi{display:none !important}
.watch-block__head:hover .watch-block__titleLink::after,.watch-block__titleLink:hover::after,.watch-block__titleLink:focus-visible::after,.watch-block__title:focus-within .watch-block__titleLink::after{opacity:1 !important}
html[data-watch-theme="light"] .watch-block__titleLink::after{border-top-color:rgba(120,120,120,.92) !important;border-right-color:rgba(120,120,120,.92) !important}

.watch-profile__nameCheck{cursor:help}
.watch-profile__nameCheck.is-hidden{display:none !important}
.watch-profile__presenceLine{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.watch-profile__actionBtn[disabled]{opacity:.72;cursor:default}

#watchNotificationsModal,.watch-notifications-modal,#watchMessagesBtn,.watch-header-messages,.watch-header-notifications,.watch-chatfab,.watch-chatmodal,.watch-chattoast{display:none !important}


/* v100 notify avatar/layout */
.watch-notify__item{grid-template-columns:52px minmax(0,1fr) auto !important;align-items:center !important;}
.watch-notify__avatar{width:52px;height:52px;border-radius:999px;background:rgba(var(--w-ink-rgb),.08) center/cover no-repeat;display:block;box-shadow:inset 0 0 0 1px rgba(var(--w-ink-rgb),.08);}
.watch-notify__avatar.is-fallback::before{content:"";display:block;width:100%;height:100%;border-radius:inherit;background:linear-gradient(180deg,rgba(var(--w-ink-rgb),.12),rgba(var(--w-ink-rgb),.05));}
.watch-notify__itemTitle{text-decoration:none !important;}
.watch-notify__actions{justify-self:end;flex-wrap:wrap;justify-content:flex-end;}
@media (max-width:640px){.watch-notify__item{grid-template-columns:44px minmax(0,1fr) !important;}.watch-notify__actions{grid-column:1/-1;justify-self:stretch;justify-content:flex-start;}.watch-notify__avatar{width:44px;height:44px;}}

/* v101 minimal neutral refinements */
.watch-notify__menu{width:min(430px,calc(100vw - 24px)) !important;min-height:220px !important;max-height:78vh !important;background:#111 !important;border-color:rgba(255,255,255,.08) !important;padding:14px !important;opacity:0;transform:translateY(8px) scale(.985);pointer-events:none;transition:opacity .22s ease,transform .22s ease}
.watch-notify__menu.is-open{opacity:1;transform:translateY(0) scale(1);pointer-events:auto}
.watch-notify__head{padding-bottom:12px !important;border-bottom:1px solid rgba(255,255,255,.08) !important}
.watch-notify__title{font-size:18px !important;color:#f3f3f3 !important}
.watch-notify__refresh{background:#1a1a1a !important;color:#f3f3f3 !important}
.watch-notify__list{min-height:150px;align-content:start}
.watch-notify__item{background:#141414 !important;border-color:rgba(255,255,255,.08) !important}
.watch-notify__itemText,.watch-notify__itemMeta,.watch-notify__empty{color:rgba(255,255,255,.58) !important}
.watch-notify__list > .watch-notify__empty:only-child{
  width:100%;
  min-height:150px;
  margin:0;
  padding:0;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
}
.watch-notify__action{background:#1c1c1c !important;color:#f3f3f3 !important;border:1px solid rgba(255,255,255,.08) !important}
.watch-notify__action--primary{background:#f3f3f3 !important;color:#0d0d0d !important}
.watch-block__titleLink::after{top:7px !important;margin-left:4px !important}
html.watch-settings-page .watch-settings__tab,.watch-settings__tab{font-weight:700 !important;background:#121212 !important;border-color:rgba(255,255,255,.08) !important}
html.watch-settings-page .watch-settings__tab.is-active,.watch-settings__tab.is-active{background:#1a1a1a !important}
html.watch-settings-page .watch-settings__input,html.watch-settings-page .watch-settings__textarea,.watch-settings__input,.watch-settings__textarea{background:#121212 !important;color:#f3f3f3 !important;border:1px solid rgba(255,255,255,.1) !important}
.watch-settings__input option{background:#161616 !important;color:#f5f5f5 !important}
.watch-btn{font-weight:700 !important}
.watch-settings__muted{color:rgba(255,255,255,.58) !important}

/* v102: light theme notifications palette */
html[data-watch-theme="light"] .watch-notify__menu,
html[data-theme="light"] .watch-notify__menu{
  background:#ffffff !important;
  border-color:rgba(17,17,17,.10) !important;
  box-shadow:0 20px 44px rgba(0,0,0,.12) !important;
}
html[data-watch-theme="light"] .watch-notify__head,
html[data-theme="light"] .watch-notify__head{
  border-bottom-color:rgba(17,17,17,.10) !important;
}
html[data-watch-theme="light"] .watch-notify__title,
html[data-theme="light"] .watch-notify__title{
  color:#111111 !important;
}
html[data-watch-theme="light"] .watch-notify__refresh,
html[data-theme="light"] .watch-notify__refresh{
  background:rgba(17,17,17,.06) !important;
  color:#111111 !important;
}
html[data-watch-theme="light"] .watch-notify__item,
html[data-theme="light"] .watch-notify__item{
  background:#f7f8fa !important;
  border-color:rgba(17,17,17,.08) !important;
}
html[data-watch-theme="light"] .watch-notify__itemTitle,
html[data-theme="light"] .watch-notify__itemTitle{
  color:#111111 !important;
}
html[data-watch-theme="light"] .watch-notify__itemText,
html[data-watch-theme="light"] .watch-notify__itemMeta,
html[data-watch-theme="light"] .watch-notify__empty,
html[data-theme="light"] .watch-notify__itemText,
html[data-theme="light"] .watch-notify__itemMeta,
html[data-theme="light"] .watch-notify__empty{
  color:rgba(17,17,17,.64) !important;
}
html[data-watch-theme="light"] .watch-notify__action,
html[data-theme="light"] .watch-notify__action{
  background:#f0f1f5 !important;
  color:#111111 !important;
  border-color:rgba(17,17,17,.10) !important;
}
html[data-watch-theme="light"] .watch-notify__action--primary,
html[data-theme="light"] .watch-notify__action--primary{
  background:#111111 !important;
  color:#ffffff !important;
}
