*, *::before, *::after { box-sizing:border-box; margin:0; padding:0; }
:root {
  --bg:#0e0718; --bg2:#160d22; --bg3:#1a1030;
  --surface:#211538; --surface2:#2a1d45;
  --border:rgba(180,140,255,0.12); --border2:rgba(180,140,255,0.22);
  --accent:#a78bfa; --accent2:#c4b5fd; --accent3:#7c3aed;
  --text:#f0eaff; --text2:#b8a8e8; --text3:#7a6ba0;
  --gold:#f5c842; --teal:#2dd4bf; --coral:#fb7185;
  --font:'Outfit',sans-serif; --mono:'Space Mono',monospace;
  --site-bg:#0e0718;
}
html { scroll-behavior:smooth; }
body { font-family:var(--font); background:var(--site-bg); color:var(--text); min-height:100vh; overflow-x:hidden; transition:background 0.4s; }

/* ── VIEWS ── */
#view-home    { display:block; }
#view-profile { display:none;  }

/* ── NAV ── */
nav { position:sticky; top:0; z-index:50; display:flex; justify-content:space-between; align-items:center; padding:1rem 2.5rem; background:rgba(14,7,24,0.9); backdrop-filter:blur(16px); border-bottom:1px solid var(--border); }
.nav-logo { display:flex; align-items:center; gap:10px; font-size:1.15rem; font-weight:700; color:var(--accent2); letter-spacing:-0.02em; cursor:pointer; text-decoration:none; }
.nav-right { display:flex; align-items:center; gap:1.25rem; }
.nav-links { display:flex; gap:2rem; list-style:none; }
.nav-links a { color:var(--text2); text-decoration:none; font-size:0.875rem; font-weight:500; transition:color 0.2s; }
.nav-links a:hover { color:var(--accent2); }
.admin-status { display:flex; align-items:center; gap:8px; font-size:0.75rem; font-family:var(--mono); }
.admin-dot { width:8px; height:8px; border-radius:50%; background:#6b6b80; transition:background 0.3s; }
.admin-dot.active { background:var(--teal); box-shadow:0 0 6px rgba(45,212,191,0.5); }
.admin-label { color:var(--text3); transition:color 0.3s; }
.admin-label.active { color:var(--teal); }
.btn-nav { padding:6px 14px; font-size:0.75rem; font-weight:600; font-family:var(--mono); background:transparent; border:1px solid var(--border2); border-radius:8px; color:var(--text2); cursor:pointer; transition:all 0.2s; letter-spacing:0.04em; }
.btn-nav:hover { border-color:var(--accent); color:var(--accent); }
.btn-nav.logout { border-color:rgba(251,113,133,0.3); color:var(--coral); }
.btn-nav.logout:hover { background:rgba(251,113,133,0.08); }
.btn-nav.dashboard { border-color:rgba(167,139,250,0.4); color:var(--accent); }
.btn-nav.dashboard:hover { background:rgba(167,139,250,0.08); }

/* ── ADMIN BANNER ── */
.admin-banner { background:rgba(45,212,191,0.06); border-bottom:1px solid rgba(45,212,191,0.15); padding:0.5rem 2.5rem; display:none; align-items:center; justify-content:space-between; font-size:0.78rem; font-family:var(--mono); color:var(--teal); }
.admin-banner.visible { display:flex; }

/* ── HERO ── */
.hero { position:relative; min-height:400px; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; padding:5rem 2rem 4rem; overflow:hidden; }
.hero-bg { position:absolute; inset:0; background:radial-gradient(ellipse 80% 60% at 50% 0%,#3b1d7a 0%,#1a0a3a 50%,transparent 100%); }
.hero-stars { position:absolute; inset:0; pointer-events:none; }
.star { position:absolute; border-radius:50%; background:white; animation:twinkle var(--d,3s) ease-in-out infinite alternate; opacity:var(--o,0.4); }
@keyframes twinkle { from{opacity:var(--o,0.4);transform:scale(1)} to{opacity:calc(var(--o,0.4)*0.3);transform:scale(0.6)} }
.hero-content { position:relative; z-index:2; }
.hero-icon { font-size:4rem; margin-bottom:1.25rem; display:block; filter:drop-shadow(0 0 24px rgba(167,139,250,0.5)); animation:float 4s ease-in-out infinite; }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
.hero h1 { font-size:clamp(1.8rem,5vw,3rem); font-weight:700; line-height:1.15; letter-spacing:-0.03em; color:#fff; margin-bottom:1.25rem; }
.hero h1 span { background:linear-gradient(90deg,var(--accent2),var(--teal)); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }
.hero p { font-size:1rem; color:var(--text2); max-width:560px; line-height:1.75; margin:0 auto; }

/* ── SECTION ── */
.section { padding:3rem 2.5rem; max-width:1200px; margin:0 auto; }
.section-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:2rem; flex-wrap:wrap; gap:1rem; }
.section-title { font-size:1.4rem; font-weight:700; letter-spacing:-0.02em; }
.section-title .badge { font-size:0.75rem; font-weight:600; font-family:var(--mono); color:var(--accent); background:rgba(167,139,250,0.12); border:1px solid rgba(167,139,250,0.25); padding:3px 8px; border-radius:20px; margin-left:8px; vertical-align:middle; }
.btn-add { display:flex; align-items:center; gap:6px; padding:9px 18px; background:var(--accent3); color:#fff; border:none; border-radius:10px; font-size:0.875rem; font-weight:600; font-family:var(--font); cursor:pointer; transition:background 0.2s,transform 0.1s; box-shadow:0 0 20px rgba(124,58,237,0.35); }
.btn-add:hover { background:#6d28d9; }
.btn-add:active { transform:scale(0.97); }
.admin-hint { font-size:0.78rem; color:var(--text3); font-family:var(--mono); display:flex; align-items:center; gap:6px; padding:7px 14px; border:1px dashed rgba(180,140,255,0.2); border-radius:10px; cursor:pointer; transition:border-color 0.2s,color 0.2s; }
.admin-hint:hover { border-color:rgba(167,139,250,0.4); color:var(--accent); }

/* ── TEAM GRID ── */
.team-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(140px,1fr)); gap:1rem; }
.member-card { border:1px solid var(--border); border-radius:16px; padding:1.25rem 0.875rem; text-align:center; position:relative; transition:border-color 0.2s,transform 0.2s,box-shadow 0.2s; animation:fadeIn 0.3s ease both; background:var(--surface); cursor:pointer; }
@keyframes fadeIn { from{opacity:0;transform:translateY(10px)} to{opacity:1;transform:translateY(0)} }
.member-card:hover { border-color:var(--border2); transform:translateY(-3px); box-shadow:0 8px 32px rgba(0,0,0,0.35); }
.member-card:hover .card-actions { opacity:1; }
.card-actions { position:absolute; top:7px; right:7px; display:flex; gap:4px; opacity:0; transition:opacity 0.15s; z-index:2; }
.card-btn { width:22px; height:22px; border-radius:50%; border:1px solid; font-size:12px; cursor:pointer; padding:0; font-family:var(--font); transition:background 0.15s; display:flex; align-items:center; justify-content:center; }
.card-btn-remove { background:rgba(251,113,133,0.15); border-color:rgba(251,113,133,0.3); color:var(--coral); }
.card-btn-remove:hover { background:rgba(251,113,133,0.3); }
.card-btn-edit { background:rgba(167,139,250,0.15); border-color:rgba(167,139,250,0.3); color:var(--accent); }
.card-btn-edit:hover { background:rgba(167,139,250,0.3); }
.avatar { width:60px; height:60px; border-radius:50%; margin:0 auto 0.75rem; display:flex; align-items:center; justify-content:center; font-size:26px; border:2px solid var(--border2); overflow:hidden; }
.avatar img { width:100%; height:100%; object-fit:cover; border-radius:50%; }
.member-name { font-size:0.8rem; font-weight:600; color:var(--text); margin-bottom:3px; word-break:break-word; line-height:1.3; }
.member-role { font-size:0.7rem; color:var(--text3); line-height:1.4; }

/* ── FOUNDER ── */
.founder-section { max-width:1200px; margin:0 auto 3rem; padding:0 2.5rem; }
.founder-card { background:var(--surface); border:1px solid var(--border2); border-radius:20px; padding:2rem; display:flex; gap:1.5rem; align-items:flex-start; flex-wrap:wrap; position:relative; overflow:hidden; }
.founder-card::before { content:''; position:absolute; top:0; left:0; right:0; height:2px; background:linear-gradient(90deg,var(--accent3),var(--teal),var(--accent)); }
.founder-avatar { width:72px; height:72px; border-radius:50%; background:linear-gradient(135deg,var(--accent3),var(--teal)); display:flex; align-items:center; justify-content:center; font-size:2rem; flex-shrink:0; box-shadow:0 0 24px rgba(167,139,250,0.3); }
.founder-text { flex:1; min-width:200px; }
.founder-text h3 { font-size:1.1rem; font-weight:700; margin-bottom:0.25rem; }
.founder-tag { font-size:0.7rem; font-family:var(--mono); color:var(--gold); background:rgba(245,200,66,0.1); border:1px solid rgba(245,200,66,0.25); padding:2px 8px; border-radius:20px; display:inline-block; margin-bottom:0.75rem; }
.founder-text p { font-size:0.9rem; color:var(--text2); line-height:1.75; }

footer { text-align:center; padding:2rem; font-size:0.8rem; color:var(--text3); border-top:1px solid var(--border); font-family:var(--mono); }

/* ══════════════════════════════════════
   PROFILE PAGE
══════════════════════════════════════ */
.profile-page { max-width:860px; margin:0 auto; padding:2.5rem 2.5rem 5rem; animation:fadeIn 0.25s ease; }

.profile-back { display:inline-flex; align-items:center; gap:7px; font-size:0.78rem; font-family:var(--mono); color:var(--text3); cursor:pointer; padding:7px 14px; border:1px solid var(--border); border-radius:8px; margin-bottom:2rem; transition:color 0.2s,border-color 0.2s; background:transparent; }
.profile-back:hover { color:var(--accent2); border-color:var(--border2); }

.profile-hero { background:var(--surface); border:1px solid var(--border2); border-radius:24px; padding:2.5rem; display:flex; gap:2rem; align-items:flex-start; flex-wrap:wrap; position:relative; overflow:hidden; margin-bottom:1.25rem; }
.profile-hero::before { content:''; position:absolute; top:0; left:0; right:0; height:3px; }

.profile-avatar { width:110px; height:110px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:3.2rem; border:3px solid var(--border2); overflow:hidden; flex-shrink:0; }
.profile-avatar img { width:100%; height:100%; object-fit:cover; }

.profile-meta { flex:1; min-width:180px; }
.profile-name { font-size:1.9rem; font-weight:700; letter-spacing:-0.03em; line-height:1.1; margin-bottom:0.3rem; }
.profile-role-tag { display:inline-block; font-size:0.75rem; font-family:var(--mono); color:var(--accent2); background:rgba(167,139,250,0.1); border:1px solid rgba(167,139,250,0.25); padding:3px 10px; border-radius:20px; margin-bottom:1rem; }
.profile-admin-btns { display:flex; gap:8px; flex-wrap:wrap; }

.profile-card { background:var(--surface); border:1px solid var(--border); border-radius:16px; padding:1.5rem 1.75rem; margin-bottom:1rem; }
.profile-card-title { font-size:0.7rem; font-family:var(--mono); color:var(--text3); text-transform:uppercase; letter-spacing:0.1em; margin-bottom:1rem; display:flex; align-items:center; gap:8px; }
.profile-card-title::after { content:''; flex:1; height:1px; background:var(--border); }

.profile-bio { font-size:0.95rem; color:var(--text2); line-height:1.85; white-space:pre-wrap; word-break:break-word; }
.profile-empty { font-size:0.83rem; color:var(--text3); font-family:var(--mono); font-style:italic; }

/* LINKS */
.profile-links-list { display:flex; flex-direction:column; gap:8px; }
.profile-link { display:flex; align-items:center; gap:12px; padding:11px 16px; background:var(--surface2); border:1px solid var(--border); border-radius:12px; text-decoration:none; color:var(--text2); transition:border-color 0.2s,color 0.2s,background 0.2s; }
.profile-link:hover { border-color:var(--border2); color:var(--accent2); background:rgba(167,139,250,0.06); }
.profile-link-icon { font-size:1.1rem; width:22px; text-align:center; flex-shrink:0; }
.profile-link-label { font-size:0.75rem; font-weight:600; font-family:var(--mono); color:var(--text3); min-width:72px; flex-shrink:0; }
.profile-link-url { font-size:0.85rem; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }

/* ── OVERLAYS ── */
.overlay { display:none; position:fixed; inset:0; background:rgba(0,0,0,0.7); backdrop-filter:blur(8px); z-index:200; align-items:center; justify-content:center; }
.overlay.open { display:flex; }

/* ── MODALS ── */
.modal { background:var(--bg2); border:1px solid var(--border2); border-radius:20px; padding:2rem; width:100%; max-width:480px; margin:1rem; animation:modalIn 0.2s ease; max-height:92vh; overflow-y:auto; scrollbar-width:thin; scrollbar-color:rgba(167,139,250,0.3) transparent; }
.modal::-webkit-scrollbar { width:5px; }
.modal::-webkit-scrollbar-thumb { background:rgba(167,139,250,0.3); border-radius:99px; }
@keyframes modalIn { from{opacity:0;transform:scale(0.95) translateY(10px)} to{opacity:1;transform:scale(1) translateY(0)} }
.modal h3 { font-size:1.1rem; font-weight:700; margin-bottom:0.4rem; }
.modal-sub { font-size:0.78rem; color:var(--text3); margin-bottom:1.5rem; font-family:var(--mono); }
.form-group { margin-bottom:1.1rem; }
.form-group label { display:block; font-size:0.72rem; font-weight:600; color:var(--text3); text-transform:uppercase; letter-spacing:0.07em; margin-bottom:6px; }
.form-group input[type="text"],
.form-group input[type="password"],
.form-group input[type="url"],
.form-group textarea { width:100%; padding:10px 12px; font-size:0.9rem; background:var(--surface); border:1px solid var(--border2); border-radius:10px; color:var(--text); font-family:var(--font); outline:none; transition:border-color 0.2s; resize:vertical; }
.form-group input:focus,.form-group textarea:focus { border-color:var(--accent); }
.form-group input::placeholder,.form-group textarea::placeholder { color:var(--text3); }
.form-group input[type="password"] { letter-spacing:0.12em; }
.form-group textarea { min-height:90px; line-height:1.65; }
.error-msg { font-size:0.75rem; color:var(--coral); margin-top:6px; min-height:18px; font-family:var(--mono); }
.modal-actions { display:flex; gap:0.75rem; justify-content:flex-end; margin-top:1.5rem; }
.btn-cancel { padding:9px 16px; background:transparent; border:1px solid var(--border2); border-radius:10px; color:var(--text2); font-size:0.875rem; font-family:var(--font); font-weight:500; cursor:pointer; transition:background 0.15s; }
.btn-cancel:hover { background:var(--surface); }
.btn-confirm { padding:9px 18px; background:var(--accent3); border:none; border-radius:10px; color:#fff; font-size:0.875rem; font-family:var(--font); font-weight:600; cursor:pointer; transition:background 0.15s; }
.btn-confirm:hover { background:#6d28d9; }

/* ── LINKS EDITOR ── */
.links-editor { display:flex; flex-direction:column; gap:8px; }
.link-row { display:grid; grid-template-columns:90px 1fr 32px; gap:6px; align-items:center; }
.link-row input { padding:8px 10px; font-size:0.83rem; background:var(--surface); border:1px solid var(--border2); border-radius:8px; color:var(--text); font-family:var(--font); outline:none; width:100%; }
.link-row input:focus { border-color:var(--accent); }
.link-row input::placeholder { color:var(--text3); }
.link-del-btn { width:28px; height:28px; border-radius:50%; background:rgba(251,113,133,0.12); border:1px solid rgba(251,113,133,0.25); color:var(--coral); font-size:14px; cursor:pointer; display:flex; align-items:center; justify-content:center; flex-shrink:0; transition:background 0.15s; }
.link-del-btn:hover { background:rgba(251,113,133,0.25); }
.btn-add-link { display:inline-flex; align-items:center; gap:5px; padding:7px 14px; font-size:0.75rem; font-family:var(--mono); background:transparent; border:1px dashed var(--border2); border-radius:8px; color:var(--text3); cursor:pointer; transition:border-color 0.15s,color 0.15s; margin-top:4px; }
.btn-add-link:hover { border-color:var(--accent); color:var(--accent); }
.link-row-head { display:grid; grid-template-columns:90px 1fr 32px; gap:6px; margin-bottom:2px; }
.link-row-head span { font-size:0.68rem; font-family:var(--mono); color:var(--text3); text-transform:uppercase; letter-spacing:0.06em; padding-left:2px; }

/* ── AVATAR TOGGLE ── */
.avatar-toggle { display:flex; border:1px solid var(--border2); border-radius:10px; overflow:hidden; margin-bottom:1rem; }
.avatar-toggle-btn { flex:1; padding:8px; font-size:0.78rem; font-family:var(--mono); background:transparent; border:none; color:var(--text3); cursor:pointer; transition:background 0.15s,color 0.15s; }
.avatar-toggle-btn.active { background:var(--accent3); color:#fff; }

/* ── PHOTO UPLOAD ── */
.photo-upload-area { position:relative; border:2px dashed var(--border2); border-radius:14px; padding:1.5rem 1rem; text-align:center; cursor:pointer; transition:border-color 0.2s,background 0.2s; background:var(--surface); }
.photo-upload-area:hover,.photo-upload-area.drag-over { border-color:var(--accent); background:rgba(167,139,250,0.06); }
.photo-upload-area input[type="file"] { position:absolute; inset:0; opacity:0; cursor:pointer; width:100%; height:100%; }
.photo-preview-wrap { position:relative; display:inline-block; }
.photo-preview { width:80px; height:80px; border-radius:50%; object-fit:cover; border:2px solid var(--border2); display:block; margin:0 auto 0.5rem; }
.photo-preview-placeholder { width:80px; height:80px; border-radius:50%; background:var(--surface2); display:flex; align-items:center; justify-content:center; font-size:2rem; margin:0 auto 0.5rem; border:2px dashed var(--border2); }
.photo-upload-label { font-size:0.78rem; color:var(--text3); font-family:var(--mono); }
.photo-upload-hint { font-size:0.7rem; color:var(--text3); margin-top:4px; opacity:0.7; }
.photo-clear-btn { position:absolute; top:-4px; right:-4px; width:22px; height:22px; border-radius:50%; background:var(--coral); border:none; color:#fff; font-size:12px; cursor:pointer; display:flex; align-items:center; justify-content:center; }

/* ── EMOJI + ACCENT COLORS ── */
.emoji-grid { display:grid; grid-template-columns:repeat(8,1fr); gap:4px; margin-top:6px; }
.emoji-btn { padding:6px; font-size:1.1rem; border:1px solid var(--border); border-radius:8px; cursor:pointer; background:var(--surface); line-height:1; transition:border-color 0.15s,background 0.15s; }
.emoji-btn:hover { background:var(--surface2); }
.emoji-btn.selected { border-color:var(--accent); background:rgba(167,139,250,0.15); }
.color-row { display:flex; gap:8px; flex-wrap:wrap; margin-top:6px; }
.color-dot { width:26px; height:26px; border-radius:50%; cursor:pointer; border:2px solid transparent; transition:transform 0.15s; }
.color-dot:hover { transform:scale(1.15); }
.color-dot.selected { border-color:#fff; box-shadow:0 0 0 2px rgba(255,255,255,0.3); }

/* ── CARD BG SWATCHES ── */
.swatch-row { display:flex; gap:7px; flex-wrap:wrap; margin-top:6px; align-items:center; }
.swatch { width:28px; height:28px; border-radius:8px; cursor:pointer; border:2px solid transparent; transition:transform 0.15s,border-color 0.15s; flex-shrink:0; }
.swatch:hover { transform:scale(1.12); }
.swatch.selected { border-color:#fff; box-shadow:0 0 0 2px rgba(255,255,255,0.35); }
.swatch-custom { width:28px; height:28px; border-radius:8px; border:2px solid var(--border2); cursor:pointer; overflow:hidden; position:relative; flex-shrink:0; }
.swatch-custom input[type="color"] { position:absolute; inset:0; width:100%; height:100%; opacity:0; cursor:pointer; border:none; padding:0; }
.swatch-custom-fill { width:100%; height:100%; border-radius:6px; pointer-events:none; }

/* ── DASHBOARD ── */
.dashboard-modal { background:var(--bg2); border:1px solid var(--border2); border-radius:20px; width:100%; max-width:780px; margin:1rem; animation:modalIn 0.2s ease; max-height:92vh; display:flex; flex-direction:column; overflow:hidden; }
.dashboard-header { padding:1.5rem 2rem 1rem; border-bottom:1px solid var(--border); flex-shrink:0; display:flex; justify-content:space-between; align-items:flex-start; }
.dashboard-header h3 { font-size:1.1rem; font-weight:700; }
.dashboard-header p { font-size:0.78rem; color:var(--text3); font-family:var(--mono); margin-top:2px; }
.dashboard-close { background:transparent; border:none; color:var(--text3); font-size:1.3rem; cursor:pointer; padding:0; line-height:1; }
.dashboard-close:hover { color:var(--text); }
.dash-tabs { display:flex; gap:0; border-bottom:1px solid var(--border); flex-shrink:0; padding:0 2rem; }
.dash-tab { padding:10px 18px; font-size:0.8rem; font-family:var(--mono); background:transparent; border:none; color:var(--text3); cursor:pointer; border-bottom:2px solid transparent; transition:color 0.15s,border-color 0.15s; margin-bottom:-1px; }
.dash-tab.active { color:var(--accent2); border-bottom-color:var(--accent2); }
.dash-tab:hover:not(.active) { color:var(--text2); }
.dash-panel-toolbar { flex-shrink:0; padding:0.75rem 2rem 0; display:flex; gap:10px; flex-wrap:wrap; }
.dash-panel { display:none; flex:1; flex-direction:column; min-height:0; }
.dash-panel.active { display:flex; }
.dashboard-body { flex:1; overflow-y:auto; padding:1.25rem 2rem; min-height:0; scrollbar-width:thin; scrollbar-color:rgba(167,139,250,0.35) transparent; }
.dashboard-body::-webkit-scrollbar { width:6px; }
.dashboard-body::-webkit-scrollbar-track { background:transparent; }
.dashboard-body::-webkit-scrollbar-thumb { background:rgba(167,139,250,0.35); border-radius:99px; }
.dashboard-body::-webkit-scrollbar-thumb:hover { background:rgba(167,139,250,0.6); }
.dash-member-row { display:flex; align-items:center; gap:12px; padding:10px 0; border-bottom:1px solid var(--border); }
.dash-member-row:last-child { border-bottom:none; }
.dash-avatar { width:44px; height:44px; border-radius:50%; overflow:hidden; flex-shrink:0; border:1px solid var(--border2); display:flex; align-items:center; justify-content:center; font-size:1.3rem; }
.dash-avatar img { width:100%; height:100%; object-fit:cover; }
.dash-info { flex:1; min-width:0; }
.dash-name { font-size:0.88rem; font-weight:600; color:var(--text); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.dash-role { font-size:0.72rem; color:var(--text3); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.dash-actions { display:flex; gap:6px; flex-shrink:0; }
.dash-btn { padding:5px 12px; font-size:0.72rem; font-family:var(--mono); border-radius:8px; cursor:pointer; border:1px solid; transition:background 0.15s; }
.dash-btn-edit { background:rgba(167,139,250,0.1); border-color:rgba(167,139,250,0.3); color:var(--accent); }
.dash-btn-edit:hover { background:rgba(167,139,250,0.2); }
.dash-btn-del { background:rgba(251,113,133,0.1); border-color:rgba(251,113,133,0.3); color:var(--coral); }
.dash-btn-del:hover { background:rgba(251,113,133,0.2); }

/* ── APPEARANCE PANEL ── */
.appear-section { margin-bottom:2rem; }
.appear-section h4 { font-size:0.85rem; font-weight:700; color:var(--text2); margin-bottom:0.35rem; }
.appear-section p { font-size:0.75rem; color:var(--text3); font-family:var(--mono); margin-bottom:0.9rem; }
.theme-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(100px,1fr)); gap:10px; margin-bottom:1rem; }
.theme-swatch { border-radius:12px; padding:0.65rem; cursor:pointer; border:2px solid transparent; transition:border-color 0.2s,transform 0.15s; }
.theme-swatch:hover { transform:translateY(-2px); }
.theme-swatch.selected { border-color:var(--accent2); }
.theme-swatch-preview { width:100%; height:36px; border-radius:8px; margin-bottom:6px; display:flex; align-items:center; justify-content:center; gap:4px; }
.theme-dot { width:9px; height:9px; border-radius:50%; }
.theme-name { font-size:0.68rem; font-family:var(--mono); color:var(--text2); text-align:center; }
.custom-bg-row { display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.custom-bg-swatch { width:44px; height:44px; border-radius:10px; border:2px solid var(--border2); overflow:hidden; position:relative; cursor:pointer; flex-shrink:0; }
.custom-bg-swatch input[type="color"] { position:absolute; inset:0; width:100%; height:100%; opacity:0; cursor:pointer; border:none; padding:0; }
.custom-bg-fill { width:100%; height:100%; border-radius:8px; pointer-events:none; }
.custom-bg-label { font-size:0.78rem; color:var(--text2); font-family:var(--mono); }
.dash-divider { height:1px; background:var(--border); margin:1.5rem 0; }

/* ── DASHBOARD FOOTER ── */
.dashboard-footer { padding:1rem 2rem 1.5rem; border-top:1px solid var(--border); flex-shrink:0; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:8px; }
.dash-stats { font-size:0.75rem; color:var(--text3); font-family:var(--mono); }
.dash-footer-right { display:flex; gap:8px; align-items:center; }
.dash-search { padding:8px 12px; font-size:0.85rem; background:var(--surface); border:1px solid var(--border2); border-radius:10px; color:var(--text); font-family:var(--font); outline:none; width:200px; transition:border-color 0.2s; }
.dash-search:focus { border-color:var(--accent); }
.dash-search::placeholder { color:var(--text3); }

/* ── TOAST ── */
.toast { position:fixed; bottom:2rem; left:50%; transform:translateX(-50%) translateY(20px); background:var(--surface2); border:1px solid var(--border2); border-radius:12px; padding:10px 20px; font-size:0.8rem; font-family:var(--mono); color:var(--teal); opacity:0; transition:opacity 0.25s,transform 0.25s; pointer-events:none; z-index:999; white-space:nowrap; }
.toast.show { opacity:1; transform:translateX(-50%) translateY(0); }

/* ── RESPONSIVE ── */
@media(max-width:640px){
  nav { padding:0.875rem 1.25rem; flex-wrap:wrap; gap:0.75rem; }
  .nav-links { display:none; }
  .section { padding:2rem 1.25rem; }
  .founder-section { padding:0 1.25rem; }
  .admin-banner { padding:0.5rem 1.25rem; }
  .team-grid { grid-template-columns:repeat(auto-fill,minmax(120px,1fr)); }
  .dashboard-modal { max-width:100%; margin:0.5rem; }
  .dashboard-body { padding:1rem; }
  .dashboard-header,.dashboard-footer { padding-left:1rem; padding-right:1rem; }
  .dash-tabs { padding:0 1rem; }
  .theme-grid { grid-template-columns:repeat(auto-fill,minmax(85px,1fr)); }
  .profile-page { padding:1.5rem 1.25rem 3rem; }
  .profile-hero { padding:1.5rem; gap:1rem; }
  .profile-avatar { width:80px; height:80px; font-size:2.2rem; }
  .profile-name { font-size:1.4rem; }
  .link-row { grid-template-columns:80px 1fr 32px; }
}

/* ── APPLICATIONS PANEL ── */
#app-detail-overlay { display:none; }
#app-detail-overlay.open { display:flex; }
@keyframes modalIn { from{opacity:0;transform:scale(0.95) translateY(10px)} to{opacity:1;transform:scale(1) translateY(0)} }
