:root {
  --search-top: calc(env(safe-area-inset-top, 0px) + 70px);
}

#followListScreen,
#myReportsScreen,
#screen-my-tickets {
  --search-top: calc(env(safe-area-inset-top, 0px) + 105px);
}

#homeQuickMenuScreen .content,
#nameofallahScreen .content,
#duaaScreen .content,
#dailyAyahScreen .content,
#athanScreen .content,
#myReportsScreen .content,
#screen-my-tickets .content,
#screen-athkar .content,
#screen-habits .content,
.chatlist-body,
#quranAppWrapper .contentlist,
#searchScreen .person-list,
#reportSearchScreen .person-list,
#followListScreen .person-list,
#blockedUsersScreen .person-list {
  padding-top: calc(var(--search-top) + 100px);
}

#searchScreen,
#followListScreen,
#profileViewersScreen,
#blockedUsersScreen,
#followRequestsScreen,
#reportSearchScreen,
#newFollowersScreen {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.search-input-wrap {
  position: fixed;
  top: var(--search-top);
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  margin: 0;
  z-index: 10000;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  border-radius: 999px;
  padding: 0 18px;
  height: 58px;
  box-sizing: border-box;
  background: rgba(176, 5, 5, 0.303);
  border: 1px solid rgba(239, 68, 68, 0.35);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
}

body.light-mode .search-input-wrap {
  background: rgba(239, 68, 68, 0.15);
}

#followListScreen .header,
#myReportsScreen .header,
#screen-my-tickets .header {
  height: calc(env(safe-area-inset-top, 0px) + 100px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
}

#flScreenTitle,
#myReportsTitle,
#myTicketsTitle {
  margin-bottom: 10px;
}

.fl-tab-switcher {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0 8px;
  pointer-events: auto;
}

.fl-tab-btn {
  flex: 1;
  background: none;
  border: none;
  padding: 10px 2px 9px;
  font-size: 15px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  position: relative;
  text-align: center;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.fl-tab-btn::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 70%;
  max-width: 90px;
  height: 2px;
  border-radius: 3px;
  background: transparent;
  transition: background 0.2s ease;
}

.fl-tab-btn.active {
  color: #ffffff;
}

.fl-tab-btn.active::after {
  background: #ffffff;
}

body.light-mode .fl-tab-btn {
  color: rgba(0, 0, 0, 0.4);
}

body.light-mode .fl-tab-btn.active {
  color: #000000;
}

body.light-mode .fl-tab-btn.active::after {
  background: #000000;
}


#followListScreen .person-list {
  width: 100%;
  align-self: stretch;
  padding-left: 12px;
  padding-right: 12px;
  box-sizing: border-box;
}







#searchScreen .person-list {
  width: 100%;
  align-self: stretch;
  padding-left: 12px;
  padding-right: 12px;
  box-sizing: border-box;
}

.search-input-icon {
  font-size: 20px;
  opacity: 0.6;
  margin-right: 10px;
  flex-shrink: 0;
}

.search-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  outline: none;
  color: inherit;
  font-size: 15px;
  font-family: inherit;
}

.search-input::placeholder {
  color: inherit;
  opacity: 0.45;
}

.person-list {
  width: 90%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 40px);
}

.person-list:empty {
  padding-bottom: 0;
}

#searchResults,
#flList,
#reportSearchResults {
  margin-top: 0;
}

@keyframes rowEnter {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.97);
  }

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

.person-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 20px;
  background: rgba(176, 5, 5, 0.303);
  border: 1px solid rgba(239, 68, 68, 0.35);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  color: inherit;
  cursor: pointer;
  text-align: left;
  box-sizing: border-box;
  animation: rowEnter 0.32s cubic-bezier(0.23, 1, 0.32, 1) both;
}

.person-row:active {
  transform: scale(0.98);
}

body.light-mode .person-row {
  background: rgba(239, 68, 68, 0.15);
}

body.light-mode .follow-row,
body.light-mode .viewer-row {
  background: none;
}

.person-row-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  background-size: cover;
  background-position: center;
  background: linear-gradient(135deg, #db0000, #7a0000);
  border: 1px solid rgba(239, 68, 68, 0.5);
}

.person-row-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.person-row-name {
  font-size: 14.5px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.person-row-username {
  font-size: 12.5px;
  opacity: 0.6;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.person-row-arrow {
  font-size: 22px;
  opacity: 0.4;
  flex-shrink: 0;
}

.person-list-empty {
  width: 100%;
  flex-shrink: 0;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  opacity: 0.5;
}

#flEmptyState,
#buEmptyState,
#flPrivateState,
#searchEmptyState,
#pvEmptyState,
#reportSearchEmptyState,
#frEmptyState,
#nfEmptyState,
#snEmptyState {
  margin-top: auto;
  margin-bottom: auto;
}

.person-list-empty .material-symbols-outlined {
  font-size: 38px;
}

.person-list-empty p {
  font-size: 13.5px;
  margin: 0;
}

.up-stats-row {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-top: 16px;
}

.up-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  padding: 4px 24px;
}

.up-stat+.up-stat {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

body.light-mode .up-stat+.up-stat {
  border-left-color: rgba(0, 0, 0, 0.14);
}

.up-stat:active {
  opacity: 0.7;
}

.up-stat-num {
  font-size: 22px;
  font-weight: 800;
}

.up-stat-label {
  font-size: 12px;
  opacity: 0.6;
}

.up-follow-btn {
  transition: opacity 0.15s, background 0.2s;
}

.up-follow-btn:active {
  opacity: 0.75;
}

.up-follow-btn:disabled {
  opacity: 0.6;
}

.up-follow-btn-active {
  background: rgba(255, 255, 255, 0.1);
  color: inherit;
  border: 1px solid rgba(239, 68, 68, 0.35);
}

body.light-mode .up-follow-btn-active {
  background: rgba(239, 68, 68, 0.15);
}

#upMoreMenu {
  z-index: 1000001;
}

#pvList {
  margin-top: calc(env(safe-area-inset-top, 0px) + 70px);
  width: 100%;
}

.viewer-row {
  cursor: default;
  background: none;
  border: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 6px 4px;
  gap: 14px;
}

.viewer-row-tap {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.viewer-row-tap:active {
  opacity: 0.75;
}

.viewer-row-avatar-ring {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  flex-shrink: 0;
}

.viewer-row-avatar-ring .person-row-avatar {
  width: 100%;
  height: 100%;
  font-size: 20px;
}

.viewer-row-follow-btn {
  flex-shrink: 0;
  padding: 11px 24px;
  border-radius: 999px;
  border: none;
  background: #db0000;
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.15s, background 0.2s;
}

.viewer-row-follow-btn:active {
  opacity: 0.75;
}

.viewer-row-follow-btn:disabled {
  opacity: 0.6;
}

.viewer-row-follow-btn-active {
  background: rgba(255, 255, 255, 0.1);
  color: inherit;
  border: 1px solid rgba(239, 68, 68, 0.35);
}

body.light-mode .viewer-row-follow-btn-active {
  background: rgba(239, 68, 68, 0.15);
}

.follow-row {
  cursor: default;
  background: none;
  border: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 6px 4px;
  gap: 12px;
}

.follow-row-tap {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.follow-row-tap:active {
  opacity: 0.75;
}

.follow-row-follow-btn {
  flex-shrink: 0;
  padding: 10px 18px;
  border-radius: 999px;
  border: none;
  background: #db0000;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.15s, background 0.2s;
}

.follow-row-follow-btn:active {
  opacity: 0.75;
}

.follow-row-follow-btn:disabled {
  opacity: 0.6;
}

.follow-row-follow-btn-active {
  background: rgba(255, 255, 255, 0.1);
  color: inherit;
  border: 1px solid rgba(239, 68, 68, 0.35);
}

body.light-mode .follow-row-follow-btn-active {
  background: rgba(239, 68, 68, 0.15);
}

.follow-row-more-btn {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: none;
  color: inherit;
  opacity: 0.6;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.follow-row-more-btn:active {
  opacity: 1;
  background: rgba(255, 255, 255, 0.08);
}

.blocked-row-unblock-btn {
  flex-shrink: 0;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: inherit;
  border: 1px solid rgba(239, 68, 68, 0.35);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.15s, background 0.2s;
}

.blocked-row-unblock-btn:active {
  opacity: 0.75;
}

.blocked-row-unblock-btn:disabled {
  opacity: 0.6;
}

body.light-mode .blocked-row-unblock-btn {
  background: rgba(239, 68, 68, 0.15);
}

.hsheet {
  position: fixed;
  inset: 0;
  z-index: 10000001;
  pointer-events: none;
}

.hsheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  pointer-events: none;
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

.hsheet.open .hsheet-backdrop {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  pointer-events: all;
}

#actionSheetActions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hsheet-panel {
  background: rgba(176, 5, 5, 0.303);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  border-radius: 28px;
  padding: 12px 20px calc(env(safe-area-inset-bottom, 0px) + 20px);
  border: 1px solid rgba(239, 68, 68, 0.35);
  box-sizing: border-box;
  transform: translateY(30px) scale(0.98);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

body.light-mode .hsheet-panel {
  background: rgba(239, 68, 68, 0.15);
}

.hsheet.open .hsheet-panel {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: all;
}

.hsheet-handle {
  width: 36px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  margin: 6px auto 8px;
  flex-shrink: 0;
}

.hsheet-person {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  margin-bottom: 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hsheet-person-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.hsheet-name {
  font-size: 14.5px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hsheet-username {
  font-size: 12.5px;
  opacity: 0.6;
}

.hsheet-btn {
  width: 100%;
  height: 50px;
  border-radius: 50px;
  border: none;
  background: rgba(255, 255, 255, 0.06);
  color: inherit;
  font-size: 14.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.15s ease-out, opacity 0.15s;
}

body.light-mode .hsheet-btn {
  background: rgba(0, 0, 0, 0.05);
}

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

.hsheet-btn-danger {
  color: #ef4444;
}

.hsheet-btn-primary {
  background: #db0000;
  color: #fff;
}

.hsheet-cancel {
  opacity: 0.75;
}

.hsheet-title {
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  margin: 4px 0 0;
}

.hsheet-sub {
  font-size: 12.5px;
  opacity: 0.55;
  text-align: center;
  margin-bottom: 6px;
}

.hsheet-input {
  width: 100%;
  height: 50px;
  border-radius: 16px;
  border: 1px solid rgba(239, 68, 68, 0.35);
  background: rgba(176, 5, 5, 0.15);
  color: inherit;
  padding: 0 16px;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  box-sizing: border-box;
  flex-shrink: 0;
}

body.light-mode .hsheet-input {
  background: rgba(239, 68, 68, 0.08);
}

#myReportsList {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}


.ticket-status-badge.status-withdrawn {
  background: rgba(148, 163, 184, 0.22);
  color: #94a3b8;
}

.row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.row-action {
  flex: 1;
  min-width: 96px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(239, 68, 68, 0.35);
  background: rgba(176, 5, 5, 0.303);
  color: inherit;
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 12px;
}

.row-action .material-symbols-outlined {
  font-size: 17px;
}

.row-action:active {
  transform: scale(0.97);
}

.row-action:disabled {
  opacity: 0.5;
  cursor: default;
}

.row-action-danger {
  border-color: rgba(255, 0, 0, 0.5);
  color: #ff5555;
}

.row-action-danger.armed {
  background: rgba(255, 0, 0, 0.35);
  color: #fff;
}

body.light-mode .row-action {
  background: rgba(239, 68, 68, 0.15);
}

#avatarViewScreen {
  padding: 0;
  overflow: hidden;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #000;
  z-index: 500000;
}

#avatarViewBackdrop {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  filter: blur(42px) saturate(150%) brightness(0.45);
  transform: scale(1.25);
  pointer-events: none;
}

#avatarViewBig {
  position: relative;
  width: min(70vw, 300px);
  height: min(70vw, 300px);
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 76px;
  font-weight: 700;
  color: #fff;
  user-select: none;
  box-sizing: border-box;
  background-position: center;
  background-size: cover;
  background-color: #0b0b0d;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.6);
}

#avatarViewName {
  position: relative;
  margin-top: 22px;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  padding: 0 24px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

#avatarViewActions {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 34px);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 14px;
  padding: 0 16px;
}

.avatar-view-action {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: #fff;
  font-family: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  flex: 0 1 auto;
  min-width: 0;
}

.avatar-view-action-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.15s ease;
}

.avatar-view-action-icon .material-symbols-outlined {
  font-size: 26px;
  color: #fff;
}

.avatar-view-action:active .avatar-view-action-icon {
  transform: scale(0.9);
}

.avatar-view-action-label {
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.avatar-view-action-icon.following {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
}

.settings-choice-row:disabled {
  opacity: 0.4;
  cursor: default;
}

.settings-choice-row:disabled:active {
  background: transparent;
}

#reportUserSubmitBtn {
  position: static;
  transform: none;
  width: 100%;
  flex-shrink: 0;
}

#reportUserSubmitBtn:active {
  transform: scale(0.97);
}

#reportUserScreen .account-container {
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 32px);
}

.profile-tabs-wrap {
  width: 100%;
}

.profile-tabs {
  position: sticky;
  top: calc(env(safe-area-inset-top, 0px) + 65px - 20px);
  z-index: 10;
  display: flex;
  align-items: stretch;
  width: calc(100% + 40px);
  margin-left: -20px;
  margin-right: -20px;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
  background: #000000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.profile-tab {
  flex: 1;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.45);
  font-family: inherit;
  cursor: pointer;
  position: relative;
  transition: color 0.2s ease;
}

.profile-tab .material-symbols-outlined {
  font-size: 24px;
}

.profile-tab::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -1px;
  width: 100%;
  max-width: 110px;
  height: 2px;
  background: transparent;
  transition: background 0.2s ease;
}

.profile-tab.active {
  color: #ffffff;
}

.profile-tab.active::after {
  background: #ffffff;
}

.profile-tab:active .material-symbols-outlined {
  transform: scale(0.9);
}

body.light-mode .profile-tabs {
  background: #ffffff;
  border-bottom-color: rgba(0, 0, 0, 0.12);
}

body.light-mode .profile-tab {
  color: rgba(0, 0, 0, 0.4);
}

body.light-mode .profile-tab.active {
  color: #000000;
}

body.light-mode .profile-tab.active::after {
  background: #000000;
}

.profile-tab-panels {
  width: 100%;
}

.profile-tab-panel {
  display: none;
}

.profile-tab-panel.active {
  display: block;
}

.profile-tab-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 54px 24px;
  text-align: center;
}

.profile-tab-empty .material-symbols-outlined {
  font-size: 42px;
  opacity: 0.3;
}

.profile-tab-empty-text {
  font-size: 14px;
  font-weight: 600;
  opacity: 0.5;
}


.account-row-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: #ef4444;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  margin-left: auto;
}

#frList {
  width: 100%;
  align-self: stretch;
  padding-left: 12px;
  padding-right: 12px;
  padding-top: calc(env(safe-area-inset-top, 0px) + 100px);
  box-sizing: border-box;
}

.fr-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.fr-action-btn {
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
}

.fr-action-btn:active {
  transform: scale(0.96);
}

.fr-action-btn:disabled {
  opacity: 0.5;
  cursor: default;
}

.fr-accept-btn {
  border: none;
  background: #ef4444;
  color: #ffffff;
}

.fr-decline-btn {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: #ffffff;
}

body.light-mode .fr-decline-btn {
  border-color: rgba(0, 0, 0, 0.18);
  color: #000000;
}

.up-follow-btn-requested,
.follow-row-follow-btn-requested,
.viewer-row-follow-btn-requested {
  opacity: 0.75;
}

.profile-private-notice {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 54px 24px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  box-sizing: border-box;
}

body.light-mode .profile-private-notice {
  border-top-color: rgba(0, 0, 0, 0.12);
}

.profile-private-notice .material-symbols-outlined {
  font-size: 42px;
  opacity: 0.35;
}

.profile-private-title {
  font-size: 15px;
  font-weight: 700;
}

.profile-private-text {
  font-size: 13.5px;
  opacity: 0.55;
  max-width: 260px;
}


.choice-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 2px 2px 8px;
}

.choice-sheet-title {
  font-size: 17px;
  font-weight: 700;
  flex: 1;
  text-align: center;
  padding-left: 34px;
}

.choice-sheet-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
}

.choice-sheet-close .material-symbols-outlined {
  font-size: 22px;
}

.choice-sheet-close:active {
  transform: scale(0.9);
}

.choice-sheet-card {
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.25);
  padding: 16px 16px 6px;
}

body.light-mode .choice-sheet-card {
  background: rgba(255, 255, 255, 0.4);
}

.choice-sheet-question {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 6px;
}

.choice-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 14px 0;
  border: none;
  background: transparent;
  color: inherit;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}

.choice-option-label {
  font-size: 15.5px;
}

.choice-option-radio {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

body.light-mode .choice-option-radio {
  border-color: rgba(0, 0, 0, 0.25);
}

.choice-option.selected .choice-option-radio {
  border-color: #ef4444;
  background: #ef4444;
}

.choice-option.selected .choice-option-radio::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
}

.choice-sheet-note {
  font-size: 12.5px;
  opacity: 0.55;
  line-height: 1.45;
  margin: 12px 4px 0;
}

#liveToastContainer {
  position: fixed;
  top: calc(env(safe-area-inset-top, 0px) + 130px);
  left: 0;
  right: 0;
  z-index: 5000000;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
  padding-top: 8px;
}

.live-toast {
  pointer-events: auto;
  width: 90%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 50px;
  background: rgba(108, 7, 7, 0.851);
  border: 1px solid rgb(108, 7, 7);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  color: #fff;
  cursor: pointer;
  transform: translateY(-140%);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease;
  touch-action: pan-x;
}

.live-toast.show {
  transform: translateY(0);
  opacity: 1;
}

.live-toast.dragging {
  transition: none;
}

.live-toast-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(239, 68, 68, 0.18);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #ef4444;
  overflow: hidden;
}

.live-toast-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.live-toast-icon .material-symbols-outlined {
  font-size: 22px;
  font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 24;
}

.live-toast-body {
  flex: 1;
  min-width: 0;
}

.live-toast-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
}

.live-toast-sub {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.event-sheet {
  position: fixed;
  inset: 0;
  z-index: 6000000;
  pointer-events: none;
}

.event-sheet.open {
  pointer-events: all;
}

.event-sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  pointer-events: none;
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

.event-sheet.open .event-sheet-backdrop {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  pointer-events: all;
}

.event-sheet-panel {
  background: rgba(176, 5, 5, 0.303);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  border-radius: 28px;
  padding: 12px 20px calc(env(safe-area-inset-bottom, 0px) + 20px);
  border: 1px solid rgba(239, 68, 68, 0.35);
  box-sizing: border-box;
  transform: translateY(30px) scale(0.98);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s ease;
  color: #fff;
}

body.light-mode .event-sheet-panel {
  background: rgba(239, 68, 68, 0.15);
}

.event-sheet.open .event-sheet-panel {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: all;
}

.event-sheet-handle {
  width: 36px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  margin: 6px auto 8px;
}

.event-sheet-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(239, 68, 68, 0.18);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #ef4444;
  overflow: hidden;
  margin: 0 auto 14px;
}

.event-sheet-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.event-sheet-icon .material-symbols-outlined {
  font-size: 26px;
}

.event-sheet-title {
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  line-height: 1.3;
}

.event-sheet-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  text-align: center;
  margin-top: 4px;
}

.event-sheet-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.event-sheet-btn {
  width: 100%;
  height: 50px;
  border-radius: 50px;
  border: none;
  background: rgba(255, 255, 255, 0.06);
  color: inherit;
  font-size: 14.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.15s ease-out, opacity 0.15s;
}

body.light-mode .event-sheet-btn {
  background: rgba(0, 0, 0, 0.05);
}

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

.event-sheet-btn--primary {
  background: #db0000;
  color: #fff;
}

body.light-mode .event-sheet-sub {
  color: rgba(0, 0, 0, 0.55);
}

.home-inbox-dot {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ef4444;
  border: 2px solid #000000;
  box-sizing: content-box;
}

body.light-mode .home-inbox-dot {
  border-color: #ffffff;
}

#inboxScreen,
#systemNotificationsScreen {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 0;
}

.inbox-list {
  width: 100%;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  padding: calc(var(--search-top) + 80px) 0 calc(env(safe-area-inset-bottom, 0px) + 40px);
  box-sizing: border-box;
  gap: 0;
}

.inbox-row {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px 5px;
  border: none;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  box-sizing: border-box;
}

.inbox-row:active {
  background: rgba(239, 68, 68, 0.12);
}

.inbox-row-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #ffffff;
}

.inbox-row-icon .material-symbols-outlined {
  font-size: 26px;
}

.inbox-row-icon-requests {
  background: #ef4444;
}

.inbox-row-icon-followers {
  background: #f97316;
}

.inbox-row-icon-views {
  background: #8b5cf6;
}

.inbox-row-icon-likes {
  background: #ec4899;
}

.inbox-row-icon-system {
  background: #3f3f46;
}

.inbox-row-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.inbox-row-title {
  font-size: 16px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.inbox-row-sub {
  font-size: 13.5px;
  opacity: 0.55;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.inbox-row-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: #ef4444;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.inbox-row-muted {
  opacity: 0.55;
}

.inbox-note-list {
  width: 100%;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: calc(env(safe-area-inset-top, 0px) + 125px) 22px calc(env(safe-area-inset-bottom, 0px) + 40px);
  box-sizing: border-box;
}

.inbox-note-list .ticket-row:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 16px;
}

.inbox-note-unread-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ef4444;
  flex-shrink: 0;
  margin-left: auto;
}

.inbox-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  pointer-events: none;
}

.activity-chip {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 26px;
  padding: 0 8px 0 10px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: inherit;
  font-family: inherit;
  cursor: pointer;
  pointer-events: auto;
  flex-shrink: 0;
}

body.light-mode .activity-chip {
  background: rgba(0, 0, 0, 0.08);
}

.activity-chip:active {
  transform: scale(0.94);
}

.activity-chip-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #6b7280;
  flex-shrink: 0;
}

.activity-chip-dot.online {
  background: #22c55e;
}

.activity-chip-arrow {
  font-size: 18px;
  opacity: 0.6;
}

.activity-option {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(239, 68, 68, 0.25);
  background: rgba(176, 5, 5, 0.15);
  color: inherit;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  box-sizing: border-box;
}

body.light-mode .activity-option {
  background: rgba(239, 68, 68, 0.08);
}

.activity-option:active {
  transform: scale(0.99);
}

.activity-option-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.activity-option-title {
  font-size: 15.5px;
  font-weight: 700;
}

.activity-option-sub {
  font-size: 12.5px;
  opacity: 0.55;
  line-height: 1.4;
}

.activity-option-radio {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

body.light-mode .activity-option-radio {
  border-color: rgba(0, 0, 0, 0.25);
}

.activity-option.selected .activity-option-radio {
  border-color: #ef4444;
  background: #ef4444;
}

.activity-option.selected .activity-option-radio::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
}

.presence-dot {
  position: absolute;
  right: 2px;
  bottom: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #22c55e;
  border: 2px solid #000000;
  box-sizing: content-box;
  pointer-events: none;
}

body.light-mode .presence-dot {
  border-color: #ffffff;
}

.person-row-avatar {
  position: relative;
}

.ig-avatar-col {
  position: relative;
}

#upAvatarCol .presence-dot {
  right: 6px;
  bottom: 6px;
  width: 18px;
  height: 18px;
  border-width: 3px;
}

.inbox-ask {
  padding-right: 6px;
  gap: 10px;
}

.inbox-ask-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  object-fit: contain;
}

.inbox-ask-send {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: #ef4444;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
}

.inbox-ask-send .material-symbols-outlined {
  font-size: 20px;
}

.inbox-ask-send:active {
  transform: scale(0.92);
}

.ticket-form-content {
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 110px);
  gap: 24px;
}

.chip-btn.selected {
  background: rgba(239, 68, 68, 0.32);
  border-color: rgba(239, 68, 68, 0.75);
}

.chip-btn.selected .material-symbols-outlined,
.chip-btn.selected .chip-btn-label {
  opacity: 1;
}

.ticket-error {
  display: none;
  color: #ff5555;
  font-size: 12px;
  margin-top: 10px;
}

.ticket-desc-input {
  min-height: 150px;
  resize: vertical;
  width: 100%;
  box-sizing: border-box;
  border-radius: 22px;
  padding: 16px 20px;
  margin-top: 10px;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.6;
}

.ticket-success-box {
  padding: 28px 22px;
  border-radius: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.ticket-success-icon {
  font-size: 40px;
  color: #22c55e;
  margin-bottom: 6px;
}

.ticket-success-title {
  font-size: 16px;
  font-weight: 700;
}

.ticket-success-number {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #ea1e1e;
  margin: 4px 0 10px;
}

.ticket-success-sub {
  font-size: 13px;
  opacity: 0.65;
  line-height: 1.6;
}

.ticket-list-content {
  gap: 18px;
}

#myTicketsList {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ticket-row {
  width: 100%;
  box-sizing: border-box;
  border-radius: 30px;
  padding: 16px 18px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
  font-family: inherit;
  color: inherit;
  background: none;
  border: none;
}

.ticket-row-main {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ticket-row-number {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ticket-row-chevron {
  margin-left: auto;
  font-size: 20px;
  opacity: 0.4;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.ticket-row.expanded .ticket-row-chevron {
  transform: rotate(180deg);
}

.ticket-row-sub {
  font-size: 12px;
  opacity: 0.5;
}

.ticket-row-detail {
  display: none;
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ticket-row.expanded .ticket-row-detail {
  display: block;
}

.ticket-status-badge {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}

.ticket-status-badge.status-open {
  background: rgba(239, 68, 68, 0.22);
  color: #ff5555;
}

.ticket-status-badge.status-in_progress {
  background: rgba(245, 158, 11, 0.22);
  color: #f59e0b;
}

.ticket-status-badge.status-closed {
  background: rgba(34, 197, 94, 0.22);
  color: #22c55e;
}

.ticket-row-desc {
  font-size: 14px;
  line-height: 1.65;
  opacity: 0.85;
  margin-bottom: 12px;
}

.ticket-row-reply {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border-left: 3px solid #ea1e1e;
}

.ticket-row-reply-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.5;
  margin-bottom: 4px;
}

.ticket-row-reply-text {
  font-size: 13px;
  line-height: 1.6;
  opacity: 0.85;
}

body.light-mode .ticket-row-reply {
  background: rgba(0, 0, 0, 0.04);
}
