* { box-sizing: border-box; margin: 0; padding: 0; }
:root { --bg: #0f0f0f; --surface: #1a1a1a; --surface2: #242424; --border: #2e2e2e; --text: #f0f0f0; --muted: #888; --accent: #BA7517; --accent2: #e08f1f; }
body { font-family: system-ui, sans-serif; background: var(--bg); color: var(--text); min-height: 100vh; }
a { color: inherit; text-decoration: none; }
nav { display: flex; align-items: center; justify-content: space-between; padding: 0 24px; height: 56px; background: var(--surface); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
.logo { font-size: 18px; font-weight: 700; letter-spacing: -0.5px; color: var(--text); }
.logo span { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 20px; }
.nav-links a { font-size: 13px; color: var(--muted); transition: color 0.15s; }
.nav-links a:hover { color: var(--text); }
.nav-btn { font-size: 13px; padding: 6px 14px; border-radius: 6px; background: var(--accent); color: #fff; border: none; cursor: pointer; font-family: inherit; }
.nav-btn:hover { background: var(--accent2); }
.nav-user { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 12px; }
.filters { display: flex; align-items: center; gap: 8px; padding: 14px 24px; background: var(--surface); border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.filter-label { font-size: 12px; color: var(--muted); }
.pill { font-size: 12px; padding: 5px 12px; border-radius: 99px; border: 1px solid var(--border); background: transparent; color: var(--muted); cursor: pointer; transition: all 0.15s; font-family: inherit; }
.pill:hover { border-color: var(--accent); color: var(--accent); }
.pill.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.divider { width: 1px; height: 20px; background: var(--border); margin: 0 4px; }
select.filter-select { font-size: 12px; padding: 5px 10px; border-radius: 6px; border: 1px solid var(--border); background: var(--surface2); color: var(--text); cursor: pointer; font-family: inherit; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; padding: 24px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; cursor: pointer; transition: border-color 0.15s, transform 0.15s; }
.card:hover { border-color: var(--accent); transform: translateY(-2px); }
.thumb { width: 100%; aspect-ratio: 16/9; background: var(--surface2); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.play-btn { position: absolute; width: 40px; height: 40px; border-radius: 50%; background: rgba(0,0,0,0.6); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.15s; }
.card:hover .play-btn { opacity: 1; }
.play-tri { width: 0; height: 0; border-top: 8px solid transparent; border-bottom: 8px solid transparent; border-left: 14px solid #fff; margin-left: 3px; }
.card-body { padding: 12px; }
.card-title { font-size: 14px; font-weight: 500; margin-bottom: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tag-row { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 8px; }
.tag { font-size: 11px; padding: 2px 8px; border-radius: 99px; font-weight: 500; }
.tag-funny { background: #3a2800; color: #f5a623; }
.tag-rage { background: #2a0000; color: #e24b4a; }
.tag-drama { background: #2a0020; color: #d4537e; }
.tag-wholesome { background: #002a10; color: #4caf50; }
.tag-wild { background: #1a0040; color: #9b77dd; }
.tag-gaming { background: #001a2a; color: #4a9edd; }
.tag-default { background: var(--surface2); color: var(--muted); }
.people-row { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 8px; }
.person-chip { font-size: 11px; padding: 2px 8px; border-radius: 99px; background: var(--surface2); color: var(--muted); border: 1px solid var(--border); cursor: pointer; }
.person-chip:hover { color: var(--accent); border-color: var(--accent); }
.card-meta { display: flex; align-items: center; gap: 12px; }
.meta { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--muted); }
.section-bar { display: flex; align-items: center; gap: 12px; padding: 20px 24px 4px; }
.section-bar h2 { font-size: 13px; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; white-space: nowrap; }
.section-bar::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 6px; border: 1px solid var(--border); background: transparent; color: var(--text); font-size: 13px; cursor: pointer; font-family: inherit; transition: all 0.15s; }
.btn:hover { border-color: var(--accent); color: var(--accent); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent2); border-color: var(--accent2); color: #fff; }
.btn-danger { border-color: #e24b4a; color: #e24b4a; }
.btn-danger:hover { background: #2a0000; }
.modal-bg { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.8); z-index: 200; align-items: center; justify-content: center; }
.modal-bg.open { display: flex; }
.modal { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 28px; width: 100%; max-width: 420px; }
.modal h2 { font-size: 18px; font-weight: 600; margin-bottom: 20px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 9px 12px; border-radius: 6px; border: 1px solid var(--border); background: var(--surface2); color: var(--text); font-size: 14px; font-family: inherit; }
.form-group textarea { resize: vertical; min-height: 80px; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--accent); }
.tag-input-wrap { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px; border: 1px solid var(--border); border-radius: 6px; background: var(--surface2); min-height: 42px; cursor: text; }
.tag-input-wrap input { background: transparent; border: none; color: var(--text); font-size: 14px; outline: none; flex: 1; min-width: 120px; font-family: inherit; }
.removable { display: flex; align-items: center; gap: 4px; font-size: 12px; padding: 2px 8px; border-radius: 99px; background: var(--surface); border: 1px solid var(--border); color: var(--text); }
.removable span { cursor: pointer; color: var(--muted); }
.removable span:hover { color: #e24b4a; }
.msg { font-size: 13px; padding: 10px 12px; border-radius: 6px; margin-bottom: 16px; }
.msg-error { background: #2a0000; color: #e24b4a; border: 1px solid #5a1010; }
.msg-success { background: #002a10; color: #4caf50; border: 1px solid #105a20; }
.page-wrap { max-width: 1200px; margin: 0 auto; padding: 24px; }
.profile-header { display: flex; align-items: center; gap: 24px; padding: 32px 0 24px; border-bottom: 1px solid var(--border); margin-bottom: 24px; }
.avatar { width: 72px; height: 72px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 700; color: #fff; flex-shrink: 0; }
.profile-stats { display: flex; gap: 28px; margin-top: 10px; }
.pstat-num { font-size: 20px; font-weight: 600; }
.pstat-lbl { font-size: 12px; color: var(--muted); }
.tl-wrap { padding: 0 24px 32px; }
.tl-month { margin-top: 28px; }
.tl-month-label { font-size: 13px; font-weight: 500; color: var(--muted); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.tl-month-label::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.tl-events { display: flex; flex-direction: column; gap: 10px; padding-left: 18px; border-left: 2px solid var(--border); margin-left: 6px; }
.tl-event { display: flex; align-items: center; gap: 12px; }
.tl-dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; margin-left: -25px; border: 2px solid var(--bg); }
.tl-card { flex: 1; display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 10px 14px; cursor: pointer; transition: border-color 0.15s; }
.tl-card:hover { border-color: var(--accent); }
.tl-thumb { width: 80px; aspect-ratio: 16/9; border-radius: 4px; background: var(--surface2); flex-shrink: 0; overflow: hidden; }
.tl-thumb img { width: 100%; height: 100%; object-fit: cover; }
.tl-title { font-size: 13px; font-weight: 500; margin-bottom: 3px; }
.tl-people { font-size: 11px; color: var(--muted); }
.empty { text-align: center; padding: 60px 24px; color: var(--muted); font-size: 14px; }
.pending-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--border); }
.pending-row:last-child { border-bottom: none; }
