:root {
    --bg: #f4f7fb;
    --surface: #ffffff;
    --ink: #2a3344;
    --muted: #7b8798;
    --line: #e8eef5;
    --teal: #3dcfb6;
    --teal-dark: #2aa896;
    --blue: #5b9dff;
    --purple: #a78bfa;
    --lavender: #efe9ff;
    --peach: #f3b184;
    --indigo: #7c8cff;
    --green: #4ad39a;
    --danger: #e35d6a;
    --shadow: 0 8px 24px rgba(42, 51, 68, 0.05);
    --radius: 20px;
    --sidebar: 248px;
    --header: 78px;
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
    margin: 0;
    color: var(--ink);
    background: var(--bg);
    font-family: "Nunito", "Segoe UI", sans-serif;
}

h1, h2, h3, .brand-link strong, .stat-card strong {
    font-family: "Plus Jakarta Sans", "Nunito", sans-serif;
}

a { color: var(--teal-dark); text-decoration: none; }

.app-body { background: var(--bg); }

.app-shell {
    min-height: 100vh;
    display: flex;
}

.app-sidebar {
    width: var(--sidebar);
    background: #ffffff;
    border-right: 1px solid var(--line);
    padding: 20px 14px 16px;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: auto;
    z-index: 30;
    display: flex;
    flex-direction: column;
}

.brand-block { margin-bottom: 22px; padding: 0 8px; }

.brand-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
}

.brand-link strong, .brand-link small { display: block; }
.brand-link strong { font-size: 1.05rem; letter-spacing: 0.04em; }
.brand-link small { color: var(--muted); font-size: 0.78rem; }

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #e8f2ff;
    display: grid;
    place-items: center;
}

.brand-mark img { width: 26px; height: 26px; }

.nav-label {
    color: #98a4b6;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 18px 12px 8px;
}

.sidebar-nav { display: flex; flex-direction: column; gap: 2px; flex: 1; }

.sidebar-nav .nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #526074;
    border-radius: 14px;
    padding: 11px 14px;
    font-weight: 700;
    transition: 0.18s ease;
}

.sidebar-nav .nav-link i { font-size: 1.1rem; width: 22px; }

.sidebar-nav .nav-link:hover {
    background: #f3f7fb;
    color: var(--blue);
}

.sidebar-nav .nav-link.active {
    background: #e8f2ff;
    color: #3d7bff;
}

.sidebar-user {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding: 10px;
    border-radius: 16px;
    background: #f6f9fc;
}
.sidebar-user strong, .sidebar-user small { display: block; }
.sidebar-user small { color: var(--muted); font-size: 0.78rem; }

.app-main { flex: 1; min-width: 0; }

.app-header {
    min-height: var(--header);
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 16px 28px;
    position: sticky;
    top: 0;
    z-index: 20;
}

.header-left, .header-right { display: flex; align-items: center; gap: 16px; }

.app-header h1 { font-size: 1.35rem; margin: 0; }
.app-header p { margin: 0; color: var(--muted); font-size: 0.9rem; }

.icon-btn {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 14px;
    background: #f3f7fb;
    color: var(--ink);
    display: grid;
    place-items: center;
}

.sidebar-toggle { display: none; }

.header-search {
    background: #f3f7fb;
    border-radius: 16px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 280px;
    color: var(--muted);
}

.header-search input {
    border: 0;
    background: transparent;
    padding: 11px 0;
    width: 100%;
    outline: none;
    color: var(--ink);
}

.notify-btn { position: relative; }
.notify-dot {
    position: absolute;
    top: 4px;
    right: 4px;
    background: var(--danger);
    color: #fff;
    border-radius: 999px;
    font-size: 0.65rem;
    min-width: 16px;
    height: 16px;
    display: grid;
    place-items: center;
    padding: 0 4px;
}

.notify-menu, .user-menu {
    width: 320px;
    border: 0;
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 10px;
}

.notify-head, .progress-meta, .welcome-row, .panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.notify-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px;
    border-radius: 12px;
}

.notify-item.unread { background: #f3fbfa; }
.notify-item small { color: var(--muted); }

.user-chip {
    border: 0;
    background: #f3f7fb;
    border-radius: 18px;
    padding: 6px 10px 6px 6px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-meta { text-align: left; }
.user-meta strong, .user-meta small { display: block; }
.user-meta small { color: var(--muted); }

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 800;
    color: #1f4d56;
    background: linear-gradient(135deg, #c7f3ee, #d7e6ff);
    flex-shrink: 0;
}

.app-content { padding: 28px; }

.welcome-row { margin-bottom: 22px; }
.welcome-row h2 { margin: 0 0 6px; }
.welcome-row p { margin: 0; color: var(--muted); }
.welcome-date {
    background: #fff;
    border-radius: 16px;
    padding: 10px 14px;
    color: var(--muted);
    box-shadow: var(--shadow);
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    margin-bottom: 22px;
}

.stat-card, .panel, .coming-card, .auth-card {
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.stat-card {
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.stat-card span { display: block; color: var(--muted); font-size: 0.86rem; }
.stat-card strong { font-size: 1.7rem; }

.welcome-note { color: var(--muted); margin: 0 0 18px; }

.stat-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.2rem;
}

.stat-card.blue .stat-icon { background: #e8f2ff; color: #4d8dff; }
.stat-card.teal .stat-icon { background: #e6faf5; color: #2aa896; }
.stat-card.purple .stat-icon { background: #f3eeff; color: #8b6ef0; }
.stat-card.peach .stat-icon { background: #fff1e6; color: #e0894a; }
.stat-card.indigo .stat-icon { background: #eef0ff; color: #6d7cff; }
.stat-card.green .stat-icon { background: #e7f8ef; color: #2f9e6b; }

.dashboard-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 18px;
    margin-bottom: 18px;
}

.panel { padding: 22px; }
.panel-head { margin-bottom: 16px; }
.panel-head h3, .panel-head p { margin: 0; }
.panel-head p { color: var(--muted); }

.session-list, .progress-list { display: flex; flex-direction: column; gap: 10px; }

.session-row, .progress-row {
    display: grid;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f8fbfe;
    border-radius: 16px;
}

.session-row {
    grid-template-columns: 1.4fr 0.7fr 0.8fr 0.8fr auto;
}

.who { display: flex; align-items: center; gap: 10px; }
.who small, .when { color: var(--muted); }

.type-chip, .status-chip, .phase-chip {
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 0.8rem;
    font-weight: 800;
    width: fit-content;
}

.type-chip {
    background: color-mix(in srgb, var(--chip) 16%, white);
    color: #2d4a52;
}

.status-chip.planned { background: #e7f1ff; color: #3a6cb5; }
.status-chip.progress { background: #fff4df; color: #b3751d; }
.status-chip.done { background: #e5f8ef; color: #1d8a57; }
.status-chip.cancelled { background: #fde8ea; color: #c13b48; }

.btn-brand {
    background: #5b9dff;
    color: #fff;
    border: 0;
    border-radius: 12px;
    font-weight: 800;
    padding: 10px 16px;
}

.btn-brand:hover { color: #fff; filter: brightness(1.05); }
.muted-action { color: var(--muted); font-size: 0.85rem; }
.text-link { font-weight: 800; }

.progress-row { grid-template-columns: auto 1fr auto; }
.progress-main { min-width: 0; }
.bar {
    height: 9px;
    background: #e6eef6;
    border-radius: 999px;
    overflow: hidden;
    margin-top: 6px;
}
.bar span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--teal), var(--purple));
    border-radius: inherit;
}
.delta { font-size: 0.82rem; color: var(--muted); white-space: nowrap; }
.delta.up { color: #1d8a57; }
.delta.down { color: #c13b48; }

.empty-state, .coming-card { text-align: center; padding: 36px 20px; color: var(--muted); }
.coming-card { margin: 40px auto; max-width: 620px; }
.coming-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    border-radius: 22px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #d8f6f2, #e3e9ff);
    color: var(--teal-dark);
    font-size: 1.8rem;
}
.coming-icon.danger { background: #fde8ea; color: var(--danger); }
.phase-chip { background: #eef4ff; color: #4d63c7; display: inline-block; }

.privacy-panel { max-width: 860px; }
.privacy-panel ul { padding-left: 18px; color: var(--muted); }

.auth-body { min-height: 100vh; background: #eef4f8; }
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 0.9fr; }
.auth-hero {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 64px;
    color: #fff;
    background:
        radial-gradient(circle at 18% 18%, rgba(255,255,255,0.35), transparent 28%),
        linear-gradient(155deg, #6eb6ff 0%, #8aa8ff 46%, #c3b0f6 100%);
}
.hero-glow {
    position: absolute;
    right: -90px;
    bottom: -110px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(255,255,255,0.16);
}
.hero-glow::after {
    content: "";
    position: absolute;
    left: -220px;
    top: -260px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
}
.hero-content { position: relative; max-width: 480px; }
.brand-link.light { color: #fff; margin-bottom: 28px; }
.brand-link.light small { color: rgba(255,255,255,0.82); }
.auth-hero h2 { font-size: 2.7rem; line-height: 1.12; margin-bottom: 14px; }
.auth-hero p { max-width: 420px; opacity: 0.94; font-size: 1.05rem; }
.hero-points { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.hero-points li {
    display: flex;
    align-items: center;
    gap: 12px;
    width: fit-content;
    max-width: 100%;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(8px);
    font-weight: 700;
}
.hero-points i { font-size: 1.05rem; }
.auth-panel { display: grid; place-items: center; padding: 32px; }
.auth-card { width: min(440px, 100%); padding: 36px 34px 28px; }
.eyebrow { color: var(--teal-dark); font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.75rem; }
.lead-text { color: var(--muted); }
.auth-form label { display: block; margin: 16px 0 6px; font-weight: 700; }
.auth-field { position: relative; }
.auth-field i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #8aa0b8;
    pointer-events: none;
}
.auth-form .form-control {
    border-radius: 14px;
    border-color: var(--line);
    min-height: 48px;
    padding: 12px 14px;
}
.auth-field .form-control { padding-left: 42px; }
.auth-form .form-control:focus {
    border-color: #8eb7ff;
    box-shadow: 0 0 0 4px rgba(91, 157, 255, 0.15);
}
.remember { display: flex; align-items: center; gap: 8px; margin: 16px 0 18px; font-weight: 600; }
.auth-form .btn { min-height: 48px; border-radius: 14px; }
.auth-note { margin: 18px 0 0; color: var(--muted); font-size: 0.9rem; }
.form-error, .field-error { color: var(--danger); font-size: 0.88rem; }

.sidebar-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(20, 28, 40, 0.35);
    z-index: 25;
}

.module-head, .profile-hero, .hero-meta, .hero-actions, .pager, .filter-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.module-head { margin-bottom: 18px; }
.module-head h2, .module-head p, .profile-hero h2, .profile-hero p { margin: 0; }
.module-head p, .profile-hero p { color: var(--muted); }

.filter-panel { padding: 18px 20px; margin-bottom: 18px; }
.filter-grid {
    display: grid;
    grid-template-columns: 1.3fr repeat(4, 1fr) auto;
    gap: 12px;
    align-items: end;
}
.filter-grid label span, .form-grid label, .info-grid span, .hint {
    display: block;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 6px;
}
.filter-actions { display: flex; gap: 8px; }
.btn-light-soft {
    background: #f3f7fb;
    border: 0;
    border-radius: 12px;
    font-weight: 800;
    padding: 10px 16px;
    color: var(--ink);
}
.btn-light-soft.disabled { pointer-events: none; opacity: 0.45; }

.children-table { margin: 0; }
.children-table thead th {
    color: #88a0b4;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-bottom: 1px solid var(--line);
}
.children-table td { border-bottom: 1px solid #f0f4f8; }
.child-photo, .profile-photo {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}
.profile-photo { width: 88px; height: 88px; }
.name-link { font-weight: 800; color: var(--ink); }
.action-group { display: flex; gap: 6px; }
.icon-action {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 10px;
    background: #eef5f8;
    color: #3d5a66;
    display: grid;
    place-items: center;
}
.icon-action.danger { color: var(--danger); background: #fdecee; }
.status-chip.aktiv { background: #e5f8ef; color: #1d8a57; }
.status-chip.joaktiv { background: #fff4df; color: #b3751d; }
.status-chip.arkivuar { background: #eef1f5; color: #667085; }
.pager { margin-top: 16px; color: var(--muted); }

.child-modal { border: 0; border-radius: 22px; }
.child-modal .modal-header, .child-modal .modal-footer { border: 0; }
.child-modal h3 { margin: 0; }
.child-modal p { margin: 4px 0 0; color: var(--muted); }
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.form-grid .wide, .info-grid .wide { grid-column: 1 / -1; }
.check-line {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 28px;
}
#newParentFields.form-grid { display: grid; }
#newParentFields.hidden-block,
.hidden-block { display: none; }

.profile-identity { display: flex; gap: 18px; align-items: center; }
.avatar.xl { width: 88px; height: 88px; font-size: 1.6rem; }
.hero-progress { min-width: 240px; }
.hero-progress strong { font-size: 1.8rem; display: block; }
.profile-tabs {
    display: flex;
    gap: 8px;
    overflow: auto;
    margin: 18px 0;
}
.profile-tabs a {
    background: #fff;
    color: #526074;
    border-radius: 999px;
    padding: 9px 14px;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: var(--shadow);
}
.profile-tabs a.active {
    background: #e8f2ff;
    color: #3d7bff;
}
.diff-cell { background: #fff6ea; }
.preserve-text { white-space: pre-wrap; }
.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.info-grid strong { display: block; margin-top: 4px; }
.data-card {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid #f0f4f8;
}
.bar.slim { height: 7px; margin-top: 8px; }
.empty-note { color: var(--muted); }
.filter-grid.compact { grid-template-columns: 1.4fr 1fr 1fr auto; }
.identity-cell { display: flex; align-items: center; gap: 10px; }
.muted-line { color: var(--muted); font-size: 0.82rem; }
.people-card-grid { display: grid; gap: 12px; }
.people-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f4f8;
}
.people-card p, .people-card small { margin: 2px 0 0; color: var(--muted); }
.people-card > div { flex: 1; }
.profile-photo.sm { width: 48px; height: 48px; }
.chip-row { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.filter-grid.session-filters { grid-template-columns: 1.2fr repeat(4, 1fr) auto; }
.result-options { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.result-options label { font-weight: 700; color: #526074; }
#calendar { min-height: 640px; background: #fff; border-radius: 20px; padding: 12px; }
.status-chip.planned, .status-chip.planifikuar { background: #e8f2ff; color: #3d7bff; }
.status-chip.progress, .status-chip.neproces { background: #fff1e6; color: #c56a1a; }
.status-chip.done, .status-chip.perfunduar { background: #e5f8ef; color: #1d8a57; }
.status-chip.cancelled, .status-chip.anuluar { background: #fdecee; color: #c04352; }

.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.category-card { text-decoration: none; color: inherit; display: block; padding: 20px; transition: transform 0.16s ease; }
.category-card:hover { transform: translateY(-3px); }
.category-card h3 { margin: 12px 0 6px; }
.category-card p { color: var(--muted); min-height: 44px; }
.exercise-card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.exercise-tile img, .exercise-placeholder { width: 100%; height: 140px; object-fit: cover; border-radius: 16px; background: #eef5ff; }
.exercise-placeholder { display: grid; place-items: center; font-size: 2rem; color: #5b9dff; }
.player-shell { max-width: 880px; margin: 0 auto; }
.player-top, .player-nav { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.player-card, .player-complete { background: #fff; border-radius: 28px; padding: 28px; box-shadow: 0 12px 40px rgba(80, 110, 160, 0.08); text-align: center; }
.player-image { max-width: 280px; width: 100%; border-radius: 24px; margin: 16px auto; }
.answer-grid, .match-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 20px 0; }
.answer-btn, .word-chip, .btn-xl { min-height: 64px; font-size: 1.15rem; font-weight: 800; border-radius: 18px; }
.answer-btn { border: 3px solid #e8eef5; background: #f7fbff; }
.answer-btn.selected, .word-chip.selected { border-color: #5b9dff; background: #e8f2ff; }
.answer-btn.matched { border-color: #2f9e6b; background: #e5f8ef; }
.answer-btn img { width: 72px; height: 72px; object-fit: contain; display: block; margin: 0 auto 8px; }
.drop-zone { min-height: 88px; border: 3px dashed #b9d4ff; border-radius: 18px; padding: 12px; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.word-bank { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.word-chip { border: 0; background: #fff1e6; color: #c56a1a; padding: 10px 16px; }
.player-feedback.ok { margin: 16px 0; color: #1d8a57; font-weight: 800; font-size: 1.3rem; }
.player-mascot { font-size: 4rem; }
.voice-box { margin: 18px 0; }

@media (max-width: 1400px) {
    .stat-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1100px) {
    .dashboard-grid, .auth-wrap, .filter-grid, .form-grid, .info-grid, .category-grid, .answer-grid, .match-grid, .builder-card { grid-template-columns: 1fr; }
    .session-row { grid-template-columns: 1fr 1fr; }
    .header-search { min-width: 200px; }
    .profile-hero, .module-head { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 900px) {
    .app-sidebar {
        position: fixed;
        left: 0;
        transform: translateX(-105%);
        transition: transform 0.22s ease;
    }
    .app-sidebar.open { transform: translateX(0); }
    .sidebar-toggle { display: grid; }
    .app-body.sidebar-open .sidebar-backdrop { display: block; }
    .stat-grid { grid-template-columns: 1fr 1fr; }
    .app-content { padding: 18px; }
    .player-card, .player-complete { padding: 20px; }
    .answer-btn, .word-chip, .btn-xl { min-height: 72px; font-size: 1.2rem; }
    .player-nav { flex-direction: column; }
    .user-meta { display: none; }
    .auth-hero { min-height: 280px; padding: 32px; }
    .auth-hero h2 { font-size: 2rem; }
    .hero-content { margin-top: 0; }
}

@media (max-width: 640px) {
    .stat-grid, .session-row, .progress-row { grid-template-columns: 1fr; }
    .header-search { display: none; }
    .welcome-row { flex-direction: column; align-items: flex-start; }
}

.builder-card, .signature-pad, .signature-preview { max-width: 100%; }
.field-list { display: grid; gap: 14px; margin: 18px 0; }
.builder-card { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 10px 12px; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: #f8fbff; }
.builder-card .wide, .builder-card .check-line { grid-column: 1 / -1; }
.check-line { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.table-actions, .inline-form { display: inline-flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.inline-form { margin: 0; }
.publish-form { margin-top: 12px; }
.signature-pad { width: 100%; max-width: 560px; height: 160px; border: 1px dashed #c9d6e5; border-radius: 16px; background: #fff; touch-action: none; display: block; margin: 8px 0; }
.signature-preview { display: block; max-width: 280px; max-height: 120px; margin-top: 8px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.report-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.report-tabs a { padding: 8px 14px; border-radius: 999px; background: #fff; color: #526074; font-weight: 700; border: 1px solid var(--line); }
.report-tabs a.active { background: #e8f2ff; color: #3d7bff; border-color: #cfe0ff; }
.player-image { max-width: min(520px, 100%); }
.player-pending, .exercise-placeholder { display: grid; place-items: center; gap: 6px; min-height: 120px; color: #6b7c93; text-align: center; padding: 16px; }
.exercise-tile .answer-btn, .player-card .answer-btn, .word-chip { min-height: 48px; }

@media (max-width: 1100px) {
    .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
    .category-grid { grid-template-columns: 1fr; }
    .player-top, .player-nav, .hero-actions { flex-wrap: wrap; }
}

.calm-orb {
    width: 88px;
    height: 88px;
    margin: 12px auto;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #d9fff6, #7ed9c8);
    animation: calmPulse 4s ease-in-out infinite;
}
@keyframes calmPulse {
    0%, 100% { transform: scale(0.92); }
    50% { transform: scale(1); }
}
.draw-pad {
    width: 100%;
    max-width: 640px;
    height: auto;
    border: 1px dashed #c9d6e5;
    border-radius: 16px;
    background: #fff;
    touch-action: none;
}
