/* The gambling report (plugins/nfgstats.js): staff's popup for @gamblestats. */
.ngs-wrap { position: fixed; inset: 0; z-index: 1150; display: flex; align-items: center; justify-content: center; padding: 16px;
    background: rgba(2, 4, 10, 0.7); }
.ngs-panel { width: min(900px, 100%); max-height: 100%; display: flex; flex-direction: column; overflow: hidden; border-radius: 12px;
    background: #0b0f14; border: 1px solid #243041; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.75); color: #dfe8f1;
    font-family: "Rajdhani", "Segoe UI", system-ui, sans-serif; }
.ngs-head { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #10161e; border-bottom: 1px solid #1d2734; }
.ngs-title { font: bold 14px "Consolas", monospace; letter-spacing: 3px; color: #e9f1f8; }
.ngs-since { flex: 1; color: #7f93a6; font-size: 13px; }
.ngs-x { width: 30px; height: 28px; border-radius: 6px; border: 1px solid #2a3646; background: #151c26; color: #9fb3c8; cursor: pointer; }
.ngs-x:hover { color: #fff; }
.ngs-body { padding: 14px; overflow-y: auto; }
.ngs-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.ngs-tile { padding: 10px 12px; border-radius: 10px; background: #111821; border: 1px solid #1d2734; }
.ngs-tile-label { font: 11px "Consolas", monospace; letter-spacing: 2px; color: #7f93a6; text-transform: uppercase; }
.ngs-tile-value { margin: 2px 0; font: bold 28px "Rajdhani", sans-serif; color: #f2f7fb; }
.ngs-tile-sub { font-size: 13px; color: #8ea1b3; }
.ngs-section { margin-top: 18px; }
.ngs-section h3 { margin: 0 0 8px; font-size: 16px; color: #e9f1f8; display: flex; align-items: baseline; gap: 10px; }
.ngs-note { font: 12px "Consolas", monospace; color: #6c8093; font-weight: normal; }
.ngs-chart { position: relative; padding: 8px 10px 4px; border-radius: 10px; background: #111821; border: 1px solid #1d2734; }
.ngs-svg { display: block; width: 100%; height: auto; }
.ngs-zero { stroke: #3a4757; stroke-width: 1; }
.ngs-axis { fill: #6c8093; font: 10px "Consolas", monospace; }
.ngs-axis:not([text-anchor]) { text-anchor: middle; }
.ngs-hit { fill: transparent; cursor: crosshair; }
.ngs-hit:hover { fill: rgba(255, 255, 255, 0.05); }
.ngs-legend { display: flex; flex-wrap: wrap; gap: 14px; padding: 6px 2px 2px; font-size: 13px; color: #a9b9c8; }
.ngs-key { display: inline-flex; align-items: center; gap: 6px; }
.ngs-key i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.ngs-key.muted { margin-left: auto; color: #6c8093; }
.ngs-tip { position: absolute; z-index: 3; min-width: 140px; padding: 7px 9px; border-radius: 7px; background: #1a2330; border: 1px solid #2c3a4c;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5); font-size: 13px; color: #dfe8f1; pointer-events: none; }
.ngs-tip b { display: block; margin-bottom: 2px; color: #fff; }
.ngs-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ngs-table th { padding: 4px 8px; text-align: left; font: 11px "Consolas", monospace; letter-spacing: 1px; color: #6c8093; text-transform: uppercase;
    border-bottom: 1px solid #1d2734; }
.ngs-table td { padding: 5px 8px; border-bottom: 1px solid #151d27; }
.ngs-table tr:hover td { background: #111821; }
.ngs-table .num { text-align: right; font-family: "Consolas", monospace; font-size: 13px; white-space: nowrap; }
.ngs-table .name { color: #eef4f9; }
.ngs-table.compact td { padding: 3px 8px; font-size: 13px; }
.ngs-table .share { width: 90px; }
.ngs-share { display: block; height: 6px; min-width: 2px; border-radius: 3px; background: #5f7d99; }
.ngs-panel .muted { color: #6c8093; }
.ngs-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 10px; }
.ngs-list { padding: 8px 10px; border-radius: 10px; background: #111821; border: 1px solid #1d2734; }
.ngs-list h4 { margin: 0 0 6px; font: 11px "Consolas", monospace; letter-spacing: 2px; color: #7f93a6; text-transform: uppercase; }
.ngs-row { display: flex; justify-content: space-between; gap: 8px; padding: 2px 0; font-size: 14px; }
.ngs-row .num { font-family: "Consolas", monospace; font-size: 13px; }
@media (max-width: 640px) {
    .ngs-wrap { padding: 0; }
    .ngs-panel { border-radius: 0; height: 100%; }
    .ngs-table th:nth-child(4), .ngs-table td:nth-child(4), .ngs-table th:nth-child(5), .ngs-table td:nth-child(5) { display: none; }
}
