/* V73.2: Home live-markets ticker + "Markets we cover" list (js/home-markets.js) */
body.ga-hm #page-home .asset-price-row { display: none !important; }

/* ticker */
.ga-tape {
  position: relative; overflow: hidden; margin: 0 auto 22px; max-width: 1100px; height: 44px;
  border: 1px solid var(--border); border-radius: 999px; background: var(--bg-card);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.ga-track { display: flex; width: max-content; height: 100%; align-items: center; animation: ga-scroll calc(var(--ga-n, 9) * 4.5s) linear infinite; }
.ga-track .ga-copy { display: flex; }
.ga-tape:hover .ga-track, .ga-tape.hold .ga-track { animation-play-state: paused; }
.ga-track.still { animation: none; overflow-x: auto; width: 100%; scrollbar-width: none; }
.ga-track.still::-webkit-scrollbar { display: none; }
@keyframes ga-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.ga-tk { display: inline-flex; align-items: center; gap: 8px; padding: 0 18px; white-space: nowrap; font-size: .84rem; line-height: 1; border-right: 1px solid var(--border); }
.ga-tk b { font-weight: 600; color: var(--text); letter-spacing: .02em; }
.ga-tk .ga-px { font-style: normal; font-weight: 600; color: var(--gold); font-variant-numeric: tabular-nums; }
.ga-tk .ga-st { width: 7px; height: 7px; border-radius: 50%; background: var(--green); font-size: 0; text-decoration: none; flex: 0 0 7px; box-shadow: 0 0 0 3px rgba(34, 197, 94, .15); }
.ga-tk.off .ga-st { background: var(--text-muted); box-shadow: none; opacity: .6; }
.ga-tk.off .ga-px { color: var(--text-muted); }

.ga-ic {
  display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; flex: 0 0 22px;
  font-style: normal; font-size: .62rem; font-weight: 700; color: var(--gold);
  background: color-mix(in srgb, var(--gold) 14%, transparent); border: 1px solid color-mix(in srgb, var(--gold) 30%, transparent);
}

/* price change flash */
.ga-px.up { animation: ga-up .9s ease-out; }
.ga-px.down { animation: ga-down .9s ease-out; }
@keyframes ga-up { 0% { color: var(--green); } 100% { } }
@keyframes ga-down { 0% { color: #ef4444; } 100% { } }

/* markets list */
.ga-mk { max-width: 1100px; margin: 8px auto 40px; padding: 18px; border: 1px solid var(--border); border-radius: 20px; background: var(--bg-card); }
.ga-mk-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin: 2px 4px 14px; }
.ga-mk-head h3 { margin: 0; font-family: 'Sora', sans-serif; font-size: 1.05rem; color: var(--text); }
.ga-mk-head span { font-size: .78rem; color: var(--text-muted); }
.ga-mk-grid { display: grid; grid-template-columns: 1fr; gap: 0; }
.ga-row { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 6px; border-top: 1px solid var(--border); }
.ga-mk-grid .ga-row:first-child { border-top: 0; }
.ga-row .ga-ic { width: 34px; height: 34px; flex-basis: 34px; font-size: .78rem; }
.ga-nm { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ga-nm b { font-size: .92rem; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ga-nm small { font-size: .74rem; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ga-rt { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.ga-rt .ga-px { font-style: normal; font-weight: 600; font-size: .95rem; color: var(--text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ga-rt .ga-st { display: inline-flex; align-items: center; gap: 5px; font-size: .7rem; color: var(--green); }
.ga-rt .ga-st::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.ga-row.off .ga-rt .ga-st { color: var(--text-muted); }
.ga-row.off .ga-rt .ga-px { color: var(--text-muted); }

@media (min-width: 700px) {
  .ga-mk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
  .ga-mk-grid .ga-row:nth-child(2) { border-top: 0; }
}
@media (min-width: 1000px) {
  .ga-mk { padding: 22px 26px; }
  .ga-mk-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ga-mk-grid .ga-row:nth-child(3) { border-top: 0; }
}
@media (max-width: 600px) {
  .ga-tape { height: 40px; margin: 0 -4px 18px; }
  .ga-tk { padding: 0 14px; font-size: .8rem; }
  .ga-mk { margin: 4px 0 32px; padding: 14px 14px 8px; border-radius: 18px; }
}
@media (prefers-reduced-motion: reduce) { .ga-px.up, .ga-px.down { animation: none; } }

/* V74: admin switches + "How GoldAI picks a trade" (js/quality.js) */
body.ga-no-tape .ga-tape, body.ga-no-list .ga-mk { display: none !important; }
.gq-sec { max-width: 1100px; margin: 8px auto 44px; padding: 0 2px; }
.gq-head { text-align: center; max-width: 720px; margin: 0 auto 20px; }
.gq-eyebrow { display: inline-block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); border: 1px solid color-mix(in srgb, var(--gold) 35%, transparent); border-radius: 999px; padding: 5px 12px; margin-bottom: 12px; }
.gq-head h2 { margin: 0 0 8px; font-family: 'Sora', sans-serif; font-size: clamp(1.35rem, 3.2vw, 1.9rem); color: var(--text); }
.gq-head p { margin: 0; color: var(--text-muted); line-height: 1.6; }
.gq-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 10px; }
.gq-grid li { display: grid; grid-template-columns: 36px 1fr; column-gap: 12px; row-gap: 3px; align-items: start; padding: 16px; border: 1px solid var(--border); border-radius: 16px; background: var(--bg-card); }
.gq-n { grid-row: span 2; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .9rem; color: var(--gold); background: color-mix(in srgb, var(--gold) 14%, transparent); border: 1px solid color-mix(in srgb, var(--gold) 32%, transparent); }
.gq-grid b { color: var(--text); font-size: .98rem; }
.gq-grid small { color: var(--text-muted); font-size: .84rem; line-height: 1.5; }
.gq-foot { text-align: center; margin: 16px auto 0; color: var(--text-muted); font-size: .86rem; }
@media (min-width: 700px) { .gq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .gq-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .gq-grid li { grid-template-columns: 1fr; } .gq-n { grid-row: auto; margin-bottom: 8px; } }
