/* Bigger view of the charts (charts.js): every page with charts loads it, the admin page included.
   The ⤢ button (touch screens), then the whole box of the chart moved into a large window. */
html body .hg-chart-expand { position: absolute; top: 6px; right: 6px; z-index: 3; display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; background: rgba(11, 11, 19, 0.78); color: #fff; cursor: pointer; opacity: 0; transition: opacity 0.15s ease, background-color 0.15s ease; }
html body .hg-chart-card:hover .hg-chart-expand, html body .hg-chart-expand:focus-visible { opacity: 0.85; }
html body .hg-chart-expand:hover { opacity: 1; background: var(--ar-accent, #717cf8); }
html body .hg-chart-expand:focus-visible { outline: 2px solid #a5acff; outline-offset: 0; }
@media (hover: none), (pointer: coarse) { html body .hg-chart-expand { opacity: 0.7; } }
html body .hg-chart-big-card .hg-chart-expand { display: none; }

html.hg-chart-big-open, html.hg-chart-big-open body { overflow: hidden; }
html body .hg-chart-big { position: fixed; inset: 0; z-index: 9500; display: grid; place-items: center; padding: 20px; background: rgba(5, 5, 10, 0.82); animation: hg-chart-big-in 0.15s ease; }
@keyframes hg-chart-big-in { from { opacity: 0; } }
html body .hg-chart-big-sheet { display: flex; flex-direction: column; width: min(1500px, 100%); max-height: 100%; overflow: auto; }
html body .hg-chart-big-bar { display: flex; justify-content: flex-end; margin-bottom: 10px; }
html body .hg-chart-big-close { display: inline-flex; align-items: center; gap: 10px; padding: 0; border: 0; background: none; color: var(--ar-muted, #a3a6b0); font: 700 0.78rem/1 var(--ar-display, inherit); letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; transition: color 0.15s ease; }
html body .hg-chart-big-close kbd { padding: 4px 7px; background: rgba(255, 255, 255, 0.08); color: inherit; font: 600 0.7rem/1 var(--ar-display, inherit); letter-spacing: 0.06em; }
html body .hg-chart-big-close:hover { color: #fff; }
html body .hg-chart-big-close:focus { outline: none; }
html body .hg-chart-big-close:focus-visible { color: #fff; }
html body .hg-chart-big-card { width: 100%; max-width: none; margin: 0 !important; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55); }
@media (max-width: 640px) { html body .hg-chart-big { padding: 8px; } }
/* A donut next to its list (busiest channels): half the width each once opened big */
@media (min-width: 721px) {
  html body .hg-chart-big-card .hg-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 32px; }
}

