@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* =========================================================
   SINESPOT.COM - Əsas stil faylı
   Font: Poppins
   Tema: tünd bənövşəyi / indiqo (loqo ilə uyğun)
   ========================================================= */

:root {
    --bg: #0c0a16;
    --bg-glow: radial-gradient(circle at 15% 0%, rgba(108,92,231,0.18), transparent 45%), radial-gradient(circle at 85% 10%, rgba(76,201,196,0.10), transparent 40%);
    --surface: #17142a;
    --surface-2: #1f1b38;
    --surface-3: #262145;
    --border: #2c2650;
    --accent: #6C5CE7;
    --accent-2: #8b7cf6;
    --accent-dark: #4b3fc9;
    --pink: #ff5c8a;
    --gold: #f5c144;
    --green: #3ddc97;
    --text: #f3f1fb;
    --muted: #9691b8;
    --radius: 14px;
    --radius-sm: 9px;
    --font-display: 'Poppins', sans-serif;
    --font-body: 'Poppins', sans-serif;
}

* { 
    box-sizing: border-box; 
    font-family: 'Poppins', sans-serif;
}


body {
    margin: 0;
    background-color: #0c0a16 !important;
    background-image: var(--bg-glow) !important;
    background-attachment: fixed !important;
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.6;
    font-weight: 400;
}

a { color: inherit; text-decoration: none; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.center-text { text-align: center; }

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

/* ---------- Topbar ---------- */
.topbar {
    position: sticky; top: 0; z-index: 200;
    background: rgba(12,10,22,0.85);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
}
.topbar-row { display: flex; align-items: center; gap: 22px; position: relative; }
.topbar-row-main { padding: 12px 20px 8px; }
.topbar-row-search { padding: 0 20px 12px; border-top: 1px solid rgba(255,255,255,0.03); padding-top: 10px; }

.logo { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.logo-icon { height: 34px; width: auto; display: none; }
.logo-full { height: 26px; width: auto; display: block; }

.topbar-search { position: relative; flex: 1; max-width: 300px; margin: 0 15px; }
@media (max-width: 600px) {
    .topbar-search { max-width: 130px; margin: 0 5px; }
}
.topbar-search .search-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-size: 13px; opacity: 0.6; }
.topbar-search input {
    width: 100%; padding: 11px 16px 11px 36px; border-radius: 24px; border: 1px solid var(--border);
    background: var(--surface-2); color: var(--text); font-family: var(--font-body); font-size: 14px; outline: none; transition: border-color .15s;
}
.composer-box input[type=text] {
    width: 100%; padding: 10px 14px; border-radius: var(--radius-sm); border: 1px solid var(--border);
    background: var(--surface-2); color: var(--text); font-family: var(--font-body); font-size: 13.5px; outline: none;
    margin-bottom: 12px; margin-top: 6px; display: block; transition: border-color .15s;
}
.topbar-search input:focus, .composer-box input[type=text]:focus { border-color: var(--accent); }

.topnav { display: flex; align-items: center; gap: 22px; font-weight: 500; font-size: 14.5px; color: var(--muted); }
.topnav a.active, .topnav a:hover { color: var(--text); }
.topnav a.active { font-weight: 700; position: relative; }

.topbar-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.icon-btn {
    position: relative; width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
    border-radius: 50%; background: var(--surface); border: 1px solid var(--border); font-size: 16px;
    cursor: pointer; transition: background .15s;
}
.icon-btn:hover { background: var(--surface-2); }
.notif-badge {
    position: absolute; top: -3px; right: -3px; background: var(--pink); color: #fff; font-size: 10px;
    font-weight: 700; padding: 1px 5px; border-radius: 10px; line-height: 1.4;
}

.user-chip-wrap, .notif-wrap { position: relative; }
.user-chip {
    display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--border);
    border-radius: 24px; padding: 5px 14px 5px 5px; cursor: pointer; color: var(--text); font-weight: 600; font-size: 13.5px;
    font-family: var(--font-body);
}
.user-chip:hover { border-color: var(--accent); }

.notif-dropdown, .user-chip-dropdown {
    position: absolute; right: 0; top: 46px; background: var(--surface-2); border: 1px solid var(--border);
    border-radius: var(--radius); z-index: 300; box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}
.notif-dropdown { width: 320px; max-height: 400px; overflow-y: auto; }
.notif-dropdown-head { padding: 14px 16px; font-weight: 700; border-bottom: 1px solid var(--border); }
.notif-list { padding: 6px; }
.notif-item { display: flex; gap: 10px; padding: 10px; border-radius: var(--radius-sm); font-size: 13px; color: var(--text); text-decoration: none; transition: background 0.2s; }
.notif-item:hover { background: var(--surface-3); }
.notif-item.unread { background: rgba(108,92,231,0.14); }
.notif-item.unread:hover { background: rgba(108,92,231,0.22); }
.notif-item img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.notif-loading { padding: 16px; text-align: center; }

.user-chip-dropdown { width: 190px; padding: 6px; }
.user-chip-dropdown a { display: block; padding: 10px 12px; border-radius: var(--radius-sm); font-size: 13.5px; font-weight: 500; }
.user-chip-dropdown a:hover { background: var(--surface-3); }

.burger { display: none; background: none; border: none; color: var(--text); font-size: 22px; cursor: pointer; }
.mobile-nav { display: none; }
@media (max-width: 800px) {
    .mobile-nav:not([hidden]) { display: flex; flex-direction: column; padding: 10px 20px 18px; border-top: 1px solid var(--border); }
}
.mobile-nav a { padding: 12px 0; font-weight: 500; border-bottom: 1px solid var(--border); }
.mobile-nav a:last-child { border-bottom: none; }

.btn-primary, .btn-ghost {
    display: inline-block; padding: 10px 20px; border-radius: 24px; font-weight: 600;
    font-size: 14px; border: none; cursor: pointer; transition: transform .15s, opacity .15s, background .15s;
    font-family: var(--font-body);
}
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: #fff; box-shadow: 0 6px 18px rgba(108,92,231,0.35); }
.btn-primary:hover { transform: translateY(-1px); opacity: 0.94; }
.btn-primary.active { background: var(--surface-2); color: var(--accent-2); border: 1px solid var(--accent); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-2); }
.btn-block { display: block; width: 100%; text-align: center; }

/* ---------- Flash ---------- */
.flash { padding: 13px 18px; border-radius: var(--radius); margin: 14px auto; max-width: 1180px; font-size: 14px; }
.flash-success { background: #123324; color: #7ee2a0; border: 1px solid #245c40; }
.flash-error { background: #3a1420; color: #f5879e; border: 1px solid #7a2a45; }

/* ---------- Section titles ---------- */
.section-title { font-size: 24px; margin: 36px 0 18px; display: flex; align-items: center; gap: 8px; }
.section-title-row { display: flex; justify-content: space-between; align-items: center; margin-top: 36px; flex-wrap: wrap; gap: 12px; }
.section-title-row .section-title { margin: 0; }

/* ---------- Trending grid ---------- */
.trending-grid, .discover-grid {
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px;
}
.discover-grid { grid-template-columns: repeat(5, 1fr); margin-top: 20px; }
.trending-card {
    position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 2/3;
    background: var(--surface); border: 1px solid var(--border);
}
.trending-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.trending-card:hover img { transform: scale(1.06); }
.trending-card:hover { border-color: var(--accent); }
.trending-overlay {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 10px 8px;
    background: linear-gradient(to top, rgba(0,0,0,0.92), transparent);
    font-size: 13px;
}
.trending-overlay strong { display: block; font-size: 13px; line-height: 1.25; font-weight: 600; }

/* ---------- Pill tabs (discover) ---------- */
.pill-tabs { display: flex; gap: 10px; margin: 18px 0 6px; }
.pill-tab { padding: 9px 18px; border-radius: 22px; border: 1px solid var(--border); background: var(--surface); font-weight: 600; font-size: 13.5px; }
.pill-tab.active { background: var(--text); color: #14101f; border-color: var(--text); }

/* ---------- Composer ---------- */
.composer-header-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; margin: 36px 0 18px; }
.composer-header-row .section-title { margin: 0; }
.xp-pill {
    background: linear-gradient(135deg, var(--pink), #ff8a5c); color: #fff; font-weight: 700; font-size: 12.5px;
    padding: 7px 14px; border-radius: 20px; white-space: nowrap;
}
.composer-box, .composer-box-fixed {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 22px; position: relative;
    box-shadow: 0 0 0 1px rgba(108,92,231,0.06) inset;
}
.search-dropdown {
    position: absolute; left: 22px; right: 22px; top: 74px; background: var(--surface-2);
    border: 1px solid var(--border); border-radius: var(--radius); z-index: 50; max-height: 320px; overflow-y: auto;
    display: none;
}
.topbar-search .search-dropdown { left: 0; right: 0; top: 46px; }
.search-dropdown.show { display: block; }
.search-item { display: flex; gap: 10px; padding: 9px 12px; cursor: pointer; align-items: center; }
.search-item:hover { background: var(--surface-3); }
.search-item img { width: 34px; height: 50px; object-fit: cover; border-radius: 4px; background: #000; }
.search-item .s-year { color: var(--muted); font-size: 12px; }

.composer-selected { margin-top: 16px; }
.composer-selected-movie { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.composer-selected-movie img { width: 46px; height: 68px; object-fit: cover; border-radius: 6px; }
.composer-selected-movie button { margin-left: auto; background: none; border: none; color: var(--muted); font-size: 18px; cursor: pointer; }

.composer-type-choice { display: flex; gap: 10px; margin-bottom: 14px; }
.choice-btn {
    flex: 1; padding: 13px; border-radius: var(--radius-sm); border: 1px solid var(--border);
    background: var(--surface-2); color: var(--text); cursor: pointer; font-weight: 600; font-size: 14px;
    font-family: var(--font-body); transition: all .15s;
}
.choice-btn.selected { border-color: var(--accent); color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-dark)); }

#postForm textarea, #postFormFixed textarea {
    width: 100%; min-height: 90px; padding: 12px; border-radius: var(--radius-sm); border: 1px solid var(--border);
    background: var(--surface-2); color: var(--text); font-family: var(--font-body); resize: vertical; margin-bottom: 12px;
    outline: none;
}
#postForm textarea:focus, #postFormFixed textarea:focus { border-color: var(--accent); }
.star-input { font-size: 26px; color: var(--border); cursor: pointer; margin-bottom: 12px; }
.star-input span.on { color: var(--gold); }

/* ---------- Badge chips (rutbe) ---------- */
.badge-chip {
    display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: 0.4px;
    padding: 3px 9px; border-radius: 10px; text-transform: uppercase; vertical-align: middle;
    background: var(--surface-3); border: 1px solid var(--border); color: var(--muted);
}
.badge-sm { font-size: 9.5px; padding: 2px 7px; }
.badge-yeni-uzv      { color: #b7b3d6; border-color: #4a4570; }
.badge-tamasaci      { color: #6fc7ff; border-color: #245e82; background: rgba(50,130,190,0.12); }
.badge-kesfiyyatci   { color: var(--accent-2); border-color: var(--accent); background: rgba(108,92,231,0.14); }
.badge-sinefil       { color: #ffb15c; border-color: #7a5220; background: rgba(255,150,50,0.12); }
.badge-tenqidci      { color: var(--pink); border-color: #7a2a45; background: rgba(255,92,138,0.12); }
.badge-efsane        { color: var(--gold); border-color: #7a611e; background: rgba(245,193,68,0.14); }
.badge-legenda       { color: #fff; border-color: var(--accent); background: linear-gradient(135deg, var(--accent), var(--pink)); }

/* ---------- Feed layout (main + sidebar) ---------- */
.feed-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 24px; align-items: start; }
.feed-main { min-width: 0; }
.feed-sidebar { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 84px; }
.sidebar-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.sidebar-card h3 { font-size: 15px; margin: 0 0 14px; }
.sidebar-more { display: inline-block; margin-top: 12px; font-size: 12.5px; font-weight: 600; color: var(--accent-2); }

.lb-mini-row, .leaderboard-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; }
.lb-pos { font-weight: 700; color: var(--muted); width: 22px; flex-shrink: 0; font-size: 13px; }
.lb-mini-info { display: flex; flex-direction: column; font-size: 12.5px; min-width: 0; }
.lb-mini-info strong { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-mini-right { margin-left: auto; text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.lb-mini-right strong { font-size: 11.5px; color: var(--gold); }

/* ---------- Quests widget ---------- */
.quest-row { padding: 12px 0; border-top: 1px solid var(--border); }
.quest-row:first-child { border-top: none; padding-top: 0; }
.quest-row-head { display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; }
.quest-lvl-badge { background: rgba(108, 92, 231, 0.15); color: var(--accent-2); font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 8px; border: 1px solid rgba(108, 92, 231, 0.3); }
.quest-reward-tag { background: rgba(255, 215, 0, 0.15); color: #ffd700; border: 1px solid rgba(255, 215, 0, 0.35); font-weight: 700; font-size: 11px; padding: 2px 8px; border-radius: 10px; }
.quest-completed-text { color: var(--green); font-weight: 600; font-size: 11.5px; display: inline-flex; align-items: center; gap: 4px; }
.quest-progress-label { font-size: 12px; color: var(--muted); font-weight: 600; }
.quest-desc { font-size: 12px; margin: 4px 0 8px; color: var(--muted); }
.quest-bar { height: 6px; background: var(--surface-3); border-radius: 4px; overflow: hidden; }
.quest-bar-fill { height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); border-radius: 4px; transition: width 0.3s ease; }
.quest-row.done .quest-bar-fill { background: linear-gradient(90deg, var(--green), #2fbb87); }
.quest-row.done .quest-progress-label { color: var(--green); }

/* ---------- Feed / posts ---------- */
.feed-tabs { display: flex; gap: 10px; }
.feed-tab {
    padding: 9px 20px; border-radius: 22px; border: 1px solid var(--border); background: var(--surface);
    color: var(--muted); font-weight: 600; cursor: pointer; font-family: var(--font-body); font-size: 13.5px;
}
.feed-tab.active { background: var(--text); color: #14101f; border-color: var(--text); }
.feed-tab:disabled { opacity: 0.4; cursor: not-allowed; }

.feed-list { display: flex; flex-direction: column; gap: 16px; margin: 20px 0; }
.post-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.repost-tag { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.post-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.avatar-sm { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: var(--surface-2); }
.post-author { font-weight: 700; margin-right: 6px; }
.post-meta { font-size: 12px; color: var(--muted); display: block; margin-top: 2px; }

.post-movie { display: flex; gap: 12px; align-items: center; background: var(--surface-2); padding: 10px; border-radius: var(--radius-sm); margin-bottom: 10px; }
.post-movie-poster { width: 44px; height: 64px; object-fit: cover; border-radius: 6px; }
.stars { color: var(--gold); font-size: 15px; }

.review-text { margin: 0 0 8px; }
.quote-text {
    margin: 0 0 8px; font-style: italic; font-size: 17px; border-left: 3px solid var(--accent);
    padding-left: 14px; color: #ddd7fb;
}
.quote-author {
    display: block; text-align: right; font-size: 13.5px; color: var(--muted); font-style: italic; margin-top: 8px; font-weight: 500;
}

.post-actions { display: flex; gap: 22px; border-top: 1px solid var(--border); padding-top: 12px; }
.post-actions button {
    background: none; border: none; color: var(--muted); cursor: pointer; font-size: 14px;
    display: flex; align-items: center; gap: 6px; font-family: var(--font-body);
}
.post-actions button.active { color: var(--pink); font-weight: 700; }
.post-actions .act-repost.active { color: var(--green); }

.comments-box { margin-top: 12px; border-top: 1px dashed var(--border); padding-top: 12px; }
.comment-item { display: flex; gap: 8px; margin-bottom: 10px; }
.comment-item img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.comment-item .c-body { background: var(--surface-2); padding: 6px 10px; border-radius: 10px; font-size: 13px; }
.comment-form { display: flex; gap: 8px; margin-top: 8px; }
.comment-form input { flex: 1; padding: 9px 14px; border-radius: 18px; border: 1px solid var(--border); background: var(--surface-2); color: var(--text); font-family: var(--font-body); }
.comment-form button { border: none; background: var(--accent); color: #fff; padding: 9px 16px; border-radius: 18px; font-weight: 600; cursor: pointer; font-family: var(--font-body); }

/* ---------- Auth ---------- */
.auth-page { display: flex; justify-content: center; padding: 50px 20px; }
.auth-box { background: var(--surface); border: 1px solid var(--border); padding: 30px; border-radius: var(--radius); width: 100%; max-width: 420px; }
.auth-box label { display: block; margin: 14px 0 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.auth-box input, .auth-box textarea {
    width: 100%; padding: 11px 14px; border-radius: var(--radius-sm); border: 1px solid var(--border);
    background: var(--surface-2); color: var(--text); font-family: var(--font-body); outline: none;
}
.auth-box input:focus, .auth-box textarea:focus { border-color: var(--accent); }
.auth-box button { margin-top: 20px; }

/* ---------- Movie page ---------- */
.movie-hero {
    background-size: cover; background-position: center;
    position: relative; padding: 44px 0;
}
.movie-hero::before {
    content: ''; position: absolute; inset: 0; background: linear-gradient(to right, rgba(12,10,22,0.96), rgba(12,10,22,0.8)), var(--bg-image, none);
    background-size: cover; background-position: center; z-index: 0;
}
.movie-hero-inner { position: relative; z-index: 1; display: flex; gap: 30px; align-items: flex-start; flex-wrap: wrap; }
.movie-poster-lg { width: 220px; border-radius: var(--radius); box-shadow: 0 14px 34px rgba(0,0,0,0.55); }
.movie-info { flex: 1; min-width: 260px; }
.movie-meta { color: var(--muted); margin: 6px 0 14px; }
.movie-overview { max-width: 640px; }
.movie-ratings { display: flex; gap: 18px; margin: 14px 0; font-weight: 600; }
.list-buttons { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.list-btn {
    padding: 9px 16px; border-radius: 20px; border: 1px solid var(--border); background: var(--surface);
    color: var(--text); cursor: pointer; font-size: 13px; font-weight: 600; font-family: var(--font-body);
}
.list-btn.active { border-color: var(--accent); color: var(--accent-2); background: rgba(108,92,231,0.14); }

/* ---------- Profile ---------- */
.profile-cover {
    height: 180px;
    background: linear-gradient(135deg, rgba(108,92,231,0.6) 0%, rgba(255,92,138,0.4) 100%);
    border-radius: var(--radius) var(--radius) 0 0;
    position: relative;
    overflow: hidden;
}
.profile-cover::after {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(255, 92, 138, 0.15), transparent 50%);
}
.profile-header-wrap {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 30px;
}
.profile-header {
    display: flex; gap: 24px; align-items: flex-start; padding: 0 30px 30px; flex-wrap: wrap;
    position: relative;
}
.avatar-lg {
    width: 120px; height: 120px; border-radius: 50%; object-fit: cover;
    border: 4px solid var(--surface) !important; background: var(--surface);
    margin-top: -60px; z-index: 5; position: relative;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.profile-info {
    flex: 1; padding-top: 15px; min-width: 280px;
}
.profile-info h1 {
    margin: 0 0 4px; font-size: 26px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
    font-weight: 600; color: var(--text);
}
.profile-username { margin: 0 0 12px; font-size: 14.5px; color: var(--muted); font-weight: 500; }
.profile-rank-name { margin: 6px 0 14px; font-size: 13.5px; color: var(--muted); }
.profile-bio { margin: 12px 0 16px; max-width: 600px; font-size: 14.5px; line-height: 1.6; color: #e2dff5; }
.profile-stats { display: flex; gap: 24px; margin: 16px 0; font-size: 14px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 12px 0; }
.profile-stats span { color: var(--muted); }
.profile-stats strong { color: var(--text); font-size: 15px; }
.profile-genres { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0; }
.genre-chip { background: var(--surface-2); border: 1px solid var(--border); padding: 5px 12px; border-radius: 14px; font-size: 12px; color: var(--text); font-weight: 500; }
.profile-social { display: flex; gap: 16px; margin: 14px 0 0; font-size: 13.5px; }
.profile-social a { color: var(--accent-2); font-weight: 600; text-decoration: none; display: flex; align-items: center; gap: 4px; }
.profile-social a:hover { color: #fff; text-decoration: underline; }

.verified-badge-purple {
    display: inline-flex; align-items: center; justify-content: center;
    background: #6C5CE7; color: white; width: 18px; height: 18px;
    border-radius: 50%; font-size: 11px; font-weight: bold;
    margin-left: 4px; vertical-align: middle;
    box-shadow: 0 2px 6px rgba(108, 92, 231, 0.4);
}

/* ---------- Duolingo-style Profile Layout ---------- */
.profile-main-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-top: 30px;
    align-items: start;
}
.profile-left-col {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.profile-right-col {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.profile-card {
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: 20px;
    padding: 26px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
.profile-card .card-title {
    margin: 0 0 20px;
    font-size: 19px;
    font-weight: 600;
    color: var(--text);
    border-bottom: 2px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.stat-box {
    background: var(--surface-2);
    border: 2px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 18px;
    transition: all 0.2s ease;
}
.stat-box:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
    box-shadow: 0 6px 15px rgba(108, 92, 231, 0.15);
}
.stat-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    flex-shrink: 0;
}
.stat-box:nth-child(1) .stat-icon-wrap {
    background: rgba(255, 121, 63, 0.15);
    border: 1px solid rgba(255, 121, 63, 0.3);
}
.stat-box:nth-child(2) .stat-icon-wrap {
    background: rgba(9, 132, 227, 0.15);
    border: 1px solid rgba(9, 132, 227, 0.3);
}
.stat-box:nth-child(3) .stat-icon-wrap {
    background: rgba(253, 203, 110, 0.15);
    border: 1px solid rgba(253, 203, 110, 0.3);
}
.stat-box:nth-child(4) .stat-icon-wrap {
    background: rgba(0, 184, 148, 0.15);
    border: 1px solid rgba(0, 184, 148, 0.3);
}
.stat-data {
    display: flex;
    flex-direction: column;
}
.stat-data strong {
    font-size: 20px;
    color: var(--text);
    font-weight: 600;
}
.stat-data span {
    font-size: 11px;
    color: var(--muted);
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.8px;
    margin-top: 3px;
}
.quests-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.quest-row-item {
    display: flex;
    gap: 18px;
    align-items: center;
    padding: 18px;
    border-radius: 16px;
    background: var(--surface-2);
    border: 2px solid var(--border);
    transition: border-color 0.2s;
}
.quest-row-item:hover {
    border-color: rgba(255, 255, 255, 0.1);
}
.quest-row-item.completed {
    border-color: rgba(61, 220, 151, 0.35);
    background: rgba(61, 220, 151, 0.02);
}
.quest-badge-wrap {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--surface-3);
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}
.quest-row-item.completed .quest-badge-wrap {
    border-color: var(--green);
    background: rgba(61, 220, 151, 0.1);
}
.quest-details {
    flex: 1;
}
.quest-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.quest-meta-row strong {
    font-size: 15px;
    color: var(--text);
    font-weight: 700;
}
.quest-fraction {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--accent-2);
}
.quest-row-item.completed .quest-fraction {
    color: var(--green);
}
.quest-progress-bar {
    height: 12px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    margin-top: 10px;
    border: 1px solid rgba(0,0,0,0.2);
}
.quest-progress-fill {
    height: 100%;
    background: #ffd200;
    border-radius: 20px;
    box-shadow: inset 0 2px 4px rgba(255,255,255,0.2);
}
.quest-row-item.completed .quest-progress-fill {
    background: var(--green);
}
.friends-tabs {
    display: flex;
    border-bottom: 2px solid var(--border);
    margin-bottom: 20px;
}
.friends-tab-btn {
    flex: 1;
    padding: 12px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--muted);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    outline: none;
    transition: all 0.2s ease;
    text-align: center;
}
.friends-tab-btn.active {
    border-bottom-color: var(--accent);
    color: var(--text);
}
.friend-row-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid transparent;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
    margin-bottom: 6px;
}
.friend-row-item:hover {
    background: var(--surface-2);
    border-color: var(--border);
}
.friend-row-item img {
    border: 2px solid var(--border);
    transition: border-color 0.2s;
}
.friend-row-item:hover img {
    border-color: var(--accent);
}
@media (max-width: 900px) {
    .profile-main-layout {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 500px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

.profile-list-section h3 { margin: 30px 0 12px; font-size: 17px; font-family: var(--font-body); font-weight: 700; }
.mini-poster-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(105px, 1fr));
    gap: 12px;
    padding: 6px 0;
}
.mini-poster-row a {
    display: block;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 2 / 3;
    background: var(--surface-2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s ease, border-color 0.22s ease;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.mini-poster-row a:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 8px 22px rgba(108, 92, 231, 0.4);
    border-color: var(--accent);
}
.mini-poster-row img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}

.genre-checkboxes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.chk { display: flex; align-items: center; gap: 6px; background: var(--surface-2); padding: 6px 10px; border-radius: 10px; font-size: 13px; font-weight: 400; }
.chk input { width: auto; }

/* ---------- Ranks / Leaderboard pages ---------- */
.page-narrow { max-width: 760px; }
.rank-current-box { background: var(--surface); border: 1px solid var(--border); padding: 16px 20px; border-radius: var(--radius); margin: 18px 0; }
.rank-tier-list { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.rank-tier-row {
    display: flex; align-items: center; gap: 14px; background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 14px 18px; opacity: 0.55;
}
.rank-tier-row.reached { opacity: 1; border-color: var(--accent); }
.rank-tier-icon { font-size: 22px; }
.rank-tier-row div:nth-child(2) { display: flex; flex-direction: column; gap: 4px; }
.rank-tier-row span.muted { margin-left: auto; font-size: 13px; }

.leaderboard-full { display: flex; flex-direction: column; gap: 4px; margin-top: 20px; }
.leaderboard-row { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px 16px; }
.lb-info { display: flex; flex-direction: column; font-size: 13px; }
.lb-info a { font-weight: 700; }
.lb-points { margin-left: auto; color: var(--gold); font-size: 14px; }

/* ---------- Coming soon ---------- */
.coming-soon { display: flex; justify-content: center; padding: 70px 20px; }
.coming-soon-box { text-align: center; max-width: 420px; }
.coming-soon-icon { font-size: 48px; display: block; margin-bottom: 16px; }
.coming-soon-box h1 { font-size: 22px; margin-bottom: 10px; }
.coming-soon-box .btn-primary { margin-top: 20px; }

/* ---------- Footer ---------- */
.sitefooter { border-top: 1px solid var(--border); padding: 36px 0; margin-top: 60px; color: var(--muted); font-size: 13.5px; text-align: center; }
.footer-links { display: flex; justify-content: center; gap: 32px; flex-wrap: wrap; margin-bottom: 18px; font-weight: 600; }
.footer-links a { color: var(--muted); transition: color .15s; text-decoration: none; }
.footer-links a:hover { color: var(--text); }

/* ---------- Pagination ---------- */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; margin-bottom: 20px; }
.pag-btn { padding: 8px 16px; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--muted); transition: all 0.2s; font-weight: 600; cursor: pointer; text-decoration: none; }
.pag-btn:hover { background: var(--surface-3); color: var(--text); border-color: var(--accent-2); }
.pag-btn.active { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .feed-layout { grid-template-columns: 1fr; }
    .feed-sidebar { position: static; }
}
@media (max-width: 800px) {
    .trending-grid, .discover-grid { grid-template-columns: repeat(3, 1fr); }
    .topnav, .topbar-actions .icon-btn, .topbar-actions .user-chip, .hide-sm { display: none; }
    .topbar-actions { gap: 8px; }
    .burger { display: block; }
    .topbar-row-main { justify-content: space-between; }
    .logo-full { display: none; }
    .logo-icon { display: block; }
}
@media (max-width: 600px) {
    .profile-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 0 16px 20px;
    }
    .avatar-lg {
        margin-top: -50px;
        width: 100px;
        height: 100px;
    }
    .profile-info h1 {
        justify-content: center;
        font-size: 22px;
    }
    .profile-stats {
        justify-content: center;
        gap: 16px;
    }
    .profile-genres {
        justify-content: center;
    }
    .profile-social {
        justify-content: center;
    }
}
@media (max-width: 500px) {
    .trending-grid, .discover-grid { grid-template-columns: repeat(2, 1fr); }
    .movie-poster-lg { width: 150px; }
    .pagination { gap: 4px; }
    .pag-btn { padding: 6px 12px; font-size: 13px; }
}

/* ---------- Verified badge ---------- */
.verified-badge { font-size: 12px; }

/* ---------- Spoiler (rəy/sitat) ---------- */
.spoiler-wrap { position: relative; }
.spoiler-wrap.is-blurred .spoiler-content {
    filter: blur(9px);
    user-select: none;
    pointer-events: none;
}
.spoiler-overlay {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    flex-direction: column; gap: 6px; cursor: pointer; z-index: 2; text-align: center; padding: 10px;
    background: rgba(23, 20, 42, 0.35); border-radius: var(--radius-sm);
}
.spoiler-wrap:not(.is-blurred) .spoiler-overlay { display: none; }
.spoiler-overlay strong { font-size: 13px; color: var(--text); }
.spoiler-overlay span { font-size: 12px; color: var(--muted); }
.spoiler-toggle-field { display: flex; align-items: center; gap: 8px; margin: 8px 0; font-size: 13px; color: var(--muted); }
.spoiler-toggle-field input { accent-color: var(--accent); width: 16px; height: 16px; }

/* ---------- Contact / auth-style forms reuse ---------- */
.simple-form label { display: block; margin: 14px 0 6px; font-weight: 600; font-size: 13.5px; }
.simple-form input, .simple-form textarea {
    width: 100%; padding: 11px 14px; border-radius: var(--radius-sm); border: 1px solid var(--border);
    background: var(--surface); color: var(--text); font-family: var(--font-body); font-size: 14px; outline: none;
}
.simple-form textarea { min-height: 140px; resize: vertical; }
.simple-form input:focus, .simple-form textarea:focus { border-color: var(--accent); }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 24px 0 50px; }
.blog-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.blog-card img { width: 100%; height: 170px; object-fit: cover; }
.blog-card-body { padding: 16px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.blog-card-body h3 { margin: 0; font-size: 17px; }
.blog-card-body p { margin: 0; color: var(--muted); font-size: 13.5px; flex: 1; }
.blog-card-meta { font-size: 12px; color: var(--muted); }
.blog-post-body { max-width: 760px; margin: 0 auto; padding: 30px 0 60px; }
.blog-post-body img { max-width: 100%; border-radius: var(--radius); }
.blog-post-cover { width: 100%; max-height: 420px; object-fit: cover; border-radius: var(--radius); margin-bottom: 20px; }
.blog-post-content { line-height: 1.9; font-size: 15.5px; }
.blog-post-content h2, .blog-post-content h3 { margin-top: 28px; }
@media (max-width: 800px) { .blog-grid { grid-template-columns: 1fr; } }

.coming-soon-box { text-align: center; padding: 80px 20px; }
.coming-soon-icon { font-size: 50px; display: block; margin-bottom: 14px; }

/* ---------- Edit Profile Grid ---------- */
.edit-profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
@media (max-width: 800px) {
    .edit-profile-grid { grid-template-columns: 1fr !important; gap: 20px !important; }
}

/* ---------- Discover & Movie Extra Layouts ---------- */
@media (max-width: 900px) {
    .discover-main-layout { grid-template-columns: 1fr !important; }
    .movie-extra-grid { grid-template-columns: 1fr !important; }
}

/* ---------- Target Post Highlight Animation ---------- */
.post-card:target {
    border-color: var(--accent) !important;
    box-shadow: 0 0 24px rgba(108, 92, 231, 0.45) !important;
    animation: postTargetPulse 2s ease-out;
}
@keyframes postTargetPulse {
    0% { background: rgba(108, 92, 231, 0.25); }
    100% { background: var(--surface); }
}

/* ==========================================================================
   MOBİL DİZAYN OPTİMİZASİYASI (max-width: 768px)
   Native App Experience: Instagram, Threads, Letterboxd, Reddit Style
   ========================================================================== */

.mobile-bottom-nav,
.mobile-composer-overlay,
.mobile-drawer-overlay,
.mobile-only-btn {
    display: none;
}

@media (max-width: 768px) {
    /* 3. Body Padding for Bottom Nav */
    body {
        padding-bottom: calc(90px + env(safe-area-inset-bottom)) !important;
    }

    /* 4. Instagram Style Mobile Header */
    .topbar {
        position: sticky !important;
        top: 0 !important;
        z-index: 9999 !important;
        height: 60px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        background: rgba(15, 15, 16, 0.90) !important;
        backdrop-filter: blur(16px) !important;
        -webkit-backdrop-filter: blur(16px) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
        transition: transform 0.25s ease !important;
        padding: 0 14px !important;
    }

    .topbar.is-hidden {
        transform: translateY(-100%) !important;
    }

    .topbar-row-main {
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        position: relative !important;
        padding: 0 !important;
    }

    .topbar .logo {
        position: absolute !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .topbar .logo img.logo-full {
        display: none !important;
    }

    .topbar .logo img.logo-icon {
        display: block !important;
        height: 32px !important;
    }

    .topbar-search {
        display: none !important;
    }

    .topbar-search.is-active-mobile {
        display: block !important;
        position: absolute !important;
        top: 60px !important;
        left: 0 !important;
        right: 0 !important;
        background: #14131a !important;
        padding: 10px 14px !important;
        border-bottom: 1px solid var(--border) !important;
        z-index: 999 !important;
    }

    .topnav {
        display: none !important;
    }

    .burger {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: none !important;
        border: none !important;
        color: #ffffff !important;
        font-size: 22px !important;
        cursor: pointer !important;
        z-index: 2 !important;
        width: 36px !important;
        height: 36px !important;
    }

    .topbar-actions {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        z-index: 2 !important;
    }

    .mobile-only-btn {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: none !important;
        border: none !important;
        color: #ffffff !important;
        font-size: 18px !important;
        cursor: pointer !important;
        width: 36px !important;
        height: 36px !important;
    }

    .notif-badge-red {
        background: #ff3b30 !important;
        color: #fff !important;
        width: 8px !important;
        height: 8px !important;
        min-width: 8px !important;
        border-radius: 50% !important;
        padding: 0 !important;
        border: 1.5px solid #0f0f10 !important;
        top: 2px !important;
        right: 2px !important;
        font-size: 0 !important;
    }

    /* Mobile Left Slide Drawer (Instagram / Threads style) */
    .mobile-drawer-overlay {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        background: rgba(0, 0, 0, 0.65) !important;
        backdrop-filter: blur(8px) !important;
        -webkit-backdrop-filter: blur(8px) !important;
        z-index: 10001 !important;
        display: flex !important;
        animation: fadeInOverlay 0.25s ease;
    }

    .mobile-drawer-overlay[hidden] {
        display: none !important;
    }

    .mobile-drawer-content {
        width: 280px !important;
        height: 100% !important;
        background: #14131a !important;
        border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
        padding: 20px 16px !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
        box-shadow: 10px 0 30px rgba(0, 0, 0, 0.5) !important;
        animation: slideLeftDrawer 250ms cubic-bezier(0.16, 1, 0.3, 1) !important;
        overflow-y: auto !important;
    }

    .mobile-drawer-content.is-closing {
        animation: slideLeftOut 220ms ease-in forwards !important;
    }

    .mobile-drawer-header {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding-bottom: 12px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    }

    .mobile-drawer-user {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
    }

    .mobile-drawer-close {
        background: rgba(255, 255, 255, 0.1) !important;
        border: none !important;
        color: #fff !important;
        width: 32px !important;
        height: 32px !important;
        border-radius: 50% !important;
        font-size: 16px !important;
        cursor: pointer !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .mobile-drawer-nav {
        display: flex !important;
        flex-direction: column !important;
        gap: 4px !important;
    }

    .mobile-drawer-nav a {
        padding: 12px 14px !important;
        border-radius: 12px !important;
        color: var(--text) !important;
        text-decoration: none !important;
        font-size: 14.5px !important;
        font-weight: 500 !important;
        transition: background 0.15s !important;
    }

    .mobile-drawer-nav a:active {
        background: rgba(255, 255, 255, 0.08) !important;
    }

    /* 1. Bottom Navigation Bar (Instagram Style) */
    .mobile-bottom-nav {
        display: flex !important;
        align-items: center !important;
        justify-content: space-around !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        height: 68px !important;
        background: rgba(15, 15, 16, 0.92) !important;
        backdrop-filter: blur(16px) !important;
        -webkit-backdrop-filter: blur(16px) !important;
        border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
        box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.35) !important;
        z-index: 10000 !important;
        padding-bottom: env(safe-area-inset-bottom) !important;
    }

    .mobile-nav-item {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        flex: 1 !important;
        height: 100% !important;
        color: rgba(255, 255, 255, 0.60) !important;
        text-decoration: none !important;
        background: none !important;
        border: none !important;
        padding: 4px 0 !important;
        cursor: pointer !important;
        transition: color 0.2s, transform 0.2s !important;
        font-family: var(--font-body) !important;
        -webkit-tap-highlight-color: transparent !important;
    }

    .mobile-nav-item:active {
        transform: scale(0.94) !important;
    }

    .mobile-nav-item.active {
        color: #FFFFFF !important;
    }

    .mobile-nav-icon {
        font-size: 22px !important;
        line-height: 1 !important;
        margin-bottom: 3px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .mobile-nav-avatar {
        width: 24px !important;
        height: 24px !important;
        border-radius: 50% !important;
        object-fit: cover !important;
        border: 1.5px solid rgba(255, 255, 255, 0.4) !important;
    }

    .mobile-nav-item.active .mobile-nav-avatar {
        border-color: #FFFFFF !important;
    }

    .mobile-nav-label {
        font-size: 10px !important;
        font-weight: 500 !important;
        letter-spacing: 0.1px !important;
    }

    /* Distinctive Prominent Center ➕ Button (46px Circular) */
    .mobile-nav-add .add-icon {
        background: #FFFFFF !important;
        color: #0f0f10 !important;
        width: 46px !important;
        height: 46px !important;
        border-radius: 50% !important;
        font-size: 20px !important;
        font-weight: 700 !important;
        box-shadow: 0 4px 16px rgba(255, 255, 255, 0.25) !important;
        margin-bottom: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    /* 5. Mobile Feed & Card Optimizations (Instagram Style) */
    .post-card,
    .profile-card,
    .sidebar-card,
    .auth-box {
        border-radius: 16px !important;
        margin-bottom: 12px !important;
        padding: 14px !important;
    }

    .post-content {
        font-size: 14.5px !important;
        line-height: 1.6 !important;
    }

    .post-card img,
    .trending-card img,
    .discover-card img {
        max-width: 100% !important;
        border-radius: 12px !important;
    }

    .avatar-sm, .avatar-lg, .avatar {
        border-radius: 50% !important;
    }

    .feed-layout {
        grid-template-columns: 1fr !important;
    }

    .feed-sidebar {
        display: none !important;
    }

    .trending-grid,
    .discover-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    .trending-card {
        height: 210px !important;
        border-radius: 14px !important;
    }

    /* 6. Touch Animations & Feedback */
    button:active,
    .btn-primary:active,
    .btn-ghost:active,
    .icon-btn:active,
    .choice-btn:active {
        transform: scale(0.96) !important;
        opacity: 0.88 !important;
        transition: transform 0.2s, opacity 0.2s !important;
    }

    /* Mobile Bottom Sheet Composer Modal (Instagram / Letterboxd style) */
    .mobile-composer-overlay {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        background: rgba(0, 0, 0, 0.75) !important;
        backdrop-filter: blur(16px) !important;
        -webkit-backdrop-filter: blur(16px) !important;
        z-index: 20000 !important;
        display: flex !important;
        align-items: flex-end !important;
        justify-content: center !important;
        animation: fadeInOverlay 0.2s ease-out;
    }

    .mobile-composer-overlay[hidden] {
        display: none !important;
    }

    .mobile-composer-sheet {
        width: 100% !important;
        max-height: 88vh !important;
        background: #161329 !important;
        border-radius: 24px 24px 0 0 !important;
        border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
        padding: 16px 20px 30px !important;
        overflow-y: auto !important;
        box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.6) !important;
        animation: slideUpSheet 300ms cubic-bezier(0.16, 1, 0.3, 1) !important;
    }

    .mobile-composer-sheet.is-closing {
        animation: slideDownSheet 250ms ease-in forwards !important;
    }

    .mobile-composer-handle {
        width: 38px !important;
        height: 4px !important;
        background: rgba(255, 255, 255, 0.2) !important;
        border-radius: 4px !important;
        margin: 0 auto 14px !important;
    }

    .mobile-composer-header {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        margin-bottom: 16px !important;
        padding-bottom: 12px !important;
        border-bottom: 1px solid var(--border) !important;
    }

    .mobile-composer-header h3 {
        margin: 0 !important;
        font-size: 17.5px !important;
        color: var(--text) !important;
        font-weight: 700 !important;
    }

    .mobile-composer-close {
        background: rgba(255, 255, 255, 0.1) !important;
        border: none !important;
        color: var(--text) !important;
        width: 32px !important;
        height: 32px !important;
        border-radius: 50% !important;
        font-size: 16px !important;
        cursor: pointer !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .mobile-search-wrap {
        position: relative;
        margin-bottom: 14px;
    }

    .mobile-search-icon {
        position: absolute;
        left: 14px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 16px;
        color: var(--muted);
    }

    .mobile-search-wrap input {
        width: 100%;
        padding: 13px 14px 13px 42px;
        border-radius: 14px;
        border: 1px solid var(--border);
        background: var(--surface-2);
        color: var(--text);
        font-size: 15px;
        font-family: var(--font-body);
        outline: none;
    }

    .mobile-search-wrap input:focus {
        border-color: var(--accent);
    }

    .mobile-search-dropdown {
        max-height: 280px;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .mobile-selected-card {
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 12px;
        background: var(--surface-2);
        border: 1px solid var(--border);
        border-radius: 14px;
        margin-bottom: 16px;
    }

    .mobile-selected-card img {
        width: 48px;
        height: 70px;
        border-radius: 8px;
        object-fit: cover;
    }

    .mobile-selected-info {
        display: flex;
        flex-direction: column;
        gap: 4px;
        flex: 1;
    }

    .mobile-selected-info strong {
        font-size: 15px;
        color: var(--text);
    }

    .mobile-change-btn {
        background: none;
        border: none;
        color: var(--accent-2);
        font-size: 12.5px;
        font-weight: 600;
        cursor: pointer;
        padding: 0;
        text-align: left;
    }

    .composer-field-block {
        margin-bottom: 14px;
    }

    .composer-label {
        font-weight: 600;
        display: block;
        margin-bottom: 6px;
        font-size: 13.5px;
        color: var(--text);
    }

    .composer-input, .composer-textarea {
        width: 100%;
        padding: 12px 14px;
        border-radius: 12px;
        border: 1px solid var(--border);
        background: var(--surface-2);
        color: var(--text);
        font-family: var(--font-body);
        font-size: 14.5px;
        outline: none;
    }

    .composer-textarea {
        min-height: 100px;
        resize: vertical;
    }

    .composer-input:focus, .composer-textarea:focus {
        border-color: var(--accent);
    }

    .mobile-submit-btn {
        width: 100% !important;
        padding: 13px !important;
        font-size: 15.5px !important;
        font-weight: 600 !important;
        border-radius: 24px !important;
        margin-top: 10px !important;
    }
}

@keyframes slideLeftDrawer {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

@keyframes slideLeftOut {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}

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

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

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