/* ════════════════════════════════════════
   GOLD & SILVER PRICES
   ════════════════════════════════════════ */
.gsp-wrap { max-width: auto; margin: 0 auto; padding: 0 1.5rem 5rem; }

.gsp-setup {
  background: linear-gradient(135deg, rgba(192,98,42,0.08), rgba(224,123,63,0.08));
  border: 1.5px solid rgba(192,98,42,0.25);
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeUp 0.4s ease both;
}
.gsp-setup-icon { font-size: 1.8rem; flex-shrink: 0; }
.gsp-setup-text { flex: 1; min-width: 200px; }
.gsp-setup-text h4 { font-size: 0.9rem; font-weight: 700; color: var(--text); margin-bottom: 0.2rem; }
.gsp-setup-text p  { font-size: 0.78rem; color: var(--muted); }
.gsp-setup-text a  { color: var(--accent); font-weight: 700; text-decoration: none; }
.gsp-key-input { display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; }
.gsp-key-field {
  padding: 0.5rem 0.9rem;
  border: 1.5px solid var(--border);
  border-radius: 9px;
  font-size: 0.85rem;
  font-family: 'Baloo 2', monospace;
  color: var(--text);
  background: var(--surface);
  outline: none;
  width: 220px;
  transition: border-color 0.2s;
}
.gsp-key-field:focus { border-color: var(--accent2); box-shadow: 0 0 0 3px rgba(192,98,42,0.1); }
.gsp-key-btn {
  padding: 0.5rem 1.1rem;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  border: none;
  border-radius: 9px;
  font-size: 0.82rem;
  font-weight: 700;
  font-family: 'Baloo 2', sans-serif;
  cursor: pointer;
  transition: transform 0.2s;
}
.gsp-key-btn:hover { transform: translateY(-1px); }

.gsp-controls {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.gsp-currency-tabs {
  display: flex;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 3px;
  gap: 3px;
}
.gsp-currency-btn {
  padding: 0.38rem 0.9rem;
  border-radius: 7px;
  border: none;
  background: transparent;
  font-size: 0.82rem;
  font-weight: 700;
  font-family: 'Baloo 2', sans-serif;
  cursor: pointer;
  color: var(--muted);
  transition: all 0.18s;
}
.gsp-currency-btn.active {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  box-shadow: 0 2px 8px rgba(192,98,42,0.25);
}
.gsp-last-updated { font-size: 0.72rem; color: var(--muted); }
.gsp-refresh-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1.1rem;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: 'Baloo 2', sans-serif;
  cursor: pointer;
  color: var(--muted);
  transition: all 0.18s;
  margin-left: auto;
}
.gsp-refresh-btn:hover { background: var(--accent-lt); border-color: var(--accent2); color: var(--accent); }
.gsp-refresh-btn.loading span { animation: spin 0.8s linear infinite; }

.gsp-error { display: none; text-align: center; padding: 2.5rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 1.5rem; }
.gsp-error.visible { display: block; }
.gsp-error-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
.gsp-error h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.gsp-error p { font-size: 0.85rem; color: var(--muted); }

.gsp-price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}
.gsp-price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  animation: fadeUp 0.5s ease both;
  position: relative;
}
.gsp-price-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
}
.gsp-price-card.gold::before { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.gsp-price-card.silver::before { background: linear-gradient(90deg, #94a3b8, #cbd5e1); }
.gsp-price-card.platinum::before { background: linear-gradient(90deg, #6366f1, #818cf8); }

.gsp-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.2rem 0.6rem;
}
.gsp-metal-name {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
}
.gsp-metal-symbol {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 100px;
  background: var(--bg);
  color: var(--muted);
  border: 1px solid var(--border);
}
.gsp-change-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.2rem 0.65rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
}
.gsp-change-badge.up { background: #e6f9f2; color: #22a06b; }
.gsp-change-badge.down { background: #fde8e8; color: #e53e3e; }
.gsp-change-badge.flat { background: var(--bg); color: var(--muted); }

.gsp-price-main { padding: 0.5rem 1.2rem 1rem; }
.gsp-price-big {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 0.3rem;
}
.gsp-price-big .currency-sym { font-size: 1.2rem; font-weight: 600; color: var(--muted); vertical-align: top; margin-top: 4px; display: inline-block; }
.gsp-price-unit { font-size: 0.75rem; color: var(--muted); font-weight: 600; }

.gsp-mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
}
.gsp-mini-stat { padding: 0.6rem 0.8rem; text-align: center; border-right: 1px solid var(--border); }
.gsp-mini-stat:last-child { border-right: none; }
.gsp-mini-val { font-size: 0.82rem; font-weight: 700; color: var(--text); }
.gsp-mini-label { font-size: 0.62rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.3px; }

.gsp-converter {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.4s 0.1s ease both;
}
.gsp-converter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.2rem;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(to bottom, #fdfaf7, var(--surface));
}
.gsp-converter-title { font-size: 0.9rem; font-weight: 700; color: var(--text); }
.gsp-converter-body { padding: 1.2rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1rem; }
.gsp-conv-group { display: flex; flex-direction: column; gap: 0.35rem; }
.gsp-conv-label { font-size: 0.75rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.4px; }
.gsp-conv-row { display: flex; align-items: center; gap: 0.5rem; }
.gsp-conv-input {
  flex: 1;
  padding: 0.6rem 0.8rem;
  border: 1.5px solid var(--border);
  border-radius: 9px;
  font-size: 0.9rem;
  font-family: 'Baloo 2', sans-serif;
  color: var(--text);
  background: var(--bg);
  outline: none;
}
.gsp-conv-input:focus { border-color: var(--accent2); box-shadow: 0 0 0 3px rgba(192,98,42,0.1); }
.gsp-conv-select {
  padding: 0.6rem 0.7rem;
  border: 1.5px solid var(--border);
  border-radius: 9px;
  font-size: 0.82rem;
  font-family: 'Baloo 2', sans-serif;
  color: var(--text);
  background: var(--bg);
  outline: none;
  cursor: pointer;
}
.gsp-conv-result { margin-top: 0.6rem; padding: 0.7rem 1rem; background: var(--accent-lt); border: 1px solid rgba(192,98,42,0.2); border-radius: 9px; font-size: 0.9rem; font-weight: 700; color: var(--accent); }

.gsp-skeleton {
  background: linear-gradient(90deg, var(--bg) 25%, var(--border) 50%, var(--bg) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: 8px;
  height: 20px;
  margin: 6px 0;
}
 .seo-content {
    max-width: 860px;
    margin: 60px auto;
    padding: 0 20px;
    font-family: inherit;
    color: #1a1a2e;
    line-height: 1.8;
  }
 
  .seo-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 48px;
    margin-bottom: 12px;
    color: #0f172a;
    border-left: 4px solid #16a34a;
    padding-left: 12px;
  }
 
  .seo-content p {
    margin-bottom: 14px;
    color: #374151;
    font-size: 0.97rem;
  }
 
  /* Feature Cards */
  .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin: 24px 0;
  }
 
  .feature-card {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 10px;
    padding: 16px;
  }
 
  .feature-card .icon { font-size: 1.4rem; }
  .feature-card strong { display: block; margin: 6px 0 4px; font-size: 0.95rem; color: #14532d; }
  .feature-card span { font-size: 0.85rem; color: #4b5563; }
 
  /* Stock Info Cards */
  .stock-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    margin: 24px 0;
  }
 
  .stock-info-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 14px 16px;
    text-align: center;
  }
 
  .stock-info-card .si-icon { font-size: 1.5rem; display: block; margin-bottom: 6px; }
  .stock-info-card strong { display: block; font-size: 0.9rem; color: #0f172a; margin-bottom: 3px; }
  .stock-info-card span { font-size: 0.8rem; color: #4b5563; }
 
  /* Mock Watchlist */
  .mock-watchlist {
    background: #1e1e2e;
    border-radius: 12px;
    overflow: hidden;
    margin: 20px 0;
  }
 
  .mock-watchlist .mw-header {
    background: #16a34a;
    padding: 10px 16px;
    font-size: 0.82rem;
    font-weight: 700;
    color: white;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 8px;
  }
 
  .mock-watchlist .mw-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 8px;
    padding: 10px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-size: 0.84rem;
    align-items: center;
  }
 
  .mock-watchlist .mw-row:last-child { border-bottom: none; }
  .mw-symbol { color: #89b4fa; font-weight: 700; font-family: monospace; }
  .mw-name   { color: #cdd6f4; font-size: 0.78rem; }
  .mw-price  { color: #f9e2af; font-weight: 600; font-family: monospace; }
  .mw-up     { color: #a6e3a1; font-weight: 600; }
  .mw-dn     { color: #f38ba8; font-weight: 600; }
 
  /* Steps */
  .steps-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    counter-reset: steps;
  }
 
  .steps-list li {
    counter-increment: steps;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 14px;
    background: #f8fafc;
    border-radius: 8px;
    padding: 14px;
    border: 1px solid #e2e8f0;
  }
 
  .steps-list li::before {
    content: counter(steps);
    background: #16a34a;
    color: white;
    width: 28px; height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
  }
 
  /* Stock Terms */
  .terms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
    margin: 20px 0;
  }
 
  .term-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 14px 16px;
  }
 
  .term-card .t-abbr {
    font-family: monospace;
    font-size: 1rem;
    font-weight: 800;
    color: #16a34a;
    display: block;
    margin-bottom: 4px;
  }
 
  .term-card strong { display: block; font-size: 0.88rem; color: #0f172a; margin-bottom: 3px; }
  .term-card span   { font-size: 0.8rem; color: #4b5563; }
 
  /* Use Cases */
  .use-cases {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 16px 0;
  }
 
  .use-case-tag {
    background: #f0fdf4;
    border: 1px solid #86efac;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 0.85rem;
    color: #14532d;
  }
 
  /* Compare Table */
  .compare-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 0.92rem;
  }
 
  .compare-table th {
    background: #16a34a;
    color: white;
    padding: 12px 16px;
    text-align: left;
  }
 
  .compare-table td {
    padding: 11px 16px;
    border-bottom: 1px solid #e5e7eb;
    color: #374151;
  }
 
  .compare-table tr:nth-child(even) td { background: #f0fdf4; }
 
  /* FAQ */
  .faq-item {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    margin-bottom: 12px;
    overflow: hidden;
  }
 
  .faq-q {
    background: #f9fafb;
    padding: 14px 18px;
    font-weight: 600;
    color: #14532d;
    font-size: 0.95rem;
  }
 
  .faq-a {
    padding: 12px 18px;
    color: #4b5563;
    font-size: 0.9rem;
    border-top: 1px solid #e5e7eb;
  }
 
  .info-box {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 10px;
    padding: 16px 20px;
    margin: 20px 0;
    font-size: 0.92rem;
    color: #14532d;
  }
 
  .disclaimer-box {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 10px;
    padding: 16px 20px;
    margin: 20px 0;
    font-size: 0.88rem;
    color: #78350f;
  }
 
  .code-inline {
    background: #1e1e2e;
    color: #a6e3a1;
    font-family: monospace;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.85rem;
  }




  .seo-content {
    max-width: 860px;
    margin: 60px auto;
    padding: 0 20px;
    font-family: inherit;
    color: #1a1a2e;
    line-height: 1.8;
  }
 
  .seo-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 48px;
    margin-bottom: 12px;
    color: #0f172a;
    border-left: 4px solid #f59e0b;
    padding-left: 12px;
  }
 
  .seo-content p {
    margin-bottom: 14px;
    color: #374151;
    font-size: 0.97rem;
  }
 
  .metals-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 24px 0;
  }
 
  .metal-card {
    border-radius: 12px;
    padding: 20px;
    text-align: center;
  }
 
  .metal-card.gold     { background: linear-gradient(135deg, #fef9c3, #fef3c7); border: 2px solid #fbbf24; }
  .metal-card.silver   { background: linear-gradient(135deg, #f1f5f9, #e2e8f0); border: 2px solid #94a3b8; }
  .metal-card.platinum { background: linear-gradient(135deg, #eff6ff, #dbeafe); border: 2px solid #60a5fa; }
 
  .metal-card .m-icon { font-size: 2.2rem; display: block; margin-bottom: 8px; }
  .metal-card strong { display: block; font-size: 1rem; margin-bottom: 4px; color: #0f172a; }
  .metal-card span { font-size: 0.83rem; color: #4b5563; }
 
  .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin: 24px 0;
  }
 
  .feature-card {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 10px;
    padding: 16px;
  }
 
  .feature-card .icon { font-size: 1.4rem; }
  .feature-card strong { display: block; margin: 6px 0 4px; font-size: 0.95rem; color: #92400e; }
  .feature-card span { font-size: 0.85rem; color: #4b5563; }
 
  .units-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    margin: 20px 0;
  }
 
  .unit-card {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 10px;
    padding: 16px;
    text-align: center;
  }
 
  .unit-card .u-name { font-weight: 700; color: #92400e; font-size: 1rem; margin-bottom: 4px; }
  .unit-card .u-eq   { font-size: 0.82rem; color: #6b7280; margin-bottom: 6px; }
  .unit-card .u-use  { font-size: 0.82rem; color: #4b5563; }
 
  .steps-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    counter-reset: steps;
  }
 
  .steps-list li {
    counter-increment: steps;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 14px;
    background: #f8fafc;
    border-radius: 8px;
    padding: 14px;
    border: 1px solid #e2e8f0;
  }
 
  .steps-list li::before {
    content: counter(steps);
    background: #f59e0b;
    color: white;
    width: 28px; height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
  }
 
  .use-cases {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 16px 0;
  }
 
  .use-case-tag {
    background: #fffbeb;
    border: 1px solid #fcd34d;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 0.85rem;
    color: #92400e;
  }
 
  .compare-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 0.92rem;
  }
 
  .compare-table th {
    background: #d97706;
    color: white;
    padding: 12px 16px;
    text-align: left;
  }
 
  .compare-table td {
    padding: 11px 16px;
    border-bottom: 1px solid #e5e7eb;
    color: #374151;
  }
 
  .compare-table tr:nth-child(even) td { background: #fffbeb; }
 
  .factors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
    margin: 20px 0;
  }
 
  .factor-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 14px 16px;
  }
 
  .factor-card strong { color: #0f172a; display: block; margin-bottom: 4px; font-size: 0.92rem; }
  .factor-card span { font-size: 0.84rem; color: #4b5563; }
 
  .faq-item {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    margin-bottom: 12px;
    overflow: hidden;
  }
 
  .faq-q {
    background: #f9fafb;
    padding: 14px 18px;
    font-weight: 600;
    color: #92400e;
    font-size: 0.95rem;
  }
 
  .faq-a {
    padding: 12px 18px;
    color: #4b5563;
    font-size: 0.9rem;
    border-top: 1px solid #e5e7eb;
  }
 
  .info-box {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 10px;
    padding: 16px 20px;
    margin: 20px 0;
    font-size: 0.92rem;
    color: #78350f;
  }
 
  .disclaimer-box {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    border-radius: 10px;
    padding: 16px 20px;
    margin: 20px 0;
    font-size: 0.88rem;
    color: #7f1d1d;
  }
 
  @media (max-width: 600px) {
    .metals-grid { grid-template-columns: 1fr; }
  }


/* ════════════════════════════════════════
   CRICKET SCORE
   ════════════════════════════════════════ */
.cric-wrap { max-width: 960px; margin: 0 auto; padding: 0 1.5rem 5rem; }

.cric-setup {
  background: linear-gradient(135deg, rgba(192,98,42,0.08), rgba(224,123,63,0.08));
  border: 1.5px solid rgba(192,98,42,0.25);
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.cric-setup-icon { font-size: 1.8rem; flex-shrink: 0; }
.cric-setup-text { flex: 1; min-width: 200px; }
.cric-setup-text h4 { font-size: 0.9rem; font-weight: 700; color: var(--text); margin-bottom: 0.2rem; }
.cric-setup-text p { font-size: 0.78rem; color: var(--muted); }
.cric-setup-text a { color: var(--accent); font-weight: 700; text-decoration: none; }
.cric-key-row { display: flex; gap: 0.5rem; align-items: center; }
.cric-key-input {
  padding: 0.5rem 0.9rem;
  border: 1.5px solid var(--border);
  border-radius: 9px;
  font-size: 0.85rem;
  font-family: 'Baloo 2', monospace;
  color: var(--text);
  background: var(--surface);
  outline: none;
  width: 220px;
}
.cric-key-input:focus { border-color: var(--accent2); }
.cric-key-btn {
  padding: 0.5rem 1.1rem;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  border: none;
  border-radius: 9px;
  font-size: 0.82rem;
  font-weight: 700;
  font-family: 'Baloo 2', sans-serif;
  cursor: pointer;
}
.cric-key-btn:hover { transform: translateY(-1px); }

.cric-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.cric-filter-tabs {
  display: flex;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 3px;
  gap: 3px;
}
.cric-tab {
  padding: 0.4rem 1rem;
  border-radius: 7px;
  border: none;
  background: transparent;
  font-size: 0.82rem;
  font-weight: 700;
  font-family: 'Baloo 2', sans-serif;
  cursor: pointer;
  color: var(--muted);
  transition: all 0.18s;
}
.cric-tab.active {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  box-shadow: 0 2px 8px rgba(192,98,42,0.25);
}
.cric-controls-right { display: flex; align-items: center; gap: 0.75rem; margin-left: auto; }
.cric-refresh-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1.1rem;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: 'Baloo 2', sans-serif;
  cursor: pointer;
  color: var(--muted);
  transition: all 0.18s;
}
.cric-refresh-btn:hover { background: var(--accent-lt); border-color: var(--accent2); color: var(--accent); }
.cric-refresh-icon { display: inline-block; }
.cric-refresh-btn.loading .cric-refresh-icon { animation: spin 0.8s linear infinite; }

.cric-error { display: none; text-align: center; padding: 2.5rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 1.5rem; }
.cric-error-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
.cric-error h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.cric-error p { font-size: 0.85rem; color: var(--muted); }

.cric-matches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.cric-match-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: var(--shadow);
  animation: fadeUp 0.4s ease both;
}
.cric-match-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(0,0,0,0.1); }
.cric-match-card.live { border-left: 4px solid #e53e3e; }
.cric-match-card.ended { border-left: 4px solid #22a06b; }
.cric-match-card.upcoming { border-left: 4px solid #d97706; }

.cric-match-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
  flex-wrap: wrap;
}
.cric-match-type {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  background: var(--bg);
  color: var(--muted);
  text-transform: uppercase;
}
.cric-status-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.8rem;
  border-radius: 100px;
}
.cric-status-badge.live { background: rgba(229,62,62,0.15); color: #e53e3e; }
.cric-status-badge.ended { background: #e6f9f2; color: #22a06b; }
.cric-status-badge.upcoming { background: #fef3c7; color: #d97706; }

.cric-match-series { font-size: 0.75rem; color: var(--muted); font-weight: 600; margin-bottom: 0.8rem; }

.cric-teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
  padding: 1rem;
  background: var(--bg);
  border-radius: 10px;
}
.cric-team {
  flex: 1;
  text-align: center;
}
.cric-team.winning { color: #22a06b; font-weight: 700; }
.cric-team-name { font-size: 0.85rem; font-weight: 700; color: var(--text); display: block; margin-bottom: 0.3rem; }
.cric-team.winning .cric-team-name { color: #22a06b; }
.cric-team-score { font-size: 0.8rem; color: var(--muted); }
.cric-vs {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  padding: 0 0.4rem;
}

.cric-match-status { font-size: 0.82rem; color: var(--text); font-weight: 600; margin: 0.8rem 0 0.4rem; }
.cric-match-venue { font-size: 0.75rem; color: var(--muted); margin-bottom: 0.6rem; }
.cric-view-more {
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 700;
  padding-top: 0.6rem;
  border-top: 1px solid var(--border);
}

.cric-empty { text-align: center; padding: 3rem 2rem; }
.cric-empty-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
.cric-empty h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.3rem; color: var(--text); }
.cric-empty p { font-size: 0.85rem; color: var(--muted); }

.cric-modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.cric-modal-overlay.active { display: flex; }
.cric-modal {
  background: var(--surface);
  border-radius: var(--radius);
  max-width: 700px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.cric-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(to bottom, #fdfaf7, var(--surface));
  position: sticky;
  top: 0;
  z-index: 10;
}
.cric-modal-title { font-size: 1rem; font-weight: 700; color: var(--text); margin: 0; }
.cric-modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--muted);
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s;
}
.cric-modal-close:hover { background: var(--bg); }
.cric-modal-body { padding: 1.2rem; }

.cric-innings { margin-bottom: 1.5rem; }
.cric-innings-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1rem;
  background: var(--bg);
  border-radius: 10px;
  margin-bottom: 0.8rem;
}
.cric-innings-name { font-weight: 700; color: var(--text); }
.cric-innings-score { font-weight: 700; color: var(--accent); }

.cric-table-wrap {
  overflow-x: auto;
  border-radius: 10px;
  border: 1px solid var(--border);
  margin-bottom: 0.8rem;
}
.cric-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
}
.cric-table th {
  background: var(--bg);
  padding: 0.6rem;
  text-align: left;
  font-weight: 700;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}
.cric-table td {
  padding: 0.6rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.cric-table tr:last-child td { border-bottom: none; }
.cric-table tr:hover td { background: var(--accent-lt); }
.cric-table small { display: block; color: var(--muted); margin-top: 0.2rem; }

.cric-modal-loading { text-align: center; padding: 2rem; color: var(--muted); }

/* ════════════════════════════════════════
   STOCK WATCHLIST
   ════════════════════════════════════════ */
.stock-wrap { max-width: 960px; margin: 0 auto; padding: 0 1.5rem 5rem; }

.stock-setup {
  background: linear-gradient(135deg, rgba(192,98,42,0.08), rgba(224,123,63,0.08));
  border: 1.5px solid rgba(192,98,42,0.25);
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.stock-setup-icon { font-size: 1.8rem; }
.stock-setup-text { flex: 1; }
.stock-setup-text h4 { font-size: 0.9rem; font-weight: 700; color: var(--text); margin-bottom: 0.2rem; }
.stock-setup-text p { font-size: 0.78rem; color: var(--muted); }
.stock-setup-text a { color: var(--accent); font-weight: 700; text-decoration: none; }
.stock-key-row { display: flex; gap: 0.5rem; }
.stock-key-input {
  padding: 0.5rem 0.9rem;
  border: 1.5px solid var(--border);
  border-radius: 9px;
  font-size: 0.85rem;
  font-family: 'Baloo 2', monospace;
  color: var(--text);
  background: var(--surface);
  outline: none;
  width: 220px;
}
.stock-key-input:focus { border-color: var(--accent2); }
.stock-key-btn {
  padding: 0.5rem 1.1rem;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  border: none;
  border-radius: 9px;
  font-size: 0.82rem;
  font-weight: 700;
  font-family: 'Baloo 2', sans-serif;
  cursor: pointer;
}

.stock-controls {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.stock-search-wrap {
  flex: 1;
  min-width: 200px;
  display: flex;
  gap: 0.5rem;
}
.stock-search {
  flex: 1;
  padding: 0.6rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 0.9rem;
  font-family: 'Baloo 2', sans-serif;
  color: var(--text);
  background: var(--surface);
  outline: none;
}
.stock-search:focus { border-color: var(--accent2); }
.stock-search-btn {
  padding: 0.6rem 1.2rem;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  font-family: 'Baloo 2', sans-serif;
  cursor: pointer;
  white-space: nowrap;
}
.stock-refresh-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.2rem;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: 'Baloo 2', sans-serif;
  cursor: pointer;
  color: var(--muted);
  transition: all 0.18s;
}
.stock-refresh-btn:hover { background: var(--accent-lt); border-color: var(--accent2); color: var(--accent); }
.stock-refresh-btn.loading { opacity: 0.6; }

.stock-error { display: none; text-align: center; padding: 2rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 1.5rem; }
.stock-error-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.stock-error h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.3rem; }
.stock-error p { font-size: 0.82rem; color: var(--muted); }

.stock-watchlist { display: flex; flex-direction: column; gap: 0.75rem; }
.stock-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  animation: fadeUp 0.4s ease both;
  flex-wrap: wrap;
  gap: 1rem;
}
.stock-item-left { display: flex; flex-direction: column; gap: 0.2rem; }
.stock-symbol { font-size: 1rem; font-weight: 800; color: var(--text); }
.stock-time { font-size: 0.7rem; color: var(--muted); }
.stock-item-mid { text-align: center; }
.stock-price { font-size: 1.3rem; font-weight: 800; color: var(--text); line-height: 1; }
.stock-change { font-size: 0.85rem; font-weight: 700; margin-top: 0.2rem; }
.stock-item-right { display: flex; gap: 0.5rem; }
.stock-mini-btn {
  padding: 0.35rem 0.8rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  font-size: 0.72rem;
  font-weight: 600;
  font-family: 'Baloo 2', sans-serif;
  cursor: pointer;
  color: var(--muted);
  transition: all 0.15s;
  white-space: nowrap;
}
.stock-mini-btn:hover { background: var(--accent-lt); border-color: var(--accent2); color: var(--accent); }

.stock-empty { text-align: center; padding: 3rem; }
.stock-empty-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
.stock-empty h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.3rem; color: var(--text); }
.stock-empty p { font-size: 0.85rem; color: var(--muted); }

.stock-modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.stock-modal-overlay.active { display: flex; }
.stock-modal {
  background: var(--surface);
  border-radius: var(--radius);
  max-width: 700px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.stock-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: linear-gradient(to bottom, #fdfaf7, var(--surface));
  z-index: 10;
}
.stock-modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--muted);
  cursor: pointer;
}
.stock-chart-wrap { padding: 1.2rem; }
#stockChart { max-width: 100%; }


