/* Gambler's Mirror — serious analytical reveal */

.gambler-mirror {
    max-width: 820px;
    margin: 0 auto;
    padding: 8px 0 48px;
}

.gm-hero {
    text-align: center;
    padding: 32px 20px;
    margin-bottom: 28px;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(30, 35, 50, 0.9), rgba(15, 18, 25, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.gm-hero-icon {
    font-size: 56px;
    margin-bottom: 12px;
    filter: grayscale(0.3);
}

.gm-hero h2 {
    font-size: 26px;
    font-weight: 800;
    color: #e2e8f0;
    margin: 0 0 10px;
    letter-spacing: -0.02em;
}

.gm-hero-sub {
    font-size: 14px;
    color: #94a3b8;
    margin: 0;
    line-height: 1.6;
}

.gm-section {
    margin-bottom: 28px;
    padding: 24px;
    border-radius: 12px;
    background: var(--bg-card, rgba(255, 255, 255, 0.02));
    border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
}

.gm-section h3 {
    font-size: 16px;
    font-weight: 700;
    color: #cbd5e1;
    margin: 0 0 16px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.gm-stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 600px) {
    .gm-stat-grid {
        grid-template-columns: 1fr;
    }
}

.gm-stat-card {
    padding: 20px;
    border-radius: 10px;
}

.gm-stat-illusion {
    background: rgba(255, 215, 0, 0.06);
    border: 1px solid rgba(255, 215, 0, 0.25);
}

.gm-stat-reality {
    background: rgba(239, 68, 68, 0.06);
    border: 1px solid rgba(239, 68, 68, 0.25);
}

.gm-stat-label {
    display: block;
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 8px;
}

.gm-stat-value {
    font-size: 32px;
    font-weight: 800;
}

.gm-value-gold {
    color: #ffd700;
}

.gm-reality-text {
    font-size: 14px;
    color: #fca5a5;
    line-height: 1.6;
    margin: 0;
}

.gm-shock-intro {
    font-size: 15px;
    color: #e2e8f0;
    margin: 0 0 14px;
    line-height: 1.6;
}

.gm-comparison-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.gm-comparison-list li {
    padding: 12px 16px;
    margin-bottom: 8px;
    border-radius: 8px;
    background: rgba(239, 68, 68, 0.08);
    border-left: 3px solid #ef4444;
    color: #fecaca;
    font-size: 14px;
    line-height: 1.5;
}

.gm-behavior-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}

.gm-behavior-card {
    padding: 16px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.gm-behavior-icon {
    font-size: 24px;
    display: block;
    margin-bottom: 8px;
}

.gm-behavior-card p {
    font-size: 13px;
    color: #cbd5e1;
    line-height: 1.55;
    margin: 0;
}

.gm-chart-section canvas {
    width: 100%;
    height: auto;
    max-height: 280px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.25);
}

.gm-chart-hint {
    font-size: 12px;
    color: #64748b;
    margin: 0 0 12px;
}

.gm-education {
    border-color: rgba(59, 130, 246, 0.25);
    background: rgba(59, 130, 246, 0.04);
}

.gm-edu-body p,
.gm-edu-body li {
    font-size: 14px;
    color: #cbd5e1;
    line-height: 1.65;
}

.gm-edu-body ul {
    padding-left: 20px;
    margin: 12px 0;
}

.gm-edu-footer {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-weight: 600;
    color: #93c5fd !important;
}

/* Report card (vysvedčenie) */
.gm-report-card {
    border-color: rgba(168, 85, 247, 0.3);
    background: rgba(168, 85, 247, 0.05);
}

.gm-report-intro {
    font-size: 14px;
    color: #cbd5e1;
    margin: 0 0 16px;
    line-height: 1.6;
}

.gm-grade-overall {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    padding: 16px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.25);
}

.gm-grade-big {
    font-size: 36px !important;
    min-width: 64px;
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gm-grade-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

@media (max-width: 600px) {
    .gm-grade-grid {
        grid-template-columns: 1fr;
    }
}

.gm-grade-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
}

.gm-grade-label {
    font-size: 12px;
    color: #94a3b8;
    text-align: center;
}

.tipcoin-grade-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 16px;
}

.tipcoin-grade-badge.grade-a { background: rgba(16, 185, 129, 0.2); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.4); }
.tipcoin-grade-badge.grade-b { background: rgba(59, 130, 246, 0.2); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.4); }
.tipcoin-grade-badge.grade-c { background: rgba(245, 158, 11, 0.2); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.4); }
.tipcoin-grade-badge.grade-d { background: rgba(249, 115, 22, 0.2); color: #fb923c; border: 1px solid rgba(249, 115, 22, 0.4); }
.tipcoin-grade-badge.grade-f { background: rgba(239, 68, 68, 0.2); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.4); }

.gm-stat-hint {
    font-size: 12px;
    color: #94a3b8;
    margin: 8px 0 0;
}

.gm-disconnect-box {
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 8px;
    background: rgba(239, 68, 68, 0.08);
    border-left: 3px solid #ef4444;
}

.gm-disconnect-box p {
    margin: 0;
    font-size: 14px;
    color: #fecaca;
    line-height: 1.55;
}

.gm-stats-table {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.gm-stats-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 12px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.03);
    font-size: 13px;
    color: #cbd5e1;
}

.gm-stats-row strong {
    color: #fff;
}

/* Organizer admin panel */
.tipcoin-organizer-panel {
    margin-top: 16px;
}

.tipcoin-org-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
    margin-bottom: 12px;
}

.tipcoin-org-stat {
    padding: 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.tipcoin-org-stat span {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.tipcoin-org-stat strong {
    font-size: 18px;
    color: #fff;
}

.tipcoin-org-table-wrap {
    overflow-x: auto;
    margin-top: 12px;
}

.tipcoin-org-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.tipcoin-org-table th,
.tipcoin-org-table td {
    padding: 8px 10px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.tipcoin-org-table th {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
}

.tipcoin-loss {
    color: #f87171;
}

.tipcoin-better {
    color: #4ade80;
}

.tipcoin-histogram {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 100px;
    padding: 8px 0;
    overflow-x: auto;
}

.tipcoin-hist-bar {
    flex: 1;
    min-width: 18px;
    max-width: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
}

.tipcoin-hist-bar span {
    display: block;
    width: 100%;
    min-height: 4px;
    border-radius: 3px 3px 0 0;
    background: linear-gradient(180deg, var(--accent-cyan), rgba(34, 211, 238, 0.4));
}

.tipcoin-hist-bar em {
    font-style: normal;
    font-size: 9px;
    color: var(--text-muted);
    margin-top: 4px;
}

.tipcoin-histogram-pdf {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    margin: 2px 0 6px;
}

.tipcoin-histogram-pdf-cell {
    padding: 0 1px;
    vertical-align: bottom;
}

.tipcoin-histogram-pdf-bar {
    width: 100%;
    background: #22d3ee;
    border-radius: 2px 2px 0 0;
    min-height: 2px;
}

.tipcoin-histogram-pdf-label {
    font-size: 7px;
    text-align: center;
    color: #64748b;
    padding: 1px 0 0;
    line-height: 1;
}

.gm-chart-svg {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

.gm-chart-empty {
    margin: 0;
    color: #64748b;
    text-align: center;
}

.tipcoin-org-league-avg,
.tipcoin-org-histogram-section {
    margin: 14px 0;
    padding: 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.tipcoin-org-league-avg h5,
.tipcoin-org-histogram-section h5 {
    margin: 0 0 8px;
    font-size: 13px;
    color: #e2e8f0;
}

.gm-league-compare .gm-league-summary {
    padding: 12px 14px;
    border-radius: 8px;
    margin-bottom: 12px;
    font-weight: 600;
}

.gm-league-above_avg_risk {
    background: rgba(248, 113, 113, 0.12);
    color: #fca5a5;
    border: 1px solid rgba(248, 113, 113, 0.25);
}

.gm-league-below_avg_risk {
    background: rgba(74, 222, 128, 0.1);
    color: #86efac;
    border: 1px solid rgba(74, 222, 128, 0.2);
}

.gm-league-typical {
    background: rgba(148, 163, 184, 0.1);
    color: #cbd5e1;
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.gm-preview-banner {
    margin-bottom: 20px;
    padding: 16px 18px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.18), rgba(255, 136, 0, 0.12));
    border: 1px solid rgba(255, 193, 7, 0.45);
    color: #ffe082;
}

.gm-preview-banner strong {
    display: block;
    font-size: 15px;
    margin-bottom: 6px;
    color: #ffd54f;
}

.gm-preview-banner p {
    margin: 0 0 6px;
    font-size: 13px;
    line-height: 1.5;
    color: #fff3cd;
}

.gm-preview-hint {
    font-size: 12px !important;
    opacity: 0.85;
}

.gambler-mirror--preview {
    outline: 2px dashed rgba(255, 193, 7, 0.35);
    outline-offset: 8px;
    border-radius: 12px;
}

/* Channel split — tipping vs arena */
.gm-channel-grades {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.gm-channel-grades-title {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #94a3b8;
    margin: 0 0 12px;
}

.gm-grade-grid--channels {
    grid-template-columns: 1fr 1fr;
}

.gm-grade-item--channel {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.gm-grade-score {
    font-size: 11px;
    color: #64748b;
}

.gm-channels-intro,
.gm-signals-intro,
.gm-pitfalls-intro {
    font-size: 14px;
    color: #94a3b8;
    line-height: 1.6;
    margin: -4px 0 18px;
}

.gm-channel-share-bar {
    display: flex;
    height: 10px;
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.06);
}

.gm-channel-share-tipping {
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
}

.gm-channel-share-duel {
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

.gm-channel-share-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 20px;
}

.gm-channel-share-legend .dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: middle;
}

.dot-tipping { background: #60a5fa; }
.dot-duel { background: #fbbf24; }

.gm-channel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 640px) {
    .gm-channel-grid,
    .gm-grade-grid--channels {
        grid-template-columns: 1fr;
    }
}

.gm-channel-card {
    padding: 18px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.gm-channel-card header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.gm-channel-card h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: #e2e8f0;
}

.gm-channel-card--tipping {
    background: rgba(59, 130, 246, 0.06);
    border-color: rgba(59, 130, 246, 0.25);
}

.gm-channel-card--duel {
    background: rgba(245, 158, 11, 0.06);
    border-color: rgba(245, 158, 11, 0.25);
}

.gm-channel-stats {
    display: grid;
    gap: 10px;
}

.gm-channel-stats > div {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #94a3b8;
}

.gm-channel-stats strong {
    color: #e2e8f0;
    font-weight: 700;
}

.gm-val-positive { color: #4ade80 !important; }
.gm-val-negative { color: #f87171 !important; }

.gm-cross-warnings {
    margin-top: 20px;
    padding: 16px;
    border-radius: 10px;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.25);
}

.gm-cross-warnings h4 {
    margin: 0 0 10px;
    font-size: 13px;
    color: #fca5a5;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.gm-cross-warning {
    margin: 0 0 8px;
    font-size: 13px;
    line-height: 1.55;
    color: #fecaca;
}

.gm-cross-warning:last-child { margin-bottom: 0; }

.gm-cross-warning--critical {
    font-weight: 600;
}

.gm-cross-detail {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    opacity: 0.85;
}

.gm-signal-list,
.gm-pitfall-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.gm-signal {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    align-items: start;
    padding: 12px 14px;
    margin-bottom: 8px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.5;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
}

.gm-signal--critical {
    border-color: rgba(239, 68, 68, 0.4);
    background: rgba(239, 68, 68, 0.1);
}

.gm-signal--high {
    border-color: rgba(249, 115, 22, 0.35);
    background: rgba(249, 115, 22, 0.08);
}

.gm-signal--medium {
    border-color: rgba(234, 179, 8, 0.3);
    background: rgba(234, 179, 8, 0.06);
}

.gm-signal-severity {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 3px 8px;
    border-radius: 4px;
    white-space: nowrap;
    background: rgba(0, 0, 0, 0.25);
    color: #e2e8f0;
}

.gm-signal-text { color: #cbd5e1; }

.gm-signal-channel {
    font-size: 11px;
    color: #64748b;
    white-space: nowrap;
}

.gm-pitfall-list li {
    position: relative;
    padding: 10px 0 10px 20px;
    font-size: 13px;
    line-height: 1.55;
    color: #94a3b8;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.gm-pitfall-list li:last-child { border-bottom: none; }

.gm-pitfall-list li::before {
    content: '⚠';
    position: absolute;
    left: 0;
    top: 10px;
    font-size: 12px;
}

/* Standalone / PDF page (gambler_mirror_pdf.php) */
:root {
    --bg-base: #060b13;
    --bg-card: rgba(255, 255, 255, 0.02);
    --border-color: rgba(255, 255, 255, 0.08);
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
}

body.gm-standalone-body {
    margin: 0;
    min-height: 100vh;
    padding: 20px 16px 48px;
    background: var(--bg-base);
    color: var(--text-main);
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.gm-standalone-wrap {
    max-width: 860px;
    margin: 0 auto;
}

.gm-standalone-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 20px;
    padding: 14px 18px;
    border-radius: 12px;
    background: rgba(30, 35, 50, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.gm-standalone-toolbar-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.gm-standalone-toolbar-info strong {
    font-size: 18px;
    color: #f8fafc;
}

.gm-standalone-toolbar-info span {
    font-size: 13px;
    color: var(--text-muted);
}

.gm-standalone-send-form { margin: 0; }

.gm-send-pdf-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border-radius: 10px;
    border: 1px solid rgba(0, 240, 255, 0.35);
    background: rgba(0, 240, 255, 0.12);
    color: #00f0ff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    min-width: 190px;
    justify-content: center;
}

.gm-send-pdf-btn:hover:not(:disabled) {
    background: rgba(0, 240, 255, 0.2);
}

.gm-send-pdf-btn.is-loading,
.gm-send-pdf-btn:disabled {
    opacity: 0.85;
    cursor: wait;
    pointer-events: none;
}

.gm-send-pdf-loading {
    display: none;
    align-items: center;
    gap: 8px;
}

.gm-send-pdf-btn.is-loading .gm-send-pdf-label {
    display: none;
}

.gm-send-pdf-btn.is-loading .gm-send-pdf-loading {
    display: inline-flex;
}

.gm-send-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(0, 240, 255, 0.25);
    border-top-color: #00f0ff;
    border-radius: 50%;
    animation: gm-spin 0.7s linear infinite;
    flex-shrink: 0;
}

@keyframes gm-spin {
    to { transform: rotate(360deg); }
}

.gm-standalone-sending {
    display: none;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px;
    padding: 12px 16px;
    border-radius: 10px;
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.22);
    color: #a5f3fc;
    font-size: 14px;
    font-weight: 600;
}

.gm-standalone-sending.is-visible {
    display: flex;
}

.gm-standalone-wrap.is-sending {
    cursor: wait;
}

.gm-standalone-wrap.is-sending::after {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(6, 11, 19, 0.35);
    z-index: 90;
    pointer-events: all;
}

.gm-standalone-alert {
    margin: 0 0 16px;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
}

.gm-standalone-alert--success {
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.35);
    color: #86efac;
}

.gm-standalone-alert--error {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #fca5a5;
}

.gm-standalone-header {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.gm-standalone-username {
    margin: 0 0 6px;
    font-size: 24px;
    font-weight: 800;
    color: #f8fafc;
    letter-spacing: -0.02em;
}

.gm-standalone-league {
    margin: 0;
    font-size: 14px;
    color: var(--text-muted);
}

.gambler-mirror--standalone {
    padding-top: 0;
}

.gm-embed-pdf .no-print { display: none !important; }

/* Kompaktný PDF / tlač — menej prázdnych strán */
@media print {
    @page { size: A4 portrait; margin: 8mm; }

    body.gm-standalone-body,
    body.gm-for-pdf {
        min-height: 0 !important;
        padding: 0 !important;
        line-height: 1.32;
    }

    .gm-standalone-toolbar,
    .gm-standalone-sending,
    .gm-standalone-alert,
    .no-print { display: none !important; }

    .gm-standalone-wrap { max-width: 100%; }

    .gm-standalone-header {
        margin-bottom: 6px;
        padding-bottom: 4px;
    }

    .gm-standalone-username { font-size: 18px; margin-bottom: 2px; }

    .gm-standalone-league { font-size: 12px; }

    .gambler-mirror { padding: 0 0 4px; }

    .gm-hero {
        padding: 10px 8px;
        margin-bottom: 6px;
    }

    .gm-hero-icon { display: none; }

    .gm-hero h2 { font-size: 17px; margin-bottom: 4px; }

    .gm-hero-sub { font-size: 11px; line-height: 1.35; }

    .gm-section {
        margin-bottom: 6px;
        padding: 8px 10px;
        break-inside: auto;
        page-break-inside: auto;
    }

    .gm-section h3,
    .gm-section h4 {
        margin-bottom: 6px;
        font-size: 12px;
    }

    .gm-section p,
    .gm-report-intro,
    .gm-channels-intro,
    .gm-signals-intro,
    .gm-pitfalls-intro,
    .gm-chart-hint,
    .gm-shock-intro {
        margin: 0 0 6px;
        font-size: 11px;
        line-height: 1.35;
    }

    .gm-grade-overall { margin-bottom: 8px; gap: 10px; }

    .gm-grade-big { font-size: 28px; }

    .gm-stat-grid {
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }

    .gm-stat-card { padding: 8px 10px; }

    .gm-stat-value { font-size: 20px; }

    .gm-stat-label { margin-bottom: 4px; }

    .gm-behavior-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
    }

    .gm-behavior-card { padding: 8px; }

    .gm-behavior-card p { font-size: 11px; line-height: 1.35; }

    .gm-behavior-icon { font-size: 18px; margin-bottom: 4px; }

    .gm-channel-grid {
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }

    .gm-channel-card { padding: 8px; }

    .gm-channel-stats > div { padding: 4px 0; font-size: 11px; }

    .gm-grade-grid { gap: 6px; }

    .gm-grade-item { padding: 6px 8px; }

    .gm-stats-row {
        padding: 4px 0;
        font-size: 11px;
    }

    .gm-chart-section canvas,
    .gm-chart-svg {
        height: auto !important;
        max-height: 150px !important;
    }

    .tipcoin-histogram { display: none !important; }

    .tipcoin-histogram-pdf {
        display: table !important;
        width: 100% !important;
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .gm-histograms {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .gm-signal,
    .gm-pitfall-list li,
    .gm-comparison-list li {
        padding: 5px 8px;
        margin-bottom: 3px;
        font-size: 11px;
        line-height: 1.35;
    }

    .gm-cross-warning,
    .gm-disconnect-box p,
    .gm-edu-body p,
    .gm-edu-body li {
        font-size: 11px;
        line-height: 1.35;
        margin-bottom: 4px;
    }

    .gm-league-summary { font-size: 12px; margin-bottom: 6px; }

    .gm-channel-share-legend { font-size: 10px; margin-top: 4px; }

    .gm-channel-grades { margin-top: 8px; }
}

.gm-for-pdf,
body.gm-for-pdf,
.gm-embed-pdf {
    min-height: 0 !important;
    line-height: 1.32;
}

body.gm-for-pdf,
.gm-embed-pdf body.gm-standalone-body {
    min-height: 0 !important;
    padding: 0 !important;
}

.gm-embed-pdf .gm-standalone-toolbar,
.gm-embed-pdf .gm-standalone-sending,
.gm-embed-pdf .gm-standalone-alert,
.gm-for-pdf .gm-standalone-toolbar,
.gm-for-pdf .gm-standalone-sending,
.gm-for-pdf .gm-standalone-alert {
    display: none !important;
}

.gm-embed-pdf .gm-standalone-wrap,
.gm-for-pdf .gm-standalone-wrap { max-width: 100%; }

.gm-embed-pdf .gm-standalone-header,
.gm-for-pdf .gm-standalone-header {
    margin-bottom: 6px;
    padding-bottom: 4px;
}

.gm-embed-pdf .gm-standalone-username,
.gm-for-pdf .gm-standalone-username { font-size: 18px; margin-bottom: 2px; }

.gm-embed-pdf .gambler-mirror,
.gm-for-pdf .gambler-mirror { padding: 0 0 4px; }

.gm-embed-pdf .gm-hero,
.gm-for-pdf .gm-hero {
    padding: 10px 8px;
    margin-bottom: 6px;
}

.gm-embed-pdf .gm-hero-icon,
.gm-for-pdf .gm-hero-icon { display: none; }

.gm-embed-pdf .gm-hero h2,
.gm-for-pdf .gm-hero h2 { font-size: 17px; margin-bottom: 4px; }

.gm-embed-pdf .gm-hero-sub,
.gm-for-pdf .gm-hero-sub { font-size: 11px; line-height: 1.35; }

.gm-embed-pdf .gm-section,
.gm-for-pdf .gm-section {
    margin-bottom: 6px;
    padding: 8px 10px;
    break-inside: auto;
    page-break-inside: auto;
}

.gm-embed-pdf .gm-section h3,
.gm-embed-pdf .gm-section h4,
.gm-for-pdf .gm-section h3,
.gm-for-pdf .gm-section h4 {
    margin-bottom: 6px;
    font-size: 12px;
}

.gm-embed-pdf .gm-stat-grid,
.gm-for-pdf .gm-stat-grid {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.gm-embed-pdf .gm-stat-card,
.gm-for-pdf .gm-stat-card { padding: 8px 10px; }

.gm-embed-pdf .gm-stat-value,
.gm-for-pdf .gm-stat-value { font-size: 20px; }

.gm-embed-pdf .gm-behavior-grid,
.gm-for-pdf .gm-behavior-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
}

.gm-embed-pdf .gm-behavior-card,
.gm-for-pdf .gm-behavior-card { padding: 8px; }

.gm-embed-pdf .gm-behavior-card p,
.gm-for-pdf .gm-behavior-card p { font-size: 11px; line-height: 1.35; }

.gm-embed-pdf .gm-channel-grid,
.gm-for-pdf .gm-channel-grid {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.gm-embed-pdf .gm-chart-section canvas,
.gm-for-pdf .gm-chart-section canvas {
    height: 150px !important;
    max-height: 150px !important;
}

.gm-for-pdf .tipcoin-histogram,
.gm-embed-pdf .tipcoin-histogram {
    display: none !important;
}

.gm-for-pdf .tipcoin-histogram-pdf,
.gm-embed-pdf .tipcoin-histogram-pdf {
    display: table !important;
    width: 100% !important;
}

.gm-embed-pdf .gm-stats-row,
.gm-for-pdf .gm-stats-row {
    padding: 4px 0;
    font-size: 11px;
}

.gm-embed-pdf .gm-signal,
.gm-embed-pdf .gm-pitfall-list li,
.gm-embed-pdf .gm-comparison-list li,
.gm-for-pdf .gm-signal,
.gm-for-pdf .gm-pitfall-list li,
.gm-for-pdf .gm-comparison-list li {
    padding: 5px 8px;
    margin-bottom: 3px;
    font-size: 11px;
    line-height: 1.35;
}
