/**
 * main.css — Core Styles for Hasanat Counter
 * Dark Islamic aesthetic with glassmorphism, gold accents
 */

/* ───────────── CSS CUSTOM PROPERTIES ───────────── */
:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #0d1b2a;
  --bg-card: rgba(13, 27, 42, 0.6);
  --gold: #c9a84c;
  --gold-light: #e8d48b;
  --gold-dark: #a68a3a;
  --emerald: #1a7a4a;
  --emerald-light: #22a05e;
  --white-soft: #f0ede6;
  --white-muted: #b8b5ad;
  --text-primary: #f0ede6;
  --text-secondary: #b8b5ad;
  --text-dim: #6b6960;
  --danger: #c94c4c;
  --border-glass: rgba(201, 168, 76, 0.2);
  --shadow-gold: 0 4px 24px rgba(201, 168, 76, 0.08);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --font-heading: 'Amiri', serif;
  --font-body: 'Cairo', sans-serif;
  --font-arabic: 'Scheherazade New', serif;
  --nav-height: 64px;
}

/* ───────────── LIGHT MODE OVERRIDES ───────────── */
[data-theme="light"] {
  --bg-primary: #f5f2eb;
  --bg-secondary: #e8e4da;
  --bg-card: rgba(255, 255, 255, 0.7);
  --gold: #9a7b2d;
  --gold-light: #b8952e;
  --gold-dark: #7a6123;
  --emerald: #15663d;
  --emerald-light: #1a7a4a;
  --white-soft: #1a1a1f;
  --white-muted: #3a3a40;
  --text-primary: #1a1a1f;
  --text-secondary: #4a4a50;
  --text-dim: #8a8a90;
  --danger: #b03030;
  --border-glass: rgba(154, 123, 45, 0.25);
  --shadow-gold: 0 4px 24px rgba(154, 123, 45, 0.1);
}

[data-theme="light"] .bottom-nav {
  background: rgba(245, 242, 235, 0.95);
}

[data-theme="light"] #particle-canvas {
  opacity: 0.3;
}

[data-theme="light"] .islamic-pattern-bg {
  opacity: 0.06;
}

[data-theme="light"] .calc-input,
[data-theme="light"] .surah-search-input {
  background: rgba(255, 255, 255, 0.8);
}

[data-theme="light"] #error-message {
  background: rgba(176, 48, 48, 0.08);
  border-color: rgba(176, 48, 48, 0.25);
  color: #b03030;
}

[data-theme="light"] .result-card {
  background: rgba(255, 255, 255, 0.6);
}

[data-theme="light"] .session-stat {
  background: rgba(255, 255, 255, 0.5);
}

[data-theme="light"] .surah-list-wrapper {
  background: rgba(255, 255, 255, 0.5);
}

[data-theme="light"] .mode-tab {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(154, 123, 45, 0.3);
  color: #4a4a50;
}

[data-theme="light"] .mode-tab.active {
  background: linear-gradient(135deg, rgba(154, 123, 45, 0.15), rgba(21, 102, 61, 0.1));
  border-color: #9a7b2d;
  color: #7a6123;
}

[data-theme="light"] .glass-card {
  background: rgba(255, 255, 255, 0.65);
  border-color: rgba(154, 123, 45, 0.2);
}

[data-theme="light"] .toggle-btn {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(154, 123, 45, 0.3);
  color: #4a4a50;
}

[data-theme="light"] .btn-primary {
  background: linear-gradient(135deg, #9a7b2d, #7a6123);
  color: #fff;
}

[data-theme="light"] .btn-primary:hover {
  background: linear-gradient(135deg, #b8952e, #9a7b2d);
}

[data-theme="light"] .btn-secondary {
  background: rgba(154, 123, 45, 0.1);
  color: #7a6123;
  border-color: rgba(154, 123, 45, 0.3);
}

[data-theme="light"] .hadith-nav-btn {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(154, 123, 45, 0.3);
  color: #7a6123;
}

[data-theme="light"] .share-card {
  background: linear-gradient(145deg, #f0ede6, #e8e4da);
}

[data-theme="light"] .info-stat {
  background: rgba(255, 255, 255, 0.5);
}

[data-theme="light"] .nav-btn.active {
  color: #7a6123;
}

/* ───────────── RESET & BASE ───────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ───────────── PARTICLE CANVAS ───────────── */
#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ───────────── MAIN CONTAINER ───────────── */
.app-container {
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin: 0 auto;
  padding: 0 1rem;
  padding-bottom: calc(var(--nav-height) + 3rem);
}

/* ───────────── HEADER / BISMILLAH ───────────── */
.app-header {
  text-align: center;
  padding: 2rem 0 1rem;
}

.bismillah {
  font-family: var(--font-arabic);
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
  line-height: 1.8;
  direction: rtl;
}

.app-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--white-soft);
  margin-bottom: 0.15rem;
}

.app-title-ar {
  font-family: var(--font-arabic);
  font-size: 1.4rem;
  color: var(--gold);
  direction: rtl;
}

.app-subtitle {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 0.4rem;
}

/* ───────────── GLASS CARD ───────────── */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-gold);
}

/* ───────────── APP SECTIONS ───────────── */
.app-section {
  padding-top: 0.5rem;
}

/* ───────────── MODE TABS ───────────── */
.mode-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.mode-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.55rem 0.9rem;
  border-radius: 50px;
  border: 1px solid var(--border-glass);
  background: rgba(13, 27, 42, 0.5);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.82rem;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  min-height: 48px;
  outline: none;
}

.mode-tab:focus-visible {
  box-shadow: 0 0 0 2px var(--gold);
}

.mode-tab.active {
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.2), rgba(26, 122, 74, 0.15));
  border-color: var(--gold);
  color: var(--gold);
  font-weight: 600;
}

.mode-tab .tab-icon {
  font-size: 1rem;
}

/* ───────────── INPUT PANELS ───────────── */
.input-panel {
  margin-bottom: 1rem;
}

.input-group {
  margin-bottom: 0.85rem;
}

.input-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.35rem;
  font-weight: 500;
}

.calc-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-glass);
  background: rgba(10, 10, 15, 0.7);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  min-height: 48px;
  -webkit-appearance: none;
  appearance: none;
}

.calc-input::placeholder {
  color: var(--text-dim);
}

.calc-input:focus {
  border-color: var(--gold);
}

/* Inline input row */
.input-row {
  display: flex;
  gap: 0.75rem;
  align-items: flex-end;
}

.input-row .input-group {
  flex: 1;
  margin-bottom: 0;
}

.input-connector {
  padding-bottom: 0.75rem;
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* ───────────── RADIO TOGGLE (page mode) ───────────── */
.radio-group {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  font-size: 0.88rem;
  color: var(--text-secondary);
  min-height: 48px;
}

.radio-label input[type="radio"] {
  accent-color: var(--gold);
  width: 18px;
  height: 18px;
  cursor: pointer;
}

/* ───────────── SURAH SEARCH & LIST ───────────── */
.surah-search-input {
  width: 100%;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-glass);
  background: rgba(10, 10, 15, 0.7);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  margin-bottom: 0.75rem;
  min-height: 48px;
}

.surah-search-input:focus {
  border-color: var(--gold);
}

.surah-list-wrapper {
  max-height: 280px;
  overflow-y: auto;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  background: rgba(10, 10, 15, 0.5);
}

.surah-list-wrapper::-webkit-scrollbar {
  width: 6px;
}

.surah-list-wrapper::-webkit-scrollbar-track {
  background: transparent;
}

.surah-list-wrapper::-webkit-scrollbar-thumb {
  background: var(--gold-dark);
  border-radius: 3px;
}

#surah-list {
  list-style: none;
  padding: 0.25rem;
}

.surah-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  min-height: 48px;
  font-size: 0.9rem;
}

.surah-item:hover,
.surah-item:focus-within {
  background: rgba(201, 168, 76, 0.08);
}

.surah-checkbox {
  accent-color: var(--gold);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  cursor: pointer;
}

.surah-num {
  color: var(--text-dim);
  font-size: 0.8rem;
  min-width: 28px;
}

.surah-name-en {
  color: var(--text-primary);
  flex: 1;
}

.surah-name-ar {
  color: var(--gold);
  font-family: var(--font-arabic);
  font-size: 1.05rem;
  direction: rtl;
}

/* ───────────── BUTTONS ───────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  min-height: 48px;
  outline: none;
  text-decoration: none;
}

.btn:focus-visible {
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.5);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--bg-primary);
  width: 100%;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
}

.btn-secondary {
  background: rgba(201, 168, 76, 0.12);
  color: var(--gold);
  border: 1px solid var(--border-glass);
}

.btn-secondary:hover {
  background: rgba(201, 168, 76, 0.2);
}

.btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  min-height: 40px;
}

.btn-danger {
  background: rgba(201, 76, 76, 0.15);
  color: var(--danger);
  border: 1px solid rgba(201, 76, 76, 0.2);
}

.btn-danger:hover {
  background: rgba(201, 76, 76, 0.25);
}

.btn-group {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.btn-group .btn {
  flex: 1;
  min-width: 0;
}

/* ───────────── ERROR MESSAGE ───────────── */
#error-message {
  background: rgba(201, 76, 76, 0.1);
  border: 1px solid rgba(201, 76, 76, 0.3);
  color: #f0a0a0;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* ───────────── RESULT SECTION ───────────── */
#result-section {
  margin-top: 0.5rem;
}

.result-header {
  text-align: center;
  margin-bottom: 1rem;
}

#result-description {
  font-size: 1rem;
  color: var(--gold);
  font-weight: 600;
}

.result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.result-card {
  background: rgba(13, 27, 42, 0.8);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1rem;
  text-align: center;
}

.result-card.featured {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.08), rgba(26, 122, 74, 0.06));
  border-color: var(--gold);
}

.result-card-label {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-bottom: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.result-card-value {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--gold);
  font-weight: 700;
  line-height: 1.3;
}

.result-card.featured .result-card-value {
  font-size: 2.2rem;
  color: var(--gold-light);
}

/* ───────────── PROGRESS RING ───────────── */
.progress-ring-wrapper {
  text-align: center;
  margin: 1.2rem 0;
}

.progress-ring-svg {
  width: 140px;
  height: 140px;
}

#progress-ring-bg {
  fill: none;
  stroke: rgba(201, 168, 76, 0.1);
  stroke-width: 8;
}

#progress-ring-circle {
  fill: none;
  stroke: var(--gold);
  stroke-width: 8;
  stroke-linecap: round;
}

#progress-ring-text {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  fill: var(--gold-light);
}

#progress-ring-label {
  font-size: 0.6rem;
  fill: var(--text-secondary);
}

/* ───────────── RESULT HADITH ───────────── */
.result-hadith-box {
  background: rgba(26, 122, 74, 0.08);
  border-left: 3px solid var(--emerald);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 0.8rem 1rem;
  margin: 1rem 0;
}

#result-hadith {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.6;
}

/* ───────────── SESSION SECTION ───────────── */
.session-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.session-summary .session-stat:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  max-width: 60%;
  justify-self: center;
}

.session-stat {
  background: rgba(10, 10, 15, 0.5);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  text-align: center;
}

.session-stat-label {
  font-size: 0.72rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 0.2rem;
}

.session-stat-value {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--gold);
  font-weight: 700;
}

.session-entries-list {
  list-style: none;
  max-height: 250px;
  overflow-y: auto;
}

.session-entry {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0.5rem;
  border-bottom: 1px solid rgba(201, 168, 76, 0.06);
  font-size: 0.88rem;
}

.entry-desc {
  color: var(--text-primary);
  flex: 1;
  margin-right: 0.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.entry-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.entry-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
}

.entry-hasanat {
  color: var(--gold);
  font-weight: 600;
  white-space: nowrap;
  font-size: 0.85rem;
}

.entry-time {
  font-size: 0.65rem;
  color: var(--text-secondary);
  opacity: 0.6;
  white-space: nowrap;
}

.entry-delete-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  opacity: 0.35;
  font-size: 0.75rem;
  cursor: pointer;
  padding: 0.3rem;
  line-height: 1;
  border-radius: 50%;
  transition: opacity 0.2s, color 0.2s, background 0.2s;
  flex-shrink: 0;
}

.entry-delete-btn:hover {
  opacity: 1;
  color: #e74c3c;
  background: rgba(231,76,60,0.1);
}

.session-empty {
  text-align: center;
  color: var(--text-dim);
  padding: 2rem 0;
  font-size: 0.9rem;
}

/* ───────────── HADITH CAROUSEL ───────────── */
.hadith-section {
  margin-top: 1rem;
}

.hadith-card {
  text-align: center;
  padding: 1.5rem 1rem;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#hadith-english {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--text-primary);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

#hadith-arabic {
  font-family: var(--font-arabic);
  font-size: 1.15rem;
  color: var(--gold);
  direction: rtl;
  line-height: 2;
  margin-bottom: 0.6rem;
}

#hadith-source {
  font-size: 0.8rem;
  color: var(--emerald-light);
  font-weight: 600;
}

.hadith-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.75rem;
}

.hadith-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-glass);
  background: rgba(13, 27, 42, 0.5);
  color: var(--gold);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
  min-height: 48px;
  min-width: 48px;
}

.hadith-nav-btn:focus-visible {
  box-shadow: 0 0 0 2px var(--gold);
}

/* ───────────── SHARE CARD ───────────── */
.share-card {
  background: linear-gradient(145deg, var(--bg-secondary), var(--bg-primary));
  border: 1px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  margin: 1rem 0;
}

.share-card-title {
  font-family: var(--font-arabic);
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
  direction: rtl;
}

.share-card-row {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0;
  font-size: 0.9rem;
}

.share-card-label {
  color: var(--text-secondary);
}

.share-card-val {
  color: var(--gold);
  font-weight: 600;
}

/* ───────────── INFO PAGE ───────────── */
.info-section h2 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.info-section h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--white-soft);
  margin: 1rem 0 0.5rem;
}

.info-section p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.info-section .highlight-box {
  background: rgba(201, 168, 76, 0.06);
  border-left: 3px solid var(--gold);
  padding: 1rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1rem 0;
}

.info-section .highlight-box p {
  font-style: italic;
  color: var(--white-soft);
}

.info-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin: 1rem 0;
}

.info-stat {
  background: rgba(10, 10, 15, 0.5);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 0.6rem;
  text-align: center;
}

.info-stat-num {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--gold);
  font-weight: 700;
}

.info-stat-label {
  font-size: 0.72rem;
  color: var(--text-dim);
  text-transform: uppercase;
}

/* ───────────── TOGGLE / SETTINGS BAR ───────────── */
.settings-bar {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.toggle-btn {
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--border-glass);
  border-radius: 50px;
  background: rgba(13, 27, 42, 0.5);
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-family: var(--font-body);
  cursor: pointer;
  min-height: 36px;
  outline: none;
}

.toggle-btn:focus-visible {
  box-shadow: 0 0 0 2px var(--gold);
}

/* ───────────── BOTTOM NAVIGATION ───────────── */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-glass);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 100;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  background: none;
  border: none;
  color: var(--text-dim);
  font-family: var(--font-body);
  font-size: 0.68rem;
  cursor: pointer;
  padding: 0.4rem 0.8rem;
  min-height: 48px;
  min-width: 48px;
  justify-content: center;
  outline: none;
  border-radius: var(--radius-sm);
}

.nav-btn:focus-visible {
  box-shadow: 0 0 0 2px var(--gold);
}

.nav-btn.active {
  color: var(--gold);
}

.nav-btn .nav-icon {
  font-size: 1.3rem;
}

/* ───────────── AD SLOTS (hidden by default) ───────────── */
.ad-slot {
  display: none;
  min-height: 50px;
  background: rgba(13, 27, 42, 0.3);
  border: 1px dashed var(--border-glass);
  border-radius: var(--radius-sm);
  margin: 0.5rem 0;
}

/* ───────────── UTILITY ───────────── */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-emerald { color: var(--emerald-light); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.hidden { display: none !important; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ───────────── RESPONSIVE ───────────── */
@media (max-width: 380px) {
  .app-container {
    padding: 0 0.75rem;
  }

  .bismillah {
    font-size: 1.5rem;
  }

  .app-title {
    font-size: 1.35rem;
  }

  .mode-tab {
    padding: 0.45rem 0.7rem;
    font-size: 0.75rem;
  }

  .result-card.featured .result-card-value {
    font-size: 1.8rem;
  }
}

@media (min-width: 521px) {
  .app-container {
    padding: 0 1.5rem;
  }
}

/* ───────────── LANDSCAPE / TABLET ───────────── */
@media (min-width: 768px) {
  .app-container {
    max-width: 600px;
  }

  .result-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .result-card.featured {
    grid-column: 1 / -1;
  }

  .session-summary {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ═══════════════════════════════════════════════════════════
   AZKAR SECTION STYLES
   ═══════════════════════════════════════════════════════════ */

/* ───────────── AZKAR CARDS LIST ───────────── */
.azkar-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.azkar-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(26, 122, 74, 0.25);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.2rem;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
}

.azkar-card:hover,
.azkar-card:focus {
  transform: translateY(-2px);
  border-color: rgba(26, 122, 74, 0.5);
  box-shadow: 0 4px 20px rgba(26, 122, 74, 0.15);
  outline: none;
}

.azkar-card-arabic {
  font-family: var(--font-arabic);
  font-size: 1.8rem;
  color: var(--text-primary);
  direction: rtl;
  margin-bottom: 0.4rem;
  line-height: 1.6;
}

.azkar-card-translit {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--gold);
  margin-bottom: 0.6rem;
  font-weight: 500;
}

.azkar-card-hadith {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--text-dim);
  font-style: italic;
  line-height: 1.5;
}

/* ───────────── AZKAR DETAIL VIEW ───────────── */
.azkar-detail {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
  touch-action: manipulation;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.azkar-detail.azkar-detail-enter {
  opacity: 1;
  transform: translateY(0);
}

.azkar-detail-header {
  width: 100%;
  text-align: left;
  margin-bottom: 0.5rem;
}

.azkar-back-btn {
  background: none;
  border: 1px solid var(--border-glass);
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 0.85rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.azkar-back-btn:hover {
  background: rgba(201, 168, 76, 0.1);
}

/* ── Detail Top ── */
.azkar-detail-top {
  text-align: center;
  margin-bottom: 1rem;
}

.azkar-detail-arabic {
  font-family: var(--font-arabic);
  font-size: 2.4rem;
  color: var(--gold);
  text-shadow: 0 0 20px rgba(201, 168, 76, 0.3);
  direction: rtl;
  line-height: 1.6;
}

.azkar-detail-counter {
  font-family: var(--font-arabic);
  font-size: 1.2rem;
  color: var(--emerald-light);
  margin-top: 0.4rem;
}

.azkar-detail-counter span {
  font-weight: 700;
  transition: transform 0.2s ease;
  display: inline-block;
}

/* Counter pulse on tap */
.azkar-counter-pulse {
  animation: azkarCounterPulse 0.25s ease;
}

@keyframes azkarCounterPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

/* Milestone burst */
.azkar-milestone-burst {
  animation: azkarMilestoneBurst 0.8s ease;
  color: var(--gold) !important;
  text-shadow: 0 0 24px rgba(201, 168, 76, 0.6);
}

@keyframes azkarMilestoneBurst {
  0% { transform: scale(1); }
  20% { transform: scale(1.5); text-shadow: 0 0 30px rgba(201, 168, 76, 0.8); }
  50% { transform: scale(1.5); }
  100% { transform: scale(1); text-shadow: 0 0 0 transparent; }
}

/* ── Detail Middle (Tap Zone) ── */
.azkar-detail-middle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 220px;
  margin: 1rem 0;
}

.azkar-float-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
}

.azkar-float-num {
  position: absolute;
  bottom: 60%;
  font-family: var(--font-body);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
  pointer-events: none;
  animation: azkarFloat 0.7s ease-out forwards;
  text-shadow: 0 0 8px rgba(201, 168, 76, 0.4);
}

@keyframes azkarFloat {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-60px); }
}

/* ── Tap Button ── */
.azkar-tap-btn {
  position: relative;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 2px solid rgba(26, 122, 74, 0.5);
  background: radial-gradient(circle at center, var(--bg-primary) 30%, rgba(26, 122, 74, 0.2) 100%);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease;
  z-index: 2;
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
}

.azkar-tap-btn:active {
  transform: scale(0.95);
}

/* Button pulse animation on tap */
.azkar-btn-pulse {
  animation: azkarBtnPulse 0.3s ease;
}

@keyframes azkarBtnPulse {
  0% { transform: scale(0.95); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.azkar-tap-text {
  font-family: var(--font-arabic);
  font-size: 1.1rem;
  color: var(--gold);
  text-align: center;
  line-height: 1.5;
  z-index: 3;
  pointer-events: none;
}

/* Pulsing sonar rings */
.azkar-tap-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid rgba(26, 122, 74, 0.3);
  animation: azkarRingPulse 2s ease-out infinite;
  pointer-events: none;
}

.azkar-tap-ring-2 {
  animation-delay: 1s;
}

@keyframes azkarRingPulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* ── Milestone Message ── */
.azkar-milestone {
  text-align: center;
  font-family: var(--font-arabic);
  font-size: 1.4rem;
  color: var(--gold);
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.azkar-milestone.azkar-milestone-show {
  opacity: 1;
  transform: scale(1);
}

/* ── Detail Bottom ── */
.azkar-detail-bottom {
  text-align: center;
  width: 100%;
  padding-top: 0.5rem;
}

.azkar-detail-hint {
  font-family: var(--font-arabic);
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 0.8rem;
  direction: rtl;
}

.azkar-detail-session-total {
  font-family: var(--font-arabic);
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 0.8rem;
  direction: rtl;
}

/* ───────────── AZKAR LIGHT MODE ───────────── */
[data-theme="light"] .azkar-card {
  background: rgba(255, 255, 255, 0.65);
  border-color: rgba(21, 102, 61, 0.2);
}

[data-theme="light"] .azkar-card:hover,
[data-theme="light"] .azkar-card:focus {
  border-color: rgba(21, 102, 61, 0.45);
  box-shadow: 0 4px 20px rgba(21, 102, 61, 0.1);
}

[data-theme="light"] .azkar-tap-btn {
  background: radial-gradient(circle at center, var(--bg-primary) 30%, rgba(21, 102, 61, 0.15) 100%);
  border-color: rgba(21, 102, 61, 0.4);
}

[data-theme="light"] .azkar-back-btn {
  border-color: rgba(154, 123, 45, 0.3);
}

[data-theme="light"] .azkar-back-btn:hover {
  background: rgba(154, 123, 45, 0.08);
}

/* ═══════════════════════════════════════════════════════════
   PAGE VERIFICATION BLOCK
   ═══════════════════════════════════════════════════════════ */

.page-verify-card {
  margin-top: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(21, 102, 61, 0.10);
  border: 1px solid rgba(21, 102, 61, 0.3);
  border-radius: 10px;
  font-size: 0.8rem;
}

.verify-label {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--emerald-light);
  margin-bottom: 0.4rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.verify-row {
  font-family: var(--font-body);
  color: var(--text-primary);
  line-height: 1.5;
  padding: 0.2rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.verify-row:last-child { border-bottom: none; }

[data-theme="light"] .page-verify-card {
  background: rgba(21, 102, 61, 0.07);
  border-color: rgba(21, 102, 61, 0.25);
}

/* ═══════════════════════════════════════════════════════════
   BADGES ROW
   ═══════════════════════════════════════════════════════════ */

.badges-scroll-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0.5rem 0 0.75rem;
}

.badges-scroll-wrapper::-webkit-scrollbar { display: none; }

.badges-row {
  display: flex;
  flex-direction: row;
  gap: 0.6rem;
  padding: 0 0.5rem;
  min-width: max-content;
}

.badge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  width: 64px;
  flex-shrink: 0;
  cursor: default;
  user-select: none;
}

.badge-emoji {
  font-size: 1.8rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.badge-label {
  font-family: var(--font-body);
  font-size: 0.6rem;
  text-align: center;
  line-height: 1.2;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 64px;
}

.badge-earned .badge-emoji {
  filter: drop-shadow(0 0 6px rgba(201,168,76,0.6));
}

.badge-earned .badge-label {
  color: var(--gold);
  font-weight: 600;
}

.badge-locked .badge-emoji {
  opacity: 0.28;
  filter: grayscale(1);
}

.badge-locked .badge-label {
  opacity: 0.35;
}

/* ═══════════════════════════════════════════════════════════
   BADGE UNLOCK POPUP
   ═══════════════════════════════════════════════════════════ */

.badge-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.5);
  z-index: 10000;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.35s ease;
}

.badge-popup-hide {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.5);
}

.badge-popup-show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  animation: badge-popup-burst 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes badge-popup-burst {
  0%   { transform: translate(-50%, -50%) scale(0.3); opacity: 0; }
  60%  { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(1);   opacity: 1; }
}

.badge-popup-inner {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border: 2px solid var(--gold);
  border-radius: 20px;
  padding: 1.5rem 2rem;
  text-align: center;
  box-shadow: 0 0 40px rgba(201,168,76,0.4), 0 20px 60px rgba(0,0,0,0.5);
  min-width: 200px;
  position: relative;
  overflow: hidden;
}

.badge-popup-burst {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(201,168,76,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.badge-popup-icon {
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 0.5rem;
  animation: badge-icon-spin 0.6s ease forwards;
}

@keyframes badge-icon-spin {
  0%   { transform: rotate(-20deg) scale(0.5); }
  100% { transform: rotate(0deg) scale(1); }
}

.badge-popup-title {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.badge-popup-name {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white-soft);
}

/* ═══════════════════════════════════════════════════════════
   SHARE BOTTOM SHEET
   ═══════════════════════════════════════════════════════════ */

.share-bottom-sheet {
  position: fixed;
  inset: 0;
  z-index: 9000;
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
}

.share-sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  cursor: pointer;
}

.share-sheet-panel {
  position: relative;
  background: var(--bg-secondary);
  border-radius: 20px 20px 0 0;
  padding: 0.5rem 1.5rem 2rem;
  border-top: 1px solid rgba(201,168,76,0.2);
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
}

.share-sheet-open .share-sheet-panel {
  transform: translateY(0);
}

.share-sheet-handle {
  width: 40px;
  height: 4px;
  background: rgba(255,255,255,0.2);
  border-radius: 2px;
  margin: 0.6rem auto 1rem;
}

.share-sheet-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--white-soft);
}

.share-sheet-close-btn {
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 1rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  transition: background 0.2s;
}

.share-sheet-close-btn:hover { background: rgba(255,255,255,0.08); }

.share-sheet-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.share-sheet-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 0.85rem 0.4rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: var(--text-primary);
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.share-sheet-btn:active { transform: scale(0.93); }
.share-sheet-btn:hover  { background: rgba(255,255,255,0.1); }

.share-sheet-icon { font-size: 1.6rem; line-height: 1; }

[data-theme="light"] .share-sheet-panel {
  background: #f5f2e8;
  border-color: rgba(154,123,45,0.25);
}

[data-theme="light"] .share-sheet-btn {
  background: rgba(0,0,0,0.04);
  border-color: rgba(0,0,0,0.1);
  color: #1a1a1a;
}

/* ═══════════════════════════════════════════════════════════
   HIDDEN SHARE CARD TEMPLATES (540×960, 2× = 1080×1920 story)
   ═══════════════════════════════════════════════════════════ */

/* ── Card outer frame: 9:16 story ── */
.sc-card {
  width: 540px;
  height: 960px;
  background: #08090e;
  position: relative;
  overflow: hidden;
  font-family: 'Cairo', sans-serif;
  color: #f0ede6;
  box-sizing: border-box;
}

/* Ambient glow layer (real element for html2canvas) */
.sc-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 40%, rgba(212,175,55,0.10) 0%, transparent 70%),
    radial-gradient(circle at 20% 20%, rgba(21,102,61,0.05) 0%, transparent 50%);
  pointer-events: none;
}

/* ── Centered content card ── */
.sc-inner {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 470px;
  background: rgba(14,14,22,0.92);
  border: 1px solid rgba(212,175,55,0.15);
  border-radius: 28px;
  padding: 36px 32px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow:
    0 0 100px rgba(212,175,55,0.08),
    inset 0 1px 0 rgba(255,255,255,0.05);
}

/* ── Header ── */
.sc-header-block { margin-bottom: 6px; }

.sc-bismillah {
  font-family: 'Scheherazade New', serif;
  font-size: 18px;
  color: rgba(201,168,76,0.75);
  direction: rtl;
  margin-bottom: 6px;
}

.sc-app-name {
  font-family: 'Cairo', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: rgba(212,175,55,0.85);
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.sc-app-name-ar {
  font-family: 'Scheherazade New', serif;
  font-size: 13px;
  color: rgba(201,168,76,0.4);
  direction: rtl;
}

/* ── Divider ── */
.sc-divider {
  width: 90%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,0.25), transparent);
  margin: 12px auto;
  flex-shrink: 0;
}

/* ── Body ── */
.sc-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 4px;
}

.sc-reading-label {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 4px;
}

.sc-reading-value {
  font-size: 20px;
  font-weight: 700;
  color: #e8d48b;
  margin-bottom: 8px;
}

/* ── THE BIG NUMBER ── */
.sc-big-number {
  font-family: 'Amiri', serif;
  font-size: 88px;
  font-weight: 700;
  color: #d4af37;
  line-height: 1;
  letter-spacing: -0.02em;
  text-shadow:
    0 0 40px rgba(212,175,55,0.6),
    0 0 80px rgba(212,175,55,0.3),
    0 2px 4px rgba(0,0,0,0.4);
  padding: 6px 0 2px;
}

.sc-big-label {
  font-size: 16px;
  font-weight: 700;
  color: rgba(255,255,255,0.8);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 16px;
}

/* ── Detail row (letters / percentage) ── */
.sc-detail-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 12px 24px;
  background: rgba(212,175,55,0.08);
  border-radius: 14px;
  border: 1px solid rgba(212,175,55,0.12);
}

.sc-detail-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sc-detail-num {
  font-family: 'Amiri', serif;
  font-size: 30px;
  font-weight: 700;
  color: #e8d48b;
  line-height: 1.2;
  text-shadow: 0 0 15px rgba(232,212,139,0.25);
}

.sc-detail-lbl {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.sc-detail-sep {
  width: 1px;
  height: 36px;
  background: rgba(212,175,55,0.2);
}

/* ── Session entries list ── */
.sc-entries {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 12px;
  max-height: 180px;
  overflow: hidden;
}

.sc-entry-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  padding: 10px 14px;
  background: rgba(212,175,55,0.07);
  border-radius: 10px;
  border: 1px solid rgba(212,175,55,0.10);
}

.sc-entry-desc {
  color: rgba(255,255,255,0.75);
  font-weight: 600;
  font-family: 'Scheherazade New', 'Cairo', sans-serif;
  font-size: 14px;
  unicode-bidi: plaintext;
}

.sc-entry-has {
  color: #d4af37;
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
}

/* ── Quote ── */
.sc-quote {
  font-size: 10px;
  color: rgba(240,237,230,0.4);
  font-style: italic;
  text-align: center;
  line-height: 1.5;
  max-width: 92%;
}

/* ── Footer ── */
.sc-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 10px;
  padding-top: 8px;
}

.sc-ig {
  font-size: 13px;
  font-weight: 700;
  color: rgba(212,175,55,0.9);
  letter-spacing: 0.03em;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.sc-ig-icon {
  flex-shrink: 0;
}

.sc-hashtag {
  font-size: 10px;
  color: rgba(201,168,76,0.4);
  letter-spacing: 0.06em;
  font-weight: 500;
}

/* ── LIGHT THEME share card overrides ── */
.sc-card.sc-light {
  background: #f5f3ef;
}

.sc-card.sc-light .sc-glow {
  background:
    radial-gradient(ellipse 60% 50% at 50% 42%, rgba(201,168,76,0.08) 0%, transparent 70%),
    radial-gradient(circle at 25% 25%, rgba(21,102,61,0.04) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(140,110,50,0.04) 0%, transparent 50%);
}

.sc-card.sc-light .sc-inner {
  background: linear-gradient(170deg, rgba(255,255,255,0.95), rgba(248,246,242,0.97));
  border-color: rgba(201,168,76,0.22);
  box-shadow:
    0 0 80px rgba(201,168,76,0.06),
    0 4px 30px rgba(0,0,0,0.08),
    inset 0 1px 0 rgba(255,255,255,0.8);
}

.sc-card.sc-light .sc-bismillah     { color: rgba(140,110,40,0.8); }
.sc-card.sc-light .sc-app-name      { color: rgba(120,95,30,0.7); }
.sc-card.sc-light .sc-app-name-ar   { color: rgba(140,110,40,0.5); }
.sc-card.sc-light .sc-divider        { background: linear-gradient(90deg, transparent 5%, rgba(201,168,76,0.3) 50%, transparent 95%); }
.sc-card.sc-light .sc-reading-label  { color: rgba(40,35,25,0.6); }
.sc-card.sc-light .sc-reading-value  { color: #8b7020; }

.sc-card.sc-light .sc-big-number {
  color: #9a7b1a;
  text-shadow:
    0 0 20px rgba(154,123,26,0.25),
    0 0 50px rgba(154,123,26,0.1);
}

.sc-card.sc-light .sc-big-label      { color: rgba(40,35,25,0.7); }

.sc-card.sc-light .sc-detail-row {
  background: rgba(201,168,76,0.08);
  border-color: rgba(201,168,76,0.15);
}

.sc-card.sc-light .sc-detail-num {
  color: #8b7020;
  text-shadow: none;
}

.sc-card.sc-light .sc-detail-lbl     { color: rgba(40,35,25,0.55); }
.sc-card.sc-light .sc-detail-sep     { background: rgba(201,168,76,0.2); }

.sc-card.sc-light .sc-entry-row {
  background: rgba(201,168,76,0.06);
  border-color: rgba(201,168,76,0.15);
}

.sc-card.sc-light .sc-entry-desc     { color: rgba(40,35,25,0.75); }
.sc-card.sc-light .sc-entry-has      { color: #8b7020; }
.sc-card.sc-light .sc-quote          { color: rgba(40,35,25,0.4); }
.sc-card.sc-light .sc-ig             { color: rgba(140,110,40,0.85); }
.sc-card.sc-light .sc-hashtag        { color: rgba(140,110,40,0.4); }
