/* Produtos: loja de Indicadores e Calendário econômico */
@media (max-width: 820px), (max-height: 500px) {
  .app[data-view="istore"] #mv-istore,
  .app[data-view="calendar"] #mv-calendar { visibility: visible; opacity: 1; transition: opacity .16s ease; z-index: 1; animation: viewIn .32s var(--ease, ease); }
}

/* ---------------------------------------------------------------- Indicadores */
.is-filters { overflow-x: auto; scrollbar-width: none; }
.is-filters::-webkit-scrollbar { display: none; }
.is-filters button { flex: none; font-size: 12px; padding: 7px 10px; white-space: nowrap; }
.is-card { gap: 11px; padding-top: 10px; }
.is-prev { position: relative; height: 112px; border-radius: 15px; overflow: hidden; background: linear-gradient(180deg, rgba(6,9,19,.55), rgba(6,9,19,.25));
  border: 1px solid rgba(255,255,255,.05); }
.is-prev.big { height: 150px; margin: 4px 0 2px; }
.is-prev-svg { display: block; width: 100%; height: 100%; }
.is-tag { position: absolute; left: 10px; top: 9px; font-size: 10.5px; font-weight: 800; letter-spacing: .3px; padding: 3px 8px; border-radius: 8px;
  color: #fff; background: rgba(6,9,19,.7); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.is-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 12px; color: var(--muted); }
.is-meta b { color: var(--text); font-weight: 700; }
.is-meta i { width: 3px; height: 3px; border-radius: 50%; background: var(--muted); opacity: .6; }
.is-plat { margin-left: auto; font-size: 10.5px; font-weight: 700; padding: 2px 8px; border-radius: 7px; color: #a7f3d0; background: rgba(16,185,129,.12); border: 1px solid rgba(16,185,129,.3); }
.is-stars { position: relative; display: inline-block; font-size: 12px; letter-spacing: 1px; color: rgba(255,255,255,.15); line-height: 1; }
.is-stars::before { content: "★★★★★"; position: absolute; left: 0; top: 0; width: var(--v); overflow: hidden; color: #fbbf24; white-space: nowrap; }
.is-feats { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.is-feats li { position: relative; padding: 10px 12px 10px 36px; border-radius: 13px; font-size: 13px; line-height: 1.4; background: rgba(6,9,19,.45); border: 1px solid var(--line); }
.is-feats li::before { content: "✓"; position: absolute; left: 12px; top: 9px; width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center;
  font-size: 10px; font-weight: 900; color: #04130d; background: var(--gain); }

/* ---------------------------------------------------------------- Calendário */
.cal-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.cal-filters .seg { display: flex; }
.cal-filters .seg button { font-size: 12px; padding: 7px 11px; white-space: nowrap; }
.cal-scroll { display: grid; gap: 12px; align-content: start; }
.cal-next { display: grid; gap: 6px; padding: 14px; border-radius: 20px; border: 1px solid rgba(14,165,233,.35);
  background: radial-gradient(120% 120% at 100% 0%, rgba(14,165,233,.22), transparent 60%), var(--glass, rgba(18,25,46,.62)); }
.cal-next.hidden { display: none; }
.cal-next-lbl { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #7dd3fc; }
.cal-next-row { display: flex; align-items: center; gap: 9px; min-width: 0; }
.cal-next-row b { font: 800 17px/1.2 var(--display, Inter); letter-spacing: -.02em; min-width: 0; }
.cal-next-when { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.cal-next-when b { font: 800 15px/1 var(--display, Inter); color: #fff; }
.cal-alerts { display: grid; gap: 10px; padding: 12px 14px; border-radius: 18px; background: rgba(6,9,19,.45); border: 1px solid var(--line); }
.cal-al-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cal-al-row > div { display: grid; gap: 2px; min-width: 0; }
.cal-al-row b { font-size: 14px; }
.cal-al-row small { font-size: 12px; color: var(--muted); }
#cal-lead { display: flex; }
#cal-lead button { flex: 1; font-size: 12px; padding: 7px 4px; }
.cal-al-note { margin: 0; font-size: 11px; line-height: 1.45; color: var(--muted); opacity: .85; }
.cal-list { display: grid; gap: 8px; }
.cal-day-h { display: flex; align-items: baseline; gap: 8px; padding: 8px 4px 0; }
.cal-day-h b { font: 800 15px/1.2 var(--display, Inter); letter-spacing: -.02em; }
.cal-day-h span { font-size: 12px; color: var(--muted); }
.cal-day { border-radius: 18px; overflow: hidden; background: var(--glass, rgba(18,25,46,.62)); border: 1px solid var(--line); }
.cal-ev { display: grid; grid-template-columns: 50px auto auto minmax(0, 1fr) 34px; align-items: center; gap: 9px; padding: 11px 10px 11px 12px; }
.cal-ev + .cal-ev { border-top: 1px solid rgba(255,255,255,.05); }
.cal-ev.past { opacity: .45; }
.cal-ev.live { background: linear-gradient(90deg, rgba(14,165,233,.16), transparent 70%); }
.cal-time { display: grid; font-family: var(--mono); font-size: 12.5px; font-weight: 600; }
.cal-time em { font-style: normal; font-family: Inter, sans-serif; font-size: 9.5px; font-weight: 800; color: #38bdf8; text-transform: uppercase; letter-spacing: .05em; }
.cal-cur { flex: none; font: 800 10.5px/1 var(--mono); padding: 4px 6px; border-radius: 7px; color: #dfe3ff; background: rgba(139,147,255,.14); border: 1px solid rgba(139,147,255,.22); }
.cal-cur.c-USD { color: #bfdbfe; background: rgba(59,130,246,.16); border-color: rgba(59,130,246,.35); }
.cal-cur.c-EUR { color: #c7d2fe; background: rgba(99,102,241,.16); border-color: rgba(99,102,241,.35); }
.cal-cur.c-GBP { color: #fecdd3; background: rgba(244,63,94,.14); border-color: rgba(244,63,94,.32); }
.cal-cur.c-JPY { color: #fde68a; background: rgba(245,158,11,.13); border-color: rgba(245,158,11,.3); }
.cal-cur.c-CNY { color: #fca5a5; background: rgba(239,68,68,.13); border-color: rgba(239,68,68,.3); }
.cal-imp { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.cal-imp i { width: 4px; border-radius: 2px; background: rgba(255,255,255,.12); }
.cal-imp i:nth-child(1) { height: 6px; } .cal-imp i:nth-child(2) { height: 10px; } .cal-imp i:nth-child(3) { height: 14px; }
.cal-imp.i1 i:nth-child(1) { background: #facc15; }
.cal-imp.i2 i:nth-child(-n+2) { background: #fb923c; }
.cal-imp.i3 i { background: #ff4d6d; box-shadow: 0 0 6px rgba(255,77,109,.5); }
.cal-main { display: grid; gap: 2px; min-width: 0; }
.cal-main b { font-size: 13.5px; font-weight: 700; line-height: 1.3; }
.cal-main small { font-size: 11.5px; color: var(--muted); }
.cal-main small em { font-style: normal; font-family: var(--mono); color: #c9cff0; }
.cal-bell, .cal-bell-sp { width: 34px; height: 34px; }
.cal-bell { display: grid; place-items: center; padding: 0; border-radius: 11px; border: 1px solid var(--line2); background: rgba(6,9,19,.4); color: var(--muted); cursor: pointer; }
.cal-bell svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cal-bell.auto { color: #7dd3fc; border-color: rgba(14,165,233,.4); }
.cal-bell.on { color: #fff; border-color: transparent; background: linear-gradient(135deg, #0ea5e9, #6366f1); box-shadow: 0 6px 16px rgba(14,165,233,.35); }
.cal-bell.on svg { fill: currentColor; }
.cal-src { margin: 4px 4px 0; font-size: 11px; line-height: 1.45; color: var(--muted); opacity: .8; text-align: center; }
.cal-loading { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 30px 0; color: var(--muted); font-size: 13px; }
.cal-loading .spin { width: 22px; height: 22px; border-width: 2px; }

/* PC: páginas mais largas */
@media (min-width: 821px) and (min-height: 501px) {
  .m-view .is-list { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
  #mv-calendar .mv-scroll { max-width: 980px; width: 100%; margin: 0 auto; }
  #mv-calendar .cal-filters { justify-content: flex-start; }
  .cal-ev { grid-template-columns: 62px 52px 30px minmax(0, 1fr) 40px; padding: 10px 14px; }
}
