/* ========== Stashly α 0.2 — Premium Dark Theme ========== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --background: #0e0f0d;
  --background-content: #141513;
  --base-color: #7f916f;
  --link-base-color: #cbd9bf;
  --alpha-base-color: rgba(127,145,111,0.15);
  --font-color: #e0e0e0;
  --bg-primary: var(--background);
  --bg-secondary: #191a18;
  --bg-card: #1c1d1a;
  --bg-hover: #242622;
  --bg-input: #1e201c;
  --border: rgba(127,145,111,0.12);
  --border-light: rgba(127,145,111,0.2);
  --text-primary: var(--font-color);
  --text-secondary: #a8a8a8;
  --text-muted: #666;
  --accent: var(--base-color);
  --accent-hover: #6b7d5d;
  --accent-soft: rgba(127,145,111,0.12);
  --red: rgb(253,27,83);
  --red-soft: rgba(253,27,84,0.15);
  --blockquote-background: rgba(127,145,111,0.08);
  --blockquote: #7f916f;
  --button-background: #1e201c;
  --button-color: var(--font-color);
  --button-background-focus: #2a2c28;
  --scrollbar-background: #0a0a0a;
  --scrollbar-color: var(--base-color);
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(0,0,0,0.5);
  --shadow-soft: 0 2px 12px rgba(0,0,0,0.25);
  --sidebar-width: 260px;
  --transition: 0.2s ease;
  --transition-slow: 0.35s cubic-bezier(0.4,0,0.2,1);
}

* { margin:0; padding:0; box-sizing:border-box; scrollbar-width:thin; scrollbar-color:var(--scrollbar-color) var(--scrollbar-background); }
*::-webkit-scrollbar { height:8px; width:8px; }
*::-webkit-scrollbar-track { background:var(--scrollbar-background); }
*::-webkit-scrollbar-thumb { background-color:var(--scrollbar-color); border-radius:4px; border:2px solid var(--scrollbar-background); }

body { font-family:'Inter',system-ui,-apple-system,sans-serif; background:var(--background); color:var(--text-primary); line-height:1.5; min-height:100vh; font-size:14px; }
a { color:var(--link-base-color); text-decoration:none; transition:color var(--transition); }
a:hover { color:var(--base-color); }

/* ========== Layout ========== */
.app-layout { display:flex; min-height:100vh; }

/* ========== Sidebar ========== */
.sidebar {
  width:var(--sidebar-width); background:var(--background-content);
  border-right:1px solid var(--border); position:fixed; top:0; left:0; bottom:0;
  display:flex; flex-direction:column; z-index:100; transition:transform var(--transition);
}
.sidebar-logo {
  padding:18px 20px; background:linear-gradient(135deg,var(--base-color),#6b7d5d);
  display:flex; align-items:center; justify-content:space-between;
}
.sidebar-logo a {
  font-size:20px; font-weight:800; color:#fff; letter-spacing:-0.5px;
  text-decoration:none; display:flex; align-items:center; gap:10px;
}
.sidebar-logo a:hover { text-decoration:none; color:#fff; }
.sidebar-logo-icon { width:28px; height:28px; }
.version-badge {
  background:rgba(0,0,0,0.25); color:rgba(255,255,255,0.9);
  font-size:10px; font-weight:700; padding:3px 8px; border-radius:6px; letter-spacing:0.5px;
}
.sidebar-nav { flex:1; padding:12px 10px; display:flex; flex-direction:column; gap:2px; }
.nav-link {
  display:flex; align-items:center; gap:12px; padding:10px 14px; border-radius:8px;
  color:var(--text-secondary); font-size:14px; font-weight:500; transition:all var(--transition); text-decoration:none;
}
.nav-link:hover { background:var(--button-background-focus); color:var(--text-primary); text-decoration:none; }
.nav-link.active { background:var(--alpha-base-color); color:var(--link-base-color); text-decoration:none; }
.nav-link svg { width:20px; height:20px; flex-shrink:0; }
.nav-spacer { flex:1; }
.sidebar-user {
  padding:14px; border-top:1px solid var(--border); display:flex;
  align-items:center; gap:10px; background:var(--button-background);
}
.sidebar-user img { width:34px; height:34px; border-radius:50%; object-fit:cover; }
.sidebar-user-info { flex:1; min-width:0; }
.sidebar-user-name { font-size:13px; font-weight:600; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.sidebar-user-username { font-size:11px; color:var(--text-muted); }
.sidebar-logout { color:var(--text-muted); padding:4px; border-radius:6px; transition:all var(--transition); display:flex; }
.sidebar-logout:hover { color:var(--red); background:var(--red-soft); }

/* ========== Main content ========== */
.main-content { flex:1; margin-left:var(--sidebar-width); min-height:100vh; background:var(--background-content); display:flex; flex-direction:column; }
.page-content { max-width:640px; margin:0 auto; padding:28px 16px; flex:1; width:100%; }
.page-header { margin-bottom:28px; }
.page-title { font-size:26px; font-weight:800; letter-spacing:-0.5px; }
.page-subtitle { color:var(--text-secondary); font-size:14px; margin-top:4px; }

/* ========== Posts grid ========== */
.posts-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(240px,1fr)); gap:16px; }
.post-card {
  background:var(--bg-card); border-radius:12px; overflow:hidden;
  border:1px solid var(--border); transition:all var(--transition-slow);
}
.post-card:hover { transform:translateY(-3px); box-shadow:0 8px 32px rgba(0,0,0,0.4); border-color:var(--border-light); }
.post-card-image { position:relative; width:100%; padding-top:75%; overflow:hidden; background:#0a0b09; display:block; }
.post-card-image img, .post-card-image video {
  position:absolute; top:0; left:0; width:100%; height:100%; object-fit:cover; transition:transform 0.4s ease;
}
.post-card:hover .post-card-image img, .post-card:hover .post-card-image video { transform:scale(1.05); }
.post-card-text-placeholder {
  position:absolute; top:0; left:0; right:0; bottom:0;
  display:flex; align-items:center; justify-content:center;
  color:var(--text-muted); background:linear-gradient(135deg,var(--alpha-base-color),rgba(127,145,111,0.05));
}
.post-card-badge {
  position:absolute; bottom:8px; left:8px; padding:3px 10px; border-radius:6px;
  font-size:11px; font-weight:600; display:flex; align-items:center; gap:4px;
  backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px); z-index:2;
}
.post-card-badge-video { background:rgba(0,0,0,0.65); color:#fff; }
.post-card-badge-audio { background:rgba(127,145,111,0.7); color:#fff; }
.post-card-badge-gif { background:rgba(253,27,83,0.75); color:#fff; }
.post-card-audio-placeholder {
  position:absolute; top:0; left:0; right:0; bottom:0;
  display:flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg,#1a1c18,#0e0f0d);
}
.post-card-audio-wave { display:flex; align-items:center; gap:4px; height:40px; }
.post-card-audio-wave span { width:4px; background:var(--base-color); border-radius:2px; animation:audioWave 1.2s ease-in-out infinite; }
.post-card-audio-wave span:nth-child(1) { height:16px; animation-delay:0s; }
.post-card-audio-wave span:nth-child(2) { height:28px; animation-delay:0.15s; }
.post-card-audio-wave span:nth-child(3) { height:40px; animation-delay:0.3s; }
.post-card-audio-wave span:nth-child(4) { height:24px; animation-delay:0.45s; }
.post-card-audio-wave span:nth-child(5) { height:32px; animation-delay:0.6s; }
@keyframes audioWave {
  0%,100% { transform:scaleY(0.4); opacity:0.5; }
  50% { transform:scaleY(1); opacity:1; }
}
.post-card-body { padding:12px 14px; }
.post-card-title { font-size:14px; font-weight:600; margin-bottom:8px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.post-card-title a { color:inherit; text-decoration:none; }
.post-card-title a:hover { color:var(--link-base-color); }
.post-card-meta { display:flex; align-items:center; justify-content:space-between; font-size:12px; color:var(--text-muted); }
.post-card-author { display:flex; align-items:center; gap:6px; text-decoration:none; color:var(--text-muted); }
.post-card-author:hover { color:var(--text-secondary); text-decoration:none; }
.post-card-author img { width:20px; height:20px; border-radius:50%; object-fit:cover; }
.post-card-stats { display:flex; gap:10px; }
.post-card-stats span { display:flex; align-items:center; gap:3px; }

/* ========== Post detail ========== */
.post-detail { background:var(--bg-card); border-radius:12px; overflow:hidden; border:1px solid var(--border); }
.post-images { background:#000; }
.post-images img, .post-images video { width:100%; max-height:80vh; object-fit:contain; display:block; }
.post-images-gallery { display:grid; gap:4px; }
.post-images-gallery.cols-2 { grid-template-columns:1fr 1fr; }
.post-images-gallery.cols-3 { grid-template-columns:1fr 1fr 1fr; }
.post-body { padding:24px; }
.post-body h1 { font-size:24px; font-weight:700; margin-bottom:12px; letter-spacing:-0.3px; }
.post-content { font-size:15px; line-height:1.7; color:var(--text-secondary); }
.post-content p { margin-bottom:12px; }
.post-content img { max-width:100%; border-radius:8px; margin:12px 0; }
.post-content h1,.post-content h2,.post-content h3 { color:var(--text-primary); margin:20px 0 10px; }
.post-content h1 { font-size:24px; } .post-content h2 { font-size:20px; } .post-content h3 { font-size:18px; }
.post-content blockquote { border-left:3px solid var(--blockquote); padding:8px 0 8px 16px; margin:12px 0; background:var(--blockquote-background); border-radius:0 8px 8px 0; }
.post-content code { background:var(--alpha-base-color); padding:2px 6px; border-radius:4px; font-size:13px; font-family:'JetBrains Mono','Fira Code',monospace; }
.post-content pre { background:#0a0a0a; color:#e0e0e0; padding:16px; font-size:13px; border:1px solid var(--border); border-radius:10px; overflow-x:auto; margin:12px 0; }
.post-content pre code { background:none; padding:0; border:none; }
.post-content hr { border:none; height:1px; background:var(--border); margin:20px 0; }
.post-actions { display:flex; align-items:center; gap:12px; padding:14px 24px; border-top:1px solid var(--border); }
.post-action-btn {
  display:inline-flex; align-items:center; gap:6px; background:transparent; border:none;
  color:var(--text-muted); font-size:14px; cursor:pointer; padding:6px 12px; border-radius:8px;
  transition:all var(--transition); font-family:inherit;
}
.post-action-btn:hover { background:var(--button-background-focus); color:var(--text-primary); }
.post-action-btn.liked { color:var(--red); }
.post-action-btn svg { width:18px; height:18px; }
.post-tags { display:flex; gap:6px; flex-wrap:wrap; margin-top:14px; }
.tag {
  background:var(--blockquote-background); color:var(--link-base-color); padding:4px 12px;
  border-radius:6px; font-size:12px; font-weight:500; text-decoration:none; transition:all var(--transition);
}
.tag:hover { background:var(--alpha-base-color); text-decoration:none; }
.post-author-bar { display:flex; align-items:center; gap:12px; margin-bottom:16px; }
.post-author-bar img { width:40px; height:40px; border-radius:50%; object-fit:cover; border:2px solid var(--border-light); }
.post-author-name { font-weight:600; font-size:14px; }
.post-author-handle { font-size:13px; color:var(--text-muted); }
.post-author-date { font-size:12px; color:var(--text-muted); }

/* ========== Comments ========== */
.comments-section { padding:24px; border-top:1px solid var(--border); }
.comments-title { font-size:16px; font-weight:700; margin-bottom:16px; }
.comment { display:flex; gap:12px; margin-bottom:14px; padding-bottom:14px; border-bottom:1px solid rgba(255,255,255,0.04); }
.comment:last-child { border-bottom:none; margin-bottom:0; }
.comment img { width:30px; height:30px; border-radius:50%; object-fit:cover; flex-shrink:0; }
.comment-body { flex:1; }
.comment-header { display:flex; align-items:center; gap:8px; margin-bottom:4px; }
.comment-author { font-weight:600; font-size:13px; }
.comment-date { font-size:11px; color:var(--text-muted); }
.comment-text { font-size:14px; color:var(--text-secondary); line-height:1.5; }
.comment-form { display:flex; gap:8px; margin-top:14px; }
.comment-form input { flex:1; }
.comment-delete { background:none; border:none; color:var(--text-muted); cursor:pointer; font-size:12px; margin-left:auto; padding:2px 6px; border-radius:4px; transition:all var(--transition); }
.comment-delete:hover { color:var(--red); background:var(--red-soft); }

/* ========== Profile ========== */
.profile-banner {
  width:100%; height:200px; object-fit:cover; border-radius:12px 12px 0 0;
  background:linear-gradient(135deg,var(--alpha-base-color),rgba(127,145,111,0.05));
}
.profile-banner-placeholder {
  width:100%; height:200px; border-radius:12px 12px 0 0;
  background:linear-gradient(135deg,rgba(127,145,111,0.2),rgba(127,145,111,0.05));
}
.profile-header-card {
  background:var(--bg-card); border-radius:12px; overflow:hidden;
  border:1px solid var(--border); margin-bottom:28px;
}
.profile-header {
  display:flex; align-items:center; gap:24px; padding:24px; position:relative;
}
.profile-avatar { width:90px; height:90px; border-radius:50%; object-fit:cover; border:3px solid var(--base-color); margin-top:-45px; background:var(--bg-card); }
.profile-info { flex:1; }
.profile-name { font-size:22px; font-weight:800; display:flex; align-items:center; gap:10px; letter-spacing:-0.3px; }
.profile-username { color:var(--text-muted); font-size:14px; font-weight:400; }
.profile-bio { color:var(--text-secondary); font-size:14px; margin-top:4px; }
.profile-stats { display:flex; gap:20px; margin-top:10px; font-size:14px; }
.profile-stat-value { font-weight:700; color:var(--text-primary); }
.profile-stat-label { color:var(--text-muted); margin-left:4px; }
.admin-badge { display:inline-flex; align-items:center; gap:5px; background:linear-gradient(135deg,var(--base-color),#4a5a3e); color:#fff; font-size:10px; padding:3px 10px 3px 8px; border-radius:20px; font-weight:700; letter-spacing:0.5px; text-transform:uppercase; box-shadow:0 0 10px rgba(127,145,111,0.35); }
.profile-badges { display:flex; flex-wrap:wrap; gap:6px; margin-top:8px; }
.profile-badge { display:inline-flex; align-items:center; gap:5px; padding:4px 10px; border-radius:20px; font-size:11px; font-weight:600; border:1px solid; cursor:default; transition:opacity 0.15s; }
.profile-badge:hover { opacity:0.85; }

/* ========== Forms ========== */
.form-container { max-width:420px; margin:48px auto; }
.form-card { background:var(--bg-card); border-radius:12px; padding:28px; border:1px solid var(--border); }
.form-title { font-size:22px; font-weight:800; margin-bottom:20px; text-align:center; }
.form-group { margin-bottom:16px; }
.form-group label { display:block; font-size:12px; font-weight:600; margin-bottom:6px; color:var(--text-secondary); text-transform:uppercase; letter-spacing:0.5px; }
input[type="text"],input[type="email"],input[type="password"],input[type="search"],input[type="color"],textarea,select {
  width:100%; padding:10px 14px; background:var(--bg-input); border:1px solid var(--border);
  border-radius:8px; color:var(--text-primary); font-size:14px; font-family:inherit; transition:all var(--transition);
}
input:focus,textarea:focus,select:focus { outline:none; border-color:var(--base-color); box-shadow:0 0 0 3px var(--alpha-base-color); }
input:hover,textarea:hover,select:hover { border-color:var(--border-light); }
textarea { min-height:120px; resize:vertical; }
.btn {
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:10px 20px; border-radius:8px; font-size:14px; font-weight:600;
  font-family:inherit; border:none; cursor:pointer; transition:all var(--transition);
}
.btn-primary { background:var(--base-color); color:#000; }
.btn-primary:hover { background:var(--accent-hover); color:#fff; text-decoration:none; transform:translateY(-1px); box-shadow:0 4px 16px rgba(127,145,111,0.3); }
.btn-secondary { background:var(--button-background); color:var(--font-color); border:1px solid var(--border); }
.btn-secondary:hover { background:var(--button-background-focus); text-decoration:none; border-color:var(--border-light); }
.btn-danger { background:var(--red); color:#fff; }
.btn-danger:hover { background:#fff; color:var(--red); text-decoration:none; }
.btn-follow { padding:8px 20px; font-size:13px; }
.btn-sm { padding:6px 14px; font-size:12px; }
.btn-block { width:100%; }
.btn-twitch { background:#9146FF; color:#fff; display:inline-flex; align-items:center; justify-content:center; gap:8px; }
.btn-twitch:hover { background:#7c3aed; color:#fff; text-decoration:none; transform:translateY(-1px); box-shadow:0 4px 16px rgba(145,70,255,0.3); }
.oauth-divider { text-align:center; margin:16px 0; position:relative; }
.oauth-divider::before { content:''; position:absolute; left:0; right:0; top:50%; height:1px; background:var(--border); }
.oauth-divider span { background:var(--bg-card); padding:0 12px; position:relative; color:var(--text-muted); font-size:12px; text-transform:uppercase; letter-spacing:1px; }
.linked-account { display:flex; align-items:center; justify-content:space-between; padding:12px 16px; background:var(--bg-input); border-radius:var(--radius-sm); border:1px solid var(--border); }
.linked-account-info { display:flex; align-items:center; gap:12px; }
.linked-account-name { font-weight:600; font-size:14px; }
.linked-account-status { font-size:12px; color:var(--text-muted); }
.linked-account-status.linked { color:var(--link-base-color); }
.alert { padding:12px 20px; border-radius:10px; font-size:13px; margin-bottom:16px; }
.alert-error { background:var(--red-soft); color:#ff6b8a; border:1px solid rgba(253,27,83,0.3); }
.alert-success { background:var(--blockquote-background); color:var(--link-base-color); border:1px solid rgba(127,145,111,0.3); }
.form-footer { text-align:center; margin-top:14px; font-size:13px; color:var(--text-muted); }

/* ========== Upload area ========== */
.upload-area {
  border:2px dashed var(--border-light); border-radius:12px; padding:36px;
  text-align:center; cursor:pointer; transition:all var(--transition); position:relative; background:var(--blockquote-background);
}
.upload-area:hover,.upload-area.dragover { border-color:var(--base-color); background:var(--alpha-base-color); }
.upload-area input[type="file"] { position:absolute; top:0; left:0; right:0; bottom:0; opacity:0; cursor:pointer; width:100%; height:100%; }
.upload-icon { font-size:36px; margin-bottom:8px; }
.upload-text { font-size:14px; color:var(--text-secondary); }
.upload-hint { font-size:12px; color:var(--text-muted); margin-top:4px; }
.upload-preview { display:grid; grid-template-columns:repeat(auto-fill,minmax(90px,1fr)); gap:8px; margin-top:14px; }
.upload-preview-item { position:relative; padding-top:100%; border-radius:8px; overflow:hidden; background:#111; }
.upload-preview-item img { position:absolute; top:0; left:0; width:100%; height:100%; object-fit:cover; }
.upload-preview-remove { position:absolute; top:4px; right:4px; width:20px; height:20px; border-radius:50%; background:rgba(0,0,0,0.7); color:#fff; border:none; cursor:pointer; font-size:14px; line-height:1; display:flex; align-items:center; justify-content:center; z-index:3; padding:0; }
.upload-preview-remove:hover { background:var(--red); }
.upload-preview-num { position:absolute; bottom:4px; left:4px; background:rgba(0,0,0,0.6); color:#fff; font-size:9px; font-weight:700; padding:2px 5px; border-radius:4px; z-index:3; }

/* ========== Notion-like Editor ========== */
.editor-card { padding:24px; }
.editor-title-input { font-size:28px !important; font-weight:800 !important; border:none !important; background:transparent !important; padding:0 !important; letter-spacing:-0.5px; }
.editor-title-input::placeholder { color:var(--text-muted); }
.editor-title-input:focus { box-shadow:none !important; }
.notion-editor-toolbar {
  display:flex; align-items:center; gap:4px; padding:8px 12px;
  background:var(--bg-input); border-radius:10px; margin-bottom:12px; border:1px solid var(--border); flex-wrap:wrap;
}
.toolbar-btn {
  background:none; border:none; color:var(--text-muted); cursor:pointer; padding:6px 8px;
  border-radius:6px; font-size:12px; font-weight:600; font-family:inherit; transition:all var(--transition);
  display:flex; align-items:center; justify-content:center; min-width:32px; height:32px;
}
.toolbar-btn:hover { background:var(--alpha-base-color); color:var(--link-base-color); }
.toolbar-divider { width:1px; height:20px; background:var(--border); margin:0 4px; }
.notion-editor { min-height:200px; border:1px solid var(--border); border-radius:10px; padding:16px; background:var(--bg-input); transition:border-color var(--transition); position:relative; overflow:visible; }
.notion-editor:focus-within { border-color:var(--base-color); box-shadow:0 0 0 3px var(--alpha-base-color); }
.notion-block { display:flex; align-items:flex-start; gap:8px; margin-bottom:4px; padding:4px 0; border-radius:6px; transition:background var(--transition); position:relative; }
.notion-block:hover { background:rgba(127,145,111,0.04); }
.notion-block-handle { color:var(--text-muted); cursor:grab; font-size:14px; padding:4px 2px; opacity:0; transition:opacity var(--transition); user-select:none; flex-shrink:0; }
.notion-block:hover .notion-block-handle { opacity:0.5; }
.notion-block-handle:hover { opacity:1 !important; color:var(--base-color); }
.notion-block-content { flex:1; outline:none; font-size:14px; line-height:1.6; color:var(--text-primary); min-height:24px; padding:2px 4px; border-radius:4px; word-break:break-word; }
.notion-block-content:empty::before { content:attr(data-placeholder); color:var(--text-muted); font-style:italic; }
.notion-block[data-type="h1"] .notion-block-content { font-size:24px; font-weight:800; letter-spacing:-0.3px; }
.notion-block[data-type="h2"] .notion-block-content { font-size:20px; font-weight:700; }
.notion-block[data-type="h3"] .notion-block-content { font-size:17px; font-weight:600; }
.notion-block[data-type="quote"] .notion-block-content { border-left:3px solid var(--base-color); padding-left:14px; color:var(--text-secondary); font-style:italic; }
.notion-block[data-type="codeblock"] .notion-block-content { font-family:'JetBrains Mono','Fira Code',monospace; font-size:13px; background:#0a0a0a; padding:12px; border-radius:8px; border:1px solid var(--border); white-space:pre-wrap; color:#c9d1d9; }
.notion-block[data-type="ul"] .notion-block-content::before { content:"• "; color:var(--base-color); font-weight:700; }
.notion-block[data-type="divider"] { pointer-events:none; }
.notion-block[data-type="divider"] .notion-block-content { border-top:1px solid var(--border); height:1px; min-height:1px; padding:0; margin:12px 0; }
.notion-block-delete { background:none; border:none; color:var(--text-muted); cursor:pointer; font-size:16px; padding:2px 6px; border-radius:4px; opacity:0; transition:all var(--transition); flex-shrink:0; }
.notion-block:hover .notion-block-delete { opacity:0.5; }
.notion-block-delete:hover { opacity:1 !important; color:var(--red); background:var(--red-soft); }
.notion-add-block {
  display:flex; align-items:center; gap:8px; background:none; border:1px dashed var(--border);
  color:var(--text-muted); cursor:pointer; padding:10px 16px; border-radius:8px; font-size:13px;
  font-family:inherit; width:100%; margin-top:8px; transition:all var(--transition);
}
.notion-add-block:hover { border-color:var(--base-color); color:var(--link-base-color); background:var(--blockquote-background); }
.slash-menu {
  position:absolute; background:var(--bg-card); border:1px solid var(--border); border-radius:10px;
  padding:6px; box-shadow:var(--shadow); z-index:50; width:280px; max-height:320px; overflow-y:auto;
}
.slash-menu-item { display:flex; align-items:center; gap:12px; padding:8px 12px; border-radius:6px; cursor:pointer; transition:all var(--transition); }
.slash-menu-item:hover { background:var(--alpha-base-color); }
.slash-menu-icon { width:36px; height:36px; display:flex; align-items:center; justify-content:center; background:var(--bg-input); border-radius:8px; font-size:14px; font-weight:700; flex-shrink:0; }
.slash-menu-title { font-size:13px; font-weight:600; }
.slash-menu-desc { font-size:11px; color:var(--text-muted); }

/* ========== Tabs / Sort ========== */
.sort-tabs { display:flex; gap:6px; margin-bottom:20px; }
.sort-tab { padding:8px 16px; font-size:13px; font-weight:500; color:var(--text-muted); border-radius:8px; background:var(--button-background); border:1px solid var(--border); transition:all var(--transition); text-decoration:none; }
.sort-tab:hover { background:var(--button-background-focus); color:var(--text-primary); text-decoration:none; border-color:var(--border-light); }
.sort-tab.active { background:var(--alpha-base-color); color:var(--link-base-color); text-decoration:none; border-color:rgba(127,145,111,0.3); }

/* ========== Pagination ========== */
.pagination { display:flex; justify-content:center; gap:4px; margin-top:28px; }
.pagination a,.pagination span { padding:8px 14px; border-radius:8px; font-size:13px; font-weight:500; background:var(--button-background); color:var(--text-secondary); text-decoration:none; border:1px solid var(--border); transition:all var(--transition); }
.pagination a:hover { background:var(--button-background-focus); color:var(--text-primary); text-decoration:none; border-color:var(--border-light); }
.pagination .current { background:var(--base-color); color:#000; font-weight:700; border-color:var(--base-color); }

/* ========== Checkbox ========== */
.checkbox-wrap { display:flex; align-items:center; gap:8px; }
.checkbox-wrap input[type="checkbox"] { width:16px; height:16px; accent-color:var(--base-color); }

/* ========== Search ========== */
.search-bar { display:flex; gap:8px; margin-bottom:20px; }
.search-bar input { flex:1; }

/* ========== Empty state ========== */
.empty-state { text-align:center; padding:64px 16px; color:var(--text-muted); }
.empty-state-icon { font-size:48px; margin-bottom:12px; opacity:0.5; }
.empty-state-text { font-size:16px; margin-bottom:16px; }

/* ========== Settings ========== */
.settings-section { margin-bottom:28px; }
.settings-section h3 { font-size:16px; font-weight:700; margin-bottom:14px; padding-bottom:8px; border-bottom:1px solid var(--border); }
.avatar-upload { display:flex; align-items:center; gap:16px; margin-bottom:14px; }
.avatar-upload img { width:72px; height:72px; border-radius:50%; object-fit:cover; border:2px solid var(--base-color); }
.banner-upload { margin-bottom:14px; }
.banner-upload img { width:100%; height:120px; object-fit:cover; border-radius:8px; border:1px solid var(--border); }
.css-editor { font-family:'JetBrains Mono','Fira Code',monospace; font-size:12px; min-height:160px; background:#0a0a0a; color:#c9d1d9; }
/* ========== Badge picker ========== */
.badges-picker { display:flex; flex-direction:column; gap:8px; }
.badge-pick-item { display:flex; align-items:center; cursor:pointer; }
.badge-pick-item input[type="checkbox"] { display:none; }
.badge-pick-card { display:flex; align-items:center; gap:12px; padding:12px 16px; border-radius:10px; border:1px solid var(--bb, var(--border)); background:var(--bg-input); flex:1; transition:border-color 0.15s, box-shadow 0.15s; color:var(--bc, var(--text-primary)); }
.badge-pick-item input:checked + .badge-pick-card { border-color:var(--bc, var(--base-color)); box-shadow:0 0 0 1px var(--bc, var(--base-color)), 0 0 12px color-mix(in srgb, var(--bc, var(--base-color)) 20%, transparent); }
.badge-pick-icon { font-size:22px; flex-shrink:0; line-height:1; }
.badge-pick-name { font-weight:700; font-size:13px; color:var(--bc, var(--text-primary)); }
.badge-pick-desc { font-size:11px; color:var(--text-muted); margin-top:2px; }

/* Color picker */
input[type="color"] { width:60px; height:36px; padding:2px; cursor:pointer; border-radius:8px; }

/* ========== Error page ========== */
.error-page { text-align:center; padding:64px 16px; }
.error-code { font-size:72px; font-weight:900; background:linear-gradient(135deg,var(--base-color),var(--link-base-color)); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; line-height:1; }
.error-message { font-size:16px; color:var(--text-secondary); margin-top:10px; }

/* ========== Mobile ========== */
.mobile-toggle { display:none; position:fixed; top:10px; left:10px; z-index:200; background:var(--base-color); border:none; border-radius:8px; padding:8px 12px; color:#000; cursor:pointer; font-size:18px; font-weight:700; box-shadow:var(--shadow-soft); }

/* ========== Footer ========== */
.footer { padding:20px 24px; font-size:12px; color:var(--text-muted); background:var(--bg-card); border-top:1px solid var(--border); margin-top:40px; display:flex; justify-content:space-between; align-items:center; }
.footer a { color:var(--text-muted); text-decoration:none; }
.footer a:hover { color:var(--link-base-color); }

/* ========== Dragging ========== */
.notion-block.dragging { opacity:0.4; }
.notion-block.drag-over { border-top:2px solid var(--base-color); }

/* ========== Responsive ========== */
@media (max-width:768px) {
  .sidebar { transform:translateX(-100%); }
  .sidebar.open { transform:translateX(0); }
  .mobile-toggle { display:block; }
  .main-content { margin-left:0; }
  .page-content { padding:16px 12px; padding-top:52px; }
  .posts-grid { grid-template-columns:repeat(auto-fill,minmax(150px,1fr)); gap:10px; }
  .profile-header { flex-direction:column; text-align:center; }
  .profile-stats { justify-content:center; }
  .form-container { margin:16px auto; padding:0 12px; }
  .footer { flex-direction:column; text-align:center; gap:8px; }
  .notion-editor-toolbar { padding:6px 8px; gap:2px; }
  .toolbar-btn { padding:4px 6px; min-width:28px; height:28px; }
}
@media (max-width:480px) {
  .posts-grid { grid-template-columns:1fr 1fr; gap:8px; }
}

/* ========== Custom Video Player ========== */
.video-player { position:relative; background:#000; border-radius:8px; overflow:hidden; cursor:pointer; }
.video-player video { width:100%; display:block; max-height:70vh; object-fit:contain; }
.vp-overlay { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; background:rgba(0,0,0,0.2); transition:opacity 0.15s; }
.video-player.vp-playing .vp-overlay { opacity:0; pointer-events:none; }
.vp-overlay-icon { width:54px; height:54px; background:rgba(0,0,0,0.6); border-radius:50%; display:flex; align-items:center; justify-content:center; color:#fff; padding-left:3px; backdrop-filter:blur(4px); }
.vp-controls { position:absolute; bottom:0; left:0; right:0; background:linear-gradient(transparent,rgba(0,0,0,0.8)); padding:24px 10px 8px; display:flex; align-items:center; gap:8px; opacity:0; transition:opacity 0.15s; }
.video-player:hover .vp-controls, .video-player.vp-paused .vp-controls { opacity:1; }
.vp-btn { background:none; border:none; color:#fff; cursor:pointer; padding:4px; display:flex; align-items:center; justify-content:center; opacity:0.85; flex-shrink:0; transition:opacity 0.1s; }
.vp-btn:hover { opacity:1; }
.vp-progress { flex:1; height:3px; background:rgba(255,255,255,0.25); border-radius:3px; cursor:pointer; position:relative; transition:height 0.1s; }
.vp-progress:hover { height:5px; }
.vp-progress-fill { height:100%; background:var(--base-color); border-radius:3px; width:0%; pointer-events:none; }
.vp-time { font-size:11px; color:rgba(255,255,255,0.75); white-space:nowrap; flex-shrink:0; font-variant-numeric:tabular-nums; }

/* ========== Upload Progress ========== */
.upload-progress { margin-top:14px; }
.upload-progress-bar { height:4px; background:var(--bg-hover); border-radius:4px; overflow:hidden; }
.upload-progress-fill { height:100%; background:var(--base-color); border-radius:4px; width:0%; transition:width 0.2s ease; }
.upload-progress-text { font-size:12px; color:var(--text-muted); margin-top:6px; text-align:center; }

/* ========== Nav Badge ========== */
.nav-badge { background:var(--red); color:#fff; font-size:10px; font-weight:700; min-width:16px; height:16px; border-radius:8px; display:inline-flex; align-items:center; justify-content:center; padding:0 4px; margin-left:auto; }

/* ========== Repost ========== */
.repost-banner { display:flex; align-items:center; gap:8px; padding:10px 14px; font-size:12px; color:var(--text-muted); border-bottom:1px solid var(--border); margin-bottom:12px; }
.repost-banner a { color:var(--link-base-color); font-weight:600; }
.repost-original { background:var(--bg-input); border:1px solid var(--border-light); border-radius:var(--radius-sm); padding:14px; margin-bottom:12px; }
.repost-original-header { display:flex; align-items:center; gap:8px; margin-bottom:8px; }
.repost-original-header a { display:flex; align-items:center; gap:8px; text-decoration:none; color:var(--text-primary); font-weight:600; }
.repost-original-header img { width:26px; height:26px; border-radius:50%; object-fit:cover; }

/* ========== Message User Search ========== */
.msg-search-wrap { position:relative; margin-bottom:16px; }
.msg-search-input-wrap { position:relative; display:flex; align-items:center; }
.msg-search-icon { position:absolute; left:12px; color:var(--text-muted); pointer-events:none; }
.msg-search-input { width:100%; padding:10px 12px 10px 36px; background:var(--bg-input); border:1px solid var(--border); border-radius:10px; color:var(--text-primary); font-size:14px; outline:none; transition:border-color var(--transition); }
.msg-search-input:focus { border-color:var(--base-color); }
.msg-search-results { position:absolute; top:100%; left:0; right:0; background:var(--bg-secondary); border:1px solid var(--border); border-radius:10px; margin-top:4px; z-index:20; max-height:280px; overflow-y:auto; box-shadow:0 4px 16px rgba(0,0,0,0.3); }
.msg-search-result { display:flex; align-items:center; gap:10px; padding:10px 14px; text-decoration:none; color:var(--text-primary); transition:background var(--transition); }
.msg-search-result:hover { background:var(--bg-hover); text-decoration:none; }
.msg-search-result img { width:32px; height:32px; border-radius:50%; object-fit:cover; flex-shrink:0; }
.msg-search-result-name { font-weight:600; font-size:13px; }
.msg-search-result-username { font-size:12px; color:var(--text-muted); }
.msg-search-empty { padding:16px; text-align:center; color:var(--text-muted); font-size:13px; }

/* ========== Conversations ========== */
.conversations-list { display:flex; flex-direction:column; gap:2px; }
.conversation-item { display:flex; align-items:center; gap:12px; padding:12px 14px; border-radius:10px; text-decoration:none; color:var(--text-primary); transition:background var(--transition); }
.conversation-item:hover { background:var(--bg-hover); text-decoration:none; color:var(--text-primary); }
.conversation-item.has-unread { background:var(--alpha-base-color); }
.conversation-avatar { width:42px; height:42px; border-radius:50%; object-fit:cover; flex-shrink:0; }
.conversation-info { flex:1; min-width:0; }
.conversation-name { font-weight:600; font-size:14px; }
.conversation-last { font-size:12px; color:var(--text-muted); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; margin-top:2px; }
.conversation-meta { display:flex; flex-direction:column; align-items:flex-end; gap:4px; flex-shrink:0; }
.conversation-date { font-size:11px; color:var(--text-muted); }
.unread-badge { background:var(--base-color); color:#fff; font-size:10px; font-weight:700; min-width:18px; height:18px; border-radius:9px; display:inline-flex; align-items:center; justify-content:center; padding:0 4px; }

/* ========== Message Thread ========== */
.messages-thread { display:flex; flex-direction:column; gap:10px; padding:16px 0; }
.msg-row { display:flex; align-items:flex-end; gap:8px; }
.msg-mine { flex-direction:row-reverse; }
.msg-bubble { max-width:62%; padding:10px 14px; border-radius:16px; font-size:14px; line-height:1.5; word-break:break-word; }
.msg-mine .msg-bubble { background:var(--base-color); color:#fff; border-bottom-right-radius:4px; }
.msg-theirs .msg-bubble { background:var(--bg-card); color:var(--text-primary); border:1px solid var(--border); border-bottom-left-radius:4px; }
.msg-avatar { width:28px; height:28px; border-radius:50%; object-fit:cover; flex-shrink:0; }
.msg-time { font-size:10px; color:var(--text-muted); flex-shrink:0; padding-bottom:2px; }
.message-form { display:flex; gap:10px; margin-top:16px; padding-top:16px; border-top:1px solid var(--border); }
.message-form input[type="text"] { flex:1; }
.conversation-header { display:flex; align-items:center; gap:12px; padding-bottom:16px; border-bottom:1px solid var(--border); margin-bottom:8px; }
.conversation-header a { color:var(--text-muted); display:flex; align-items:center; }
.conversation-header img { width:36px; height:36px; border-radius:50%; object-fit:cover; }
.conversation-header-info { display:flex; flex-direction:column; }
.conversation-header-name { font-weight:700; font-size:15px; }
.conversation-header-username { font-size:12px; color:var(--text-muted); }

/* ========== Twitter-like Feed ========== */
.feed-timeline { display:flex; flex-direction:column; background:var(--bg-card); border-radius:12px; border:1px solid var(--border); overflow:hidden; }
.feed-item { display:flex; gap:12px; padding:16px 20px; border-bottom:1px solid var(--border); transition:background 0.15s; cursor:default; }
.feed-item:last-child { border-bottom:none; }
.feed-item:hover { background:rgba(127,145,111,0.03); }
.feed-avatar { flex-shrink:0; width:42px; height:42px; border-radius:50%; overflow:hidden; }
.feed-avatar img { width:42px; height:42px; border-radius:50%; object-fit:cover; transition:opacity 0.15s; display:block; }
.feed-avatar img:hover { opacity:0.85; }
.feed-content { flex:1; min-width:0; }
.feed-header { display:flex; align-items:center; gap:4px; font-size:14px; flex-wrap:wrap; }
.feed-author { font-weight:700; color:var(--text-primary); text-decoration:none; }
.feed-author:hover { text-decoration:underline; color:var(--text-primary); }
.feed-username { color:var(--text-muted); font-size:13px; }
.feed-dot { color:var(--text-muted); margin:0 2px; }
.feed-time { color:var(--text-muted); font-size:13px; text-decoration:none; }
.feed-time:hover { text-decoration:underline; color:var(--text-muted); }
.feed-title { display:block; font-weight:700; font-size:15px; margin:4px 0; color:var(--text-primary); text-decoration:none; line-height:1.4; }
.feed-title:hover { color:var(--link-base-color); text-decoration:none; }
.feed-body-link { text-decoration:none; display:block; }
.feed-body-link:hover { text-decoration:none; }
.feed-text { color:var(--text-primary); font-size:15px; line-height:1.5; margin:4px 0; }
.feed-media { display:block; margin-top:10px; border-radius:12px; overflow:hidden; border:1px solid var(--border); position:relative; }
.feed-media img, .feed-media video { width:100%; max-height:500px; object-fit:cover; display:block; transition:opacity 0.15s; border-radius:12px; }
.feed-media:hover img, .feed-media:hover video { opacity:0.92; }
.feed-media-badge { position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); width:48px; height:48px; background:rgba(0,0,0,0.6); border-radius:50%; display:flex; align-items:center; justify-content:center; color:#fff; font-size:18px; backdrop-filter:blur(4px); pointer-events:none; }
.feed-actions { display:flex; gap:6px; margin-top:10px; }
.feed-views { margin-left:auto; }
.feed-action { display:inline-flex; align-items:center; gap:5px; font-size:13px; color:var(--text-muted); background:none; border:none; cursor:pointer; padding:4px 8px 4px 0; transition:color 0.15s; font-family:inherit; text-decoration:none; min-width:50px; }
.feed-action:hover { color:var(--text-primary); text-decoration:none; }
.feed-action svg { opacity:0.7; }
.feed-like-btn { cursor:pointer; }
.feed-like-btn.liked { color:var(--red); }
.feed-like-btn.liked svg { opacity:1; }
.feed-nsfw-tag { background:var(--red); color:#fff; font-size:9px; font-weight:700; padding:2px 6px; border-radius:4px; margin-left:auto; text-transform:uppercase; letter-spacing:0.5px; }

/* ========== Feed inline video ========== */
.feed-video-wrap { cursor:pointer; position:relative; }
.feed-video-play { position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); width:52px; height:52px; background:rgba(0,0,0,0.6); border-radius:50%; display:flex; align-items:center; justify-content:center; color:#fff; padding-left:3px; backdrop-filter:blur(4px); transition:transform 0.15s,opacity 0.15s; pointer-events:none; }
.feed-video-wrap.playing .feed-video-play { opacity:0; transform:translate(-50%,-50%) scale(0.8); }

/* ========== NSFW blur ========== */
.nsfw-blur { position:relative; }
.nsfw-blur img, .nsfw-blur video, .nsfw-blur .post-images-gallery { filter:blur(28px) brightness(0.5); transition:filter 0.3s; }
.nsfw-overlay { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; z-index:5; cursor:pointer; color:#fff; text-align:center; background:rgba(0,0,0,0.3); }
.nsfw-overlay span { font-size:14px; font-weight:700; background:var(--red); padding:6px 16px; border-radius:8px; }
.nsfw-overlay small { display:block; margin-top:6px; font-size:11px; opacity:0.7; }
.nsfw-overlay-large span { font-size:18px; padding:10px 24px; }
.nsfw-overlay-large small { font-size:13px; }

/* ========== Time Capsule ========== */
.capsule-locked { padding:20px; margin:8px 0; text-align:center; background:linear-gradient(135deg,rgba(127,145,111,0.1),rgba(127,145,111,0.03)); border:1px dashed var(--border-light); border-radius:12px; }
.capsule-icon { font-size:32px; margin-bottom:6px; }
.capsule-title { font-weight:700; font-size:15px; color:var(--text-primary); }
.capsule-date { font-size:12px; color:var(--text-muted); margin-top:4px; }

/* ========== Doodle Reactions ========== */
.doodle-section { padding:20px 24px; border-top:1px solid var(--border); }
.doodle-header { display:flex; align-items:center; justify-content:space-between; margin-bottom:12px; }
.doodle-title { font-size:14px; font-weight:700; }
.doodle-canvas-wrap { margin-bottom:14px; padding:12px; background:var(--bg-input); border-radius:10px; border:1px solid var(--border); }
.doodle-tools { display:flex; align-items:center; gap:8px; margin-bottom:8px; }
.doodle-canvas { border-radius:8px; border:1px solid var(--border); cursor:crosshair; display:block; background:#1c1d1a; touch-action:none; }
.doodle-list { display:flex; flex-wrap:wrap; gap:12px; }
.doodle-item { width:80px; text-align:center; cursor:default; transition:transform 0.15s; }
.doodle-item:hover { transform:scale(1.08); z-index:2; }
.doodle-drawing { width:80px; height:80px; border-radius:12px; overflow:hidden; border:1px solid var(--border); background:var(--bg-input); object-fit:contain; display:block; }
.doodle-author { display:flex; align-items:center; gap:4px; margin-top:4px; text-decoration:none; justify-content:center; }
.doodle-author-ava { width:16px; height:16px; border-radius:50%; object-fit:cover; flex-shrink:0; }
.doodle-author-name { font-size:10px; color:var(--text-muted); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; max-width:58px; }
.doodle-author:hover .doodle-author-name { color:var(--text-primary); }
.doodle-bottom { display:flex; align-items:center; justify-content:space-between; margin-top:4px; gap:4px; }
.doodle-like-btn { display:inline-flex; align-items:center; gap:2px; background:none; border:none; color:var(--text-muted); cursor:pointer; font-size:11px; padding:2px 4px; border-radius:6px; transition:color 0.15s; }
.doodle-like-btn:hover { color:var(--red, #e74c3c); }
.doodle-like-btn.liked { color:var(--red, #e74c3c); }
.doodle-like-btn.liked svg { fill:currentColor; }

/* ========== Repost styled button ========== */
.post-action-btn.reposted { color:var(--base-color); }

/* ========== Paint tool ========== */
.paint-section { margin-top:16px; }
.paint-section > label { display:block; font-size:12px; font-weight:600; margin-bottom:10px; color:var(--text-secondary); text-transform:uppercase; letter-spacing:0.5px; }
.paint-tools { display:flex; align-items:center; gap:8px; margin-bottom:10px; flex-wrap:wrap; }
.paint-tools input[type="color"] { width:36px; height:36px; padding:2px; cursor:pointer; border-radius:8px; border:1px solid var(--border); background:var(--bg-input); }
.paint-size-wrap { display:flex; align-items:center; gap:6px; }
.paint-size-label { font-size:11px; color:var(--text-muted); min-width:28px; text-align:center; }
.paint-size-wrap input[type="range"] { width:100px; accent-color:var(--base-color); }
.paint-tool-btn { padding:6px 8px !important; min-width:auto; }
.paint-tool-btn.active { background:var(--alpha-base-color); border-color:var(--base-color); color:var(--link-base-color); }
.paint-canvas { width:100%; height:auto; border-radius:10px; border:1px solid var(--border); cursor:crosshair; display:block; background:#1c1d1a; touch-action:none; }

/* ========== 7TV Emotes ========== */
.stv-emote { display:inline-block; width:28px; height:28px; vertical-align:middle; margin:0 2px; }
.stv-emote-zw { position:absolute; top:0; left:0; width:100%; height:100%; pointer-events:none; }
.stv-emote-wrap { position:relative; display:inline-block; width:28px; height:28px; vertical-align:middle; margin:0 2px; }

/* Emote picker popup */
.emote-popup { position:fixed; width:320px; max-height:360px; background:var(--bg-card); border:1px solid var(--border); border-radius:12px; box-shadow:0 8px 32px rgba(0,0,0,0.5); z-index:9999; display:flex; flex-direction:column; overflow:hidden; }
.emote-popup-search { padding:10px; border-bottom:1px solid var(--border); }
.emote-popup-input { width:100%; padding:8px 12px; border:1px solid var(--border); border-radius:8px; background:var(--bg-input); color:var(--text-primary); font-size:13px; outline:none; box-sizing:border-box; }
.emote-popup-input:focus { border-color:var(--base-color); }
.emote-popup-grid { flex:1; overflow-y:auto; padding:8px; display:grid; grid-template-columns:repeat(auto-fill,minmax(60px,1fr)); gap:4px; max-height:240px; }
.emote-popup-item { display:flex; flex-direction:column; align-items:center; gap:2px; padding:6px 2px; border:none; background:none; border-radius:8px; cursor:pointer; transition:background 0.15s; }
.emote-popup-item:hover { background:var(--bg-hover); }
.emote-popup-item img { width:32px; height:32px; object-fit:contain; }
.emote-popup-item span { font-size:9px; color:var(--text-muted); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; max-width:56px; }
.emote-popup-hint { padding:6px 10px; font-size:10px; color:var(--text-muted); border-top:1px solid var(--border); text-align:center; }

/* ========== Trending tags ========== */
.trending-tags { margin-bottom:24px; }

/* ========== Animations ========== */
@keyframes fadeIn { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:translateY(0); } }
.post-card { animation:fadeIn 0.3s ease forwards; }
.feed-item { animation:fadeIn 0.25s ease forwards; }

/* ========== Terms Page ========== */
.terms-page { max-width:800px; margin:0 auto; padding:0 16px 40px; }
.terms-section { margin-bottom:32px; }
.terms-section h2 { font-size:20px; font-weight:700; color:var(--text-primary); margin-bottom:16px; padding-bottom:8px; border-bottom:1px solid var(--border); }
.terms-section h3 { font-size:15px; font-weight:600; color:var(--text-primary); margin:20px 0 8px; }
.terms-section p { color:var(--text-secondary); line-height:1.7; margin-bottom:10px; }
.terms-section ul { color:var(--text-secondary); line-height:1.7; margin:0 0 12px 20px; }
.terms-section ul li { margin-bottom:6px; }
.terms-section ul li strong { color:var(--text-primary); }
.terms-divider { height:1px; background:var(--border); margin:32px 0; }
.terms-contact { background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius); padding:16px 20px; margin-top:24px; }
.terms-contact p { color:var(--text-secondary); margin:0; }
.terms-section h4 { font-size:14px; font-weight:600; color:var(--link-base-color); margin:16px 0 8px; }
.terms-warning { background:var(--red-soft); border:1px solid rgba(253,27,83,0.25); border-radius:var(--radius-sm); padding:14px 18px; margin:16px 0; color:var(--text-primary); line-height:1.6; font-size:13px; }

/* ========== Terms Agreement Checkbox ========== */
.terms-agree-wrap { background:var(--alpha-base-color); border:1px solid var(--border); border-radius:var(--radius-sm); padding:12px 16px; }
.terms-agree-wrap a { color:var(--link-base-color); text-decoration:underline; }
.terms-agree-wrap a:hover { color:var(--base-color); }

/* ========== X-style Profile ========== */
.x-profile { background:var(--bg-card); border-radius:12px; border:1px solid var(--border); overflow:hidden; margin-bottom:16px; }
.x-profile-banner { width:100%; height:200px; background:linear-gradient(135deg,rgba(127,145,111,0.15),rgba(127,145,111,0.03)); overflow:hidden; }
.x-profile-banner img { width:100%; height:100%; object-fit:cover; }
.x-profile-main { padding:0 20px 16px; }
.x-profile-avatar-row { display:flex; justify-content:space-between; align-items:flex-start; margin-top:-42px; }
.x-profile-avatar-wrap { position:relative; }
.x-profile-avatar { width:84px; height:84px; border-radius:50%; object-fit:cover; border:4px solid var(--bg-card); background:var(--bg-card); }
.x-online-dot { position:absolute; bottom:6px; left:6px; width:12px; height:12px; border-radius:50%; background:#22c55e; border:2px solid var(--bg-card); }
.x-profile-actions { display:flex; gap:8px; margin-top:52px; }
.x-profile-edit-btn { display:inline-flex; align-items:center; padding:8px 20px; border-radius:20px; font-size:14px; font-weight:600; color:var(--text-primary); background:transparent; border:1px solid var(--border-light); text-decoration:none; transition:background var(--transition); cursor:pointer; }
.x-profile-edit-btn:hover { background:var(--bg-hover); color:var(--text-primary); }
.x-profile-info { margin-top:12px; }
.x-profile-name { font-size:20px; font-weight:800; color:var(--text-primary); display:flex; align-items:center; gap:4px; letter-spacing:-0.3px; }
.x-verified { flex-shrink:0; margin-left:2px; }
.x-profile-handle { color:var(--text-muted); font-size:14px; }
.x-profile-bio { color:var(--text-secondary); font-size:14px; margin-top:8px; line-height:1.5; }
.x-profile-meta { display:flex; flex-wrap:wrap; gap:12px; margin-top:10px; }
.x-profile-meta-item { display:inline-flex; align-items:center; gap:4px; color:var(--text-muted); font-size:13px; }
.x-profile-meta-item svg { opacity:0.6; }
.x-profile-follow-stats { display:flex; gap:16px; margin-top:10px; }
.x-follow-stat { color:var(--text-muted); font-size:14px; text-decoration:none; }
.x-follow-stat strong { color:var(--text-primary); font-weight:700; }
.x-follow-stat:hover { text-decoration:underline; color:var(--text-muted); }
.x-profile-tabs { display:flex; border-top:1px solid var(--border); }
.x-profile-tab { flex:1; padding:14px 0; text-align:center; font-size:15px; font-weight:600; color:var(--text-muted); background:none; border:none; border-bottom:3px solid transparent; cursor:pointer; transition:all var(--transition); font-family:inherit; }
.x-profile-tab:hover { background:var(--bg-hover); color:var(--text-secondary); }
.x-profile-tab.active { color:var(--text-primary); border-bottom-color:var(--base-color); }

/* ========== X-style Feed Tabs ========== */
.x-feed-tabs { display:flex; background:var(--bg-card); border-radius:12px; border:1px solid var(--border); overflow:hidden; margin-bottom:0; }
.x-feed-tab { flex:1; padding:14px 0; text-align:center; font-size:15px; font-weight:600; color:var(--text-muted); text-decoration:none; border-bottom:3px solid transparent; transition:all var(--transition); }
.x-feed-tab:hover { background:var(--bg-hover); color:var(--text-secondary); }
.x-feed-tab.active { color:var(--text-primary); border-bottom-color:var(--base-color); }

/* ========== X-style Composer ========== */
.x-composer { display:flex; gap:12px; padding:16px 20px; background:var(--bg-card); border:1px solid var(--border); border-top:none; margin-bottom:16px; }
.x-feed-tabs + .x-composer { border-radius:0; }
.x-composer:last-of-type, .x-profile + .x-composer { border-radius:0 0 12px 12px; border-top:none; margin-bottom:16px; }
.x-composer-avatar { flex-shrink:0; width:40px; height:40px; border-radius:50%; overflow:hidden; }
.x-composer-avatar img { width:40px; height:40px; border-radius:50%; object-fit:cover; display:block; }
.x-composer-body { flex:1; cursor:pointer; }
.x-composer-input { padding:12px 0 12px 0; font-size:18px; color:var(--text-muted); border-bottom:1px solid var(--border); }
.x-composer-bottom { display:flex; justify-content:space-between; align-items:center; margin-top:10px; }
.x-composer-tools { display:flex; gap:4px; }
.x-composer-tool { display:inline-flex; align-items:center; justify-content:center; width:34px; height:34px; border-radius:50%; color:var(--base-color); cursor:pointer; transition:background var(--transition); background:none; border:none; padding:0; font:inherit; }
.x-composer-tool:hover { background:var(--alpha-base-color); }
.x-composer-tool svg { opacity:0.8; }
.x-composer-btn { display:inline-flex; align-items:center; padding:8px 20px; border-radius:20px; font-size:14px; font-weight:700; color:#fff; background:var(--base-color); cursor:pointer; transition:opacity var(--transition); }
.x-composer-btn:hover { opacity:0.9; }

/* ========== X-style Feed Card with dropdown menu ========== */
.feed-header { position:relative; }
.feed-more-wrap { margin-left:auto; position:relative; }
.feed-more { background:none; border:none; color:var(--text-muted); cursor:pointer; padding:6px; border-radius:50%; transition:background var(--transition); display:inline-flex; align-items:center; }
.feed-more:hover { background:var(--alpha-base-color); color:var(--text-primary); }
.feed-dropdown { display:none; position:absolute; top:100%; right:0; width:220px; background:var(--bg-card); border:1px solid var(--border-light); border-radius:12px; box-shadow:0 8px 32px rgba(0,0,0,0.5); z-index:100; overflow:hidden; padding:4px 0; }
.feed-more-wrap.open .feed-dropdown { display:block; }
.feed-dropdown-item { display:flex; align-items:center; gap:10px; width:100%; padding:10px 16px; font-size:14px; color:var(--text-primary); background:none; border:none; cursor:pointer; text-decoration:none; font-family:inherit; transition:background var(--transition); text-align:left; }
.feed-dropdown-item:hover { background:var(--bg-hover); color:var(--text-primary); }
.feed-dropdown-item svg { opacity:0.6; flex-shrink:0; }
.feed-dropdown-delete { color:var(--red) !important; }
.feed-dropdown-delete:hover { background:var(--red-soft); }
.feed-dropdown-divider { height:1px; background:var(--border); margin:4px 0; }

/* ========== X-style Comments ========== */
.x-comment-compose { display:flex; align-items:center; gap:12px; padding:12px 20px; border-bottom:1px solid var(--border); }
.x-comment-avatar { width:36px; height:36px; border-radius:50%; object-fit:cover; }
.x-comment-form { flex:1; display:flex; align-items:center; gap:8px; }
.x-comment-input { flex:1; background:transparent; border:none; outline:none; font-size:15px; color:var(--text-primary); font-family:inherit; padding:8px 0; }
.x-comment-input::placeholder { color:var(--text-muted); }
.x-comment-submit { background:none; border:none; color:var(--base-color); cursor:pointer; padding:6px; border-radius:50%; transition:background var(--transition); display:flex; }
.x-comment-submit:hover { background:var(--alpha-base-color); }
.x-comment { display:flex; gap:10px; padding:14px 20px; border-bottom:1px solid var(--border); }
.x-comment:last-child { border-bottom:none; }
.x-comment-ava-link { flex-shrink:0; }
.x-comment-ava-link img { width:36px; height:36px; border-radius:50%; object-fit:cover; }
.x-comment-body { flex:1; min-width:0; }
.x-comment-top { display:flex; align-items:center; gap:6px; font-size:14px; }
.x-comment-name { font-weight:700; color:var(--text-primary); text-decoration:none; }
.x-comment-name:hover { text-decoration:underline; }
.x-comment-time { color:var(--text-muted); font-size:13px; }
.x-comment-del { margin-left:auto; background:none; border:none; color:var(--text-muted); cursor:pointer; padding:4px; border-radius:50%; transition:background var(--transition); display:flex; }
.x-comment-del:hover { background:var(--bg-hover); color:var(--text-primary); }
.x-comment-text { color:var(--text-primary); font-size:15px; line-height:1.5; margin-top:2px; }
.x-comment-actions { display:flex; gap:16px; margin-top:6px; }
.x-comment-action { display:inline-flex; align-items:center; gap:4px; font-size:13px; color:var(--text-muted); cursor:pointer; transition:color var(--transition); }
.x-comment-action:hover { color:var(--text-primary); }
.x-comment-heart svg { opacity:0.7; }
.x-comment-heart:hover { color:var(--red); }
.x-comment-heart:hover svg { opacity:1; }

@media(max-width:600px) {
  .x-profile-banner { height:140px; }
  .x-profile-avatar { width:68px; height:68px; }
  .x-profile-avatar-row { margin-top:-34px; }
  .x-profile-actions { margin-top:38px; }
  .x-profile-name { font-size:18px; }
  .x-composer-input { font-size:16px; }
}

/* ========== Functional Quick Composer ========== */
.x-composer-body { flex:1; }
.x-composer-body input.x-composer-input {
  width:100%; border:none; background:transparent; font-size:18px; color:var(--text-primary);
  padding:12px 0; border-bottom:1px solid var(--border); outline:none; font-family:inherit;
}
.x-composer-body input.x-composer-input::placeholder { color:var(--text-muted); }
.x-composer-body input.x-composer-input:focus { border-bottom-color:var(--base-color); }
.x-composer-textarea {
  width:100%; border:none; background:transparent; font-size:14px; color:var(--text-secondary);
  padding:8px 0 0; outline:none; font-family:inherit; resize:none; min-height:0;
  transition:min-height 0.2s;
}
.x-composer-textarea::placeholder { color:var(--text-muted); }
.x-composer-textarea:focus { min-height:40px; }
.x-composer-file-preview { display:flex; gap:6px; margin-top:8px; flex-wrap:wrap; }
.x-composer-file-preview:empty { display:none; }
.x-composer-file-preview .qc-thumb {
  width:56px; height:56px; border-radius:8px; object-fit:cover; border:1px solid var(--border);
}
.x-composer-file-preview .qc-file-badge {
  display:flex; align-items:center; justify-content:center; width:56px; height:56px;
  border-radius:8px; background:var(--bg-input); border:1px solid var(--border);
  font-size:10px; color:var(--text-muted); text-align:center; padding:4px;
}
.qc-thumb-remove { position:absolute; top:-4px; right:-4px; width:16px; height:16px; border-radius:50%; background:rgba(0,0,0,0.7); color:#fff; border:none; cursor:pointer; font-size:12px; line-height:1; display:flex; align-items:center; justify-content:center; z-index:3; padding:0; }
.qc-thumb-remove:hover { background:var(--red); }
.x-composer-right { display:flex; align-items:center; gap:10px; }
.x-composer-progress { font-size:12px; color:var(--base-color); font-weight:600; }
.x-composer-btn {
  display:inline-flex; align-items:center; padding:8px 20px; border-radius:20px;
  font-size:14px; font-weight:700; color:#fff; background:var(--base-color);
  cursor:pointer; transition:opacity var(--transition); border:none; font-family:inherit;
}
.x-composer-btn:hover { opacity:0.9; }
.x-composer-btn:disabled { opacity:0.5; cursor:not-allowed; }

/* ========== Auto-delete notice ========== */
.auto-delete-notice {
  display:flex; align-items:center; gap:8px; padding:10px 16px;
  background:rgba(127,145,111,0.06); border:1px solid var(--border);
  border-radius:8px; margin-bottom:16px; font-size:12px; color:var(--text-muted);
}
.auto-delete-notice svg { flex-shrink:0; opacity:0.5; }

/* ========== Delete Account ========== */
.danger-zone { margin-top:32px; padding:20px; border:1px solid rgba(253,27,83,0.3); border-radius:var(--radius); background:var(--red-soft); }
.danger-zone h3 { color:var(--red); font-size:16px; font-weight:700; margin-bottom:8px; }
.danger-zone p { font-size:13px; color:var(--text-secondary); margin-bottom:14px; }

/* ========== Image Carousel ========== */
.carousel { position:relative; overflow:hidden; border-radius:12px; }
.carousel-track { display:flex; transition:transform 0.35s cubic-bezier(0.4,0,0.2,1); }
.carousel-slide { min-width:100%; position:relative; }
.carousel-slide img, .carousel-slide video { width:100%; max-height:80vh; object-fit:contain; display:block; background:#000; cursor:pointer; }
.carousel-btn {
  position:absolute; top:50%; transform:translateY(-50%); width:36px; height:36px;
  border-radius:50%; background:rgba(0,0,0,0.6); color:#fff; border:none; cursor:pointer;
  display:flex; align-items:center; justify-content:center; z-index:10; backdrop-filter:blur(4px);
  font-size:18px; transition:opacity 0.15s;
}
.carousel-btn:hover { opacity:0.8; }
.carousel-btn-prev { left:8px; }
.carousel-btn-next { right:8px; }
.carousel-dots { display:flex; justify-content:center; gap:6px; padding:8px 0; position:absolute; bottom:8px; left:0; right:0; }
.carousel-dot {
  width:8px; height:8px; border-radius:50%; background:rgba(255,255,255,0.4); border:none;
  cursor:pointer; transition:all 0.2s; padding:0;
}
.carousel-dot.active { background:#fff; transform:scale(1.2); }
.carousel-counter {
  position:absolute; top:8px; right:8px; background:rgba(0,0,0,0.6); color:#fff;
  font-size:12px; padding:3px 10px; border-radius:12px; z-index:10; backdrop-filter:blur(4px);
}

/* ========== Image Lightbox ========== */
.lightbox-overlay {
  position:fixed; inset:0; background:rgba(0,0,0,0.92); z-index:9999; display:flex;
  align-items:center; justify-content:center; cursor:zoom-out; opacity:0; transition:opacity 0.2s;
}
.lightbox-overlay.active { opacity:1; }
.lightbox-img {
  max-width:95vw; max-height:95vh; object-fit:contain; border-radius:4px;
  transition:transform 0.2s; cursor:default;
}
.lightbox-close {
  position:absolute; top:16px; right:16px; width:40px; height:40px; border-radius:50%;
  background:rgba(255,255,255,0.15); color:#fff; border:none; cursor:pointer;
  font-size:20px; display:flex; align-items:center; justify-content:center;
  transition:background 0.15s;
}
.lightbox-close:hover { background:rgba(255,255,255,0.25); }
.lightbox-nav {
  position:absolute; top:50%; transform:translateY(-50%); width:44px; height:44px;
  border-radius:50%; background:rgba(255,255,255,0.15); color:#fff; border:none;
  cursor:pointer; font-size:22px; display:flex; align-items:center; justify-content:center;
}
.lightbox-nav:hover { background:rgba(255,255,255,0.25); }
.lightbox-prev { left:16px; }
.lightbox-next { right:16px; }

/* ========== Repost content display ========== */
.repost-comment { padding:16px 24px; font-size:15px; line-height:1.6; color:var(--text-primary); border-bottom:1px solid var(--border); }

/* Feed filters */
.feed-filters { display:flex; gap:0; background:var(--bg-card); border:1px solid var(--border); border-top:none; padding:0 12px; overflow-x:auto; }
.feed-filter { padding:10px 16px; font-size:13px; font-weight:600; color:var(--text-muted); text-decoration:none; border-bottom:2px solid transparent; white-space:nowrap; transition:all var(--transition); }
.feed-filter:hover { color:var(--text-secondary); background:var(--bg-hover); }
.feed-filter.active { color:var(--base-color); border-bottom-color:var(--base-color); }

/* Support links */
.support-links { display:flex; flex-wrap:wrap; gap:10px; margin:12px 0; }
.support-link { display:inline-flex; align-items:center; gap:8px; padding:8px 16px; background:var(--bg-input); border:1px solid var(--border); border-radius:8px; text-decoration:none; color:var(--text-primary); font-size:14px; font-weight:500; transition:all 0.15s; }
.support-link:hover { border-color:var(--base-color); background:var(--alpha-base-color); }
.support-icon { width:20px; height:20px; border-radius:4px; object-fit:contain; }

/* Emote autocomplete */
.emote-autocomplete { position:fixed; z-index:9999; background:var(--bg-card); border:1px solid var(--border); border-radius:10px; box-shadow:0 8px 24px rgba(0,0,0,0.4); padding:4px; min-width:200px; max-width:280px; }
.emote-ac-item { display:flex; align-items:center; gap:8px; padding:8px 12px; border-radius:6px; cursor:pointer; transition:background 0.1s; }
.emote-ac-item:hover { background:var(--bg-hover); }
.emote-ac-img { width:28px; height:28px; object-fit:contain; }
.emote-ac-item span { font-size:13px; color:var(--text-primary); }

/* Emotes page */
.emotes-page { background:var(--bg-card); border:1px solid var(--border); border-radius:12px; overflow:hidden; }
.emotes-search-bar { display:flex; align-items:center; gap:10px; padding:14px 20px; border-bottom:1px solid var(--border); position:sticky; top:0; background:var(--bg-card); z-index:10; }
.emotes-search-bar input { flex:1; background:none; border:none; color:var(--text-primary); font-size:16px; outline:none; font-family:inherit; }
.emotes-search-bar input::placeholder { color:var(--text-muted); }
.emotes-count { font-size:12px; color:var(--text-muted); white-space:nowrap; }
.emotes-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(90px,1fr)); gap:4px; padding:12px; }
.emote-grid-item { display:flex; flex-direction:column; align-items:center; gap:4px; padding:12px 4px; border-radius:10px; cursor:pointer; transition:background 0.15s,transform 0.15s; }
.emote-grid-item:hover { background:var(--bg-hover); transform:scale(1.05); }
.emote-grid-item img { width:48px; height:48px; object-fit:contain; }
.emote-grid-item span { font-size:10px; color:var(--text-muted); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; max-width:80px; text-align:center; }
.emotes-loading { grid-column:1/-1; padding:40px; text-align:center; color:var(--text-muted); font-size:14px; }
.emote-preview-modal { position:fixed; inset:0; background:rgba(0,0,0,0.7); z-index:9999; display:flex; align-items:center; justify-content:center; }
.emote-preview-card { background:var(--bg-card); border:1px solid var(--border); border-radius:16px; padding:28px; text-align:center; min-width:280px; max-width:360px; position:relative; }
.emote-preview-close { position:absolute; top:12px; right:12px; background:none; border:none; color:var(--text-muted); font-size:22px; cursor:pointer; }
.emote-preview-close:hover { color:var(--text-primary); }
.emote-preview-img { width:96px; height:96px; object-fit:contain; margin-bottom:12px; }
.emote-preview-name { font-size:18px; font-weight:700; color:var(--text-primary); margin-bottom:12px; }
.emote-preview-usage { font-size:13px; color:var(--text-muted); margin-bottom:16px; }
.emote-preview-usage code { background:var(--bg-input); padding:4px 10px; border-radius:6px; font-size:14px; color:var(--base-color); margin-left:6px; }
.emote-preview-copy { width:100%; }

/* ========== Media Block (Notion editor) ========== */
.media-block-picker { cursor:pointer; padding:20px; text-align:center; border:2px dashed var(--border-color); border-radius:var(--radius); transition:border-color 0.15s; }
.media-block-picker:hover { border-color:var(--base-color); }
.media-block-empty { color:var(--text-muted); font-size:13px; }
.media-picker-popup { padding:8px; }
.media-picker-title { font-size:13px; font-weight:600; color:var(--text-primary); margin-bottom:8px; }
.media-picker-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(100px, 1fr)); gap:8px; }
.media-picker-item { cursor:pointer; border:2px solid var(--border-color); border-radius:8px; overflow:hidden; transition:border-color 0.15s; background:var(--bg-card); }
.media-picker-item:hover { border-color:var(--base-color); }
.media-picker-item img, .media-picker-item video { width:100%; height:80px; object-fit:cover; display:block; }
.media-picker-label { font-size:10px; color:var(--text-muted); padding:4px 6px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.media-picker-file { padding:16px 8px; font-size:11px; color:var(--text-muted); text-align:center; word-break:break-all; }
.media-block-preview { position:relative; border-radius:var(--radius); overflow:hidden; }
.media-block-preview img { width:100%; max-height:300px; object-fit:contain; display:block; border-radius:var(--radius); }
.media-block-preview video { width:100%; max-height:300px; display:block; border-radius:var(--radius); }
.media-block-preview audio { width:100%; }
.media-block-change { position:absolute; top:8px; right:8px; background:rgba(0,0,0,0.7); color:#fff; border:none; padding:4px 10px; border-radius:6px; font-size:11px; cursor:pointer; }
.media-block-change:hover { background:rgba(0,0,0,0.9); }
.media-block-audio { padding:16px; background:var(--bg-card); border-radius:var(--radius); text-align:center; }
.media-block-audio div { font-size:12px; color:var(--text-muted); margin-top:8px; }

/* ========== Inline Media (Post detail) ========== */
.inline-media { margin:16px 0; border-radius:var(--radius); overflow:hidden; }
.inline-media img { width:100%; max-height:80vh; object-fit:contain; display:block; cursor:pointer; }
.inline-media video { width:100%; max-height:80vh; display:block; }
.inline-media-audio { padding:16px; background:var(--bg-card); border-radius:var(--radius); }
.inline-media-audio audio { width:100%; }
.inline-media-name { font-size:12px; color:var(--text-muted); margin-top:8px; text-align:center; }

/* ===== Status Page ===== */
.status-page { max-width:100%; }
.status-header-label { font-size:11px; font-weight:700; letter-spacing:2px; text-transform:uppercase; color:var(--base-color); margin-bottom:8px; }
.status-header-row { display:flex; align-items:center; justify-content:space-between; margin-bottom:32px; }
.status-header-title { font-size:24px; font-weight:800; color:var(--text-primary); display:flex; align-items:center; gap:12px; }
.status-header-dot { width:12px; height:12px; border-radius:50%; flex-shrink:0; }
.status-dot-good { background:#4caf50; box-shadow:0 0 8px rgba(76,175,80,0.6); }
.status-dot-down { background:var(--red); box-shadow:0 0 8px rgba(253,27,83,0.6); }
.status-dot-degraded { background:#f0ad4e; box-shadow:0 0 8px rgba(240,173,78,0.6); }
.status-dot-nodata { background:var(--border); }
.status-header-updated { font-size:13px; color:var(--text-muted); }
.status-service-list { display:flex; flex-direction:column; gap:28px; }
.status-card { }
.status-card-header { display:flex; align-items:center; justify-content:space-between; margin-bottom:10px; }
.status-card-name { font-size:15px; font-weight:700; color:var(--text-primary); }
.status-card-uptime { font-size:13px; font-weight:600; }
.status-uptime-good { color:#4caf50; }
.status-uptime-warn { color:#f0ad4e; }
.status-uptime-bad { color:var(--red); }
.status-bar { display:flex; gap:2px; height:28px; }
.status-bar-day { flex:1; border-radius:2px; min-width:0; cursor:pointer; transition:opacity 0.15s; }
.status-bar-day:hover { opacity:0.7; }
.status-bar-good { background:#4caf50; }
.status-bar-degraded { background:#f0ad4e; }
.status-bar-down { background:var(--red); }
.status-bar-nodata { background:rgba(255,255,255,0.06); }
.status-bar-labels { display:flex; justify-content:space-between; margin-top:4px; font-size:11px; color:var(--text-muted); }
.status-tooltip { position:fixed; display:none; background:rgba(0,0,0,0.9); color:#fff; font-size:11px; padding:6px 10px; border-radius:6px; pointer-events:none; transform:translateX(-50%); z-index:9999; white-space:nowrap; line-height:1.5; text-align:center; }
