@font-face {
    font-family: 'Schoolbell';
    src: url('/assets/fonts/Schoolbell-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg: #f9faf9;
    --fg: #111111;
    --muted: #555555;
    --border: #e9e9e9;
    --radius: 14px;
}

* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--fg);
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: saturate(180%) blur(10px);
    background: color-mix(in oklab, var(--bg) 80%, white 20%);
    border-bottom: 1px solid var(--border);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-icon {
    width: 36px;
    height: 36px;
    border-radius: 22%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
}

.brand-name {
    font-family: 'Schoolbell', cursive;
    font-size: 24px;
    letter-spacing: 0.5px;
}

nav {
    display: flex;
    align-items: center;
    gap: 14px;
}

nav a {
    color: var(--fg);
    text-decoration: none;
    font-weight: 600;
}

nav a.cta-link {
    padding: 8px 12px;
    border: 1px solid var(--fg);
    border-radius: 999px;
}

nav a.nav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    color: var(--fg);
    border-radius: 999px;
    transition: background-color 0.15s ease;
}

nav a.nav-icon svg {
    display: block;
}

nav a.nav-icon:hover {
    background-color: color-mix(in oklab, var(--fg) 8%, transparent);
}

.section {
    padding: 80px 0;
}

.hero {
    padding: 100px 0 80px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-app-icon {
    width: 100px;
    height: 100px;
    border-radius: 22%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1), 0 1px 4px rgba(0, 0, 0, 0.06);
    margin-bottom: 32px;
    display: block;
}

.hero-copy h1 {
    font-family: 'Schoolbell', cursive;
    font-size: 72px;
    line-height: 1.02;
    margin: 0 0 24px;
}

.hero-copy p {
    font-size: 24px;
    color: var(--muted);
    margin: 0 0 32px;
}

.cta-row {
    display: flex;
    gap: 14px;
    align-items: center;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
    background: #000;
    padding: 12px 18px;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.cta-button .apple-logo {
    font-family: 'SF Pro Text', system-ui, -apple-system, sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 1;
}

.cta-button .cta-lines {
    display: grid;
    line-height: 1;
}

.cta-button small {
    opacity: 0.8;
    font-size: 10px;
    letter-spacing: 0.3px;
}

.cta-button strong {
    font-size: 14px;
    letter-spacing: 0.2px;
}

/* Larger button in hero section */
.hero .cta-button {
    padding: 18px 28px;
    transform: scale(1.1);
}

.hero .cta-button .apple-logo {
    font-size: 28px;
}

.hero .cta-button small {
    font-size: 13px;
}

.hero .cta-button strong {
    font-size: 18px;
}

.preview-slideshow {
    width: 100%;
    max-width: 480px;
    margin-inline: auto;
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
}

.slideshow-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.slideshow-container {
    aspect-ratio: 9/19.5;
    width: 100%;
    max-width: 360px;
    border-radius: 36px;
    overflow: hidden;
    position: relative;
    background: var(--bg);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15), 0 4px 8px rgba(0, 0, 0, 0.1);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slideshow-btn {
    background: none;
    color: rgba(0, 0, 0, 0.6);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 32px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
    opacity: 1;
    flex-shrink: 0;
    line-height: 1;
    padding: 0;
}

.slideshow-btn:hover {
    color: rgba(0, 0, 0, 0.8);
    transform: scale(1.2);
}

.slideshow-btn:active {
    transform: scale(1.1);
}

.slideshow-indicators {
    margin-top: 24px;
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    padding: 0;
}

.indicator:hover {
    background: rgba(0, 0, 0, 0.4);
    transform: scale(1.2);
}

.indicator.active {
    background: rgba(0, 0, 0, 0.6);
    transform: scale(1.3);
}

.features {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: #fff;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-card {
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg);
}

.feature-card h3 {
    font-family: 'Schoolbell', cursive;
    font-size: 24px;
    margin: 0 0 8px;
}

.feature-card p {
    margin: 0;
    color: var(--muted);
}

.download .center {
    text-align: center;
}

.download h2 {
    font-family: 'Schoolbell', cursive;
    font-size: 40px;
    margin: 0 0 8px;
}

.download p {
    color: var(--muted);
    margin: 0 0 18px;
}

.note {
    font-size: 12px;
    color: var(--muted);
    margin-top: 10px;
}

.site-footer {
    border-top: 1px solid var(--border);
    padding: 24px 0;
    background: #fff;
}

.footer-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.foot-brand .brand-name {
    font-size: 20px;
}

.muted {
    color: var(--muted);
    text-decoration: none;
}

.meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.meta a.muted:hover {
    text-decoration: underline;
}

.legal-main {
    padding-top: 80px;
}

.legal-content {
    max-width: 720px;
}

.legal-content h1 {
    font-family: 'Schoolbell', cursive;
    font-size: 40px;
    margin-bottom: 8px;
}

.legal-content h2 {
    margin-top: 28px;
    margin-bottom: 8px;
    font-size: 20px;
}

.legal-content p,
.legal-content ul {
    color: var(--muted);
    line-height: 1.6;
}

.legal-content ul {
    padding-left: 20px;
}

.legal-updated {
    font-size: 14px;
    color: var(--muted);
}

/* Reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .6s ease, transform .6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Subtle parallax on the phone mock */
.parallax {
    will-change: transform;
}

.demo-section {
    padding: 120px 0 80px;
}

.video-container {
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-container video {
    max-width: 280px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    background: #000;
    border-radius: var(--radius);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

@media (max-width: 480px) {
    .video-container video {
        max-width: 90vw;
    }
}

@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 80px;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }
}

/* Contact Form Styles */
.contact-form {
    margin-top: 32px;
    max-width: 600px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: var(--fg);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 16px;
    background: var(--bg);
    color: var(--fg);
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--fg);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .cta-button {
    margin-top: 8px;
    cursor: pointer;
    border: none;
    font-size: 16px;
}

.contact-form .cta-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-message {
    margin-top: 16px;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
}

.form-message.success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

.form-message.error {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

/* Admin Page Styles */
.admin-controls {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.filter-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
}

.filter-label input[type="checkbox"] {
    width: auto;
    cursor: pointer;
}

.filter-type-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-select {
    padding: 6px 10px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-family: inherit;
    font-size: 14px;
    background: var(--bg);
    color: var(--fg);
    cursor: pointer;
}

#messages-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.message-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    background: var(--bg);
    transition: opacity 0.2s;
}

.message-card.attended {
    opacity: 0.7;
    background: #f5f5f5;
}

.message-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 8px;
}

.message-header strong {
    color: var(--fg);
}

.message-subject {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    background: var(--border);
    border-radius: 4px;
    font-size: 12px;
    font-weight: normal;
}

.attended-badge {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    background: #4caf50;
    color: white;
    border-radius: 4px;
    font-size: 12px;
    font-weight: normal;
}

.message-date {
    font-size: 12px;
    color: var(--muted);
    white-space: nowrap;
}

.message-body {
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 12px;
}

.message-actions {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.mark-attended-btn,
.unmark-attended-btn,
.delete-message-btn {
    padding: 6px 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: opacity 0.2s;
    font-family: inherit;
}

.mark-attended-btn {
    background: var(--fg);
    color: white;
}

.unmark-attended-btn {
    background: #666;
    color: white;
}

.delete-message-btn {
    background: #c62828;
    color: white;
}

.mark-attended-btn:hover,
.unmark-attended-btn:hover,
.delete-message-btn:hover {
    opacity: 0.8;
}

.mark-attended-btn:active,
.unmark-attended-btn:active,
.delete-message-btn:active {
    opacity: 0.6;
}

/* Google Sign-In Button */
#google-signin-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
}

#google-signin-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

#google-signin-btn:not(:disabled):hover {
    opacity: 0.9;
}

/* Temporary Signup Section */
#signup-section {
    margin-bottom: 24px;
}

@media (max-width: 600px) {
    .admin-controls {
        flex-direction: column;
        align-items: flex-start;
    }

    .message-header {
        flex-direction: column;
    }
}

/* Heavy Page Styles */
.heavy-content {
    max-width: 1080px;
}

.heavy-content.container {
    padding-top: 0;
}

.heavy-content h1 {
    font-family: 'Schoolbell', cursive;
    font-size: 40px;
    margin-bottom: 8px;
}

.heavy-content > p {
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 32px;
}

.heavy-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    background: #fff;
    text-align: center;
    max-width: 720px;
}

.heavy-qr {
    display: inline-block;
    padding: 16px;
    background: var(--bg);
    border-radius: 12px;
}

.heavy-qr img {
    display: block;
}

.heavy-status {
    margin-top: 16px;
    color: var(--muted);
    font-size: 14px;
}

.heavy-connected-badge {
    display: inline-block;
    padding: 4px 14px;
    background: #4caf50;
    color: #fff;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.heavy-data-display {
    text-align: left;
    background: #1a1a1a;
    color: #e0e0e0;
    font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 13px;
    line-height: 1.5;
    padding: 20px;
    border-radius: var(--radius);
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-word;
    max-height: 600px;
    overflow-y: auto;
}

.heavy-action-btn {
    padding: 8px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
    color: var(--fg);
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}

.heavy-action-btn:hover {
    background: var(--bg);
    border-color: var(--muted);
}

.heavy-action-btn--danger {
    color: #c62828;
    border-color: #ef9a9a;
}

.heavy-action-btn--danger:hover {
    background: #ffebee;
    border-color: #c62828;
}

.heavy-meta {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 12px;
}

.heavy-chart-wrap {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    padding: 24px;
}

.heavy-movement-select {
    display: block;
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: 'Schoolbell', cursive;
    font-size: 20px;
    color: var(--fg);
    background: var(--bg);
    cursor: pointer;
    margin-bottom: 16px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23555' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.heavy-chart-container {
    width: 100%;
    overflow-x: auto;
}

.heavy-chart-container svg {
    display: block;
}

.heavy-legend {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 8px;
    margin-bottom: 12px;
}

.heavy-legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Schoolbell', cursive;
    font-size: 14px;
    color: #666;
}

.heavy-legend-swatch {
    display: inline-block;
    width: 16px;
    height: 3px;
    border-radius: 1.5px;
}

.heavy-range-bar {
    display: flex;
    justify-content: center;
    gap: 4px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.heavy-range-btn {
    padding: 6px 14px;
    border: none;
    background: none;
    font-family: 'Schoolbell', cursive;
    font-size: 16px;
    color: #999;
    cursor: pointer;
    border-radius: 6px;
    transition: color 0.15s, background 0.15s;
}

.heavy-range-btn:hover {
    color: #666;
    background: var(--bg);
}

.heavy-range-btn--active {
    color: #333;
    font-weight: bold;
    text-decoration: underline;
}

.heavy-no-data {
    text-align: center;
    padding: 60px 0;
    font-family: 'Schoolbell', cursive;
    font-size: 18px;
    color: #999;
}

/* Dashboard layout */
.heavy-dashboard {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.heavy-dashboard .heavy-chart-wrap {
    flex: 1;
    min-width: 0;
}

.heavy-sidebar {
    width: 180px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Chart Tab Bar */
.heavy-tab-bar {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 8px;
}

.heavy-tab-btn {
    padding: 6px 14px;
    border: none;
    background: none;
    font-family: 'Schoolbell', cursive;
    font-size: 16px;
    color: #999;
    cursor: pointer;
    border-radius: 6px;
    transition: color 0.15s, background 0.15s;
}

.heavy-tab-btn:hover {
    color: #666;
    background: var(--bg);
}

.heavy-tab-btn--active {
    color: #333;
    font-weight: bold;
    text-decoration: underline;
}

/* Stats column (sidebar) */
.heavy-stats-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.heavy-stat-card {
    text-align: center;
    padding: 10px 8px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg);
}

.heavy-stat-label {
    font-family: 'Schoolbell', cursive;
    font-size: 12px;
    color: #999;
    margin-bottom: 4px;
}

.heavy-stat-value {
    font-family: 'Schoolbell', cursive;
    font-size: 22px;
    color: #333;
    font-weight: bold;
}

.heavy-stat-positive {
    color: #2e7d32;
}

.heavy-stat-negative {
    color: #c62828;
}

/* Share button (sidebar) */
.heavy-share-btn {
    padding: 12px 16px;
    border: 1px solid var(--fg);
    border-radius: 8px;
    background: var(--fg);
    color: #fff;
    font-family: 'Schoolbell', cursive;
    font-size: 18px;
    cursor: pointer;
    transition: opacity 0.15s;
    text-align: center;
}

.heavy-share-btn:hover {
    opacity: 0.85;
}

/* Actions bar */
.heavy-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 16px;
}

.heavy-actions-btns {
    display: flex;
    gap: 10px;
}

/* Interactive Legend */
.heavy-legend-item {
    cursor: pointer;
    transition: opacity 0.15s;
    user-select: none;
}

.heavy-legend-item--disabled {
    opacity: 0.3;
    text-decoration: line-through;
}

/* Share title (injected during screenshot, hidden otherwise) */
.heavy-share-title {
    font-family: 'Schoolbell', cursive;
    font-size: 24px;
    color: #333;
    margin-bottom: 16px;
}

/* Category bar */
.heavy-category-bar {
    display: flex;
    gap: 6px;
    margin-bottom: 14px;
}

.heavy-category-btn {
    padding: 6px 16px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: none;
    font-family: 'Schoolbell', cursive;
    font-size: 15px;
    color: #999;
    cursor: pointer;
    transition: color 0.15s, background 0.15s, border-color 0.15s;
}

.heavy-category-btn:hover {
    color: #666;
    background: var(--bg);
}

.heavy-category-btn--active {
    color: #333;
    background: var(--fg);
    color: #fff;
    border-color: var(--fg);
    font-weight: bold;
}

/* Pie/donut chart toggle */
.heavy-pie-toggle {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-top: 8px;
}

.heavy-pie-toggle-btn {
    padding: 4px 12px;
    border: none;
    background: none;
    font-family: 'Schoolbell', cursive;
    font-size: 14px;
    color: #999;
    cursor: pointer;
    border-radius: 6px;
    transition: color 0.15s, background 0.15s;
}

.heavy-pie-toggle-btn:hover {
    color: #666;
    background: var(--bg);
}

.heavy-pie-toggle-btn--active {
    color: #333;
    font-weight: bold;
    text-decoration: underline;
}

/* Heatmap styles */
.heavy-heatmap-months {
    font-family: 'Schoolbell', cursive;
    font-size: 11px;
    fill: #666;
}

.heavy-heatmap-days {
    font-family: 'Schoolbell', cursive;
    font-size: 11px;
    fill: #666;
}

.heavy-heatmap-gradient {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    font-family: 'Schoolbell', cursive;
    font-size: 12px;
    color: #666;
}

.heavy-heatmap-gradient-bar {
    display: flex;
    gap: 2px;
}

.heavy-heatmap-gradient-step {
    width: 14px;
    height: 14px;
    border-radius: 2px;
}

/* Muscle mapping matrix */
.heavy-muscle-matrix {
    margin-top: 24px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.heavy-muscle-matrix table {
    border-collapse: collapse;
    width: 100%;
    font-family: 'Schoolbell', cursive;
    font-size: 14px;
}

.heavy-muscle-matrix th,
.heavy-muscle-matrix td {
    padding: 6px 10px;
    text-align: center;
    border: 1px solid var(--border);
    white-space: nowrap;
}

.heavy-muscle-matrix th {
    background: var(--bg);
    color: #555;
    font-weight: bold;
}

.heavy-muscle-matrix th.muscle-group-header {
    background: #333;
    color: #fff;
    font-size: 15px;
    letter-spacing: 0.5px;
}

.heavy-muscle-matrix th.muscle-subgroup-header {
    background: #666;
    color: #fff;
    font-size: 14px;
}

.heavy-muscle-matrix th.muscle-name-header {
    background: var(--bg);
    font-size: 13px;
}

.heavy-muscle-matrix td:first-child {
    text-align: left;
    font-weight: bold;
    background: var(--bg);
    position: sticky;
    left: 0;
    z-index: 1;
}

.heavy-muscle-matrix td input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #333;
}

.heavy-muscle-matrix .muscle-matrix-empty {
    padding: 24px;
    text-align: center;
    color: #999;
    font-family: 'Schoolbell', cursive;
    font-size: 15px;
}

/* Chart tooltip */
.heavy-tooltip {
    position: absolute;
    z-index: 30;
    background: #1a1a1a;
    color: #fff;
    font-family: 'Schoolbell', cursive;
    font-size: 14px;
    line-height: 1.5;
    padding: 8px 12px;
    border-radius: 8px;
    pointer-events: none;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

@media (max-width: 600px) {
    .heavy-card {
        padding: 24px 16px;
    }

    .heavy-qr {
        padding: 12px;
    }

    .heavy-data-display {
        font-size: 11px;
        padding: 14px;
        max-height: 400px;
    }

    .heavy-dashboard {
        flex-direction: column;
    }

    .heavy-sidebar {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
    }

    .heavy-stats-col {
        flex: 1;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
    }

    .heavy-stat-card {
        flex: 1 1 calc(50% - 4px);
        min-width: 0;
    }

    .heavy-stat-value {
        font-size: 18px;
    }

    .heavy-share-btn {
        flex: 1 1 100%;
    }

    .heavy-tab-bar {
        flex-wrap: wrap;
    }

    .heavy-category-bar {
        flex-wrap: wrap;
    }

    .heavy-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .heavy-actions-btns {
        flex-wrap: wrap;
    }
}