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

        :root {
            --primary: #0d47a1;
            --primary-light: #4f6f8f;
            --accent: #4CAF50;
            --accent-soft: #e8f5e9;
            --bg-light: #f9fafc;
            --card-white: #ffffff;
            --text-dark: #1e2a3a;
            --text-soft: #2c3e50;
            --gray-light: #eef2f6;
            --shadow-sm: 0 8px 20px rgba(0,20,50,0.06);
            --shadow-hover: 0 12px 28px rgba(0,30,70,0.1);
            --radius-card: 20px;
            --radius-input: 14px;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: #e0e8f0;
            color: var(--text-dark);
            line-height: 1.5;
            scroll-behavior: smooth;
        }

        /* Header */
        .site-header {
            background: white;
            box-shadow: 0 4px 16px rgba(0, 20, 40, 0.08);
        }

        .logo-row {
            background: white;
            padding: 0.6rem 2rem;
            border-bottom: 1px solid rgba(13, 71, 161, 0.1);
        }

        .company-logo {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 0.75rem 2rem;
        }

        .logo-group {
            display: flex;
            align-items: center;
            gap: 16px;
        }

        .company-logo img {
            height: 56px;
            width: auto;
            border-radius: 12px;
        }

        .slogan-text {
            font-size: 1.25rem;
            font-weight: 600;
            color: var(--primary);
            background: #e3f2fd;
            padding: 0.4rem 1.4rem;
            border-radius: 40px;
            white-space: nowrap;
        }

        .pro-badge {
            background: linear-gradient(135deg, #ffd700, #ffb347);
            color: #1a237e;
            padding: 0.25rem 1rem;
            border-radius: 50px;
            font-weight: bold;
            font-size: 0.8rem;
            margin-left: 10px;
        }

        .header-cta {
            display: flex;
            gap: 12px;
        }
        .header-cta a {
            background: var(--primary);
            color: white;
            text-decoration: none;
            padding: 0.4rem 1.4rem;
            border-radius: 30px;
            font-weight: 500;
            font-size: 0.95rem;
            transition: 0.2s;
        }
        .header-cta a:hover {
            background: #1565c0;
        }
        .header-cta a.logout-btn {
            background: #dc3545;
        }
        .header-cta a.logout-btn:hover {
            background: #c82333;
        }

        .nav-row {
            background: var(--primary);
            color: white;
        }

        .main-nav {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            padding: 0.1rem 2rem;
        }

        .nav-links {
            display: flex;
            list-style: none;
            flex-wrap: wrap;
            gap: 0.2rem;
        }

        .nav-links li a {
            display: block;
            color: white;
            text-decoration: none;
            padding: 0.4rem 1.2rem;
            font-weight: 500;
            border-radius: 30px;
            transition: background 0.2s;
            font-size: 0.95rem;
        }

        .nav-links li a:hover {
            background: #4CAF50;
        }

        /* MAIN CONTAINER */
        .dashboard-container {
            max-width: 720px;
            margin: 0 auto;
            padding: 2rem;
            background: var(--bg-light);
            border-radius: 24px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.1);
        }

        /* Calendar Styles */
        .calendar-container {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-radius: 24px;
            padding: 1.5rem;
            margin-bottom: 2rem;
            box-shadow: var(--shadow-sm);
        }

        .calendar-header {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            margin-bottom: 1.5rem;
            gap: 0.75rem;
        }

        .calendar-header h2 {
            color: white;
            font-size: 1.3rem;
            margin: 0;
            text-align: center;
            order: 2;
        }

        .current-month {
            font-size: 1.2rem;
            font-weight: 600;
            min-width: 140px;
            text-align: center;
            color: white;
            margin: 0;
            order: 1;
        }

        .month-nav {
            display: flex;
            gap: 0.5rem;
            justify-content: center;
            align-items: center;
            order: 3;
        }

        .month-nav button {
            background: white;
            border: 2px solid #e0e0e0;
            padding: 0.4rem 0.8rem;
            border-radius: 30px;
            cursor: pointer;
            transition: all 0.2s;
            font-size: 1.0rem;
        }

        .month-nav button:hover {
            background: var(--primary);
            color: white;
            border-color: var(--primary);
        }

        .calendar-weekdays {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            text-align: center;
            padding: 0.5rem 0;
            background: #f0f4f8;
            border-radius: 12px;
            margin-bottom: 0.5rem;
            font-weight: 600;
            font-size: 0.85rem;
        }

        .calendar-days {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            gap: 4px;
        }

        .calendar-day {
            min-height: 70px;
            border: 1px solid #b8dbe9;
            border-radius: 10px;
            padding: 0.5rem;
            cursor: pointer;
            transition: all 0.2s;
            position: relative;
            background: #e8f4f8;
            color: #01579b;
        }

        .calendar-day:hover {
            background: #b8dbe9;
            border-color: #0288d1;
            transform: scale(1.02);
        }

        .calendar-day.other-month {
            background: #f0f8ff;
            color: #90caf9;
            border-color: #cce4f0;
        }

        .calendar-day.today:not(.selected) {
            background: #b3e5fc;
            border: 2px solid #0288d1;
        }

        .calendar-day.today:not(.selected) .day-number {
            font-weight: bold;
            color: #01579b;
        }

        .calendar-day.selected {
            background: linear-gradient(135deg, #0288d1, #01579b);
            border: 2px solid #01579b;
            transform: scale(1.02);
            box-shadow: 0 4px 12px rgba(2, 136, 209, 0.4);
        }

        .calendar-day.selected .day-number {
            color: white;
            font-weight: bold;
        }

        .calendar-day.selected.today {
            background: linear-gradient(135deg, #0288d1, #01579b);
            border: 2px solid #01579b;
        }

        .selected-word {
            position: absolute;
            bottom: 2px;
            left: 0;
            right: 0;
            text-align: center;
            font-size: 0.6rem;
            color: white;
            font-weight: bold;
            background: rgba(0,0,0,0.3);
            border-radius: 10px;
            margin: 0 4px;
            padding: 1px 0;
        }

        .day-number {
            font-weight: 600;
            font-size: 0.85rem;
        }

        .dream-indicator {
            position: absolute;
            bottom: 4px;
            right: 4px;
            width: 10px;
            height: 10px;
            background: #4CAF50;
            border-radius: 50%;
            box-shadow: 0 0 2px rgba(0,0,0,0.3);
        }

        .calendar-day.other-month .dream-indicator {
            background: #FF9800;
            opacity: 0.5;
        }

        /* Style Badges */
        .style-badge-jungian {
            background: #0d47a1;
            color: white;
            padding: 0.2rem 0.8rem;
            border-radius: 20px;
            font-size: 1.1rem;
            font-weight: 500;
            display: inline-block;
        }

        .style-badge-freudian {
            background: #c62828;
            color: white;
            padding: 0.2rem 0.8rem;
            border-radius: 20px;
            font-size: 1.1rem;
            font-weight: 500;
            display: inline-block;
        }

        .style-badge-modern {
            background: #2e7d32;
            color: white;
            padding: 0.2rem 0.8rem;
            border-radius: 20px;
            font-size: 1.1rem;
            font-weight: 500;
            display: inline-block;
        }

        .style-badge-spiritual {
            background: #6a1b9a;
            color: white;
            padding: 0.2rem 0.8rem;
            border-radius: 20px;
            font-size: 1.1rem;
            font-weight: 500;
            display: inline-block;
        }

        /* Stats Row */
        .stats-row {
            display: flex;
            gap: 1.1rem;
            margin-bottom: 1.5rem;
            flex-wrap: wrap;
            justify-content: center;
        }

        .stat-card {
            background: white;
            padding: 0.75rem 1.25rem;
            border-radius: 16px;
            display: flex;
            align-items: baseline;
            gap: 8px;
            box-shadow: var(--shadow-sm);
        }

        .stat-number {
            font-size: 1.3rem;
            font-weight: bold;
            color: var(--primary);
        }

        .stat-label {
            color: #666;
            font-size: 1.1rem;
        }

 /* =============================================
   DREAM INTERPRETATION DISPLAY STYLES
   ============================================= */

/* Action Buttons Container */
.dream-action-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

/* Back Button */
.btn-back {
    background: #0d47a1;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-back:hover {
    background: #1565c0;
    transform: translateY(-2px);
}

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

/* Copy Button */
.btn-copy-interpretation {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-copy-interpretation:hover {
    background: #388E3C;
    transform: translateY(-2px);
}

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

.btn-copy-interpretation.copied {
    background: #2e7d32;
}

/* Dream Meta Container */
.dream-meta-container {
    margin-bottom: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

/* Emotion Badge */
.emotion-badge {
    background: #f0f0f0;
    color: #666;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

/* No Symbols Message */
.no-symbols-message {
    background: #f0f4f8;
    padding: 15px;
    border-radius: 12px;
    margin: 20px 0;
    text-align: center;
    color: #666;
}

/* Symbol Card Content */
.symbol-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.symbol-icon {
    font-weight: bold;
    color: #0d47a1;
    font-size: 1.1rem;
}

.symbol-meaning-text {
    color: #555;
    margin-top: 8px;
    font-size: 1.1rem;
}

       /* Dream Interpretation Display */
        .dream-interpretation {
            background: white;
            border-radius: 24px;
            padding: 1.5rem;
            box-shadow: var(--shadow-sm);
        }

        .dream-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 1rem;
            margin-bottom: 1rem;
            padding-bottom: 1rem;
            border-bottom: 2px solid #e0e0e0;
        }

        .dream-header h3 {
            color: var(--primary);
            font-size: 1.2rem;
        }

        .dream-meta-item {
            background: #f0f0f0;
            padding: 0.25rem 0.7rem;
            border-radius: 20px;
            font-size: 0.75rem;
        }

        .dream-text-box {
            background: #e8f0fe;
            padding: 1rem;
            border-radius: 16px;
            margin: 1rem 0;
            font-size: 1.2rem;
            font-style: italic;
            border-left: 4px solid var(--primary);
        }

        .core-theme-box {
            background: linear-gradient(135deg, #0d47a1 0%, #1565c0 100%);
            padding: 1.25rem;
            border-radius: 16px;
            margin: 1rem 0;
            color: white;
            text-align: left;
        }

        .core-theme-box h4 {
            margin-bottom: 0.5rem;
            font-size: 1.2rem;
        }

        .core-theme-box p {
            font-size: 1.2rem;
            font-style: italic;
        }

        .symbols-list {
            margin: 1rem 0;
        }

        .symbols-list h4 {
            color: #0d47a1;
            margin-bottom: 15px;
            font-size: 1.2rem;
        }

        .symbol-card {
            background: #f8f9ff;
            padding: 0.75rem;
            border-radius: 10px;
            margin-bottom: 0.75rem;
            border-left: 4px solid #0d47a1;
        }

        .wisdom-box {
            background: #fff8e7;
            padding: 1rem;
            border-radius: 16px;
            margin: 1rem 0;
            border-left: 4px solid #ffb74d;
        }

        .wisdom-box h4 {
            color: #0d47a1;
            margin-bottom: 0.5rem;
            font-size: 1.2rem;
        }

        .wisdom-box p {
            font-size: 1.2rem;
            font-style: italic;
        }


/* =============================================
   DREAM LIST DISPLAY STYLES
   ============================================= */

/* Dream List Info Text */
.dream-list-info {
    color: #666;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

/* Dream List Container */
.dream-list-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Dream List Item */
.dream-list-item {
    padding: 1rem;
    border-radius: 12px;
    cursor: pointer;
    border-left: 4px solid var(--primary);
    transition: all 0.2s ease;
    background: #f8f9fa;
}

.dream-list-item:hover {
    transform: translateX(5px);
}

.dream-list-item:active {
    transform: scale(0.99);
}

/* Dream List Item Header */
.dream-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

/* Dream List Title Group */
.dream-list-title-group {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

/* Dream List Title */
.dream-list-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #0d47a1;
}

/* Dream List Style Badge (overrides) */
.dream-list-item .style-badge-jungian,
.dream-list-item .style-badge-freudian,
.dream-list-item .style-badge-modern,
.dream-list-item .style-badge-spiritual {
    font-size: 1.2rem;
    padding: 0.2rem 0.7rem;
}

/* Dream List Emotion Badge */
.dream-list-emotion {
    background: #f0f0f0;
    color: #666;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 1.2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

/* Dream List Core Theme */
.dream-list-theme {
    font-size: 1.2rem;
    margin-top: 0.25rem;
    color: #0d47a1;
}

.dream-list-theme .theme-icon {
    margin-right: 4px;
}

/* =============================================
   SELECTED DATE BADGE
   ============================================= */
.selected-date-badge {
    background: #0d47a1;
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 30px;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
}

        .loading-spinner {
            text-align: center;
            padding: 2rem;
        }

        .spinner {
            width: 30px;
            height: 30px;
            border: 3px solid #e0e0e0;
            border-top-color: var(--primary);
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin: 0 auto 0.5rem;
        }

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

        .empty-dream {
            text-align: center;
            padding: 2rem;
            color: #333;
        }

        .empty-dream .icon {
            font-size: 2.5rem;
            margin-bottom: 0.5rem;
        }

        .dream-list-item {
            background: #f8f9fa;
            padding: 1rem;
            border-radius: 12px;
            cursor: pointer;
            border-left: 4px solid #0d47a1;
            transition: all 0.2s;
        }

        .footer {
            text-align: center;
            padding: 1.5rem;
            color: #666;
            font-size: 0.75rem;
            border-top: 1px solid #e0e0e0;
            background: white;
            margin-top: 2rem;
        }

        /* Mobile */
 @media (max-width: 768px) {
    body { padding-top: 0; }
    .site-header { position: relative; top: auto; left: auto; width: 100%; box-shadow: 0 2px 8px rgba(0, 20, 40, 0.05); }
    .logo-row { padding: 0.5rem 0.9rem; }
    .main-nav { padding: 0.2rem 0.9rem; }
    .company-logo { display: flex; justify-content: space-between; align-items: center; width: 100%; gap: 0.5rem; }
    .logo-group { flex: 0 0 auto; display: flex; align-items: center; gap: 10px; }
    .company-logo img { height: 42px; }
    .slogan-text { display: none; }
    .header-cta { display: flex; flex-direction: column; gap: 6px; margin-left: auto; flex: 0 0 auto; }
    .header-cta a { padding: 0.25rem 1rem; font-size: 0.85rem; text-align: center; min-width: 70px; display: block; }
    .nav-row { position: relative; }
    .main-nav { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
    .nav-links { display: flex; overflow-x: auto; white-space: nowrap; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; padding-bottom: 2px; flex: 1; gap: 0.25rem; }
    .nav-links li a { padding: 0.4rem 1.1rem; font-size: 1rem; white-space: nowrap; }
    .logo-group .pro-badge { display: none; }

    .dashboard-container {
        max-width: 100% !important;
        padding: 0.5rem !important;
        margin: 0 !important;
        border-radius: 0 !important;
    }

    .calendar-container {
        width: 100%;
        margin: 0 0 1rem 0;
        padding: 0.75rem;
        border-radius: 16px;
        overflow-x: auto;
    }

    .calendar-header {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        margin-bottom: 1rem;
    }

    /* LARGER BUTTONS FOR MOBILE */
    .month-nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.75rem;
        width: 100%;
        margin-top: 0.25rem;
    }

    .month-nav button {
        padding: 0.7rem 1.0rem;
        font-size: 1.0rem;
        font-weight: 600;
        white-space: nowrap;
        flex: 0 0 auto;
        min-width: 85px;
        background: white;
        border: none;
        border-radius: 50px;
        color: #0d47a1;
        cursor: pointer;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        transition: all 0.2s ease;
    }

    .month-nav button:active {
        transform: scale(0.96);
        background: #0d47a1;
        color: white;
    }

    .current-month {
        font-size: 1.1rem;
        min-width: auto;
        order: 0;
        width: 100%;
        text-align: center;
        margin-bottom: 0;
    }

    .calendar-days {
        gap: 6px;
    }

    .calendar-day {
        min-height: 70px;
        cursor: pointer;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
    }

    .day-number {
        font-size: 1.1rem !important;
        font-weight: 700;
        margin-bottom: 4px;
    }

    .dream-indicator {
        width: 9px !important;
        height: 9px !important;
        bottom: 3px;
        right: 3px;
    }

    .calendar-day.other-month .day-number {
        opacity: 0.5;
        font-weight: normal;
    }

    .calendar-day.selected {
        background: linear-gradient(135deg, #0d47a1, #1565c0);
    }

    .calendar-day.selected .day-number {
        color: white;
        font-size: 1.2rem;
    }

    .selected-word {
        font-size: 0.55rem;
        padding: 1px 4px;
        bottom: 2px;
        background: rgba(0,0,0,0.4);
    }

    .calendar-weekdays span {
        font-size: 0.85rem;
        font-weight: 600;
    }

    .stats-row {
        display: flex;
        flex-direction: row !important;
        justify-content: center;
        gap: 1rem;
        margin-bottom: 1.5rem;
        flex-wrap: wrap;
    }

    .stat-card {
        flex: 1;
        min-width: 100px;
        text-align: center;
        padding: 0.75rem 1rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
    }

    .stat-number {
        font-size: 1.2rem !important;
        font-weight: bold;
        color: var(--primary);
    }

    .stat-label {
        font-size: 1.2rem;
        color: #666;
        font-weight: 500;
    }

    .dream-header h3 { font-size: 1.1rem; }
    .dream-interpretation { padding: 1rem; }
    .dream-meta-item { font-size: 1rem; }
    .empty-dream { text-align: left; }
    .footer { font-size: 0.9rem; }

    .btn-back,
    .btn-copy-interpretation {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .symbol-icon {
        font-size: 1.2rem;
    }
    
    .symbol-meaning-text {
        font-size: 1.2rem;
    }

    .dream-list-info {
        font-size: 1rem;
    }
    
    .dream-list-title {
        font-size: 1rem;
    }
    
    .dream-list-item {
        padding: 0.75rem;
    }
    
    .dream-list-item .style-badge-jungian,
    .dream-list-item .style-badge-freudian,
    .dream-list-item .style-badge-modern,
    .dream-list-item .style-badge-spiritual {
        font-size: 1rem;
        padding: 0.15rem 0.5rem;
    }
    
    .dream-list-emotion {
        font-size: 1rem;
        padding: 0.15rem 0.5rem;
    }
    
    .dream-list-theme {
        font-size: 1rem;
    }



    			/* ==================================================================
       			SAFARI-ONLY OVERRIDES (Android Chrome ignores this entirely)
       		================================================================== */
 
    			@supports (-webkit-hyphens:none) {
				html {
        				font-size: 22px !important; /* Slightly scales up layout elements on dense screens, rendering 					identically to Android font-boosting */
    				}
    
    				body {
        				font-size: 22px !important;
    				}

        			/* Scale up the image height slightly on Safari to match the visual look */
        			.company-logo img { 
            			height: 52px !important; 
        			}

       			/* Scale up the CTA button text and tap padding targets for iOS Safari */
       			 	.header-cta a {
            				font-size: 0.8rem !important;      /* Bumps font from 0.8rem up */
            				padding: 0.4rem 1.1rem !important;  /* Bumps padding from 0.25rem up */
        			}

				.month-nav button {    
					padding: 0.2rem 0.5rem !important;
    					font-size: 0.65rem !important;
    					min-width: 48px !important;
				}

				.selected-date-badge {font-size: 0.85rem;}
				.stat-label {
    					font-size: 0.9rem !important;
				}


			}

/* =============================================
   ANDROID-SPECIFIC COMPACT STYLES
   ============================================= */
.android-device .calendar-day {
    min-height: 45px !important;
    padding: 0.1rem 0.05rem !important;
    border-radius: 4px !important;
}

.android-device .day-number {
    font-size: 0.8rem !important;
    font-weight: 500 !important;
}

.android-device .calendar-weekdays span {
    font-size: 0.65rem !important;
    font-weight: 600 !important;
}

.android-device .calendar-day.selected .day-number {
    font-size: 0.7rem !important;
}

.android-device .dream-indicator {
    width: 4px !important;
    height: 4px !important;
    bottom: 1px !important;
    right: 1px !important;
}

.android-device .month-nav button {
    padding: 0.2rem 0.5rem !important;
    font-size: 0.65rem !important;
    min-width: 48px !important;
}

.android-device .calendar-container {
    padding: 0.4rem !important;
    border-radius: 12px !important;
}

.android-device .calendar-days {
    gap: 2px !important;
}

.android-device .calendar-header h2 {
    font-size: 1.1rem !important;
}

.android-device .current-month {
    font-size: 1rem !important;
}

.android-device .selected-word {
    font-size: 0.3rem !important;
    padding: 1px 2px !important;
    bottom: 0px !important;
    border-radius: 2px !important;
}

.android-device .calendar-weekdays {
    padding: 0.1rem 0 !important;
    margin-bottom: 0.15rem !important;
    border-radius: 6px !important;
}

.android-device .calendar-day.today:not(.selected) {
    border-width: 1.5px !important;
}

.android-device .stat-card {
    padding: 0.3rem 0.6rem !important;
    min-width: 70px !important;
}

.android-device .stat-number {
    font-size: 0.9rem !important;
}

.android-device .stat-label {
    font-size: 0.9rem !important;
}

   .android-device .dream-indicator {
        width: 8px !important;
        height: 8px !important;
        bottom: 3px;
        right: 3px;
    }

.android-device .month-nav button {
    padding: 0.2rem 0.5rem !important;
    font-size: 0.75rem !important;
    min-width: 48px !important;
    border-width: 1px !important;
}

.android-device .month-nav button.today-btn {
    min-width: 55px !important;
}

.android-device .month-nav {
    gap: 0.5rem !important;
}

.android-device .btn-back,
.android-device .btn-copy-interpretation {
    padding: 0.3rem 0.6rem !important;
    font-size: 0.75rem !important;
}

.android-device .emotion-badge {
    font-size: 0.9rem !important;
    padding: 0.2rem 0.6rem !important;
}

/* Android compact */
.android-device .dream-list-item {
    padding: 0.6rem !important;
}

.android-device .dream-list-title {
    font-size: 0.9rem !important;
}

.android-device .dream-list-item .style-badge-jungian,
.android-device .dream-list-item .style-badge-freudian,
.android-device .dream-list-item .style-badge-modern,
.android-device .dream-list-item .style-badge-spiritual {
    font-size: 0.85rem !important;
    padding: 0.1rem 0.4rem !important;
}

.android-device .dream-list-emotion {
    font-size: 0.85rem !important;
    padding: 0.1rem 0.4rem !important;
}

.android-device .dream-list-theme {
    font-size: 0.85rem !important;
}

.android-device .dream-list-info {
    font-size: 0.9rem !important;
}
.android-device .style-badge-jungian {font-size: 0.8rem;}
.android-device .style-badge-freudian {font-size: 0.8rem;}
.android-device .style-badge-modern {font-size: 0.8rem;}
.android-device .style-badge-spiritual {font-size: 0.8rem;}



}

        @media (max-width: 550px) {
            .calendar-day { min-height: 45px; }
            .day-number { font-size: 0.6rem; }
            .selected-word { font-size: 0.5rem; }
        }

        @media (max-width: 480px) {
            .calendar-day {
                min-height: 55px;
                padding: 0.4rem 0.2rem;
            }
    
            .day-number {
                font-size: 1rem !important;
            }
    
            .calendar-day.selected .day-number {
                font-size: 1.1rem;
            }
    
             .selected-word {
                font-size: 0.5rem;
                padding: 1px 3px;
            }

            .stat-card {
                min-width: 85px;
                padding: 0.5rem 0.75rem;
            }
        }

        /* Copy button success animation */
        .copy-success {
            background: #2e7d32 !important;
            transition: background 0.2s;
        }

