﻿/* HOBBELS â€” Cozy Adventure CBT Journal */

:root {
    /* Palette */
    --sky-pale:      #d8eefc;
    --sky-warm:      #f5dfca;
    --meadow:        #b8d59a;

    --fear:          #8a7298;
    --fear-dark:     #5c4a72;
    --hope:          #e0885c;
    --hope-light:    #f4b87c;

    --card-bg:       rgba(255, 252, 244, 0.92);
    --card-border:   rgba(180, 148, 118, 0.32);
    --card-shadow:   rgba(74, 54, 36, 0.14);

    --glass-bg:      rgba(255, 252, 244, 0.82);

    --ink:           #2c1e10;
    --ink-light:     #6b5a48;
    --mist:          #a89880;

    --primary:       #e0885c;
    --primary-dark:  #c86840;
    --soft-green:    rgba(200, 216, 160, 0.45);

    --success:       #7aaa60;
    --danger:        #d46e6e;

    --xp-gold:       #f4c060;

    /* Spacing */
    --xs: 4px;
    --sm: 8px;
    --md: 16px;
    --lg: 24px;
    --xl: 40px;

    /* Radius */
    --r-sm: 8px;
    --r-md: 14px;
    --r-lg: 22px;
    --r-xl: 30px;
    --r-pill: 999px;

    /* Font */
    --font-display: 'Fraunces', Georgia, serif;
    --font-body:    'DM Sans', system-ui, sans-serif;

    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --app-max-width: 1120px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background:
        radial-gradient(1100px 500px at 8% -8%, rgba(138, 114, 152, 0.26), transparent 62%),
        radial-gradient(900px 420px at 100% 0%, rgba(224, 136, 92, 0.30), transparent 58%),
        linear-gradient(180deg, var(--sky-pale) 0%, var(--sky-warm) 55%, var(--meadow) 100%);
    background-attachment: fixed;
    min-height: 100vh;
    overflow-x: hidden;
}

/* â”€â”€ Layout â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

#app {
    max-width: var(--app-max-width);
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-bottom: calc(76px + var(--safe-bottom));
    border-radius: 22px;
    overflow: hidden;
}

/* â”€â”€ Header â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.app-header {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 14px var(--lg) 12px;
    background: rgba(255, 250, 240, 0.86);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--card-border);
    border-radius: 0 0 20px 20px;
}

.theme-toggle-header {
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    border-radius: 8px;
    transition: transform 0.2s;
}

.theme-toggle-header:hover {
    transform: scale(1.15);
}

.app-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.app-title {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.6px;
    line-height: 1;
}

.app-title em {
    font-style: italic;
    color: var(--primary);
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    line-height: 1;
}

.brand-logo-img {
    height: 48px;
    width: auto;
    display: block;
}

.brand-mark {
    display: inline-flex;
    width: 40px;
    height: 24px;
    color: var(--primary-dark);
}

.brand-word {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.6px;
}

.brand-word em {
    font-style: italic;
    color: var(--primary);
}

.brand-mark-svg {
    width: 100%;
    height: 100%;
    display: block;
    fill: currentColor;
}

.brand-logo-wrap {
    display: flex;
    align-items: center;
    width: min(360px, 72vw);
    color: var(--ink);
}

.brand-logo-svg {
    display: block;
    width: 100%;
    height: auto;
}

.logo-outer {
    position: relative;
    display: flex;
    align-items: center;
    width: min(360px, 72vw);
    min-height: 54px;
}

.logo {
    display: block;
    width: 100%;
    height: auto;
}

.logo-line {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.logo-line path {
    fill: none;
    stroke: #6f8f72;
    stroke-width: 3;
    stroke-linecap: round;
}

.logo-main {
    position: relative;
    z-index: 2;
}

.app-tagline {
    margin: 4px 0 8px;
    font-size: 17px;
    color: var(--ink-light);
    font-weight: 700;
}

.greeting-line {
    margin: 2px 0 8px;
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
}

.level-badge {
    font-size: 15px;
    font-weight: 800;
    color: #2b2a24;
    background: linear-gradient(135deg, #d9ecb8, #b9d88d);
    border: 1px solid rgba(90, 110, 58, 0.25);
    box-shadow: 0 6px 16px rgba(122, 170, 96, 0.28);
    padding: 7px 12px;
    border-radius: var(--r-pill);
    white-space: nowrap;
    letter-spacing: 0.2px;
}

.xp-bar-track {
    position: relative;
    height: 8px;
    background: rgba(200, 185, 155, 0.3);
    border-radius: var(--r-pill);
    overflow: visible;
}

.xp-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--xp-gold), var(--hope-light));
    border-radius: var(--r-pill);
    transition: width 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}


/* â”€â”€ Main Content â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.main-content {
    flex: 1;
    padding: var(--lg);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* â”€â”€ Bottom Navigation â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: var(--app-max-width);
    padding: 10px var(--lg) calc(10px + var(--safe-bottom));
    background: rgba(255, 250, 240, 0.86);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--card-border);
    border-radius: 20px 20px 0 0;
    display: flex;
    justify-content: stretch;
    gap: 6px;
    z-index: 100;
}

body.dark-mode .bottom-nav {
    background: rgba(35, 46, 41, 0.92);
}

.nav-tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 8px var(--sm);
    border: none;
    background: transparent;
    border-radius: var(--r-md);
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--mist);
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    position: relative;
}

.nav-tab:disabled {
    opacity: 0.4;
    cursor: default;
}

.nav-tab.active {
    background: rgba(224, 136, 92, 0.12);
    color: var(--primary-dark);
}

.nav-tab-icon {
    font-size: 22px;
    line-height: 1;
}

.nav-tab-gif {
    display: block;
    width: 36px;
    height: 36px;
    margin: 0 auto 2px;
    pointer-events: none;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.nav-tab.active .nav-tab-gif {
    opacity: 1;
}

.nav-count {
    position: absolute;
    top: 6px;
    right: calc(50% - 18px);
    background: var(--primary);
    color: white;
    font-size: 9px;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: var(--r-pill);
    min-width: 16px;
    text-align: center;
}

/* â”€â”€ Cards â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.card {
    background: var(--card-bg);
    border-radius: var(--r-lg);
    padding: var(--lg);
    border: 1px solid var(--card-border);
    box-shadow:
        0 6px 28px var(--card-shadow),
        0 1px 3px rgba(100,80,50,0.06);
}

/* â”€â”€ Typography â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

h1, h2, h3 {
    font-family: var(--font-display);
    letter-spacing: -0.3px;
}

h1 { font-size: 28px; font-weight: 700; line-height: 1.2; }
h2 { font-size: 22px; font-weight: 600; line-height: 1.3; }
h3 { font-size: 18px; font-weight: 600; line-height: 1.4; }

p { color: var(--ink-light); }

.overline {
    font-size: 11px;
    font-weight: 600;
    color: var(--mist);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* â”€â”€ Buttons â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: none;
    border-radius: var(--r-pill);
    padding: 12px 22px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

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

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 16px rgba(224, 136, 92, 0.35);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(224, 136, 92, 0.45);
}

.btn-secondary {
    background: var(--soft-green);
    color: var(--ink);
    border: 1px solid var(--card-border);
}

.btn-secondary:hover {
    background: rgba(200, 216, 160, 0.65);
}

.btn-ghost {
    background: transparent;
    color: var(--ink-light);
    padding: 8px 14px;
}

.btn-ghost:hover {
    background: rgba(168, 152, 128, 0.12);
}

.btn-danger {
    background: rgba(212, 110, 110, 0.1);
    color: var(--danger);
    border: 1px solid rgba(212, 110, 110, 0.2);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

.btn-full { width: 100%; }

.flow-step-hero {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-pill);
    padding: 10px 18px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 16px rgba(224, 136, 92, 0.35);
    margin-bottom: 12px;
    line-height: 1.2;
    text-align: center;
    gap: 4px;
}

.flow-step-hero em {
    font-style: italic;
    font-size: 15px;
    line-height: 1.2;
    margin: 0;
}

/* â”€â”€ Forms â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group + .form-group {
    margin-top: var(--md);
}

.form-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-light);
}

input[type="text"],
input[type="email"],
input[type="date"],
input[type="time"],
select,
textarea {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid var(--card-border);
    border-radius: var(--r-md);
    font-size: 15px;
    font-family: var(--font-body);
    background: rgba(255, 252, 244, 0.8);
    color: var(--ink);
    transition: border-color 0.2s, box-shadow 0.2s;
    resize: vertical;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(224, 136, 92, 0.15);
}

textarea { min-height: 85px; }

/* â”€â”€ Step Indicator â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: var(--md);
}

.step-dot {
    width: 30px;
    height: 30px;
    border-radius: var(--r-pill);
    border: 2px solid var(--card-border);
    background: var(--card-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--mist);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.step-dot.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 0 0 4px rgba(224, 136, 92, 0.2);
}

.step-dot.done {
    background: var(--success);
    border-color: var(--success);
    color: white;
}

.step-line {
    flex: 1;
    height: 2px;
    background: var(--card-border);
    max-width: 48px;
}

.step-line.done {
    background: var(--success);
}

/* â”€â”€ Score Buttons â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.score-row {
    display: flex;
    gap: var(--sm);
    justify-content: space-between;
}

.score-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 10px 4px;
    border: 2px solid var(--card-border);
    border-radius: var(--r-md);
    background: rgba(255, 252, 244, 0.8);
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: var(--font-body);
}

.score-btn .sn {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1;
}

.score-btn .se {
    font-size: 15px;
    line-height: 1;
}

.score-btn.selected {
    border-color: var(--primary);
    background: rgba(224, 136, 92, 0.1);
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(224, 136, 92, 0.25);
}

.score-btn:hover:not(.selected) {
    border-color: rgba(224, 136, 92, 0.45);
    transform: scale(1.04);
}

/* â”€â”€ Toggle Buttons â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.toggle-group {
    display: flex;
    gap: var(--sm);
}

.toggle-btn {
    flex: 1;
    padding: 12px;
    border: 2px solid var(--card-border);
    border-radius: var(--r-md);
    background: rgba(255, 252, 244, 0.8);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    color: var(--ink);
    text-align: center;
}

.toggle-btn.yes {
    border-color: var(--success);
    background: rgba(122, 170, 96, 0.12);
    color: #3d7a28;
}

.toggle-btn.no {
    border-color: var(--danger);
    background: rgba(212, 110, 110, 0.1);
    color: #9a3030;
}

.toggle-btn.later {
    border-color: var(--fear);
    background: rgba(138, 114, 152, 0.1);
    color: var(--fear-dark);
}

/* â”€â”€ Entry Cards â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.entry-card {
    animation: slideUp 0.3s ease both;
    margin-bottom: 10px;
}

.stagger > .entry-card:last-child {
    margin-bottom: 0;
}

.entry-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.entry-title {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    color: var(--ink);
    flex: 1;
    line-height: 1.3;
}

.entry-date {
    font-size: 11px;
    color: var(--mist);
    white-space: nowrap;
    margin-left: var(--sm);
    padding-top: 2px;
}

.score-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: var(--sm);
}

.stag {
    font-size: 12px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: var(--r-pill);
}

.stag-a { background: rgba(138, 114, 152, 0.15); color: var(--fear-dark); }
.stag-b { background: rgba(224, 136, 92, 0.15);  color: var(--primary-dark); }
.stag-r { background: rgba(122, 170, 96, 0.15);  color: #3d7a28; }
.stag-p { background: rgba(168, 152, 128, 0.15); color: var(--mist); }

.entry-actions {
    display: flex;
    gap: var(--sm);
}

.in-flow-actions {
    display: flex;
    align-items: center;
    gap: var(--sm);
    margin-top: 10px;
}

.in-flow-actions .btn {
    min-height: 34px;
}

.in-flow-delete {
    padding: 8px 16px;
}

/* â”€â”€ Section Label â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.section-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--mist);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 8px;
    padding: 0 2px;
}

/* â”€â”€ Overlay / Bottom Sheet â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(44, 30, 16, 0.45);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 200;
    display: flex;
    align-items: flex-end;
    animation: fadeIn 0.2s ease;
}

.sheet {
    width: 100%;
    max-width: var(--app-max-width);
    margin: 0 auto;
    background: var(--card-bg);
    border-radius: var(--r-xl) var(--r-xl) 0 0;
    padding: var(--lg);
    padding-bottom: calc(var(--lg) + var(--safe-bottom));
    max-height: 93vh;
    overflow-y: auto;
    animation: sheetUp 0.32s cubic-bezier(0.32, 0.72, 0, 1);
    border-top: 1px solid var(--card-border);
    box-shadow: 0 -12px 48px rgba(100,80,50,0.18);
}

.drag-handle {
    width: 40px;
    height: 4px;
    background: var(--card-border);
    border-radius: var(--r-pill);
    margin: -6px auto var(--md);
}

.form-footer {
    display: flex;
    gap: var(--sm);
    margin-top: var(--lg);
}

.form-footer .btn { flex: 1; }

/* â”€â”€ AHA Screen â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.aha-screen {
    animation: fadeIn 0.4s ease;
}

.aha-title-block {
    text-align: center;
    padding-bottom: var(--md);
}

.aha-title-block h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 4px;
}

.aha-subject {
    font-family: var(--font-display);
    font-style: italic;
    color: var(--ink-light);
    font-size: 15px;
}

.aha-comparison {
    display: flex;
    gap: 14px;
    align-items: flex-end;
    margin: var(--md) 0;
}

.aha-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.aha-side-label {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.aha-side.fear-side .aha-side-label { color: var(--fear-dark); }
.aha-side.hope-side .aha-side-label { color: var(--primary-dark); }

.aha-mountain-wrap {
    width: 100%;
    animation: mountainRise 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) both;
    transform-origin: bottom center;
}

.fear-side .aha-mountain-wrap { animation-delay: 0.15s; }
.hope-side .aha-mountain-wrap { animation-delay: 0.45s; }

.aha-score {
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
}

.fear-side .aha-score { color: var(--fear); }
.hope-side .aha-score { color: var(--hope); }

.aha-score-sub {
    font-size: 12px;
    color: var(--mist);
}

.aha-vs {
    font-size: 20px;
    color: var(--mist);
    padding-bottom: 36px;
    flex-shrink: 0;
}

.aha-insight-box {
    background: linear-gradient(135deg,
        rgba(244, 184, 124, 0.18),
        rgba(224, 136, 92, 0.10)
    );
    border: 1px solid rgba(244, 184, 124, 0.35);
    border-radius: var(--r-lg);
    padding: var(--lg);
    text-align: center;
    margin: var(--md) 0;
    animation: popIn 0.5s ease 0.8s both;
}

.aha-insight-box p {
    font-family: var(--font-display);
    font-size: 16px;
    font-style: italic;
    color: var(--ink);
    line-height: 1.6;
}

.aha-reflection {
    background: rgba(200, 185, 155, 0.12);
    border-radius: var(--r-md);
    padding: var(--md);
    margin-bottom: var(--md);
    border-left: 3px solid var(--xp-gold);
}

.aha-reflection blockquote {
    font-family: var(--font-display);
    font-style: italic;
    color: var(--ink);
    font-size: 15px;
    line-height: 1.5;
}

/* â”€â”€ Game / Landscape â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.landscape-wrap {
    border-radius: var(--r-lg);
    overflow: hidden;
    background: linear-gradient(180deg,
        #c5dff0 0%,
        #dff0e8 55%,
        #e8d8b8 78%,
        #a8c280 100%
    );
    margin-bottom: var(--md);
    position: relative;
}

#game-canvas {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--r-lg);
}

.hobbel-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--sm);
}

.hobbel-nav-label {
    font-size: 13px;
    color: var(--mist);
    font-weight: 500;
}

/* â”€â”€ Analysis â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sm);
    margin-bottom: var(--md);
}

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

.stat-num {
    font-family: var(--font-display);
    font-size: 38px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 12px;
    color: var(--mist);
    font-weight: 500;
}

.insight-card {
    background: linear-gradient(135deg,
        rgba(244, 184, 124, 0.2),
        rgba(224, 136, 92, 0.1)
    );
    border: 1px solid rgba(224, 136, 92, 0.22);
    border-radius: var(--r-lg);
    padding: var(--lg);
    margin-bottom: var(--md);
}

.insight-card h3 {
    color: var(--primary-dark);
    margin-bottom: 6px;
}

.insight-card p {
    font-family: var(--font-display);
    font-size: 16px;
    font-style: italic;
    color: var(--ink);
    line-height: 1.6;
}

.gap-bars {
    display: flex;
    flex-direction: column;
    gap: var(--sm);
}

.gap-row {
    display: flex;
    align-items: center;
    gap: var(--sm);
}

.gap-lbl {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-light);
    width: 64px;
    flex-shrink: 0;
}

.gap-track {
    flex: 1;
    height: 10px;
    background: rgba(200, 185, 155, 0.22);
    border-radius: var(--r-pill);
    overflow: hidden;
}

.gap-fill {
    height: 100%;
    border-radius: var(--r-pill);
    transition: width 0.7s cubic-bezier(0.34, 1.2, 0.64, 1);
}

.gap-fill.a { background: var(--fear); }
.gap-fill.b { background: var(--hope); }
.gap-fill.r { background: var(--success); }

.gap-val {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-light);
    width: 32px;
    text-align: right;
    flex-shrink: 0;
}

.entry-detail-card {
    margin-bottom: var(--sm);
}

.detail-title {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: var(--sm);
}

.detail-reflection {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 14px;
    color: var(--ink-light);
    margin-top: var(--sm);
    padding-top: var(--sm);
    border-top: 1px solid var(--card-border);
    line-height: 1.5;
}

/* â”€â”€ Empty State â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.empty-state {
    text-align: center;
    padding: var(--xl) var(--lg);
}

.empty-state .empty-icon {
    font-size: 52px;
    margin-bottom: var(--md);
    opacity: 0.5;
}

.empty-state h3 {
    color: var(--ink);
    margin-bottom: 8px;
}

.empty-state p {
    font-size: 14px;
    color: #6a6258;
    margin-bottom: var(--lg);
    line-height: 1.5;
}

body.dark-mode .nav-tab {
    color: #d8d4cc;
}

.app-intro {
    text-align: left;
    margin: 0 0 14px;
    padding: 12px;
    border: 1px solid var(--card-border);
    border-radius: var(--r-md);
    background: rgba(255, 252, 244, 0.66);
}

.app-intro p {
    margin: 0 0 6px;
    font-size: 13px;
    color: var(--ink-light);
}

.app-intro p:last-child {
    margin-bottom: 0;
}

/* â”€â”€ Loading â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.loading-screen {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

/* â”€â”€ Divider â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.divider {
    height: 1px;
    background: var(--card-border);
    margin: var(--md) 0;
}

/* â”€â”€ Animations â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0);    }
}

@keyframes sheetUp {
    from { transform: translateY(100%); }
    to   { transform: translateY(0);    }
}

@keyframes mountainRise {
    from { opacity: 0; transform: scaleY(0);  }
    to   { opacity: 1; transform: scaleY(1);  }
}

@keyframes popIn {
    0%   { opacity: 0; transform: scale(0.85); }
    70%  { transform: scale(1.03); }
    100% { opacity: 1; transform: scale(1);    }
}


/* Stagger for entry lists */
.stagger > *:nth-child(1) { animation: slideUp 0.3s ease 0.04s both; }
.stagger > *:nth-child(2) { animation: slideUp 0.3s ease 0.09s both; }
.stagger > *:nth-child(3) { animation: slideUp 0.3s ease 0.14s both; }
.stagger > *:nth-child(4) { animation: slideUp 0.3s ease 0.19s both; }
.stagger > *:nth-child(5) { animation: slideUp 0.3s ease 0.24s both; }
.stagger > *:nth-child(n+6) { animation: slideUp 0.3s ease 0.28s both; }

/* â”€â”€ Insight Banner â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.insight-banner {
    background: linear-gradient(135deg,
        rgba(138, 114, 152, 0.12),
        rgba(224, 136, 92, 0.18)
    );
    border: 1px solid rgba(224, 136, 92, 0.25);
    border-radius: var(--r-lg);
    padding: var(--lg);
    text-align: center;
    margin-bottom: var(--md);
    animation: popIn 0.5s ease both;
}

.insight-banner .big-pct {
    font-family: var(--font-display);
    font-size: 68px;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1;
    margin-bottom: 6px;
    letter-spacing: -2px;
}

.insight-banner h3 {
    color: var(--ink);
    margin-bottom: 4px;
    font-size: 18px;
}

.insight-banner p {
    font-size: 13px;
    color: var(--ink-light);
}

/* â”€â”€ Stats Hero (3-column) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.stats-hero {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sm);
    margin-bottom: var(--md);
}

.stats-hero-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--r-lg);
    padding: 16px 8px;
    text-align: center;
    animation: slideUp 0.35s ease both;
}

.stats-hero-item:nth-child(1) { animation-delay: 0.05s; }
.stats-hero-item:nth-child(2) { animation-delay: 0.1s; }
.stats-hero-item:nth-child(3) { animation-delay: 0.15s; }

.stats-hero-num {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1;
    margin-bottom: 4px;
}

.stats-hero-lbl {
    font-size: 11px;
    color: var(--mist);
    font-weight: 500;
    line-height: 1.3;
}

/* â”€â”€ Paired Bar Chart â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.pair-chart {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 4px 0;
}

.pair-row {
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideUp 0.35s ease both;
}

.pair-lbl {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    width: 90px;
    flex-shrink: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pair-bars {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pair-bar {
    height: 11px;
    border-radius: var(--r-pill);
    transition: width 0.8s cubic-bezier(0.34, 1.2, 0.64, 1);
    position: relative;
}

.pair-bar.fear {
    background: linear-gradient(90deg, var(--fear-dark), var(--fear));
}

.pair-bar.hope {
    background: linear-gradient(90deg, var(--primary-dark), var(--hope-light));
}

.pair-scores {
    font-size: 12px;
    font-weight: 700;
    color: var(--ink-light);
    width: 40px;
    flex-shrink: 0;
    text-align: right;
    font-family: var(--font-display);
}

.pair-scores.better { color: var(--success); }
.pair-scores.worse  { color: var(--danger);  }

.pair-chart-legend {
    display: flex;
    gap: 14px;
    margin-bottom: var(--md);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--ink-light);
    font-weight: 500;
}

.legend-dot {
    width: 12px;
    height: 8px;
    border-radius: var(--r-pill);
    flex-shrink: 0;
}

.legend-dot.fear { background: var(--fear); }
.legend-dot.hope { background: var(--hope); }

/* â”€â”€ Hobbel Grid â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.hobbel-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sm);
}

.hobbel-grid-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--r-lg);
    padding: var(--md);
    cursor: pointer;
    transition: all 0.2s ease;
    animation: slideUp 0.3s ease both;
}

.hobbel-grid-card:hover {
    border-color: var(--primary);
    box-shadow: 0 6px 20px rgba(224, 136, 92, 0.2);
    transform: translateY(-2px);
}

.hobbel-grid-card:active { transform: scale(0.97); }

.hgc-title {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 6px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.3;
}

.hgc-outcome {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: var(--r-pill);
    margin-bottom: 8px;
    display: inline-block;
}

.hgc-outcome.did    { background: rgba(122,170,96,0.15);  color: #3d7a28; }
.hgc-outcome.didnt  { background: rgba(212,110,110,0.1);  color: #9a3030; }
.hgc-outcome.later  { background: rgba(138,114,152,0.12); color: var(--fear-dark); }

.hgc-scores {
    display: flex;
    gap: 8px;
    align-items: center;
}

.hgc-score {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
}

.hgc-score.fear { color: var(--fear); }
.hgc-score.hope { color: var(--hope); }
.hgc-score.refl { color: var(--success); }

.hgc-arrow {
    font-size: 13px;
    color: var(--mist);
}

/* â”€â”€ Mini Score Bars (diary cards) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.mini-bars {
    display: flex;
    gap: 8px;
    margin-bottom: var(--sm);
}

.mini-bar-group {
    flex: 1;
}

.mini-bar-lbl {
    font-size: 10px;
    font-weight: 600;
    color: var(--mist);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 3px;
}

.mini-bar-track {
    height: 6px;
    background: rgba(200, 185, 155, 0.2);
    border-radius: var(--r-pill);
    overflow: hidden;
}

.mini-bar-fill {
    height: 100%;
    border-radius: var(--r-pill);
}

.mini-bar-fill.a { background: var(--fear); }
.mini-bar-fill.b { background: var(--hope); }
.mini-bar-fill.r { background: var(--success); }

.mini-bar-val {
    font-size: 11px;
    font-weight: 700;
    color: var(--ink-light);
    margin-top: 2px;
}

/* â”€â”€ Section Title Row â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.section-title-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: var(--sm);
}

.section-title-row h3 {
    font-size: 16px;
}

.section-title-row .see-all {
    font-size: 12px;
    color: var(--mist);
    cursor: pointer;
    text-decoration: underline;
}

/* â”€â”€ Responsive â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

@media (min-width: 480px) {
    .score-btn .sn { font-size: 24px; }
    .score-btn .se { font-size: 17px; }
}

@media (max-width: 360px) {
    .hobbel-grid { grid-template-columns: 1fr; }
    .stats-hero  { grid-template-columns: repeat(3, 1fr); }
    .app-title { font-size: 27px; }
    .view-meta strong { font-size: 23px; }
    .view-meta span { font-size: 14px; }
    .level-badge { font-size: 13px; padding: 6px 10px; }
    .view-joke { font-size: 12px; }
}

/* Extra coaching UI */
.coach-copy {
    color: var(--ink-light);
    font-size: 14px;
    margin-top: 4px;
}

.coach-pill {
    display: inline-block;
    margin-top: 12px;
    background: rgba(138, 114, 152, 0.14);
    color: var(--fear-dark);
    border-radius: var(--r-pill);
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
}

.coach-steps {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.coach-step {
    background: rgba(255, 252, 244, 0.7);
    border: 1px solid var(--card-border);
    border-radius: var(--r-md);
    padding: 10px 12px;
    font-size: 14px;
    color: var(--ink);
}

.coach-note {
    margin: 12px 0;
    padding: 10px 12px;
    border-left: 3px solid var(--hope);
    background: rgba(224, 136, 92, 0.08);
    border-radius: var(--r-sm);
    font-size: 14px;
    color: var(--ink-light);
}

.coach-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sm);
}

.coach-card {
    border: 1px solid var(--card-border);
    border-radius: var(--r-md);
    padding: 10px;
    text-align: center;
    background: rgba(255, 252, 244, 0.7);
}

.coach-title {
    font-size: 11px;
    color: var(--mist);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.coach-value {
    margin-top: 4px;
    font-family: var(--font-display);
    font-size: 24px;
    line-height: 1;
}

.coach-value.fear { color: var(--fear); }
.coach-value.hope { color: var(--hope); }
.coach-value.refl { color: var(--success); }

.pattern-list,
.ladder-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.pattern-item,
.ladder-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    border: 1px solid var(--card-border);
    background: rgba(255, 252, 244, 0.72);
    border-radius: var(--r-md);
    padding: 10px 12px;
    font-size: 14px;
}

body.dark-mode .pattern-item,
body.dark-mode .ladder-item {
    background: rgba(39, 49, 44, 0.92);
    border-color: rgba(168, 191, 166, 0.28);
}

.ladder-item {
    display: block;
}

.ladder-head {
    font-weight: 700;
    color: var(--ink);
}

.ladder-step {
    margin-top: 4px;
    color: var(--ink-light);
    font-size: 13px;
}

body.dark-mode .ladder-head,
body.dark-mode .ladder-step,
body.dark-mode .pattern-item span,
body.dark-mode .pattern-item strong {
    color: var(--ink);
}

.wins-list {
    margin: 8px 0 0 18px;
    color: var(--ink-light);
    font-size: 14px;
}

.hobbel-analysis-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.hobbel-analysis-item {
    border: 1px solid var(--card-border);
    background: rgba(255, 252, 244, 0.72);
    border-radius: var(--r-md);
    padding: 12px;
}

.hobbel-analysis-head {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hobbel-analysis-index {
    min-width: 24px;
    height: 24px;
    border-radius: 999px;
    border: 1px solid rgba(111, 143, 114, 0.35);
    background: rgba(200, 216, 160, 0.28);
    color: #234126;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hobbel-analysis-subject {
    font-weight: 700;
    color: var(--ink);
}

.hobbel-analysis-date {
    margin-top: 2px;
    color: var(--ink-muted);
    font-size: 12px;
}

.hobbel-analysis-scores {
    margin-top: 6px;
    color: var(--ink-light);
    font-size: 13px;
}

.hobbel-analysis-quote {
    margin-top: 8px;
    color: var(--ink-light);
    font-size: 13px;
    font-style: italic;
}

.hobbel-subpill-actions {
    margin-top: 10px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.hobbel-subpill-btn {
    border: 1px solid rgba(111, 143, 114, 0.35);
    border-radius: var(--r-pill);
    padding: 7px 12px;
    background: rgba(200, 216, 160, 0.30);
    color: #234126;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    line-height: 1.2;
}

.hobbel-subpill-btn.danger {
    border-color: rgba(212, 110, 110, 0.45);
    background: rgba(212, 110, 110, 0.14);
    color: #8f2f2f;
}

body.dark-mode .hobbel-subpill-btn {
    background: rgba(90, 125, 95, 0.32);
    border-color: rgba(168, 191, 166, 0.40);
    color: #f0eee7;
}

body.dark-mode .hobbel-subpill-btn.danger {
    background: rgba(150, 76, 76, 0.30);
    border-color: rgba(212, 140, 140, 0.45);
    color: #ffe4e4;
}

body.dark-mode .hobbel-analysis-item {
    background: rgba(39, 49, 44, 0.92);
    border-color: rgba(168, 191, 166, 0.28);
}

body.dark-mode .hobbel-analysis-index {
    background: rgba(90, 125, 95, 0.34);
    border-color: rgba(168, 191, 166, 0.40);
    color: #f0eee7;
}


.view-meta {
    margin-top: 10px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    background: rgba(255, 252, 244, 0.74);
    border: 1px solid var(--card-border);
    border-radius: 18px;
    box-shadow: 0 4px 12px rgba(74, 54, 36, 0.10);
}

.view-meta strong {
    font-family: var(--font-display);
    font-size: 26px;
    line-height: 1;
    color: var(--ink);
}

.view-meta strong em {
    font-style: italic;
    color: var(--primary);
}

.view-meta span {
    color: #5f4f40;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
}

body.dark-mode .view-meta strong,
body.dark-mode .view-meta span {
    color: #22221f;
}

.view-joke {
    margin-top: 8px;
    padding: 8px 10px;
    border-radius: 14px;
    background: rgba(138, 114, 152, 0.10);
    border: 1px dashed rgba(92, 74, 114, 0.26);
    color: #5b496d;
    font-size: 13px;
    font-style: italic;
    box-shadow: 0 3px 10px rgba(74, 54, 36, 0.08);
}

.focus-card {
    border: 1px solid rgba(224, 136, 92, 0.30);
    background: linear-gradient(135deg, rgba(255, 245, 233, 0.92), rgba(253, 240, 231, 0.9));
}

.focus-kicker {
    font-size: 11px;
    letter-spacing: 0.9px;
    text-transform: uppercase;
    color: var(--primary-dark);
    font-weight: 700;
    margin-bottom: 6px;
}

.focus-title {
    font-size: 20px;
    margin-bottom: 6px;
}

.focus-copy {
    font-size: 14px;
    margin-bottom: 12px;
}

.concept-card {
    border: 1px solid rgba(224, 136, 92, 0.28);
    background: linear-gradient(135deg, rgba(255, 247, 235, 0.9), rgba(255, 252, 244, 0.9));
}

.concept-kicker {
    font-size: 11px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--primary-dark);
    font-weight: 700;
    margin-bottom: 6px;
}

.concept-list {
    margin: 8px 0 0 18px;
    color: var(--ink-light);
    font-size: 14px;
}

.bottom-nav .nav-tab {
    padding: 8px 4px;
    min-width: 0;
    flex: 1;
}

.bottom-nav .nav-tab span:last-child {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.bottom-nav .nav-tab span:last-child em {
    font-style: italic;
    color: var(--primary);
}

@media (max-width: 540px) {
    .bottom-nav {
        padding-left: 10px;
        padding-right: 10px;
        gap: 4px;
    }
    .bottom-nav .nav-tab {
        font-size: 10px;
    }
}

/* Concept overrides - rustig, warm, natuurlijk */
:root {
    --sky-pale: #f6f2ea;
    --sky-warm: #f6f2ea;
    --meadow: #edf2ea;
    --primary: #c98a6a;
    --primary-dark: #b27253;
    --success: #6f8f72;
    --ink: #3a3a36;
    --ink-light: #5b5b54;
    --card-bg: rgba(255, 252, 246, 0.94);
    --card-border: rgba(111, 143, 114, 0.22);
}

body {
    background: linear-gradient(180deg, #f6f2ea 0%, #f1eee4 100%);
}

body.dark-mode {
    --card-bg: rgba(43, 56, 50, 0.94);
    --card-border: rgba(111, 143, 114, 0.3);
    --ink: #edeae3;
    --ink-light: #d0cec8;
    --primary: #d9a58b;
    --primary-dark: #c99276;
    background: linear-gradient(180deg, #2e3a34 0%, #27312c 100%);
    color: var(--ink);
}

/* In dark mode: donkere tekst op lichte/witte invoervlakken */
body.dark-mode input[type="text"],
body.dark-mode input[type="email"],
body.dark-mode input[type="date"],
body.dark-mode input[type="time"],
body.dark-mode input[type="password"],
body.dark-mode select,
body.dark-mode option,
body.dark-mode textarea,
body.dark-mode .mood-btn {
    color: var(--ink) !important;
    background: rgba(39, 49, 44, 0.92);
    border-color: rgba(168, 191, 166, 0.28);
}

body.dark-mode .form-label,
body.dark-mode .range-row,
body.dark-mode .week-note {
    color: var(--ink-light);
}

body.dark-mode input::placeholder,
body.dark-mode textarea::placeholder {
    color: #aeb8af;
}

.app-header {
    background: rgba(255, 252, 246, 0.9);
}

body.dark-mode .app-header {
    background: rgba(35, 46, 41, 0.92);
}

.bottom-nav-3 .nav-tab {
    flex: 1;
}

.landscape-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 420px;
    padding-top: 22px;
    padding-bottom: 22px;
}

.landscape-sky {
    position: absolute;
    inset: 0 0 auto 0;
    height: 40%;
    background: linear-gradient(180deg, rgba(186, 214, 182, 0.34), rgba(186, 214, 182, 0.10));
    transition: background 0.4s ease;
}

.landscape-hill {
    position: absolute;
    left: -8%;
    width: 116%;
    bottom: 0;
    height: 80px;
    color: #d4e6cf;
    transition: color 0.4s ease;
}

.hill-bump-path {
    fill: #b9d9b1 !important;
}

@keyframes emoji-bounce {
    0%   { transform: scale(1); }
    30%  { transform: scale(1.35) rotate(-8deg); }
    60%  { transform: scale(1.25) rotate(6deg); }
    100% { transform: scale(1.2); }
}

@keyframes emoji-wiggle {
    0%   { transform: rotate(0deg); }
    25%  { transform: rotate(-10deg); }
    75%  { transform: rotate(10deg); }
    100% { transform: rotate(0deg); }
}

.mood-emoji-row {
    display: flex;
    gap: 6px;
    margin: 10px 0 6px;
}

.today-mood-card {
    padding: 14px 16px;
}

.today-mood-card h3 {
    margin-bottom: 6px;
}

.today-mood-inline {
    display: flex;
    align-items: flex-end;
    gap: 10px;
}

.today-mood-inline .mood-emoji-row {
    flex: 1;
    margin: 0;
}

.today-mood-inline .btn {
    margin-bottom: 2px;
}

.hobbel-anim {
    position: relative;
    height: 84px;
    margin-top: 10px;
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(186, 214, 182, 0.26), rgba(186, 214, 182, 0.08));
}

.hobbel-anim-hill {
    position: absolute;
    left: 0;
    width: 100%;
    bottom: 0;
    height: 82px;
    color: #d4e6cf;
}

.hobbel-anim .hill-base {
    fill: #b9d9b1;
}

.mood-emoji-btn {
    flex: 1;
    background: none;
    border: 2px solid transparent;
    border-radius: 14px;
    padding: 6px 4px;
    cursor: pointer;
    line-height: 1;
    transition: border-color 0.15s, background 0.15s;
}

.mood-emoji-btn img {
    display: block;
    margin: 0 auto;
    pointer-events: none;
}

.mood-emoji-num {
    display: block;
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    color: var(--ink-muted);
    margin-top: 3px;
}

body.dark-mode .mood-emoji-num {
    color: #d0cec8;
}

.mood-emoji-btn:hover {
    animation: emoji-wiggle 0.4s ease;
}

.mood-emoji-btn.selected {
    border-color: transparent;
    background: transparent;
    animation: emoji-bounce 0.4s ease forwards;
}

.mood-emoji-btn.selected img {
    border: 2px solid var(--primary);
    border-radius: 8px;
    background: rgba(201, 138, 106, 0.12);
    padding: 2px;
}

.mood-log-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}

.mood-log-item {
    display: grid;
    grid-template-columns: 90px 32px 1fr 24px 24px;
    align-items: center;
    gap: 8px;
}

.mood-log-date {
    font-size: 13px;
    color: var(--ink-muted);
}

.mood-log-bar {
    height: 8px;
    background: var(--sand);
    border-radius: 999px;
    overflow: hidden;
}

.mood-log-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--caramel, #c9966a), var(--forest, #3a5044));
    border-radius: 999px;
}

.mood-log-val {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-muted);
    text-align: right;
}

.mood-log-del {
    width: 24px;
    height: 24px;
    border: 1px solid rgba(212, 110, 110, 0.35);
    border-radius: 999px;
    background: rgba(212, 110, 110, 0.10);
    color: #9a3030;
    cursor: pointer;
    line-height: 1;
    font-size: 15px;
    padding: 0;
}

.mood-save-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 2px;
}

.landscape-road {
    display: block;
    width: calc(100% + 48px);
    margin-left: -24px;
    margin-right: -24px;
    margin-bottom: -24px;
    height: 48px;
    pointer-events: none;
}

.road-fill {
    fill: rgba(201, 138, 106, 0.18);
}

.road-stroke {
    stroke: rgba(201, 138, 106, 0.55);
    stroke-width: 3;
    stroke-linecap: round;
}

@keyframes pathHobble {
    0%   { transform: rotate(22deg) translateY(0) scaleX(1); }
    25%  { transform: rotate(21deg) translateY(-1px) scaleX(1.01); }
    50%  { transform: rotate(23deg) translateY(1px) scaleX(0.99); }
    75%  { transform: rotate(21deg) translateY(-1px) scaleX(1.01); }
    100% { transform: rotate(22deg) translateY(0) scaleX(1); }
}

.landscape-tree,
.landscape-flower {
    position: absolute;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.landscape-tree {
    width: 10px;
    height: 26px;
    background: #6f8f72;
    border-radius: 5px;
    bottom: 28%;
}

.landscape-tree::before {
    content: '';
    position: absolute;
    width: 24px;
    height: 20px;
    left: -7px;
    bottom: 16px;
    background: #a8bfa6;
    border-radius: 50%;
}

.tree-1 { left: 14%; transform: translateY(6px); }
.tree-2 { left: 72%; transform: translateY(6px); }

.landscape-flower {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d9a58b;
    bottom: 24%;
}

.flower-1 { left: 26%; }
.flower-2 { left: 44%; }
.flower-3 { left: 62%; }

.stage-sprout .tree-1,
.stage-green .tree-1,
.stage-green .tree-2,
.stage-bloom .tree-1,
.stage-bloom .tree-2 {
    opacity: 1;
    transform: translateY(0);
}

.stage-bloom .landscape-flower {
    opacity: 1;
}

/* Seizoenen */
.season-spring .landscape-sky { background: linear-gradient(180deg, rgba(178, 214, 183, 0.30), rgba(186, 210, 176, 0.10)); }
.season-spring .landscape-hill { color: #d8e8d6; }

.season-summer .landscape-sky { background: linear-gradient(180deg, rgba(183, 215, 176, 0.34), rgba(201, 223, 169, 0.10)); }
.season-summer .landscape-hill { color: #d4e2c8; }
.season-summer .road-stroke { stroke: rgba(201, 138, 106, 0.60); }
.season-summer .road-fill   { fill:   rgba(201, 138, 106, 0.22); }

.season-autumn .landscape-sky { background: linear-gradient(180deg, rgba(216, 190, 149, 0.34), rgba(209, 178, 136, 0.10)); }
.season-autumn .landscape-hill { color: #dfd2bc; }
.season-autumn .road-stroke { stroke: rgba(186, 126, 95, 0.60); }
.season-autumn .road-fill   { fill:   rgba(186, 126, 95, 0.20); }

.season-winter .landscape-sky { background: linear-gradient(180deg, rgba(188, 201, 206, 0.30), rgba(187, 196, 204, 0.10)); }
.season-winter .landscape-hill { color: #d8dde0; }
.season-winter .road-stroke { stroke: rgba(163, 150, 139, 0.50); }
.season-winter .road-fill   { fill:   rgba(163, 150, 139, 0.15); }
.season-winter .landscape-flower { background: #c9ced6; }

.landscape-card > *:not(.landscape-sky):not(.landscape-hill):not(.landscape-path):not(.landscape-tree):not(.landscape-flower) {
    position: relative;
    z-index: 1;
}

.mood-row {
    display: flex;
    gap: 8px;
    margin: 2px 0 4px;
    align-items: center;
    flex: 1;
}

.mood-row > span {
    font-size: 12px;
    color: var(--ink-light);
    font-weight: 700;
    width: 16px;
    text-align: center;
}

.mood-inline {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: center;
}

.mood-save-btn {
    white-space: nowrap;
}

.mood-scale {
    align-items: center;
    margin: 0;
    padding: 4px 8px;
    border: 1px solid var(--card-border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.58);
}

.mood-scale span {
    font-size: 12px;
    color: var(--ink-light);
    font-weight: 700;
    width: 16px;
    text-align: center;
}

.mood-slider {
    --pct: 50%;
    --wave-x: 0px;
}

.mood-scale-shell {
    gap: 10px;
}

.mood-custom {
    position: relative;
    flex: 1;
    height: 18px;
    border-radius: 999px;
    border: 1px solid rgba(111, 143, 114, 0.28);
    background: #e6ece2;
    overflow: hidden;
    cursor: pointer;
}

.mood-custom-fill {
    position: absolute;
    inset: 0 auto 0 0;
    width: 50%;
    background: linear-gradient(90deg, #6f8f72, #8eb08e);
}

.mood-wave-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.85;
    pointer-events: none;
}

.mood-wave-svg path {
    fill: none;
    stroke: #a8bfa6;
    stroke-width: 1.8;
    stroke-linecap: round;
}

.mood-wave-orb {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #6f8f72;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.7);
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 2;
}

.mood-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    border-radius: 999px;
    border: 2px solid #5f8363;
    background: linear-gradient(180deg, #fffef9, #edf4eb);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    pointer-events: none;
    z-index: 3;
}

.mood-slider::-webkit-slider-runnable-track {
    background:
        linear-gradient(
            90deg,
            #6f8f72 0%,
            #8eb08e var(--pct),
            #e6ece2 var(--pct),
            #e6ece2 100%
        ),
        url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='10' viewBox='0 0 120 10'%3E%3Cpath d='M0 6 C 8 2, 16 10, 24 6 C 32 2, 40 10, 48 6 C 56 2, 64 10, 72 6 C 80 2, 88 10, 96 6 C 104 2, 112 10, 120 6' fill='none' stroke='%23a8bfa6' stroke-width='1.2' stroke-linecap='round'/%3E%3C/svg%3E\");
    background-size: 100% 100%, 90px 10px;
    background-repeat: no-repeat, repeat-x;
    background-position: center, var(--wave-x) center;
    border: 1px solid rgba(111, 143, 114, 0.28);
}

.mood-slider::-webkit-slider-thumb {
    width: 24px;
    height: 24px;
    margin-top: -8px;
    border: 2px solid #5f8363;
    background: linear-gradient(180deg, #fffef9, #edf4eb);
}

.mood-slider::-moz-range-track {
    background:
        linear-gradient(
            90deg,
            #6f8f72 0%,
            #8eb08e var(--pct),
            #e6ece2 var(--pct),
            #e6ece2 100%
        ),
        url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='10' viewBox='0 0 120 10'%3E%3Cpath d='M0 6 C 8 2, 16 10, 24 6 C 32 2, 40 10, 48 6 C 56 2, 64 10, 72 6 C 80 2, 88 10, 96 6 C 104 2, 112 10, 120 6' fill='none' stroke='%23a8bfa6' stroke-width='1.2' stroke-linecap='round'/%3E%3C/svg%3E\");
    background-size: 100% 100%, 90px 10px;
    background-repeat: no-repeat, repeat-x;
    background-position: center, var(--wave-x) center;
    border: 1px solid rgba(111, 143, 114, 0.28);
}

.mood-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border: 2px solid #5f8363;
    background: linear-gradient(180deg, #fffef9, #edf4eb);
}

.mood-btn {
    flex: 1;
    border: 1px solid var(--card-border);
    border-radius: 999px;
    padding: 10px 8px;
    background: rgba(255, 255, 255, 0.6);
    color: var(--ink);
    font-weight: 600;
    cursor: pointer;
}

.week-note {
    font-size: 12px;
    color: var(--ink-light);
    margin-top: 2px;
    line-height: 1.4;
}

.landscape-card h3,
.landscape-card .coach-copy,
.landscape-card .week-note,
.landscape-card .mood-scale span,
.landscape-card #today-mood-value,
.landscape-card #today-mood-saved {
    color: #1f1f1b !important;
}

body.dark-mode .landscape-card h3,
body.dark-mode .landscape-card .coach-copy,
body.dark-mode .landscape-card .week-note,
body.dark-mode .landscape-card .mood-scale span,
body.dark-mode .landscape-card #today-mood-value,
body.dark-mode .landscape-card #today-mood-saved {
    color: #edeae3 !important;
}

.chip-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chip-btn {
    border: 1px solid rgba(111, 143, 114, 0.35);
    border-radius: 999px;
    padding: 8px 12px;
    background: rgba(200, 216, 160, 0.32);
    color: #2f4a34;
    cursor: pointer;
    font-size: 14px;
}

.chip-btn.selected {
    background: rgba(141, 176, 132, 0.42);
    border-color: rgba(95, 131, 99, 0.68);
    color: #234126;
    box-shadow: 0 2px 8px rgba(111, 143, 114, 0.22);
}

.scale-pill {
    color: #234126;
    border-width: 1px;
    border-style: solid;
}

.scale-pill.selected {
    background: var(--primary) !important;
    border-color: var(--primary-dark) !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(224, 136, 92, 0.32);
}

.scale-pill-v1 { background: #e8f5df !important; border-color: #c6dec1 !important; }
.scale-pill-v2 { background: #d8edcf !important; border-color: #b3d2ad !important; }
.scale-pill-v3 { background: #c6e4bb !important; border-color: #9ec598 !important; }
.scale-pill-v4 { background: #acd59f !important; border-color: #84b57f !important; }
.scale-pill-v5 { background: #90c487 !important; border-color: #679d64 !important; color: #17371b !important; }

body.dark-mode .scale-pill {
    color: #17371b !important;
}

body.dark-mode .scale-pill-v1 { background: #e8f5df !important; border-color: #c6dec1 !important; }
body.dark-mode .scale-pill-v2 { background: #d8edcf !important; border-color: #b3d2ad !important; }
body.dark-mode .scale-pill-v3 { background: #c6e4bb !important; border-color: #9ec598 !important; }
body.dark-mode .scale-pill-v4 { background: #acd59f !important; border-color: #84b57f !important; }
body.dark-mode .scale-pill-v5 { background: #90c487 !important; border-color: #679d64 !important; color: #17371b !important; }

.scale-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.scale-option {
    border: 1px solid rgba(111, 143, 114, 0.35);
    border-radius: 999px;
    padding: 8px 12px;
    background: rgba(200, 216, 160, 0.32);
    color: #2f4a34;
    cursor: pointer;
    font-size: 14px;
}

.scale-option.selected {
    background: var(--primary);
    border-color: var(--primary-dark);
    color: #fff;
    box-shadow: 0 4px 12px rgba(224, 136, 92, 0.32);
}

body.dark-mode .scale-option {
    color: #1f1f1b !important;
}

.range-slider {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    height: 28px;
    margin: 2px 0 0;
}

.range-row {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--ink-light);
    margin-top: 6px;
}

.range-shell {
    position: relative;
    margin-top: 4px;
}

.range-end-label {
    font-size: 11px;
    color: var(--ink-light);
    font-weight: 700;
    pointer-events: none;
}

.range-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.range-end-label.left { text-align: left; }
.range-end-label.right { text-align: right; }

.range-slider-wrap {
    position: relative;
}

.range-slider-dots {
    margin: 0;
}

.range-track-dots {
    position: absolute;
    left: 11px;
    right: 11px;
    top: 14px;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.range-track-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(111, 143, 114, 0.55);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.range-track-dot.active {
    background: #5e845f;
    border-color: #456e47;
    box-shadow: 0 0 0 3px rgba(111, 143, 114, 0.18);
}

.range-word-row {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 4px;
    margin-top: 8px;
}

.range-word-row span {
    font-size: 10px;
    color: var(--ink-light);
    text-align: center;
    line-height: 1.2;
}

.range-points {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
    margin-top: 8px;
}

.range-point {
    text-align: center;
    border: 1px solid var(--card-border);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.55);
    padding: 5px 4px;
    color: var(--ink-light);
}

.range-point strong {
    display: block;
    font-family: var(--font-display);
    font-size: 16px;
    line-height: 1;
    color: var(--ink);
}

.range-point small {
    display: block;
    margin-top: 2px;
    font-size: 10px;
    line-height: 1.1;
}

.range-point.active {
    border-color: var(--primary);
    background: rgba(224, 136, 92, 0.12);
    box-shadow: 0 2px 8px rgba(224, 136, 92, 0.22);
}

.range-slider:focus {
    outline: none;
}

.range-slider::-webkit-slider-runnable-track {
    height: 10px;
    border-radius: 999px;
    background:
        linear-gradient(90deg, rgba(168, 191, 166, 0.85), rgba(111, 143, 114, 0.95));
    border: 1px solid rgba(111, 143, 114, 0.25);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.08);
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    margin-top: -7px;
    background: linear-gradient(180deg, #fffdf8, #f0ece3);
    border: 2px solid #6f8f72;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    cursor: pointer;
    transition: transform 0.12s ease;
}

.range-slider:active::-webkit-slider-thumb {
    transform: scale(1.06);
}

.range-slider::-moz-range-track {
    height: 10px;
    border-radius: 999px;
    background:
        linear-gradient(90deg, rgba(168, 191, 166, 0.85), rgba(111, 143, 114, 0.95));
    border: 1px solid rgba(111, 143, 114, 0.25);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.08);
}

.range-slider::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(180deg, #fffdf8, #f0ece3);
    border: 2px solid #6f8f72;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    cursor: pointer;
}

body.dark-mode .range-slider::-webkit-slider-runnable-track,
body.dark-mode .range-slider::-moz-range-track {
    border-color: rgba(168, 191, 166, 0.45);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25);
}

body.dark-mode .range-slider::-webkit-slider-thumb,
body.dark-mode .range-slider::-moz-range-thumb {
    background: linear-gradient(180deg, #fffdf8, #f2eee5);
    border-color: #7fa584;
}

.delta-pill {
    margin: 10px 0;
    display: inline-block;
    background: rgba(111, 143, 114, 0.16);
    border: 1px solid rgba(111, 143, 114, 0.35);
    border-radius: 999px;
    padding: 6px 12px;
    font-weight: 700;
}

.mini-path-track {
    margin: 10px 0 12px;
    height: 8px;
    border-radius: 999px;
    background: rgba(111, 143, 114, 0.18);
    overflow: hidden;
}

.mini-path-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #a8bfa6, #6f8f72);
    transition: width 0.5s ease;
}

.growth-map {
    border: 1px dashed rgba(111, 143, 114, 0.35);
}

.growth-map.season-autumn {
    border-color: rgba(186, 126, 95, 0.35);
}

.growth-map.season-winter {
    border-color: rgba(140, 155, 168, 0.35);
}

.growth-milestones {
    margin-top: 10px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.milestone {
    text-align: center;
    color: var(--ink-light);
}

.milestone span {
    width: 16px;
    height: 16px;
    margin: 0 auto 4px;
    border-radius: 999px;
    display: block;
    background: rgba(111, 143, 114, 0.2);
    border: 1px solid rgba(111, 143, 114, 0.3);
}

.milestone.active span {
    background: #6f8f72;
    border-color: #6f8f72;
}

.milestone small {
    font-size: 11px;
}

.stage-bloom.growth-map .milestone.active span {
    background: #d9a58b;
    border-color: #d9a58b;
}

.path-progress {
    height: 10px;
    border-radius: 999px;
    background: rgba(111, 143, 114, 0.2);
    overflow: hidden;
}

.path-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #a8bfa6, #6f8f72);
    border-radius: 999px;
    transition: width 0.5s ease;
}

.theme-toggle {
    width: auto;
    height: auto;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
    padding: 0;
    z-index: 3;
}

body.dark-mode .theme-toggle {
    background: transparent;
}

.theme-toggle-inline {
    position: fixed;
    right: 16px;
    bottom: calc(88px + var(--safe-bottom));
    z-index: 180;
}

.onboarding-overlay {
    position: fixed;
    inset: 0;
    background: rgba(26, 24, 20, 0.48);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 350;
    display: grid;
    place-items: center;
    padding: 18px;
}

.onboarding-card {
    position: relative;
    width: min(760px, 100%);
    max-height: 92vh;
    overflow-y: auto;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 22px;
    padding: 22px;
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.18);
}
