
/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0f172a; 
}
::-webkit-scrollbar-thumb {
    background: #334155; 
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #475569; 
}

/* Glassmorphism Utilities */
.glass {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.glass-card {
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}
.glass-card:hover {
    background: rgba(30, 41, 59, 0.6);
    border-color: rgba(56, 189, 248, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

/* Ambient Glows */
.glow-blue {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
}
.accessible {
  --h: 100vh;
  --h: 100dvh;
}


:root {
  --ui-accent: rgba(255, 255, 255, 0.97);
  --ui-depth: 999999;
  --ui-blur: 8px;
  --content-fade: linear-gradient(to bottom, transparent 0%, rgba(255,255,255,0.85) 15%, var(--ui-accent) 40%);
}


[data-component="reader-prompt"] {
  position: fixed;
  inset-block-end: 0;
  inset-inline: 0;
}

.accessible[data-component="reader-prompt"] {
  block-size: var(--h);
  z-index: var(--ui-depth);
  background: var(--content-fade);
  backdrop-filter: blur(var(--ui-blur));
  -webkit-backdrop-filter: blur(var(--ui-blur));
}


.card-surface {
  position: absolute;
  inset-block-end: 0;
  inset-inline: 0;
  block-size: max(360px, 45vh);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
}

.card-surface h2 {
  font-size: 1.6rem;
  margin: 1rem 0 0.5rem;
  color: #1a1a1a;
}

.card-surface p {
  color: #555;
  max-width: 400px;
  margin-bottom: 1.5rem;
}


.action-primary {
  background: #2563eb;
  color: white;
  border: none;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.2s;
}

.action-primary:hover {
  background: #1d4ed8;
}

.action-secondary {
  background: none;
  border: none;
  color: #666;
  margin-top: 1rem;
  cursor: pointer;
  font-size: 0.9rem;
  text-decoration: underline;
}

.brand-mark {
  width: 64px;
  height: 64px;
}

.brand-mark .shape-primary {
  fill: #2563eb;
}

.brand-mark .shape-accent {
  fill: #60a5fa;
}