#eticks-notifications-page {
--bg: #ffffff;
--panel: #ffffff;
--panel-2: #f7f9fc;
--panel-3: #eef3f9;
--line: #e6ebf2;
--line-2: #d9e1ec;
--text: #0f172a;
--muted: #64748b;
--blue: #003f52;
--blue-2: #6677ff;
--danger: #ff4d5f;

position: fixed;
inset: 0;
width: 100%;
height: 100dvh;
overflow: hidden !important;
background: var(--bg);
color: var(--text);
font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
}

html,
body {
height: 100%;
overflow: hidden;
background: #fff;
}

#eticks-notifications-page {
overflow: hidden !important;
overscroll-behavior: none;
}

#eticks-notifications-page *,
#eticks-notifications-page *::before,
#eticks-notifications-page *::after {
box-sizing: border-box;
}

#eticks-notifications-page button,
#eticks-notifications-page input,
#eticks-notifications-page select {
font: inherit;
}

#eticks-notifications-page button {
border: 0;
background: none;
color: inherit;
padding: 0;
cursor: pointer;
}

#eticks-notifications-page img {
display: block;
max-width: 100%;
}

#eticks-notifications-page .notif-shell {
display: flex;
flex-direction: column;
height: 100%;
min-height: 0;
max-width: 1440px;
margin: 0 auto;
overflow: hidden;
background: #fff;
}

/* Top bar */
#eticks-notifications-page .notif-topbar {
flex: 0 0 auto;
position: sticky;
top: 0;
z-index: 30;
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
padding:
calc(14px + env(safe-area-inset-top, 0px))
16px
14px;
background: rgba(255, 255, 255, 0.92);
border-bottom: 1px solid var(--line);
backdrop-filter: blur(18px);
-webkit-backdrop-filter: blur(18px);
}

#eticks-notifications-page .notif-topbar-left {
display: flex;
align-items: center;
gap: 10px;
min-width: 0;
}

#eticks-notifications-page .notif-topbar h1 {
margin: 0;
font-size: 28px;
line-height: 1;
letter-spacing: -0.05em;
font-weight: 800;
color: var(--text);
}

#eticks-notifications-page .nav-icon {
width: 34px;
height: 34px;
border-radius: 999px;
display: grid;
place-items: center;
color: var(--text);
background: var(--panel-2);
border: 1px solid var(--line);
flex: 0 0 auto;
}

#eticks-notifications-page .nav-icon svg {
width: 22px;
height: 22px;
}

#eticks-notifications-page .filter-link {
color: var(--text);
font-size: 14px;
font-weight: 700;
padding: 10px 14px;
border-radius: 999px;
background: var(--panel-2);
border: 1px solid var(--line);
white-space: nowrap;
}

/* Feed */
#eticks-notifications-page .notif-feed {
flex: 1;
min-height: 0;
overflow-y: auto;
overflow-x: hidden;
-webkit-overflow-scrolling: touch;
overscroll-behavior: contain;
padding: 10px 0 calc(24px + env(safe-area-inset-bottom, 0px));
background: #fff;
}

/* Static ad block */
#eticks-notifications-page .notif-ad-card {
display: flex;
align-items: center;
gap: 14px;
padding: 16px 16px 14px;
margin: 0 0 10px;
background: transparent;
}

#eticks-notifications-page .notif-ad-icon {
width: 54px;
height: 54px;
border-radius: 999px;
border: 1px solid var(--line);
display: grid;
place-items: center;
flex: 0 0 auto;
color: var(--blue);
background: #fff;
box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

#eticks-notifications-page .notif-ad-icon svg {
width: 22px;
height: 22px;
stroke: currentColor;
}

#eticks-notifications-page .notif-ad-body {
display: flex;
flex-direction: column;
gap: 2px;
min-width: 0;
flex: 1;
}

#eticks-notifications-page .notif-ad-body strong {
font-size: 19px;
line-height: 1.08;
font-weight: 700;
color: var(--text);
}

#eticks-notifications-page .notif-ad-body span {
font-size: 14px;
color: var(--muted);
line-height: 1.35;
}

/* Section headings */
#eticks-notifications-page .notif-section {
padding: 0 0 16px;
}

#eticks-notifications-page .notif-section-head {
padding: 14px 16px 12px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
}

#eticks-notifications-page .notif-section-head h2 {
margin: 0;
font-size: 18px;
line-height: 1.1;
letter-spacing: -0.03em;
font-weight: 800;
color: var(--text);
}

#eticks-notifications-page .notif-section-head span {
font-size: 12px;
color: var(--muted);
font-weight: 700;
}

/* Highlights block */
#eticks-notifications-page .notif-highlights-panel {
margin: 0 0 8px;
background: transparent;
padding-bottom: 2px;
}

#eticks-notifications-page .notif-highlights-list {
display: grid;
}

#eticks-notifications-page .notif-row {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  max-width: 100%;
  min-height: 72px;
  padding: 14px 16px;
  overflow: hidden;
  background: transparent;
}

#eticks-notifications-page .notif-row + .notif-row {
border-top: 1px solid var(--line);
}

#eticks-notifications-page .notif-row.unread::before {
content: "";
position: absolute;
left: 0;
top: 12px;
bottom: 12px;
width: 2px;
border-radius: 999px;
background: linear-gradient(180deg, #4f67f7, #74a2ff);
}

#eticks-notifications-page .notif-avatar {
width: 44px;
height: 44px;
border-radius: 50%;
overflow: hidden;
flex: 0 0 auto;
background: #eef3fb;
display: grid;
place-items: center;
color: #334155;
font-weight: 800;
border: 1px solid var(--line);
}

#eticks-notifications-page .notif-avatar img {
width: 100%;
height: 100%;
object-fit: cover;
}

#eticks-notifications-page .notif-copy {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}


#eticks-notifications-page .notif-text-line {
  margin: 0;
  display: block;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 14px;
  line-height: 1.35;
  color: var(--text);
}

#eticks-notifications-page .notif-text-line strong {
  font-weight: 800;
}

#eticks-notifications-page .notif-subline {
  margin-top: 4px;
  display: block;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 12.5px;
  line-height: 1.3;
  color: var(--muted);
}

#eticks-notifications-page .notif-time {
font-size: 12px;
color: var(--muted);
white-space: nowrap;
margin-left: 8px;
flex: 0 0 auto;
}

#eticks-notifications-page .notif-right {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
  justify-self: end;
  flex-wrap: nowrap;
}


#eticks-notifications-page .notif-action-btn {
  height: 40px;
  max-width: 100%;
  min-width: 0;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

#eticks-notifications-page .notif-action-btn.is-following {
  background: #eef3fb;
  color: #0f172a;
  border: 1px solid #d7e0ec;
  box-shadow: none;
}


#eticks-notifications-page .notif-action-btn.secondary {
background: #eef2ff;
color: #243b86;
box-shadow: none;
border: 1px solid #d9e2ff;
}

#eticks-notifications-page .notif-action-btn.dark {
background: #eef3f8;
color: #0f172a;
box-shadow: none;
border: 1px solid var(--line);
}

#eticks-notifications-page .notif-preview {
width: 54px;
height: 54px;
border-radius: 14px;
overflow: hidden;
background: #eef3fb;
flex: 0 0 auto;
border: 1px solid var(--line);
}

#eticks-notifications-page .notif-preview img {
width: 100%;
height: 100%;
object-fit: cover;
}

#eticks-notifications-page .notif-menu-btn {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  font-size: 22px;
  color: var(--muted);
}

#eticks-notifications-page .notif-menu-btn:hover {
background: rgba(15, 23, 42, 0.05);
}

/* Last 30 days list */
#eticks-notifications-page .notif-list {
display: grid;
gap: 0;
}

#eticks-notifications-page .notif-list .notif-row {
padding: 14px 16px;
background: transparent;
border-top: 1px solid var(--line);
}

/* Empty / login */
#eticks-notifications-page .empty {
display: none;
text-align: center;
padding: 58px 18px;
color: var(--muted);
}

#eticks-notifications-page .empty .emoji {
font-size: 2.2rem;
margin-bottom: 10px;
}

#eticks-notifications-page .empty h3 {
margin: 0 0 8px;
color: var(--text);
}

#eticks-notifications-page .empty p {
margin: 0;
line-height: 1.55;
}

#eticks-notifications-page .notif-empty {
min-height: calc(100vh - 96px);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
padding: 40px 24px;
}

#eticks-notifications-page .notif-empty-icon {
width: 78px;
height: 78px;
border-radius: 999px;
display: grid;
place-items: center;
background: #eef3fb;
color: var(--blue);
margin-bottom: 20px;
border: 1px solid var(--line);
box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

#eticks-notifications-page .notif-empty-icon svg {
width: 32px;
height: 32px;
stroke: currentColor;
}

#eticks-notifications-page .notif-empty h3 {
margin: 0;
font-size: 1.25rem;
font-weight: 800;
color: var(--text);
}

#eticks-notifications-page .notif-empty p {
margin: 10px 0 0;
max-width: 340px;
color: var(--muted);
font-size: 0.95rem;
line-height: 1.6;
}

#eticks-notifications-page .login-btn {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 180px;
height: 48px;
padding: 0 24px;
margin-top: 22px !important;
border: none;
border-radius: 16px;
background: linear-gradient(135deg, #4f67f7, #7b5cff) !important;
color: #fff !important;
font-size: 0.95rem;
font-weight: 800;
cursor: pointer;
}

/* Toast */
#eticks-notifications-page .toast-wrap {
position: fixed;
right: 12px;
left: 12px;
bottom: calc(88px + env(safe-area-inset-bottom, 0px));
display: grid;
gap: 10px;
z-index: 9999;
pointer-events: none;
}

#eticks-notifications-page .toast {
min-width: 260px;
max-width: 100%;
padding: 14px 16px;
border-radius: 16px;
background: rgba(255, 255, 255, 0.98);
border: 1px solid var(--line);
box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
display: flex;
gap: 12px;
align-items: flex-start;
pointer-events: auto;
animation: eticks-toastIn 0.22s ease;
}

#eticks-notifications-page .toast .tmark {
width: 34px;
height: 34px;
border-radius: 12px;
display: grid;
place-items: center;
color: #fff;
background: linear-gradient(135deg, #4f67f7, #7b5cff);
flex: 0 0 auto;
}

#eticks-notifications-page .toast strong {
display: block;
margin-bottom: 2px;
color: var(--text);
}

#eticks-notifications-page .toast p {
margin: 0;
color: var(--muted);
line-height: 1.45;
}

/* Menu pop */
#eticks-notifications-page .menu-pop {
position: fixed;
min-width: 180px;
background: rgba(255, 255, 255, 0.98);
border: 1px solid var(--line);
border-radius: 16px;
box-shadow: 0 26px 68px rgba(15, 23, 42, 0.18);
padding: 8px;
display: none;
z-index: 2000;
backdrop-filter: blur(18px);
}

#eticks-notifications-page .menu-pop.open {
display: grid;
gap: 4px;
}

#eticks-notifications-page .menu-pop button {
border: 0;
background: transparent;
border-radius: 12px;
padding: 10px 12px;
text-align: left;
cursor: pointer;
color: var(--text);
}

#eticks-notifications-page .menu-pop button:hover {
background: rgba(15, 23, 42, 0.05);
}

/* Skeletons */
#eticks-notifications-page .notif-skeleton-wrap {
display: grid;
gap: 16px;
}

#eticks-notifications-page .notif-skel-top,
#eticks-notifications-page .notif-skel-panel,
#eticks-notifications-page .notif-skel-row {
position: relative;
overflow: hidden;
background: #f5f7fb;
}

#eticks-notifications-page .notif-skel-top::after,
#eticks-notifications-page .notif-skel-panel::after,
#eticks-notifications-page .notif-skel-row::after,
#eticks-notifications-page .notif-skel-pill::after,
#eticks-notifications-page .notif-skel-circle::after,
#eticks-notifications-page .notif-skel-line::after,
#eticks-notifications-page .notif-skel-thumb::after {
content: "";
position: absolute;
inset: 0;
transform: translateX(-100%);
background: linear-gradient(90deg, transparent, rgba(15, 23, 42, 0.06), transparent);
animation: notifShimmer 1.15s infinite;
}

#eticks-notifications-page .notif-skel-top {
display: flex;
gap: 14px;
align-items: center;
padding: 16px;
}

#eticks-notifications-page .notif-skel-panel {
padding: 16px 0 2px;
background: #f7f9fc;
}

#eticks-notifications-page .notif-skel-pill {
width: 48px;
height: 12px;
border-radius: 999px;
background: #e8edf5;
position: relative;
overflow: hidden;
margin-bottom: 12px;
}

#eticks-notifications-page .notif-skel-circle {
width: 44px;
height: 44px;
border-radius: 999px;
background: #e8edf5;
position: relative;
overflow: hidden;
flex: 0 0 auto;
}

#eticks-notifications-page .notif-skel-line {
height: 10px;
border-radius: 999px;
background: #e8edf5;
position: relative;
overflow: hidden;
}

#eticks-notifications-page .notif-skel-line.sm {
width: 66%;
}

#eticks-notifications-page .notif-skel-line.xs {
width: 42%;
}

#eticks-notifications-page .notif-skel-thumb {
width: 54px;
height: 54px;
border-radius: 14px;
background: #e8edf5;
position: relative;
overflow: hidden;
}

#eticks-notifications-page .notif-skel-row {
display: grid;
grid-template-columns: 44px minmax(0, 1fr) 88px;
gap: 12px;
align-items: center;
padding: 14px 16px;
min-height: 72px;
}

#eticks-notifications-page .notif-skel-body {
display: grid;
gap: 8px;
min-width: 0;
}

#eticks-notifications-page .notif-skel-right {
justify-self: end;
width: 88px;
height: 40px;
border-radius: 999px;
background: #e8edf5;
position: relative;
overflow: hidden;
}

@keyframes notifShimmer {
100% {
transform: translateX(100%);
}
}

@keyframes eticks-toastIn {
from {
opacity: 0;
transform: translateY(8px) scale(0.98);
}
to {
opacity: 1;
transform: translateY(0) scale(1);
}
}

/* Detail modal - white */
.notif-detail-layer {
position: fixed;
inset: 0;
z-index: 4000;
display: none;
}
.notif-detail-layer.is-open {
display: block;
}
.notif-detail-overlay {
position: absolute;
inset: 0;
background: rgba(15, 23, 42, 0.42);
backdrop-filter: blur(18px);
}
.notif-detail-panel {
position: absolute;
inset: 0;
width: 100vw;
height: 100vh;
background: #ffffff;
display: grid;
grid-template-rows: auto 1fr auto;
overflow: hidden;
}
.notif-detail-top {
position: relative;
padding:
calc(16px + env(safe-area-inset-top, 0px))
16px
14px;
border-bottom: 1px solid var(--line);
background: #fff;
}
.notif-detail-close {
position: absolute;
top: calc(12px + env(safe-area-inset-top, 0px));
right: 12px;
width: 42px;
height: 42px;
border: 0;
border-radius: 999px;
background: var(--panel-2);
color: var(--text);
display: grid;
place-items: center;
cursor: pointer;
font-size: 24px;
border: 1px solid var(--line);
}
.notif-detail-hero {
display: grid;
gap: 16px;
padding-top: 8px;
}
.notif-detail-kicker {
display: inline-flex;
align-items: center;
padding: 7px 11px;
border-radius: 999px;
background: rgba(79, 103, 247, 0.1);
color: #3551d9;
font-weight: 800;
font-size: 12px;
margin-bottom: 12px;
}
.notif-detail-title {
margin: 0;
font-size: 28px;
line-height: 1.05;
letter-spacing: -0.04em;
color: var(--text);
}
.notif-detail-sub {
margin: 10px 0 0;
color: var(--muted);
font-size: 15px;
line-height: 1.6;
}
.notif-detail-image {
width: 100%;
height: min(56vh, 720px);
overflow: hidden;
background: #f4f7fb;
position: relative;
border-radius: 24px;
border: 1px solid var(--line);
}
.notif-detail-image img {
width: 100%;
height: 100%;
object-fit: cover;
}
.notif-detail-placeholder {
position: absolute;
inset: 0;
display: grid;
place-items: center;
color: var(--muted);
font-weight: 700;
text-align: center;
padding: 24px;
}
.notif-detail-body {
overflow: auto;
padding: 16px;
display: grid;
gap: 12px;
}
.notif-detail-panel-card {
border: 1px solid var(--line);
border-radius: 20px;
padding: 14px;
background: #fff;
}
.notif-detail-panel-card h4 {
margin: 0 0 8px;
font-size: 13px;
color: var(--text);
}
.notif-detail-panel-card p {
margin: 0;
color: var(--muted);
line-height: 1.6;
}
.notif-detail-actions {
display: flex;
flex-wrap: wrap;
gap: 10px;
}
.notif-detail-btn {
border: 0;
border-radius: 14px;
padding: 12px 16px;
font-weight: 800;
cursor: pointer;
text-decoration: none;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
}
.notif-detail-btn.primary {
background: linear-gradient(135deg, #4f67f7, #7b5cff);
color: #fff;
}
.notif-detail-btn.secondary {
background: #eef3fb;
color: var(--text);
border: 1px solid var(--line);
}
.notif-detail-btn.ghost {
background: transparent;
color: #d82e4d;
border: 1px solid rgba(216, 46, 77, 0.22);
}
.notif-detail-footer {
display: flex;
justify-content: space-between;
align-items: center;
gap: 14px;
padding: 0 16px calc(16px + env(safe-area-inset-bottom, 0px));
color: var(--muted);
font-size: 13px;
border-top: 1px solid var(--line);
background: #fff;
}

#eticks-notifications-page .notif-dev-controls[hidden] {
display: none !important;
}

#eticks-notifications-page .notif-mode-tabs {
display: flex;
gap: 10px;
padding: 0 16px 12px;
overflow-x: auto;
scrollbar-width: none;
}

#eticks-notifications-page .notif-mode-tabs::-webkit-scrollbar {
display: none;
}

#eticks-notifications-page .notif-mode-tab {
flex: 0 0 auto;
height: 38px;
padding: 0 14px;
border-radius: 999px;
background: #f1f5fb;
color: var(--muted);
border: 1px solid var(--line);
font-size: 13px;
font-weight: 800;
display: inline-flex;
align-items: center;
gap: 8px;
max-width: 100%;
}

#eticks-notifications-page .notif-mode-tab.active {
background: #ffffff;
color: #0b0d12;
border-color: #dfe7f2;
box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

#eticks-notifications-page .notif-tab-badge {
min-width: 20px;
height: 20px;
padding: 0 6px;
border-radius: 999px;
display: inline-grid;
place-items: center;
background: rgba(79, 103, 247, 0.12);
color: #4f67f7;
font-size: 11px;
font-weight: 900;
}

.notif-actions {
display: inline-flex;
align-items: center;
gap: 8px;
margin-left: auto;
max-width: 100%;
flex-wrap: wrap;
}

.notif-right {
display: inline-flex;
align-items: center;
max-width: 100%;
}

/* Responsive */
@media (max-width: 640px) {
#eticks-notifications-page .notif-topbar h1 {
font-size: 20px;
}

  #eticks-notifications-page .notif-row {
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 10px;
    padding: 12px 12px;
  }

  #eticks-notifications-page .notif-right {
    gap: 6px;
  }

  #eticks-notifications-page .notif-action-btn {
    height: 28px;
    padding: 0 12px;
  }

#eticks-notifications-page .notif-ad-card {
padding-left: 12px;
padding-right: 12px;
}

#eticks-notifications-page .notif-preview {
width: 50px;
height: 50px;
}


.notif-detail-title {
font-size: 24px;
}

.notif-detail-image {
height: 42vh;
}
}

@media (max-width: 420px) {
#eticks-notifications-page .notif-topbar {
padding-left: 12px;
padding-right: 12px;
}

#eticks-notifications-page .notif-section-head,
#eticks-notifications-page .notif-list .notif-row,
#eticks-notifications-page .notif-highlights-list .notif-row,
#eticks-notifications-page .notif-ad-card {
padding-left: 12px;
padding-right: 12px;
}

#eticks-notifications-page .notif-section-head h2 {
font-size: 16px;
}

#eticks-notifications-page .notif-mode-tabs {
padding-left: 12px;
padding-right: 12px;
}
}
