:root {
    --bg-color: #F8FAFC;
    --card-bg: #FFFFFF;
    --text-main: #1E293B;
    --text-muted: #64748B;
    --border-color: #E2E8F0;
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-full: 9999px;
    --font-ui: 'Inter', sans-serif;
    --font-serif: 'Merriweather', serif;
    --font-size-base: 1rem;
    --highlight-yellow: rgba(254, 240, 138, 0.7);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

    /* Graphite Dark Mode */
    body[data-theme="dark"] {
        --bg-color: #121212;
        --card-bg: #1e1e1e;
        --accent-color: #f1f1f1; /* Silver Accent */
        --text-main: #f1f1f1;
        --text-muted: #a0a0a0;
        --border-color: #2d2d2d;
        --shadow-sm: 0 2px 8px rgba(0,0,0,0.4);
        --shadow-md: 0 10px 25px rgba(0,0,0,0.5);
    }

    /* Elegant Sepia Mode */
    body[data-theme="sepia"] {
        --bg-color: #F4ECD8;
        --card-bg: #FCF5E5;
        --accent-color: #8B4513; /* Bronze Accent */
        --text-main: #433422;
        --text-muted: #8C7E6A;
        --border-color: #E6D5B8;
        --shadow-sm: 0 1px 3px rgba(67, 52, 34, 0.1);
    }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { height: 100%; height: 100dvh; }
body {
    font-family: var(--font-ui);
    background: var(--bg-color);
    color: var(--text-main);
    height: 100%;
    height: 100dvh;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    transition: background-color 0.3s ease, color 0.3s ease;
}
#app { width: 100%; height: 100%; position: relative; font-size: var(--font-size-base); }
#main-interface { position: absolute; inset: 0; display: flex; flex-direction: column; }
#auth-view { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 1.5rem; overflow-y: auto; }

/* Buttons & Inputs */
.primary-btn { background: var(--accent-color); color: white; border: none; padding: 0.75rem 1.5rem; border-radius: var(--radius-full); font-weight: 600; font-family: var(--font-ui); cursor: pointer; transition: background 0.2s; width: 100%; display: flex; align-items: center; justify-content: center; gap: 0.5rem; }
.primary-btn:hover { background: var(--primary-blue-dark); }
.text-btn { background: none; border: none; color: var(--text-muted); font-weight: 600; cursor: pointer; padding: 0.5rem; font-family: var(--font-ui); }
.icon-btn { background: none; border: none; color: var(--text-main); cursor: pointer; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; }
.input-group { margin-bottom: 1rem; width: 100%; text-align: left; }
.input-group label { display: block; margin-bottom: 0.5rem; font-size: 0.85rem; font-weight: 600; color: var(--text-muted); }
.input-group input, .input-group select, .input-group textarea { width: 100%; padding: 0.75rem; border: 1px solid var(--border-color); border-radius: var(--radius-md); background: var(--bg-color); color: var(--text-main); font-family: var(--font-ui); outline: none; }

/* Auth View */
/* Auth styles are handled by #auth-view in the layout section above */
.auth-content { background: var(--card-bg); padding: 2rem; border-radius: var(--radius-md); width: 100%; max-width: 400px; text-align: center; box-shadow: var(--shadow-lg); }
.auth-logo { width: 48px; height: 48px; color: var(--accent-color); margin-bottom: 1rem; }
.auth-content h1 { font-size: 1.5rem; font-weight: 800; margin-bottom: 0.5rem; }
.auth-content p { color: var(--text-muted); margin-bottom: 2rem; font-size: 0.95rem; }
.profile-pic-upload { width: 80px; height: 80px; border-radius: 50%; background: var(--bg-color); margin: 0 auto 1.5rem auto; border: 2px dashed var(--border-color); display: flex; align-items: center; justify-content: center; position: relative; cursor: pointer; overflow: hidden; }

/* Top Bar & Nav — position:fixed para evitar bug do 100vh no Chrome Android */
.top-bar { position: fixed; top: 0; left: 0; right: 0; background: var(--card-bg); padding: 0.5rem 0.75rem; border-bottom: 1px solid var(--border-color); display: flex; justify-content: space-between; align-items: center; z-index: 200; height: 60px; }
.book-selector { font-weight: 700; font-size: 1rem; cursor: pointer; display: flex; align-items: center; gap: 0.35rem; white-space: nowrap; }
.top-actions { display: flex; align-items: center; gap: 0.1rem; }
.version-select { background: var(--bg-color); color: var(--text-main); border: 1px solid var(--border-color); border-radius: var(--radius-full); padding: 0.2rem 0.4rem; font-size: 0.75rem; font-weight: 700; outline: none; width: 65px; }
.font-icon { font-weight: 800; font-size: 0.9rem; letter-spacing: -1px; }

.bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; background: var(--card-bg); height: 65px; border-top: 1px solid var(--border-color); display: flex; justify-content: space-around; align-items: center; z-index: 200; padding-bottom: env(safe-area-inset-bottom, 0px); }
.nav-item { display: flex; flex-direction: column; align-items: center; text-decoration: none; color: var(--text-muted); font-size: 0.7rem; font-weight: 600; gap: 0.25rem; }
.nav-item.active { color: var(--accent-color); }

/* Main Content Area — fica entre a top-bar (60px) e a bottom-nav (65px + safe-area) */
.content-area { position: fixed; top: 60px; left: 0; right: 0; bottom: calc(65px + env(safe-area-inset-bottom, 0px)); overflow: hidden; }
.view { position: absolute; inset: 0; overflow-y: auto; padding: 1rem; padding-bottom: 2rem; -webkit-overflow-scrolling: touch; }
.section-title { font-size: 1.25rem; font-weight: 800; margin-bottom: 1.5rem; }

/* Books & Chapters Grid */
.testament-tabs { display: flex; background: var(--card-bg); border-radius: var(--radius-full); padding: 0.25rem; margin-bottom: 1.5rem; border: 1px solid var(--border-color); }
.tab { flex: 1; padding: 0.75rem; text-align: center; font-weight: 600; border-radius: var(--radius-full); cursor: pointer; background: transparent; border: none; color: var(--text-muted); }
.tab.active { background: var(--accent-color); color: white; }
.books-grid { display: grid; grid-template-columns: 1fr; gap: 0.75rem; }
.book-item { background: var(--card-bg); padding: 1rem; border-radius: var(--radius-md); font-weight: 600; box-shadow: var(--shadow-sm); display: flex; justify-content: space-between; align-items: center; cursor: pointer; border: 1px solid var(--border-color); }
.chapters-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.75rem; }
.chapter-btn { background: var(--card-bg); padding: 1rem 0; border-radius: var(--radius-md); font-weight: 700; text-align: center; cursor: pointer; border: 1px solid var(--border-color); box-shadow: var(--shadow-sm); }

/* Reader */
.chapter-header { text-align: center; margin-bottom: 2rem; margin-top: 1rem; }
.verses-container { line-height: 1.8; font-family: var(--font-serif); }
.verse { padding: 0.2rem; cursor: pointer; border-radius: 4px; display: inline; transition: background 0.2s; position: relative; font-size: var(--font-size-base); line-height: 1.9; font-family: var(--font-serif); }
.verse.selected { background: rgba(0,0,0,0.05); }
[data-theme="dark"] .verse.selected { background: rgba(255,255,255,0.1); }
.verse-num { font-size: 0.7em; font-weight: 700; color: var(--text-muted); vertical-align: super; margin-right: 4px; opacity: 0.7; }
.verse-avatar { width: 16px; height: 16px; border-radius: 50%; vertical-align: middle; margin-right: 4px; display: inline-block; }
.verse-reactions { display: inline-flex; gap: 0.25rem; align-items: center; margin: 0 0.25rem; vertical-align: middle; }
.verse-reaction-badge { background: var(--bg-color); border: 1px solid var(--border-color); border-radius: 1rem; padding: 2px 6px; font-size: 0.75rem; font-family: var(--font-ui); display: inline-flex; align-items: center; gap: 2px; }
.chapter-footer { margin-top: 3rem; text-align: center; padding: 2rem 0; border-top: 1px solid var(--border-color); }
.header-main { display: flex; align-items: center; gap: 0.5rem; }
.title-stack { display: flex; flex-direction: column; align-items: flex-start; }

.version-selector-container { position: relative; margin-top: 0.1rem; }
.version-badge { background: var(--bg-color); border: 1px solid var(--border-color); padding: 0.15rem 0.6rem; border-radius: var(--radius-full); font-size: 0.65rem; font-weight: 800; color: var(--text-muted); cursor: pointer; display: flex; align-items: center; transition: all 0.2s; }
.version-badge:hover { border-color: var(--accent-color); color: var(--text-main); }

.custom-dropdown { position: absolute; top: calc(100% + 8px); left: 0; background: var(--card-bg); border: 1px solid var(--border-color); border-radius: var(--radius-md); box-shadow: var(--shadow-lg); z-index: 1000; min-width: 240px; display: none; flex-direction: column; overflow: hidden; animation: dropdownFade 0.2s ease-out; backdrop-filter: blur(10px); }
.custom-dropdown.show { display: flex; }

.dropdown-item { padding: 0.8rem 1rem; font-size: 0.85rem; color: var(--text-main); cursor: pointer; transition: background 0.2s; border-bottom: 1px solid var(--border-color); line-height: 1.2; }
.dropdown-item:last-child { border-bottom: none; }
.dropdown-item:hover { background: var(--bg-color); color: var(--accent-color); }
.dropdown-item strong { display: block; font-size: 0.75rem; margin-bottom: 2px; }

@keyframes dropdownFade {
    from { opacity: 0; transform: translateY(-10px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.read-btn { background: var(--bg-color); color: var(--text-muted); border: 1px solid var(--border-color); padding: 1rem 2rem; border-radius: var(--radius-full); font-weight: 700; font-family: var(--font-ui); cursor: pointer; display: inline-flex; align-items: center; gap: 0.5rem; transition: all 0.2s; }
.read-btn.active { background: #10B981; color: white; border-color: #10B981; }
.read-status { margin-top: 1rem; font-size: 0.85rem; color: var(--text-muted); }

/* Modals & Overlays */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); backdrop-filter: blur(4px); z-index: 2000; display: flex; align-items: center; justify-content: center; }
.modal-content { background: var(--card-bg); padding: 2rem; border-radius: var(--radius-md); width: 90%; max-width: 400px; text-align: center; box-shadow: var(--shadow-lg); }

/* Selection Menu */
.selection-menu { position: absolute; background: var(--card-bg); border: 1px solid var(--border-color); border-radius: var(--radius-full); padding: 0.5rem 1rem; display: none; gap: 1rem; box-shadow: var(--shadow-lg); z-index: 1500; align-items: center; }
.menu-btn { background: none; border: none; cursor: pointer; font-size: 1.25rem; display: flex; align-items: center; justify-content: center; color: var(--text-main); }

/* Chat & Activity — Timeline */
.timeline-item { background: var(--card-bg); padding: 1rem; border-radius: var(--radius-md); margin-bottom: 0.75rem; border-left: 4px solid var(--border-color); box-shadow: var(--shadow-sm); }
.timeline-header { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 0.5rem; }
.timeline-avatar { width: 36px; height: 36px; min-width: 36px; border-radius: 50%; object-fit: cover; border: 2px solid var(--border-color); }
.timeline-body { flex: 1; min-width: 0; }
.timeline-action { display: flex; align-items: center; gap: 0.3rem; flex-wrap: wrap; font-size: 0.88rem; line-height: 1.4; }
.timeline-user { font-weight: 700; white-space: nowrap; }
.timeline-verb { display: inline-flex; align-items: center; font-size: 0.95rem; line-height: 1; }
.timeline-ref { color: var(--text-muted); }
.timeline-ref strong { color: var(--text-main); font-weight: 600; }
.timeline-date { font-size: 0.7rem; color: var(--text-muted); margin-top: 0.2rem; display: block; }
.timeline-verse { font-size: 0.88rem; font-style: italic; color: var(--text-muted); border-left: 2px solid var(--border-color); padding: 0.4rem 0.75rem; margin: 0.5rem 0; line-height: 1.5; border-radius: 0 4px 4px 0; background: var(--bg-color); }
.timeline-footer { margin-top: 0.5rem; }
.timeline-reply-btn { font-size: 0.75rem !important; color: var(--accent-color) !important; display: inline-flex !important; align-items: center; gap: 0.25rem; padding: 0.2rem 0 !important; }

/* Verse inline meta (avatar + reactions after the text) */
.verse-inline-meta { display: inline-flex; align-items: center; gap: 0.2rem; vertical-align: middle; margin-left: 0.3rem; }

.chat-messages { padding: 1rem; display: flex; flex-direction: column; gap: 0.75rem; }
.chat-bubble { padding: 0.75rem 1rem; border-radius: 1.25rem; max-width: 85%; font-size: 0.95rem; position: relative; }
.chat-bubble.mine { background: var(--accent-color); color: white; align-self: flex-end; border-bottom-right-radius: 0.25rem; }
.chat-bubble.other { background: var(--card-bg); border: 1px solid var(--border-color); align-self: flex-start; border-bottom-left-radius: 0.25rem; }
.chat-meta { font-size: 0.65rem; opacity: 0.7; margin-top: 0.25rem; display: block; text-align: right; }
.chat-header { background: var(--card-bg); padding: 1rem; font-weight: 700; border-bottom: 1px solid var(--border-color); position: sticky; top: 0; z-index: 10; text-align: center; }

/* Today & Cards */
.today-card, .plan-day-card, .stat-card { background: var(--card-bg); padding: 1.5rem; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); margin-bottom: 1rem; }
.badge { background: var(--bg-color); padding: 0.25rem 0.75rem; border-radius: var(--radius-full); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; margin-bottom: 1rem; display: inline-block; color: var(--text-muted); border: 1px solid var(--border-color); }
.today-verse-text { font-size: 1.5rem; font-weight: 800; font-family: var(--font-serif); line-height: 1.4; margin-bottom: 0.5rem; }
.today-verse-ref { color: var(--text-muted); font-weight: 600; }
.stat-number { font-size: 2rem; font-weight: 800; color: var(--accent-color); }
.stat-label { font-size: 0.85rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; }

/* Notes & Quill Editor */
.note-card { background: var(--card-bg); padding: 1rem; border-radius: var(--radius-md); margin-bottom: 1rem; box-shadow: var(--shadow-sm); border-top: 3px solid var(--border-color); }
.note-card h3 { margin-bottom: 0.5rem; font-size: 1.1rem; color: var(--text-main); }
.note-content { line-height: 1.6; font-size: 0.95rem; color: var(--text-main); text-align: left; width: 100%; }
.note-content p { margin-bottom: 0.75rem; display: block; }
.note-content ul, .note-content ol { padding-left: 1.25rem; margin-bottom: 0.75rem; display: block; }

/* Customizing Quill for Dark/Light Mode */
.ql-toolbar.ql-snow { border: 1px solid var(--border-color) !important; background: var(--bg-color); border-radius: 0.5rem 0.5rem 0 0; }
.ql-container.ql-snow { border: 1px solid var(--border-color) !important; border-top: none !important; background: var(--bg-color); border-radius: 0 0 0.5rem 0.5rem; font-family: var(--font-ui) !important; font-size: 1rem !important; }
.ql-editor { min-height: 150px; color: var(--text-main); }
.ql-editor.ql-blank::before { color: var(--text-muted) !important; font-style: normal !important; }
.ql-snow .ql-stroke { stroke: var(--text-main) !important; }
.ql-snow .ql-fill { fill: var(--text-main) !important; }
.ql-snow .ql-picker { color: var(--text-main) !important; }

.fab-btn { position: fixed; bottom: 100px; right: 20px; background: var(--accent-color); color: white; width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg); border: none; cursor: pointer; z-index: 1000; }
.inline-note-modal { position: fixed; bottom: 0; left: 0; right: 0; background: var(--card-bg); border-top-left-radius: 1.5rem; border-top-right-radius: 1.5rem; box-shadow: 0 -10px 25px rgba(0,0,0,0.1); z-index: 2000; padding: 1.5rem; }
.inline-note-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.inline-note-modal textarea { width: 100%; height: 100px; padding: 1rem; border-radius: var(--radius-md); border: 1px solid var(--border-color); background: var(--bg-color); font-family: var(--font-ui); resize: none; outline: none; margin-bottom: 1rem; color: var(--text-main); }

/* Toast */
.toast { position: fixed; bottom: -100px; left: 50%; transform: translateX(-50%); background: var(--text-main); color: var(--bg-color); padding: 0.75rem 1.5rem; border-radius: var(--radius-full); font-weight: 600; font-size: 0.9rem; z-index: 9999; transition: bottom 0.3s; box-shadow: var(--shadow-lg); text-align: center; width: max-content; }
.toast.show { bottom: 100px; }

/* Loading & Search */
.loading-container { text-align: center; padding: 4rem 1rem; color: var(--text-muted); }
.spin-icon { animation: spin 1s linear infinite; margin-bottom: 1rem; width: 32px; height: 32px; }
@keyframes spin { 100% { transform: rotate(360deg); } }
.search-overlay { position: fixed; inset: 0; background: var(--bg-color); z-index: 2500; display: flex; flex-direction: column; }
.search-header { padding: 1rem; background: var(--card-bg); display: flex; gap: 1rem; align-items: center; border-bottom: 1px solid var(--border-color); }
.search-header input { flex: 1; padding: 0.75rem 1rem; border-radius: var(--radius-full); border: 1px solid var(--border-color); outline: none; background: var(--bg-color); color: var(--text-main); font-family: var(--font-ui); }
.search-results { flex: 1; overflow-y: auto; padding: 1rem; }
.search-result-item { background: var(--card-bg); padding: 1rem; border-radius: var(--radius-md); margin-bottom: 0.75rem; border: 1px solid var(--border-color); cursor: pointer; }
.search-result-ref { font-weight: 700; color: var(--accent-color); margin-bottom: 0.25rem; font-size: 0.85rem; }
.search-result-text { font-size: 0.95rem; line-height: 1.5; color: var(--text-main); }
mark { background: var(--highlight-yellow); color: #000; padding: 0 2px; border-radius: 2px; }

/* Swipe Chapter Animations */
@keyframes slideOutLeft { from { opacity:1; transform: translateX(0); } to { opacity:0; transform: translateX(-30px); } }
@keyframes slideOutRight { from { opacity:1; transform: translateX(0); } to { opacity:0; transform: translateX(30px); } }
.swipe-left { animation: slideOutLeft 0.2s ease-out forwards; }
.swipe-right { animation: slideOutRight 0.2s ease-out forwards; }

/* Points Toast (floating +pts indicator) */
.points-toast { position: fixed; bottom: 160px; left: 50%; transform: translateX(-50%); z-index: 9999; pointer-events: none; }

/* Auth switch link */
.auth-switch { margin-top: 1.5rem; font-size: 0.9rem; color: var(--text-muted); }
.auth-switch a { color: var(--accent-color); font-weight: 700; text-decoration: none; }

/* Read btn disabled state */
.read-btn.disabled { opacity: 0.5; cursor: not-allowed; }
.scroll-instruction { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 1rem; }

/* Profile picture label */
.photo-label { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; cursor: pointer; border-radius: 50%; }

/* Notebook/Free Notes */
.notebook-list { display: flex; flex-direction: column; gap: 1rem; padding-bottom: 140px; }
.notebook-list .note-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--text-main); }
.notebook-list .note-card p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.6; }

/* Text helpers */
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }

/* Chat input positioning fix */
/* Chat input — flutua logo acima da bottom-nav fixa */
.chat-input-bar { position: fixed; bottom: calc(65px + env(safe-area-inset-bottom, 0px) + 8px); left: 10px; right: 10px; z-index: 300; background: var(--card-bg); border: 1.5px solid var(--border-color); border-radius: 50px; padding: 5px 15px; display: flex; align-items: center; gap: 10px; box-shadow: var(--shadow-md); }
.chat-input-bar input { flex: 1; background: transparent; border: none; color: var(--text-main); height: 42px; outline: none; font-size: 1rem; font-family: var(--font-ui); }
/* Chat messages need padding at bottom for the floating input */
.chat-messages { padding-bottom: 90px !important; }

/* Premium Share Modal 9:16 */
.share-modal-content {
    background: var(--card-bg);
    padding: 0;
    border-radius: 2rem;
    width: 95%;
    max-width: 420px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.share-modal-header {
    padding: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.share-modal-header h2 { font-size: 1.1rem; font-weight: 700; color: var(--text-main); }

.close-modal-btn {
    position: absolute;
    left: 1.25rem;
    background: var(--bg-color);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-main);
}

.share-preview-wrapper {
    padding: 1.5rem;
    background: var(--bg-color);
    display: flex;
    justify-content: center;
}

.canvas-container {
    width: 100%;
    max-width: 260px;
    aspect-ratio: 9/16;
    border-radius: 1.5rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    overflow: hidden;
    background: #000;
}

.share-options-panel {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.share-options-panel label {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.share-themes {
    display: flex;
    gap: 0.75rem;
}

.theme-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0.5rem;
    border-radius: 1.25rem;
    border: 2px solid transparent;
    background: var(--bg-color);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--text-muted);
}

.theme-btn.active {
    border-color: var(--accent-color);
    background: white;
    color: var(--accent-color);
}

.theme-preview {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: var(--shadow-sm);
}

.theme-preview.dark { background: #0f172a; }
.theme-preview.gradient { background: linear-gradient(135deg, #6366f1, #a855f7); }
.theme-preview.light { background: #f8fafc; border: 1px solid #e2e8f0; }

.download-btn-premium {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 0.6rem;
    padding-right: 1.5rem;
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
    transition: all 0.2s;
}

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

.btn-icon {
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.25);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 480px) {
    .share-modal-content { border-radius: 2rem 2rem 0 0; position: fixed; bottom: 0; width: 100%; max-width: none; }
}
