/* Gymmerzum – Graffiti mobil PWA */
:root {
    --bg: #0D0D0D;
    --bg-card: #1a1a1a;
    --bg-elevated: #242424;
    --neon: #39FF14;
    --pink: #FF006E;
    --blue: #00D4FF;
    --yellow: #FFE600;
    --text: #f0f0f0;
    --text-muted: #888;
    --border: #333;
    --radius: 16px;
    --nav-h: 84px;
    --touch: 56px;
    --touch-lg: 64px;
    --safe-top: env(safe-area-inset-top, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --safe-left: env(safe-area-inset-left, 0px);
    --safe-right: env(safe-area-inset-right, 0px);
    --font-display: 'Bebas Neue', Impact, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    font-size: 16px;
    -webkit-tap-highlight-color: transparent;
    -webkit-text-size-adjust: 100%;
    touch-action: manipulation;
    overscroll-behavior: none;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    min-height: 100dvh;
    min-height: -webkit-fill-available;
    overflow-x: hidden;
    line-height: 1.5;
    padding-top: var(--safe-top);
    padding-left: var(--safe-left);
    padding-right: var(--safe-right);
    max-width: 480px;
    margin: 0 auto;
    touch-action: manipulation;
    -webkit-user-select: none;
    user-select: none;
}

input, textarea, select, [contenteditable] {
    -webkit-user-select: text;
    user-select: text;
    font-size: 16px !important;
}

.graffiti-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(ellipse at 10% 20%, rgba(255,0,110,0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 90% 80%, rgba(57,255,20,0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(0,212,255,0.05) 0%, transparent 60%),
        var(--bg);
    pointer-events: none;
}

.graffiti-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url('/assets/img/graffiti-splash.svg') center/cover no-repeat;
    opacity: 0.04;
}

/* Typography */
.text-neon { color: var(--neon); }
.text-pink { color: var(--pink); }

h1, h2, h3, .page-title {
    font-family: var(--font-display);
    letter-spacing: 1px;
    font-weight: 400;
}

.page-title { font-size: 1.75rem; }

.section-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
    letter-spacing: 2px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border: none;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.15s;
    -webkit-user-select: none;
    user-select: none;
}

.btn:active { transform: scale(0.97); }

.btn-neon {
    background: var(--neon);
    color: #000;
    box-shadow: 0 4px 20px rgba(57,255,20,0.3);
}

.btn-pink {
    background: var(--pink);
    color: #fff;
    box-shadow: 0 4px 20px rgba(255,0,110,0.3);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--border);
}

.btn-ghost {
    background: var(--bg-elevated);
    color: var(--text-muted);
}

.btn-block { width: 100%; }
.btn-lg { padding: 1.1rem 1.5rem; font-size: 1.1rem; min-height: var(--touch); }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.85rem; }
.btn-xl {
    padding: 1.15rem 1.5rem;
    font-size: 1.15rem;
    min-height: var(--touch-lg);
    font-weight: 700;
    border-radius: 18px;
    gap: 0.75rem;
}
.btn-touch { min-height: var(--touch); font-size: 1.05rem; padding: 1rem 1.25rem; }
.btn-touch-sm { min-height: 48px; padding: 0.75rem 1rem; font-size: 0.95rem; }
.btn-icon-img { flex-shrink: 0; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3)); }

.btn-icon {
    width: 48px; height: 48px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: var(--bg-card);
    color: var(--text);
    font-size: 1.2rem;
    cursor: pointer;
}

/* Landing – csak mobil */
.landing { padding: 1.25rem 1.25rem 3rem; }

.landing-hero { text-align: center; padding: 2rem 0; }

.hero-tag { display: flex; gap: 0.5rem; justify-content: center; margin: 1rem 0; }

.tag {
    font-family: var(--font-display);
    font-size: 0.85rem;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    letter-spacing: 2px;
}

.tag-neon { background: var(--neon); color: #000; transform: rotate(-2deg); }
.tag-pink { background: var(--pink); color: #fff; transform: rotate(2deg); }

.hero-title {
    font-family: var(--font-display);
    font-size: 3.5rem;
    line-height: 0.95;
    margin: 1.5rem 0;
    text-shadow: 3px 3px 0 var(--pink);
}

.hero-sub { color: var(--text-muted); margin-bottom: 2rem; font-size: 1rem; }

.hero-actions { display: flex; flex-direction: column; gap: 0.75rem; }

.features { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.feature-card h3 { font-family: var(--font-display); font-size: 1.2rem; letter-spacing: 1px; }
.feature-card p { color: var(--text-muted); font-size: 0.9rem; }

/* Auth */
.auth-page {
    min-height: calc(100dvh - var(--safe-top));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1.25rem 2rem;
}

.auth-card {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    margin-top: 1.5rem;
}

.auth-card h1 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.auth-link { text-align: center; margin-top: 1rem; font-size: 0.9rem; color: var(--text-muted); }
.auth-link a { color: var(--neon); text-decoration: none; }

/* Forms */
.form { display: flex; flex-direction: column; gap: 1rem; }

.form-group { display: flex; flex-direction: column; gap: 0.35rem; }
.form-group label { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; }

.input, .form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 1rem 1.1rem;
    min-height: var(--touch);
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    font-size: 1rem;
    font-family: var(--font-body);
    outline: none;
    transition: border-color 0.2s;
}

.input:focus, .form-group input:focus, .form-group select:focus {
    border-color: var(--neon);
}

.form-row { display: flex; gap: 0.5rem; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }

.form-msg { font-size: 0.9rem; padding: 0.5rem; border-radius: 8px; text-align: center; }
.form-msg.error { background: rgba(255,0,110,0.15); color: var(--pink); }
.form-msg.success { background: rgba(57,255,20,0.15); color: var(--neon); }

/* App layout */
.app-main {
    padding: 1rem 1.25rem calc(var(--nav-h) + var(--safe-bottom) + 1.25rem);
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    gap: 0.75rem;
    min-height: 44px;
}

.back-link {
    color: var(--neon);
    text-decoration: none;
    font-size: 1.5rem;
    line-height: 1;
    padding: 0.25rem 0.5rem 0.25rem 0;
    flex-shrink: 0;
}

.header-spacer { width: 2rem; flex-shrink: 0; }

.app-header .page-title { flex: 1; text-align: center; font-size: 1.5rem; }

.greeting { color: var(--text-muted); font-size: 0.9rem; }
.avatar { border-radius: 50%; border: 2px solid var(--neon); }

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

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

.stat-val {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    line-height: 1;
    color: var(--text);
}

.stat-neon .stat-val { color: var(--neon); }
.stat-pink .stat-val { color: var(--pink); }
.stat-label { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.25rem; display: block; }

/* Gym card */
.gym-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.gym-info { display: flex; align-items: center; gap: 0.75rem; }
.gym-info strong { display: block; font-size: 0.95rem; }
.gym-info small { color: var(--text-muted); font-size: 0.8rem; }

/* Start button */
.start-section { text-align: center; margin-bottom: 2rem; }

.btn-start {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 180px;
    height: 180px;
    margin: 0 auto;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pink), #cc0058);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 8px 40px rgba(255,0,110,0.4), inset 0 -4px 0 rgba(0,0,0,0.2);
    transition: transform 0.2s;
    border: 4px solid var(--neon);
}

.btn-start:active { transform: scale(0.95); }

.btn-start-icon { font-size: 2rem; }
.btn-start-text {
    font-family: var(--font-display);
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-top: 0.25rem;
}

.start-hint { color: var(--neon); font-size: 0.85rem; margin-top: 0.75rem; }

/* Workout list */
.workout-list { display: flex; flex-direction: column; gap: 0.5rem; }

.workout-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: border-color 0.2s;
}

.workout-item:hover, .workout-item:active { border-color: var(--neon); }

.workout-item-date {
    font-family: var(--font-display);
    font-size: 0.85rem;
    color: var(--pink);
    min-width: 60px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.workout-item-info strong { display: block; font-size: 0.95rem; }
.workout-item-info small { color: var(--text-muted); font-size: 0.8rem; }

.empty-state { color: var(--text-muted); text-align: center; padding: 2rem 1rem; font-size: 0.9rem; }

.workout-page { padding-top: 0; }

.workout-header {
    text-align: center;
    padding: 1rem 1.25rem 1.25rem;
    position: sticky;
    top: 0;
    background: rgba(13, 13, 13, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 10;
    border-bottom: 1px solid var(--border);
    margin: 0 -1.25rem 1rem;
}

.timer-display {
    font-family: var(--font-display);
    font-size: 4rem;
    letter-spacing: 4px;
    color: var(--neon);
    text-shadow: 0 0 30px rgba(57,255,20,0.4);
    line-height: 1;
}

.timer-controls { margin-top: 0.75rem; display: flex; justify-content: center; gap: 0.5rem; }

.rest-timer {
    background: linear-gradient(135deg, var(--blue), #0099cc);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    margin-bottom: 1rem;
    animation: pulse 1s ease infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 20px rgba(0,212,255,0.3); }
    50% { box-shadow: 0 0 40px rgba(0,212,255,0.6); }
}

.rest-label { font-family: var(--font-display); letter-spacing: 3px; font-size: 1rem; }
.rest-count { font-family: var(--font-display); font-size: 3rem; margin: 0.5rem 0; }

/* Exercise blocks */
.exercise-block {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    margin-bottom: 0.75rem;
}

.exercise-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.exercise-header h4 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    letter-spacing: 1px;
}

.exercise-header small { color: var(--text-muted); font-weight: 400; }

.sets-header, .set-row {
    display: grid;
    grid-template-columns: 36px 1fr 1fr 40px;
    gap: 0.5rem;
    align-items: center;
    font-size: 0.85rem;
}

.sets-header { color: var(--text-muted); margin-bottom: 0.5rem; padding: 0 0.25rem; }

.set-row { padding: 0.4rem 0.25rem; border-radius: 8px; }
.set-row.done { background: rgba(57,255,20,0.08); }

.set-row input {
    width: 100%;
    padding: 0.5rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text);
    text-align: center;
    font-size: 0.9rem;
}

.set-check {
    width: 32px; height: 32px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: transparent;
    color: var(--neon);
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.set-check.done { background: var(--neon); color: #000; border-color: var(--neon); }

.add-set-btn {
    width: 100%;
    padding: 0.5rem;
    margin-top: 0.5rem;
    background: transparent;
    border: 1px dashed var(--border);
    border-radius: 8px;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.85rem;
}

.workout-actions { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1rem; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: flex-end; justify-content: center; }
.modal.hidden { display: none; }

.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.7); }

.modal-content {
    position: relative;
    background: var(--bg-card);
    border-radius: var(--radius) var(--radius) 0 0;
    padding: 1.5rem;
    width: 100%;
    max-width: 480px;
    max-height: 85dvh;
    overflow-y: auto;
    border-top: 2px solid var(--pink);
}

.modal-content h3 { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 1rem; }
.modal-actions { display: flex; gap: 0.75rem; margin-top: 1rem; }
.modal-actions .btn { flex: 1; }

.exercise-suggestions { max-height: 200px; overflow-y: auto; margin: 0.75rem 0; }

.suggestion-item {
    padding: 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    border: 1px solid transparent;
}

.suggestion-item:hover, .suggestion-item.selected {
    background: var(--bg-elevated);
    border-color: var(--neon);
}

.suggestion-item strong { display: block; }
.suggestion-item small { color: var(--text-muted); }

.gym-simple-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.35rem 1.15rem 1.15rem;
    text-align: center;
}

.gym-simple-icon {
    margin: 0 auto 1rem;
    display: block;
}

.gym-simple-current {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
}

.gym-simple-current strong {
    color: var(--neon);
    display: block;
    font-size: 1.1rem;
    margin-top: 0.25rem;
}

.gym-simple-form {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.gym-simple-form .field-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
}

.gym-search-lead {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.45;
}

.gym-search-lead strong { color: var(--blue); }

.input-search {
    font-size: 1.05rem;
    padding: 1rem 1.1rem;
    border-radius: 12px;
}

.gym-loading {
    text-align: center;
    padding: 2rem 1rem;
    color: var(--text-muted);
}

.loader {
    width: 36px;
    height: 36px;
    border: 3px solid var(--border);
    border-top-color: var(--neon);
    border-radius: 50%;
    margin: 0 auto 1rem;
    animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.gym-error {
    background: rgba(255, 0, 110, 0.12);
    border: 1px solid var(--pink);
    color: var(--pink);
    padding: 0.85rem 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.gym-results-wrap { min-height: 120px; }

.gym-result {
    display: block;
    width: 100%;
    text-align: left;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem 1.1rem;
    margin-bottom: 0.6rem;
    cursor: pointer;
    transition: border-color 0.2s, transform 0.15s;
    position: relative;
    color: inherit;
    font: inherit;
    -webkit-appearance: none;
    appearance: none;
}

.gym-result:active { transform: scale(0.98); }

.gym-result.selected { border-color: var(--neon); background: rgba(57, 255, 20, 0.06); }

.gym-result-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
}

.gym-result-name { font-weight: 700; font-size: 1.02rem; flex: 1; }

.gym-result-addr { color: var(--text-muted); font-size: 0.84rem; margin-top: 0.35rem; line-height: 1.35; }

.gym-result-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
    font-size: 0.78rem;
}

.gym-result-dist { color: var(--blue); font-weight: 600; }

.gym-open { color: var(--neon); font-weight: 600; }
.gym-closed { color: var(--text-muted); }

.gym-result-rating { font-size: 0.8rem; color: var(--yellow); white-space: nowrap; }

.map-container {
    margin-bottom: 1rem;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border);
    aspect-ratio: 16 / 10;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* Gym search – tabs (legacy block kept) */
.search-tabs { display: flex; gap: 0.5rem; margin-bottom: 1rem; }

.tab {
    flex: 1;
    padding: 0.75rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-muted);
    cursor: pointer;
    font-weight: 600;
}

.tab.active { background: var(--pink); color: #fff; border-color: var(--pink); }

.tab-panel { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 0; }
.tab-panel.hidden { display: none; }

.hint { color: var(--text-muted); font-size: 0.85rem; text-align: center; line-height: 1.4; }

.selected-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: var(--neon);
    color: #000;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

/* Profile */
.profile-form { margin-bottom: 1.5rem; }

.profile-avatar {
    text-align: center;
    margin-bottom: 1.5rem;
}

.profile-avatar strong { display: block; margin-top: 0.5rem; font-size: 1.1rem; }
.profile-avatar small { color: var(--text-muted); }

.bmi-display { text-align: center; color: var(--text-muted); font-size: 0.9rem; }
.bmi-display strong { color: var(--neon); }

.profile-links { display: flex; flex-direction: column; gap: 0.75rem; }

/* Detail view */
.detail-header { margin-bottom: 1.5rem; }
.detail-header h2 { font-family: var(--font-display); font-size: 1.5rem; }
.detail-header p { color: var(--text-muted); font-size: 0.9rem; }
.notes { font-style: italic; margin-top: 0.5rem; }

.sets-table .set-row { grid-template-columns: 40px 1fr 1fr; }

/* Bottom nav */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: calc(var(--nav-h) + var(--safe-bottom));
    padding-bottom: var(--safe-bottom);
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 50;
    max-width: 480px;
    margin: 0 auto;
}

@media (min-width: 481px) {
    .bottom-nav { left: 50%; transform: translateX(-50%); border-radius: var(--radius) var(--radius) 0 0; }
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.65rem;
    font-weight: 500;
    padding: 0.5rem;
    transition: color 0.2s;
}

.nav-item svg { width: 24px; height: 24px; }
.nav-item.active { color: var(--neon); }
.nav-workout.active { color: var(--pink); }

/* Logo */
.logo { text-align: center; }
.logo img { max-width: 100%; height: auto; }
.logo-lg img { width: 220px; }

.hidden { display: none !important; }

.install-prompt {
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    background: var(--bg-card);
    border: 1px solid var(--neon);
    border-radius: var(--radius);
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    z-index: 60;
    max-width: 448px;
    margin: 0 auto;
}

.install-prompt p { font-size: 0.9rem; }

/* === Edzésnapló pro === */
.workout-title-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px dashed var(--border);
    color: var(--text-muted);
    font-family: var(--font-display);
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-align: center;
    padding: 0.25rem 0 0.5rem;
    margin-bottom: 0.5rem;
    outline: none;
}

.workout-title-input:focus { border-color: var(--neon); color: var(--text); }

.workout-type-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1rem;
    justify-content: center;
}

.chip {
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
}

.chip.active { background: var(--pink); border-color: var(--pink); color: #fff; }

.workout-journal {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-left: 3px solid var(--neon);
    border-radius: var(--radius);
    padding: 0.85rem 1rem;
    margin-bottom: 1rem;
}

.journal-head {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.journal-save-hint { color: var(--neon); font-size: 0.75rem; font-weight: 400; }

.journal-textarea {
    min-height: 72px;
    resize: vertical;
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
}

.pr-toast {
    position: fixed;
    top: calc(var(--safe-top) + 1rem);
    left: 1rem;
    right: 1rem;
    max-width: 448px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--yellow), #ffaa00);
    color: #000;
    font-weight: 700;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    z-index: 200;
    text-align: center;
    box-shadow: 0 8px 30px rgba(255, 230, 0, 0.35);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.sets-header-pro, .set-row-pro {
    grid-template-columns: 28px 1fr 1fr 44px 32px 36px !important;
    font-size: 0.75rem;
}

.set-row-pro.warmup { opacity: 0.65; }

.warmup-toggle {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 700;
    cursor: pointer;
}

.warmup-toggle.on { background: var(--blue); color: #000; border-color: var(--blue); }

.exercise-note {
    margin-bottom: 0.65rem !important;
    font-size: 0.85rem !important;
    padding: 0.55rem 0.75rem !important;
}

.previous-hint {
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.25);
    border-radius: 8px;
    padding: 0.6rem 0.75rem;
    font-size: 0.82rem;
    color: var(--blue);
    margin: 0.5rem 0;
}

.rest-presets { display: flex; gap: 0.4rem; justify-content: center; margin: 0.75rem 0; }

.rest-preset {
    padding: 0.35rem 0.65rem;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.3);
    background: transparent;
    color: #fff;
    font-size: 0.8rem;
    cursor: pointer;
}

.rest-preset.active { background: rgba(255,255,255,0.25); }

.field-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0.75rem 0 0.35rem;
    font-weight: 500;
}

.finish-stats { margin-bottom: 0.5rem; }

.finish-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    text-align: center;
}

.finish-stat-grid strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--neon);
}

.finish-stat-grid span { font-size: 0.7rem; color: var(--text-muted); }

.rpe-row, .mood-row { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.25rem; }

.rpe-btn, .mood-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--bg-elevated);
    color: var(--text);
    font-size: 0.85rem;
    cursor: pointer;
}

.rpe-btn.active { background: var(--neon); color: #000; border-color: var(--neon); }
.mood-btn { width: 44px; font-size: 1.2rem; }
.mood-btn.active { border-color: var(--pink); background: rgba(255,0,110,0.15); }

.finish-modal { max-height: 90dvh; }

.quick-actions, .history-actions {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.quick-actions .btn, .history-actions .btn { flex: 1; }

.detail-notes {
    background: var(--bg-card);
    border-left: 3px solid var(--neon);
    padding: 1rem;
    border-radius: 0 var(--radius) var(--radius) 0;
    margin-bottom: 1rem;
}

.detail-notes h4 { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.detail-notes p { white-space: pre-wrap; line-height: 1.5; }

.detail-meta { color: var(--text-muted); font-size: 0.88rem; }

.detail-actions-row { display: flex; gap: 0.5rem; margin-bottom: 1.25rem; }

.edit-panel { margin-bottom: 1.25rem; }

.sets-readonly {
    grid-template-columns: 40px 1fr 1fr 1fr !important;
    font-size: 0.85rem;
    padding: 0.35rem 0;
}

.item-note-preview {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
    font-style: italic;
}

.workout-item.clickable {
    width: 100%;
    text-align: left;
    border: none;
    font: inherit;
    -webkit-appearance: none;
    appearance: none;
}

.ex-note { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.5rem; font-style: italic; }

.delete-exercise {
    width: 32px !important;
    height: 32px !important;
    font-size: 0.85rem !important;
}

/* ========== MOBIL VIZUÁL – nagy gombok, ikonok ========== */

.landing-hero-visual {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 1.25rem;
    min-height: 340px;
    border: 2px solid var(--pink);
    box-shadow: 0 12px 40px rgba(255, 0, 110, 0.25);
}

.hero-photo {
    width: 100%;
    height: 100%;
    min-height: 340px;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13,13,13,0.98) 0%, rgba(13,13,13,0.5) 45%, rgba(13,13,13,0.2) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.25rem;
    text-align: center;
}

.logo-img-ai {
    width: 100px !important;
    height: 100px !important;
    margin: 0 auto 0.5rem;
    border-radius: 22px;
    border: 3px solid var(--neon);
    box-shadow: 0 8px 30px rgba(57, 255, 20, 0.35);
}

.landing-actions {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 1.5rem;
}

.feature-card-big {
    padding: 1.35rem !important;
    border: 1px solid var(--border);
    background: linear-gradient(145deg, var(--bg-card), var(--bg-elevated));
}

.feature-icon-wrap {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: rgba(57, 255, 20, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    border: 1px solid rgba(57, 255, 20, 0.3);
}

.feature-icon-wrap.icon-pink { background: rgba(255, 0, 110, 0.12); border-color: rgba(255, 0, 110, 0.3); }
.feature-icon-wrap.icon-blue { background: rgba(0, 212, 255, 0.12); border-color: rgba(0, 212, 255, 0.3); }

.feature-card-big h3 { font-size: 1.35rem !important; }

.install-prompt {
    bottom: calc(1rem + var(--safe-bottom));
    padding: 1rem 1.15rem;
    align-items: center;
}

.install-logo { border-radius: 12px; flex-shrink: 0; }

/* Auth vizuál */
.auth-page-visual { justify-content: flex-start; padding-top: 0; padding-left: 0; padding-right: 0; }

.auth-hero-strip {
    width: 100%;
    height: 180px;
    overflow: hidden;
    margin-bottom: -2rem;
    position: relative;
    z-index: 0;
}

.auth-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

.auth-card-big {
    position: relative;
    z-index: 1;
    margin: 0 1rem;
    width: calc(100% - 2rem);
    padding: 1.75rem 1.35rem !important;
    border: 2px solid var(--pink);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.5);
}

.auth-logo-mark {
    display: block;
    margin: 0 auto 1rem;
    border-radius: 20px;
    border: 3px solid var(--neon);
}

.auth-card-big h1 { font-size: 2.25rem !important; }

/* Dashboard */
.dash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.dash-header-left { display: flex; align-items: center; gap: 0.85rem; }

.dash-logo-mark {
    border-radius: 14px;
    border: 2px solid var(--neon);
    box-shadow: 0 4px 16px rgba(57, 255, 20, 0.3);
}

.avatar-lg { width: 52px !important; height: 52px !important; border-width: 3px !important; }

.stats-grid-big { gap: 0.65rem; }

.stat-card-big {
    padding: 1.1rem 0.65rem !important;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, var(--bg-card), #141414);
}

.stat-icon { margin-bottom: 0.35rem; opacity: 0.9; }
.stat-emoji { font-size: 1.5rem; line-height: 1; margin-bottom: 0.15rem; }

.stat-card-big .stat-val { font-size: 2.25rem !important; }

.gym-card-big {
    flex-wrap: wrap;
    padding: 1.15rem !important;
    background: linear-gradient(135deg, rgba(255,0,110,0.08), var(--bg-card));
    border-color: rgba(255, 0, 110, 0.35) !important;
}

.gym-card-icon { flex-shrink: 0; }

.action-tiles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.action-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 110px;
    padding: 1rem;
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 20px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    font: inherit;
    transition: transform 0.15s, border-color 0.15s;
    -webkit-appearance: none;
    appearance: none;
    text-align: center;
}

.action-tile:active { transform: scale(0.96); }

.action-tile-primary {
    grid-column: 1 / -1;
    min-height: 140px;
    background: linear-gradient(135deg, var(--pink), #b8004a);
    border-color: var(--neon);
    box-shadow: 0 10px 40px rgba(255, 0, 110, 0.35);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.action-tile-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
    pointer-events: none;
}

.action-tile-primary img:not(.action-tile-bg),
.action-tile-primary .action-tile-label,
.action-tile-primary .action-tile-sub {
    position: relative;
    z-index: 1;
}

.action-tile-primary .action-tile-label {
    font-family: var(--font-display);
    font-size: 1.65rem;
    letter-spacing: 2px;
}

.action-tile-label { font-weight: 700; font-size: 0.95rem; }
.action-tile-sub { font-size: 0.8rem; opacity: 0.85; }
.action-tile-emoji { font-size: 2rem; line-height: 1; }

.section-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.35rem !important;
}

.workout-item-big {
    min-height: var(--touch);
    padding: 1rem 1.1rem !important;
}

.workout-item-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(57, 255, 20, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.workout-item-big { gap: 0.85rem !important; }

.workout-item-arrow {
    font-size: 1.75rem;
    color: var(--neon);
    font-weight: 300;
    margin-left: auto;
}

/* Bottom nav – nagy ikonok */
.bottom-nav {
    height: calc(var(--nav-h) + var(--safe-bottom));
    padding-top: 0.35rem;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 2px solid var(--border);
}

.nav-item {
    font-size: 0.7rem !important;
    min-width: 64px;
    min-height: 56px;
    padding: 0.35rem 0.5rem !important;
}

.nav-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-elevated);
    transition: background 0.2s, transform 0.15s;
}

.nav-item.active .nav-icon-wrap {
    background: rgba(57, 255, 20, 0.2);
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.25);
    transform: scale(1.05);
}

.nav-workout.active .nav-icon-wrap {
    background: rgba(255, 0, 110, 0.2);
    box-shadow: 0 0 20px rgba(255, 0, 110, 0.25);
}

.nav-icon { width: 26px !important; height: 26px !important; }

/* Edzés oldal – nagyobb timer */
.timer-display { font-size: 4.5rem !important; }

.btn-icon {
    width: 56px !important;
    height: 56px !important;
    font-size: 1.4rem !important;
}

.set-check {
    width: 40px !important;
    height: 40px !important;
    font-size: 1.1rem !important;
}

.warmup-toggle {
    width: 36px !important;
    height: 36px !important;
    font-size: 0.75rem !important;
}

.rpe-btn, .mood-btn {
    min-width: 44px;
    min-height: 44px;
    font-size: 1rem !important;
}

.mood-btn { min-width: 52px !important; min-height: 52px !important; font-size: 1.4rem !important; }

.chip {
    padding: 0.65rem 1rem !important;
    font-size: 0.88rem !important;
    min-height: 44px;
}

.history-actions .btn { min-height: var(--touch) !important; font-size: 1rem !important; }

@media (min-width: 768px) {
    body::after {
        content: 'Gymmerzum – mobilra tervezve 📱';
        display: block;
        text-align: center;
        padding: 1rem;
        color: var(--text-muted);
        font-size: 0.85rem;
        border-top: 1px solid var(--border);
    }
}

.api-key-notice {
    background: rgba(255, 230, 0, 0.08);
    border: 2px solid var(--yellow);
    border-radius: 14px;
    padding: 1rem 1.1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.45;
}

.api-key-notice strong { color: var(--yellow); display: block; margin-bottom: 0.5rem; font-size: 1rem; }
.api-key-notice ol { margin: 0.5rem 0 0.5rem 1.1rem; padding: 0; }
.api-key-notice li { margin-bottom: 0.35rem; }
.api-key-notice a { color: var(--neon); }
.api-key-notice code { background: var(--bg-elevated); padding: 0.15rem 0.4rem; border-radius: 4px; font-size: 0.85rem; }
.api-key-hint { font-size: 0.82rem; color: var(--text-muted); margin-top: 0.5rem; }

/* Page bannerek */
.page-banner {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 1.25rem;
    min-height: 120px;
    border: 2px solid var(--border);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.page-banner-img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    display: block;
}

.page-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13,13,13,0.95) 0%, rgba(13,13,13,0.2) 70%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1rem 1.15rem;
}

.page-banner-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    letter-spacing: 2px;
    line-height: 1;
    text-shadow: 0 2px 12px rgba(0,0,0,0.8);
}

.page-banner-sub {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.compact-header { margin-bottom: 0.75rem; }

/* Edzés – prestart képernyő */
.workout-prestart { text-align: center; }

.prestart-hero {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 20px;
    border: 2px solid var(--pink);
    margin-bottom: 1.25rem;
    box-shadow: 0 12px 40px rgba(255,0,110,0.25);
}

.prestart-content { padding: 0 0.25rem; }

.prestart-logo {
    border-radius: 18px;
    border: 3px solid var(--neon);
    margin-bottom: 1rem;
    box-shadow: 0 8px 24px rgba(57,255,20,0.3);
}

.prestart-title {
    font-family: var(--font-display);
    font-size: 2.25rem;
    letter-spacing: 2px;
    margin-bottom: 0.35rem;
}

.prestart-sub {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.btn-mega {
    min-height: 72px !important;
    font-size: 1.35rem !important;
    font-family: var(--font-display);
    letter-spacing: 3px;
    border-radius: 20px !important;
    margin-bottom: 0.75rem;
    box-shadow: 0 10px 40px rgba(57,255,20,0.35);
}

.workout-active.hidden { display: none !important; }
.workout-prestart.hidden { display: none !important; }

.journal-head {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rest-deco {
    margin: 0 auto 0.5rem;
    opacity: 0.85;
    border-radius: 12px;
}

.modal-banner {
    width: calc(100% + 3rem);
    margin: -1.5rem -1.5rem 1rem;
    height: 100px;
    object-fit: cover;
    border-radius: 0;
}

.profile-hero-img {
    width: 100%;
    max-width: 280px;
    height: 100px;
    object-fit: cover;
    border-radius: 16px;
    margin: 0 auto 0.75rem;
    display: block;
    border: 2px solid var(--pink);
}

.profile-avatar-icon {
    border: 3px solid var(--neon);
    border-radius: 50%;
}

.stat-card-big {
    background-size: cover;
    background-position: center;
}

.dashboard-page .dash-header { margin-top: -0.5rem; }

.dashboard-page .page-title { font-size: 1.25rem; }

/* Nagy beköszönő hero */
.welcome-hero {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    min-height: 280px;
    margin-bottom: 1.15rem;
    border: 2px solid rgba(57, 255, 20, 0.45);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.55),
        0 0 40px rgba(255, 0, 110, 0.15);
}

.welcome-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

.welcome-hero-grain {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(255, 0, 110, 0.35) 0%, transparent 45%),
        linear-gradient(to top, rgba(13, 13, 13, 0.98) 0%, rgba(13, 13, 13, 0.35) 55%, rgba(13, 13, 13, 0.15) 100%);
    pointer-events: none;
}

.welcome-hero-overlay {
    position: relative;
    z-index: 2;
    padding: 1.1rem 1.15rem 1.35rem;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.welcome-hero-top {
    position: absolute;
    top: 1rem;
    left: 1rem;
    right: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.welcome-hero-logo {
    border-radius: 16px;
    border: 3px solid var(--neon);
    box-shadow: 0 6px 24px rgba(57, 255, 20, 0.4);
}

.welcome-avatar-link { display: block; }

.welcome-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 3px solid var(--pink);
    box-shadow: 0 4px 16px rgba(255, 0, 110, 0.45);
    background: var(--bg-card);
}

.welcome-kicker {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.welcome-title {
    font-family: var(--font-display);
    line-height: 0.92;
    margin-bottom: 0.5rem;
}

.welcome-csa {
    display: block;
    font-size: clamp(2rem, 8vw, 2.75rem);
    letter-spacing: 0.08em;
    color: #fff;
    text-shadow: 0 3px 20px rgba(0, 0, 0, 0.8);
}

.welcome-name {
    display: block;
    font-size: clamp(3.2rem, 14vw, 4.75rem);
    letter-spacing: 0.04em;
    color: var(--neon);
    text-shadow:
        0 0 30px rgba(57, 255, 20, 0.55),
        0 4px 0 var(--pink),
        0 8px 24px rgba(0, 0, 0, 0.9);
    animation: welcomePop 0.7s cubic-bezier(0.34, 1.4, 0.64, 1) both;
}

.welcome-sub {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.4;
    max-width: 20rem;
}

.welcome-deco {
    position: absolute;
    opacity: 0.12;
    pointer-events: none;
    z-index: 1;
}

.welcome-deco-left {
    width: 120px;
    left: -20px;
    bottom: 20px;
}

.welcome-deco-right {
    width: 80px;
    right: 10px;
    top: 40%;
}

@keyframes welcomePop {
    from { opacity: 0; transform: translateY(12px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Képstrip – gyors linkek */
.visual-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.55rem;
    margin-bottom: 1.15rem;
}

.visual-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    min-height: 88px;
    border: 2px solid var(--border);
    text-decoration: none;
    color: #fff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
    transition: transform 0.15s, border-color 0.15s;
}

.visual-card:active {
    transform: scale(0.96);
    border-color: var(--neon);
}

.visual-card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.visual-card-img-svg {
    object-fit: cover;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
}

.visual-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent 60%);
}

.visual-card-label {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.45rem;
    z-index: 1;
    text-align: center;
    font-family: var(--font-display);
    font-size: 1rem;
    letter-spacing: 0.1em;
}

.visual-card-workout { border-color: rgba(255, 0, 110, 0.5); }
.visual-card-history { border-color: rgba(0, 212, 255, 0.45); }
.visual-card-profile { border-color: rgba(57, 255, 20, 0.45); }

.stats-grid-visual .stat-card-visual {
    border-width: 2px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.gym-card-visual {
    position: relative;
    overflow: hidden;
}

.gym-card-bg {
    position: absolute;
    right: -10%;
    top: 50%;
    transform: translateY(-50%);
    width: 55%;
    opacity: 0.2;
    pointer-events: none;
}

.gym-card-visual .gym-card-icon,
.gym-card-visual .gym-info,
.gym-card-visual .btn {
    position: relative;
    z-index: 1;
}

.gym-card-kicker {
    display: block;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--pink);
    margin-bottom: 0.15rem;
}

.action-tile-img {
    position: relative;
    overflow: hidden;
}

.action-tile-mini-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.28;
    pointer-events: none;
}

.action-tile-img .action-tile-emoji,
.action-tile-img .action-tile-label {
    position: relative;
    z-index: 1;
}

.action-tiles-visual .action-tile-primary {
    min-height: 155px;
}

.action-tiles-visual .action-tile-primary .action-tile-label {
    font-size: 1.65rem !important;
    letter-spacing: 0.12em !important;
}

.section-title-big {
    font-family: var(--font-display);
    font-size: 1.35rem !important;
    letter-spacing: 0.08em;
    gap: 0.5rem !important;
}

.workout-item-visual {
    padding: 0 !important;
    overflow: hidden;
    align-items: center !important;
    gap: 0 !important;
}

.workout-item-thumb {
    width: 72px;
    min-height: 72px;
    flex-shrink: 0;
    overflow: hidden;
}

.workout-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.workout-item-visual .workout-item-info {
    padding: 0.75rem 0.5rem 0.75rem 0;
}

.empty-state-visual {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--bg-card);
    border: 2px dashed var(--border);
    border-radius: 20px;
}

.empty-state-visual img {
    opacity: 0.7;
    margin-bottom: 0.75rem;
}

.empty-state-visual p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.recent-section-visual {
    margin-bottom: 0.5rem;
}

/* Profil – nagy köszönés */
.profile-welcome {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    min-height: 180px;
    margin-bottom: 1.15rem;
    border: 2px solid rgba(255, 0, 110, 0.4);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
}

.profile-welcome-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-welcome-overlay {
    position: relative;
    z-index: 1;
    min-height: 180px;
    padding: 1.15rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(to top, rgba(13, 13, 13, 0.95), rgba(13, 13, 13, 0.25));
}

.profile-welcome-logo {
    position: absolute;
    top: 1rem;
    right: 1rem;
    border-radius: 14px;
    border: 2px solid var(--neon);
}

.profile-welcome-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 10vw, 3rem);
    letter-spacing: 0.06em;
    line-height: 1;
    margin-bottom: 0.35rem;
}

.profile-welcome-title span {
    color: var(--neon);
    text-shadow: 0 0 20px rgba(57, 255, 20, 0.45);
}

.profile-welcome-sub {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.profile-avatar-compact {
    text-align: center;
    padding: 0.75rem 0 1rem !important;
    background: transparent !important;
    border: none !important;
}

.profile-avatar-compact strong {
    font-size: 1.1rem;
    display: block;
}

.profile-avatar-compact small {
    color: var(--text-muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.graffiti-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('/assets/img/graffiti-splash.svg') center/120% no-repeat;
    opacity: 0.06;
    pointer-events: none;
}

/* Globális animált loading */
body.is-loading { overflow: hidden; }

.gz-loader-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(8, 8, 8, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    pointer-events: none;
}

.gz-loader-overlay.is-visible,
body.is-page-loading .gz-loader-overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.gz-loader {
    text-align: center;
    position: relative;
    width: min(280px, 88vw);
}

.gz-loader-rings {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 0.75rem;
}

.gz-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 3px solid transparent;
}

.gz-ring-neon {
    border-top-color: var(--neon);
    border-right-color: rgba(57, 255, 20, 0.35);
    animation: gzSpin 1s linear infinite;
}

.gz-ring-pink {
    inset: 10px;
    border-bottom-color: var(--pink);
    border-left-color: rgba(255, 0, 110, 0.35);
    animation: gzSpin 1.4s linear infinite reverse;
}

.gz-loader-logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    object-fit: contain;
    animation: gzPulse 1.2s ease-in-out infinite;
    filter: drop-shadow(0 0 12px rgba(57, 255, 20, 0.45));
    z-index: 1;
}

.gz-loader-text {
    font-family: var(--font-display);
    letter-spacing: 0.12em;
    font-size: 1.35rem;
    color: var(--text);
    margin-bottom: 0.85rem;
}

.gz-loader-bar {
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.gz-loader-bar span {
    display: block;
    height: 100%;
    width: 40%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--pink), var(--neon), var(--blue));
    animation: gzBar 1.1s ease-in-out infinite;
}

@keyframes gzSpin { to { transform: rotate(360deg); } }

@keyframes gzPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.08); }
}

@keyframes gzBar {
    0% { transform: translateX(-120%); }
    100% { transform: translateX(320%); }
}

.btn.is-loading {
    opacity: 0.85;
    pointer-events: none;
    position: relative;
}

.btn-spinner {
    display: inline-block;
    width: 1em;
    height: 1em;
    margin-right: 0.45em;
    vertical-align: -0.12em;
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-top-color: currentColor;
    border-radius: 50%;
    animation: gzSpin 0.7s linear infinite;
}

.btn-neon .btn-spinner,
.btn-pink .btn-spinner {
    border-color: rgba(0, 0, 0, 0.2);
    border-top-color: #000;
}

.inline-loader {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    padding: 0.75rem 0;
}

.inline-loader .btn-spinner {
    margin: 0;
    border-color: rgba(255, 255, 255, 0.15);
    border-top-color: var(--neon);
}

