@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700&family=Source+Sans+3:wght@400;500;600&display=swap');

:root {
    --sand: #f7efe6;
    --sand-deep: #efe4d7;
    --cream: #fff9f2;
    --clay: #c86a3a;
    --clay-dark: #a4512a;
    --earth: #5a3b2e;
    --coffee: #3e2a21;
    --olive: #4e6248;
    --gold: #d7a455;
    --ink: #2a201b;
    --muted: #6e5a4e;
    --border: rgba(90, 59, 46, 0.14);
    --shadow: 0 12px 28px rgba(62, 42, 33, 0.12);
    --card: #fff6ec;
    --card-soft: #fdf2e7;
    --purple: #7b2ff7;
    --purple-soft: rgba(123, 47, 247, 0.2);
    --accent-gradient: linear-gradient(135deg, rgba(200, 106, 58, 0.28), rgba(123, 47, 247, 0.18), rgba(78, 98, 72, 0.25));
    --font-body: 'Source Sans 3', system-ui, -apple-system, sans-serif;
    --font-display: 'Playfair Display', 'Times New Roman', serif;
}

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

body {
    font-family: var(--font-body);
    background: radial-gradient(1200px 500px at 10% -10%, #fff7ed 0%, var(--sand) 45%, var(--sand-deep) 100%);
    color: var(--ink);
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
}

.app {
    position: relative;
    z-index: 1;
    padding-bottom: 90px;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        repeating-linear-gradient(135deg, rgba(90, 59, 46, 0.05) 0 1px, transparent 1px 18px),
        repeating-linear-gradient(45deg, rgba(200, 106, 58, 0.04) 0 1px, transparent 1px 24px);
    opacity: 0.6;
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 420px;
    margin: 0 auto;
    padding: 18px;
}

.scroll-row {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 12px;
    margin-bottom: 32px;
}

.scroll-row::-webkit-scrollbar {
    display: none;
}

/* ===========================
   COMMON UI ELEMENTS
   =========================== */

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

.header h1 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    color: var(--coffee);
}

.back-arrow,
.back {
    font-size: 20px;
    color: var(--earth);
}

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 16px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

.section-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 14px;
    color: var(--coffee);
}

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

.eyebrow {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: rgba(62, 42, 33, 0.55);
    margin-bottom: 6px;
}

.empty-card {
    background: var(--card-soft);
    border: 1px dashed rgba(90, 59, 46, 0.25);
}

/* ===========================
   BUTTONS
   =========================== */

.btn {
    flex: 1;
    padding: 12px 14px;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.01em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background: var(--clay);
    color: #fffaf4;
    box-shadow: 0 8px 16px rgba(200, 106, 58, 0.25);
}

.btn-primary:hover {
    background: var(--clay-dark);
}

.btn-secondary {
    background: #fff2e6;
    color: var(--earth);
    border: 1px solid rgba(200, 106, 58, 0.25);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ===========================
   BOTTOM NAV
   =========================== */

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 248, 238, 0.95);
    border-top: 1px solid rgba(90, 59, 46, 0.15);
    display: flex;
    justify-content: space-around;
    padding: 14px 0;
    backdrop-filter: blur(8px);
    color: var(--muted);
}

.bottom-nav .nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--muted);
    opacity: 0.8;
    min-width: 64px;
}

.bottom-nav .nav-link .nav-icon {
    width: 28px;
    height: 28px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(90, 59, 46, 0.08);
    color: var(--earth);
    font-size: 13px;
}

.bottom-nav .nav-link.active {
    opacity: 1;
    font-weight: 600;
    color: var(--purple);
}

.bottom-nav .nav-link.active .nav-icon {
    background: rgba(123, 47, 247, 0.16);
    color: var(--purple);
    box-shadow: 0 6px 12px rgba(123, 47, 247, 0.18);
}

/* ===========================
   HOME / DEVOTIONAL
   =========================== */

.countdown {
    display: flex;
    justify-content: space-between;
    text-align: center;
}

.count-item strong {
    font-size: 20px;
    display: block;
}

.count-item span {
    font-size: 12px;
    opacity: 0.8;
}

.image-placeholder {
    background: rgba(90, 59, 46, 0.1);
    height: 140px;
    border-radius: 12px;
    margin: 12px 0;
}

.actions {
    display: flex;
    gap: 10px;
}

.streak-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
}

.streak-card strong {
    font-size: 28px;
}

.streak-card span {
    color: var(--muted);
}

.reminder-card {
    border-left: 4px solid var(--gold);
    background: rgba(215, 164, 85, 0.15);
}

/* ===========================
   AUTH SCREENS
   =========================== */

.auth-container {
    max-width: 420px;
    margin: 0 auto;
    padding: 48px 20px 60px;
    text-align: center;
}

.logo-circle {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, #cc7a43, #f2c37f, #9b7ef7);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    color: #fffaf4;
    box-shadow: 0 10px 18px rgba(200, 106, 58, 0.25);
}

.auth-title {
    font-family: var(--font-display);
    font-size: 28px;
    margin-bottom: 8px;
    color: var(--coffee);
}

.auth-subtitle {
    color: var(--muted);
    margin-bottom: 32px;
}

.auth-field {
    margin-bottom: 20px;
    text-align: left;
}

.auth-field label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    color: var(--muted);
}

.auth-field input,
.auth-field select {
    width: 100%;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: #fffaf4;
    color: var(--ink);
}

.auth-error {
    color: #b54b2f;
    margin-bottom: 16px;
    font-size: 14px;
}

.auth-form {
    display: grid;
    gap: 12px;
}

.password-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding-right: 12px;
    background: #fffaf4;
}

.password-wrapper input {
    border: none;
    background: transparent;
    flex: 1;
    padding: 14px 16px;
}

.password-wrapper .eye {
    opacity: 0.6;
    font-size: 14px;
}

.auth-forgot {
    text-align: right;
    margin-top: -8px;
}

.auth-forgot a {
    font-size: 13px;
    color: var(--earth);
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 24px 0;
    color: var(--muted);
    font-size: 13px;
}

.auth-divider span {
    flex: 1;
    height: 1px;
    background: rgba(90, 59, 46, 0.2);
}

.auth-social {
    display: grid;
    gap: 12px;
}

.social-btn {
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(90, 59, 46, 0.2);
    background: #fffaf4;
    color: var(--earth);
    font-weight: 600;
}

.auth-footer {
    margin-top: 24px;
    color: var(--muted);
}

.auth-footer a {
    color: var(--clay);
    font-weight: 600;
}

/* =================================================
   MUSIC
   ================================================= */

.music-page {
    padding-bottom: 96px;
}

.music-page .music-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.music-page .music-header h1 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
}

.music-page .back-arrow {
    font-size: 20px;
    text-decoration: none;
    color: var(--earth);
}

.music-page .music-search {
    margin-bottom: 28px;
}

.music-page .music-search input {
    width: 100%;
    height: 52px;
    padding: 0 16px;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: #fffaf4;
    font-size: 15px;
    color: var(--ink);
}

.music-page .scroll-row {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 12px;
    margin-bottom: 32px;
}

.music-page .scroll-row::-webkit-scrollbar {
    display: none;
}

.music-page .mood-chip {
    padding: 10px 18px;
    border-radius: 22px;
    font-size: 14px;
    font-weight: 500;
    background: rgba(200, 106, 58, 0.1);
    white-space: nowrap;
    color: var(--earth);
    text-decoration: none;
    border: 1px solid rgba(200, 106, 58, 0.2);
}

.music-page .mood-chip.active {
    background: rgba(200, 106, 58, 0.2);
    color: var(--coffee);
}

.music-page .playlist-card-wrapper {
    position: relative;
    min-width: 160px;
}

.music-page .playlist-card {
    text-decoration: none;
    color: inherit;
}

.music-page .playlist-image {
    width: 160px;
    height: 160px;
    border-radius: 18px;
    background-size: cover;
    background-position: center;
    background-image: linear-gradient(135deg, rgba(200, 106, 58, 0.35), rgba(78, 98, 72, 0.3));
    border: 1px solid rgba(90, 59, 46, 0.12);
}

.music-page .playlist-card p {
    margin-top: 10px;
    font-size: 14px;
}

.music-page .heart-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 250, 244, 0.9);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(90, 59, 46, 0.15);
    font-size: 16px;
    color: var(--clay);
    cursor: pointer;
}

.music-page .music-action-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border-radius: 18px;
    background: var(--card);
    margin-bottom: 14px;
    text-decoration: none;
    color: var(--ink);
    border: 1px solid var(--border);
}

.music-page .music-action-row .left-icon {
    font-size: 18px;
    margin-right: 12px;
}

.music-page .music-action-row .action-text {
    flex: 1;
    font-weight: 500;
}

.music-page .music-action-row .right-arrow {
    opacity: 0.6;
}

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

.music-card .music-action audio {
    border-radius: 12px;
    border: 1px solid rgba(90, 59, 46, 0.15);
}

/* =================================================
   DEVOTIONALS LIST
   ================================================= */

.devotionals-page {
    padding-bottom: 96px;
}

.devotionals-page .devotionals-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.devotionals-page .devotionals-header h1 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
}

.devotionals-page .back-arrow {
    font-size: 20px;
    text-decoration: none;
    color: var(--earth);
}

.devotionals-page .series-card {
    background: var(--card);
    border-radius: 18px;
    padding: 18px;
    margin-bottom: 24px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.devotionals-page .series-card .label {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 4px;
}

.devotionals-page .series-card h2 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
}

.devotionals-page .devotional-list {
    margin-top: 8px;
}

.devotionals-page .devotional-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid rgba(90, 59, 46, 0.12);
    text-decoration: none;
    color: var(--ink);
}

.devotionals-page .devotional-item:last-child {
    border-bottom: none;
}

.devotionals-page .devotional-date {
    width: 52px;
    text-align: center;
}

.devotionals-page .devotional-date strong {
    font-size: 18px;
    display: block;
}

.devotionals-page .devotional-date span {
    font-size: 11px;
    color: var(--muted);
}

.devotionals-page .devotional-info {
    flex: 1;
    padding-left: 16px;
}

.devotionals-page .devotional-info h3 {
    font-size: 15px;
    font-weight: 500;
}

.devotionals-page .devotional-item.today h3 {
    font-weight: 600;
}

.devotionals-page .devotional-item.future {
    opacity: 0.5;
    pointer-events: none;
}

/* =================================================
   DEVOTIONAL READ
   ================================================= */

.devotional-read-page {
    padding-bottom: 96px;
}

.devotional-read-page .read-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 16px 8px;
}

.devotional-read-page .read-header h1 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    flex: 1;
}

.devotional-read-page .read-header .icon-btn {
    width: 36px;
    text-align: center;
    font-size: 18px;
    color: var(--earth);
}

.devotional-read-page .hero-image {
    height: 220px;
    margin: 12px 16px 0;
    border-radius: 16px;
    background-size: cover;
    background-position: center;
    background-image: var(--accent-gradient);
    border: 1px solid rgba(90, 59, 46, 0.12);
}

.devotional-read-page .read-title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    padding: 20px 16px 8px;
}

.devotional-read-page .read-text {
    font-size: 15px;
    line-height: 1.65;
    color: var(--ink);
    padding: 0 16px 12px;
}

.devotional-read-page .section-header {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    padding: 20px 16px 8px;
}

.devotional-read-page .song-btn-wrapper {
    padding: 16px;
}

.devotional-read-page .song-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--clay);
    color: #fffaf4;
    padding: 12px 16px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

.devotional-read-page .mark-read-btn {
    width: 100%;
    background: #fff2e6;
    color: var(--earth);
    padding: 12px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid rgba(200, 106, 58, 0.25);
    margin-bottom: 12px;
    cursor: pointer;
}

.devotional-read-page .completed-indicator {
    width: 100%;
    text-align: center;
    background: rgba(78, 98, 72, 0.12);
    color: var(--olive);
    padding: 12px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
}

/* =================================================
   HOME
   ================================================= */

.home-page {
    padding-bottom: 96px;
}

.prayer-page,
.worship-page,
.reflection-page,
.journal-page,
.alarms-page,
.profile-page,
.playlist-create-page {
    padding-bottom: 96px;
}

.home-page .home-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.home-page .home-header h1 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
}

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

.profile-pill {
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(123, 47, 247, 0.25);
    background: rgba(123, 47, 247, 0.12);
    color: var(--purple);
}

.profile-icon {
    width: 32px;
    height: 32px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(123, 47, 247, 0.12);
    color: var(--purple);
    border: 1px solid rgba(123, 47, 247, 0.2);
    font-size: 12px;
}

.alarm-chip {
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(90, 59, 46, 0.2);
    background: #fff8f0;
    color: var(--muted);
}

.alarm-chip.on {
    background: rgba(78, 98, 72, 0.12);
    color: var(--olive);
    border-color: rgba(78, 98, 72, 0.25);
}

.home-page .streak-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-radius: 20px;
    background: var(--card);
    border: 1px solid var(--border);
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

.home-page .streak-card strong {
    font-size: 32px;
    font-family: var(--font-display);
}

.home-page .streak-card span {
    color: var(--muted);
}

.streak-inline {
    display: flex;
    align-items: center;
    gap: 12px;
}

.streak-left {
    display: inline-flex;
    align-items: baseline;
    gap: 10px;
}

.streak-left span {
    font-size: 14px;
}

.streak-note {
    margin-left: auto;
    font-size: 12px;
    color: var(--olive);
    background: rgba(78, 98, 72, 0.12);
    border: 1px solid rgba(78, 98, 72, 0.25);
    padding: 6px 10px;
    border-radius: 999px;
    white-space: nowrap;
}

.tooltip {
    position: relative;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 1px solid rgba(123, 47, 247, 0.25);
    background: rgba(123, 47, 247, 0.12);
    color: var(--purple);
    font-weight: 600;
    cursor: pointer;
}

.tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 8px);
    right: 0;
    width: 220px;
    background: #fffaf4;
    color: var(--earth);
    border: 1px solid rgba(90, 59, 46, 0.2);
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 12px;
    line-height: 1.4;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 10;
}

.tooltip:hover::after,
.tooltip:focus::after {
    opacity: 1;
    transform: translateY(0);
}

.home-page .reminder-card {
    background: rgba(215, 164, 85, 0.15);
    border-left: 4px solid var(--gold);
    padding: 16px;
    border-radius: 16px;
    margin-bottom: 20px;
}

.home-page .hero-card {
    background: var(--card);
    border-radius: 22px;
    padding: 18px;
    margin-bottom: 28px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.home-page .hero-label {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 4px;
}

.home-page .hero-card h2 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--coffee);
}

.home-page .hero-subtitle {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 12px;
}

.home-page .hero-image {
    height: 160px;
    border-radius: 16px;
    margin-bottom: 14px;
    background-size: cover;
    background-position: center;
    background-image: var(--accent-gradient);
    border: 1px solid rgba(90, 59, 46, 0.12);
}

.home-page .hero-actions {
    display: flex;
    gap: 10px;
}

.home-page .journey-card {
    background: var(--card);
    border-radius: 22px;
    padding: 18px;
    margin-bottom: 28px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.home-page .section-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}

.home-page .section-card {
    background: var(--card);
    border-radius: 16px;
    padding: 12px;
    border: 1px solid var(--border);
    display: grid;
    gap: 8px;
    min-height: 92px;
    box-shadow: var(--shadow);
}

.home-page .section-card span {
    font-size: 12px;
    color: var(--muted);
}

.home-page .section-card strong {
    font-family: var(--font-display);
    font-size: 16px;
}

.home-page .section-card .section-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(200, 106, 58, 0.15);
    color: var(--clay);
    font-weight: 600;
    font-size: 12px;
}

.home-page .playlist-row {
    display: flex;
    gap: 14px;
    overflow-x: auto;
}

.home-page .playlist-row::-webkit-scrollbar {
    display: none;
}

.home-page .playlist-pill {
    min-width: 120px;
    height: 80px;
    border-radius: 16px;
    background: var(--card);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    color: var(--earth);
}

@media (max-width: 360px) {
    .home-page .section-grid {
        grid-template-columns: 1fr;
    }
}

/* =================================================
   SHARED PAGE ELEMENTS
   ================================================= */

.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
}

.page-header h1 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    color: var(--coffee);
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 8px;
}

.dot {
    opacity: 0.5;
}

.lead-text {
    font-size: 15px;
    line-height: 1.6;
    color: var(--ink);
}

.pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(123, 47, 247, 0.12);
    color: var(--purple);
    font-size: 12px;
    border: 1px solid rgba(123, 47, 247, 0.2);
}

.list-card h3 {
    font-family: var(--font-display);
    font-size: 16px;
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.list {
    list-style: none;
    display: grid;
    gap: 10px;
}

.list li {
    padding: 10px 12px;
    border-radius: 12px;
    background: #fffaf4;
    border: 1px solid var(--border);
    color: var(--earth);
}

.hero-actions {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.list-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

/* =================================================
   PRAYER PAGE
   ================================================= */

.prayer-hero h2 {
    font-family: var(--font-display);
    margin-bottom: 8px;
}

/* =================================================
   WORSHIP PAGE
   ================================================= */

.worship-hero h2 {
    font-family: var(--font-display);
    margin-bottom: 10px;
}

.song-block {
    background: #fffaf4;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 12px;
    margin-bottom: 16px;
}

.song-block audio {
    width: 100%;
    margin-top: 8px;
    border-radius: 10px;
    border: 1px solid rgba(90, 59, 46, 0.15);
}

.playlist-of-day h3 {
    font-family: var(--font-display);
    margin-bottom: 8px;
}

.pill-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.mini-card {
    min-width: 160px;
    border-radius: 16px;
    padding: 12px;
    background: var(--card);
    border: 1px solid var(--border);
    display: grid;
    gap: 10px;
    color: var(--ink);
    box-shadow: var(--shadow);
}

.mini-thumb {
    width: 100%;
    height: 120px;
    border-radius: 12px;
    background: var(--accent-gradient);
    border: 1px solid rgba(90, 59, 46, 0.12);
}

/* =================================================
   REFLECTION PAGE
   ================================================= */

.reflection-hero h2 {
    font-family: var(--font-display);
    margin-bottom: 8px;
}

/* =================================================
   JOURNAL PAGE
   ================================================= */

.journal-form {
    display: grid;
    gap: 12px;
    margin-top: 12px;
}

.journal-form textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: #fffaf4;
    color: var(--ink);
    font-family: var(--font-body);
    resize: vertical;
}

.journal-entry p {
    margin-top: 8px;
    color: var(--earth);
}

/* =================================================
   PROFILE PAGE
   ================================================= */

.profile-hero {
    display: flex;
    align-items: center;
    gap: 14px;
}

.avatar {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(200, 106, 58, 0.2), rgba(123, 47, 247, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--earth);
    border: 1px solid rgba(123, 47, 247, 0.2);
}

.settings-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(90, 59, 46, 0.1);
    color: var(--earth);
}

.settings-row:last-child {
    border-bottom: none;
}

/* =================================================
   PLAYLIST CREATE PAGE
   ================================================= */

.playlist-form {
    display: grid;
    gap: 12px;
}

/* =================================================
   ALARMS PAGE
   ================================================= */

.alarm-card {
    display: grid;
    gap: 14px;
}

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

.alarm-status {
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    border: 1px solid rgba(90, 59, 46, 0.2);
    color: var(--muted);
}

.alarm-status.on {
    background: rgba(123, 47, 247, 0.12);
    color: var(--purple);
    border-color: rgba(123, 47, 247, 0.25);
}

.alarm-status.off {
    background: rgba(90, 59, 46, 0.08);
}

.alarm-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

/* =================================================
   DEVOTIONALS READ
   ================================================= */

.read-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--muted);
    padding: 0 16px 12px;
}

.devotional-hero h2 {
    font-family: var(--font-display);
    margin-bottom: 8px;
}

.devotional-hero .subtitle {
    margin-bottom: 12px;
}

.hero-actions .btn-primary {
    background: linear-gradient(135deg, var(--clay), rgba(123, 47, 247, 0.55));
}
