/* =====================================================================
   camohax design system
   Dark, app-like UI. One accent (purple), soft surfaces, crisp type.
   ===================================================================== */

:root {
  --bg: #0b0b10;
  --bg-2: #101017;
  --surface: #15151d;
  --surface-2: #1c1c26;
  --surface-3: #252532;
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.14);

  --text: #ececf3;
  --text-2: #b9b9c8;
  --muted: #8a8a9c;

  --accent: #9234ff;
  --accent-hi: #a95cff;
  --accent-lo: #7a1fe6;
  --accent-soft: rgba(146, 52, 255, 0.14);
  --accent-ring: rgba(146, 52, 255, 0.45);
  --grad: linear-gradient(135deg, #9234ff 0%, #c05cff 55%, #ff6bd5 100%);

  --success: #2ecc8f;
  --warning: #f5b041;
  --danger: #ff5c7a;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.5);

  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: ui-monospace, 'SF Mono', 'Cascadia Code', Consolas, monospace;

  --topbar-h: 64px;
  --maxw: 1180px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(900px 500px at 85% -10%, rgba(146, 52, 255, 0.16), transparent 60%),
    radial-gradient(700px 420px at -10% 10%, rgba(255, 107, 213, 0.07), transparent 60%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; display: block; }
a { color: var(--accent-hi); text-decoration: none; }
a:hover { color: #c48dff; }
h1, h2, h3, h4 { margin: 0 0 .4em; line-height: 1.2; letter-spacing: -0.02em; }
h1 { font-size: clamp(1.8rem, 1.2rem + 2vw, 2.6rem); font-weight: 800; }
h2 { font-size: 1.35rem; font-weight: 700; }
h3 { font-size: 1.05rem; font-weight: 600; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 2px; border-radius: 6px; }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 1000;
  background: var(--accent); color: #fff; padding: 8px 14px; border-radius: 8px;
}
.skip-link:focus { left: 8px; }

.muted { color: var(--muted); }
.small { font-size: .85rem; }
.mono { font-family: var(--mono); }
.grad-text {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- layout ---------- */
main { flex: 1; width: 100%; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 32px 20px 64px; }
.container.narrow { max-width: 560px; }
.container.medium { max-width: 860px; }
.stack > * + * { margin-top: 16px; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.spacer { flex: 1; }

.page-head { margin: 8px 0 28px; }
.page-head p { color: var(--text-2); max-width: 640px; font-size: 1.05rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent-hi); margin-bottom: 10px;
}

/* ---------- staging banner ---------- */
.staging-banner {
  background: repeating-linear-gradient(45deg, #3a2a00, #3a2a00 12px, #2e2200 12px, #2e2200 24px);
  color: #ffd27a; text-align: center; font-size: .82rem; font-weight: 600; padding: 6px 12px;
  border-bottom: 1px solid rgba(255, 210, 122, .25);
}

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 11, 16, 0.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.topbar-inner {
  max-width: var(--maxw); margin: 0 auto; height: var(--topbar-h);
  display: flex; align-items: center; gap: 20px; padding: 0 20px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; letter-spacing: -0.03em; }
.brand:hover { color: var(--text); }
.brand-mark {
  width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center;
  background: var(--grad); color: #fff; font-size: 1rem; box-shadow: 0 6px 20px rgba(146, 52, 255, .4);
}
.brand-name { font-size: 1.15rem; }
.brand-name span { color: var(--accent-hi); }

.nav { display: flex; align-items: center; gap: 2px; flex: 1; }
.nav-link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 10px; color: var(--text-2); font-weight: 500; font-size: .92rem;
  transition: background .2s, color .2s;
}
.nav-link i { font-size: .85rem; opacity: .8; }
.nav-link:hover { background: var(--surface-2); color: var(--text); }
.nav-link.is-active { background: var(--accent-soft); color: #fff; }
.nav-link.is-active i { color: var(--accent-hi); opacity: 1; }

.topbar-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav-toggle {
  display: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--border);
  background: var(--surface); cursor: pointer;
}

/* account menu */
.menu { position: relative; }
.menu > summary { list-style: none; cursor: pointer; }
.menu > summary::-webkit-details-marker { display: none; }
.avatar-btn {
  display: flex; align-items: center; gap: 10px; padding: 4px 10px 4px 4px;
  border-radius: 999px; border: 1px solid var(--border); background: var(--surface);
  transition: border-color .2s;
}
.avatar-btn:hover { border-color: var(--border-strong); }
.avatar-btn i { font-size: .7rem; color: var(--muted); }
.avatar {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad); color: #fff; font-weight: 700; font-size: .85rem;
}
.avatar-name { font-weight: 600; font-size: .9rem; max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.menu-panel {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 230px; padding: 6px;
  background: var(--surface-2); border: 1px solid var(--border-strong); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); animation: pop .16s var(--ease);
}
.menu-head { padding: 10px 12px 12px; border-bottom: 1px solid var(--border); margin-bottom: 6px; }
.menu-head strong { display: block; }
.menu-head small { color: var(--muted); word-break: break-all; }
.menu-panel a, .menu-panel button {
  display: flex; align-items: center; gap: 10px; width: 100%; text-align: left;
  padding: 9px 12px; border-radius: 8px; color: var(--text-2); background: none; border: 0; cursor: pointer; font-size: .92rem;
}
.menu-panel a:hover, .menu-panel button:hover { background: var(--surface-3); color: var(--text); }
.menu-panel i { width: 16px; color: var(--muted); }
.menu-panel form { margin: 0; }

@keyframes pop { from { opacity: 0; transform: translateY(-4px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--surface-2);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: 12px; border: 1px solid var(--border-strong);
  background: var(--btn-bg); color: var(--text); font-weight: 600; font-size: .92rem;
  cursor: pointer; white-space: nowrap; transition: transform .12s, background .2s, border-color .2s, box-shadow .2s, opacity .2s;
}
.btn:hover { background: var(--surface-3); color: var(--text); }
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; transform: none; }
.btn-primary {
  background: var(--accent); border-color: transparent; color: #fff;
  box-shadow: 0 6px 18px rgba(146, 52, 255, .35);
}
.btn-primary:hover:not(:disabled) { background: var(--accent-hi); color: #fff; box-shadow: 0 8px 24px rgba(146, 52, 255, .5); }
.btn-ghost { background: transparent; border-color: transparent; color: var(--text-2); }
.btn-ghost:hover { background: var(--surface-2); color: var(--text); }
.btn-danger { background: rgba(255, 92, 122, .12); border-color: rgba(255, 92, 122, .35); color: #ff8fa3; }
.btn-sm { padding: 7px 13px; font-size: .85rem; border-radius: 10px; }
.btn-lg { padding: 14px 24px; font-size: 1rem; border-radius: 14px; }
.btn-block { width: 100%; }
.icon-btn {
  width: 38px; height: 38px; display: inline-grid; place-items: center; border-radius: 50%;
  border: 0; background: transparent; color: var(--text-2); cursor: pointer; transition: background .2s, color .2s, transform .12s;
}
.icon-btn:hover { background: var(--surface-3); color: var(--text); }
.icon-btn:active { transform: scale(.94); }
.icon-btn.is-on { color: var(--accent-hi); }

/* ---------- cards ---------- */
.card {
  background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,0)) , var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px;
}
.card-title { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }

/* ---------- forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: .86rem; font-weight: 600; color: var(--text-2); }
.field .hint { font-size: .8rem; color: var(--muted); }
.input, .field input, .field select, .field textarea {
  width: 100%; padding: 11px 14px; border-radius: 12px;
  background: var(--bg-2); border: 1px solid var(--border-strong); color: var(--text);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.input::placeholder, .field input::placeholder { color: #6b6b7d; }
.input:hover, .field input:hover { border-color: rgba(255,255,255,.22); }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); background: #12121a;
}
.field input:-webkit-autofill {
  -webkit-text-fill-color: var(--text);
  -webkit-box-shadow: 0 0 0 1000px #12121a inset;
  caret-color: var(--text);
}
.input-icon { position: relative; }
.input-icon > i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.input-icon > .input { padding-left: 40px; }
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 44px; }
.pw-toggle {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; border: 0; background: none; color: var(--muted); cursor: pointer; border-radius: 8px;
}
.pw-toggle:hover { color: var(--text); background: var(--surface-2); }
.strength { height: 4px; border-radius: 4px; background: var(--surface-3); overflow: hidden; }
.strength > span { display: block; height: 100%; width: 0; background: var(--danger); transition: width .25s, background .25s; }

/* ---------- alerts & toasts ---------- */
.alert {
  display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-radius: 12px;
  border: 1px solid var(--border-strong); background: var(--surface-2); margin-bottom: 16px; font-size: .92rem;
}
.alert-success { border-color: rgba(46, 204, 143, .35); background: rgba(46, 204, 143, .1); color: #8ef0c4; }
.alert-error   { border-color: rgba(255, 92, 122, .35); background: rgba(255, 92, 122, .1); color: #ffa3b4; }
.alert-info    { border-color: var(--accent-ring); background: var(--accent-soft); color: #d9bcff; }

.toasts { position: fixed; z-index: 200; right: 16px; bottom: 16px; display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.toast {
  pointer-events: auto; min-width: 240px; max-width: 360px; padding: 12px 16px; border-radius: 12px;
  background: var(--surface-3); border: 1px solid var(--border-strong); box-shadow: var(--shadow-lg);
  display: flex; gap: 10px; align-items: center; font-size: .9rem; animation: toast-in .25s var(--ease);
}
.toast.is-leaving { animation: toast-out .2s ease forwards; }
.toast i { color: var(--accent-hi); }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes toast-out { to { opacity: 0; transform: translateY(10px); } }

/* ---------- badges & chips ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: 999px;
  font-size: .72rem; font-weight: 700; letter-spacing: .02em;
  background: var(--accent-soft); color: #cfa6ff; border: 1px solid rgba(146, 52, 255, .3);
}
.badge-new { background: rgba(46, 204, 143, .12); color: #7fe8b9; border-color: rgba(46, 204, 143, .35); }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--border-strong); background: var(--surface); color: var(--text-2);
  font-size: .85rem; font-weight: 500; cursor: pointer; transition: all .2s;
}
.chip:hover { color: var(--text); border-color: rgba(255,255,255,.25); }
.chip.is-active { background: var(--accent-soft); border-color: var(--accent-ring); color: #fff; }

/* ---------- home ---------- */
.hero { padding: 56px 0 40px; text-align: center; }
.hero h1 { font-size: clamp(2.4rem, 1.4rem + 4.5vw, 4.4rem); letter-spacing: -0.045em; margin-bottom: .25em; }
.hero p { color: var(--text-2); font-size: clamp(1rem, .95rem + .4vw, 1.2rem); max-width: 600px; margin: 0 auto 28px; }
.hero .row { justify-content: center; }
.hero-stats { display: flex; justify-content: center; gap: 36px; margin-top: 40px; flex-wrap: wrap; }
.hero-stats div { text-align: center; }
.hero-stats strong { display: block; font-size: 1.6rem; font-weight: 800; letter-spacing: -0.03em; }
.hero-stats span { color: var(--muted); font-size: .85rem; }

.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.tool-card {
  position: relative; display: flex; flex-direction: column; gap: 10px; padding: 22px;
  border-radius: var(--radius-lg); border: 1px solid var(--border); color: var(--text);
  background: var(--surface); overflow: hidden; isolation: isolate;
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
}
.tool-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s;
  background: radial-gradient(400px 200px at var(--mx, 50%) var(--my, 0%), rgba(146, 52, 255, .18), transparent 70%);
}
.tool-card:hover { transform: translateY(-3px); border-color: var(--accent-ring); box-shadow: var(--shadow); color: var(--text); }
.tool-card:hover::before { opacity: 1; }
.tool-icon {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 1.15rem;
  background: var(--accent-soft); color: var(--accent-hi); border: 1px solid rgba(146, 52, 255, .25);
}
.tool-card h3 { margin: 6px 0 0; font-size: 1.1rem; }
.tool-card p { color: var(--muted); margin: 0; font-size: .92rem; }
.tool-card .go { margin-top: auto; padding-top: 8px; color: var(--accent-hi); font-weight: 600; font-size: .88rem; display: flex; align-items: center; gap: 6px; }
.tool-card:hover .go i { transform: translateX(3px); }
.tool-card .go i { transition: transform .2s; }
.tool-card .badge { position: absolute; top: 18px; right: 18px; }

.section-title { display: flex; align-items: baseline; gap: 12px; margin: 48px 0 16px; }
.section-title h2 { margin: 0; }

/* ---------- auth pages ---------- */
.auth-wrap { min-height: calc(100vh - var(--topbar-h) - 140px); display: grid; place-items: center; padding: 40px 16px; }
.auth-card { width: 100%; max-width: 420px; padding: 32px; box-shadow: var(--shadow-lg); }
.auth-card h1 { font-size: 1.7rem; margin-bottom: 6px; }
.auth-card .sub { color: var(--muted); margin-bottom: 24px; }
.auth-foot { text-align: center; margin-top: 18px; color: var(--muted); font-size: .9rem; }
.auth-logo { width: 48px; height: 48px; border-radius: 14px; font-size: 1.3rem; margin-bottom: 18px; }

/* ---------- message page ---------- */
.message-card { text-align: center; padding: 48px 32px; margin-top: 40px; }
.message-icon {
  width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 20px; display: grid; place-items: center;
  font-size: 1.6rem; background: var(--accent-soft); color: var(--accent-hi);
}

/* ---------- account ---------- */
.account-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; align-items: start; }
.profile-row { display: flex; align-items: center; gap: 16px; margin-bottom: 8px; }
.profile-row .avatar { width: 56px; height: 56px; font-size: 1.4rem; }
.list { list-style: none; margin: 0; padding: 0; }
.list li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.list li:last-child { border-bottom: 0; }
.list .li-icon {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); color: var(--text-2);
}

/* ---------- files ---------- */
.toolbar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 20px; }
.toolbar .input-icon { flex: 1; min-width: 220px; max-width: 420px; }
.file-section { margin-bottom: 28px; }
.file-section h2 { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; margin-bottom: 10px; }
.file-section h2 .count { color: var(--muted); font-weight: 500; font-size: .85rem; }
.file-list { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.file-row {
  display: grid; grid-template-columns: 40px 1fr auto auto 40px; gap: 14px; align-items: center;
  padding: 10px 14px; border-bottom: 1px solid var(--border); color: var(--text); transition: background .15s;
}
.file-row:last-child { border-bottom: 0; }
.file-row:hover { background: var(--surface-2); color: var(--text); }
.file-ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-3); font-size: 1rem; }
.file-name { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-meta { color: var(--muted); font-size: .85rem; white-space: nowrap; }
.file-row .fa-download { color: var(--muted); }
.file-row:hover .fa-download { color: var(--accent-hi); }
.ico-video { color: #ff7a9a; } .ico-audio { color: #7fd4ff; } .ico-archive { color: #ffc46b; }
.ico-image { color: #7fe8b9; } .ico-code { color: #c9a2ff; } .ico-exe { color: #ff9d6b; } .ico-text { color: #c7c7d6; }

/* ---------- gallery ---------- */
.gallery { columns: 4 240px; column-gap: 14px; }
.gallery-item {
  break-inside: avoid; margin-bottom: 14px; border-radius: var(--radius); overflow: hidden; position: relative;
  border: 1px solid var(--border); background: var(--surface-2); cursor: zoom-in; display: block; width: 100%; padding: 0;
}
.gallery-item img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; transition: transform .4s var(--ease), opacity .4s; opacity: 0; }
.gallery-item img.is-loaded { opacity: 1; aspect-ratio: auto; }
.gallery-item:has(img:not(.is-loaded)) {
  background: linear-gradient(90deg, var(--surface-2) 25%, var(--surface-3) 50%, var(--surface-2) 75%);
  background-size: 200% 100%; animation: shimmer 1.4s infinite;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.5), transparent 40%);
  opacity: 0; transition: opacity .3s;
}
.gallery-item:hover::after { opacity: 1; }
.lightbox {
  position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center;
  background: rgba(5, 5, 8, .92); backdrop-filter: blur(8px); padding: 60px 70px;
}
.lightbox.is-open { display: flex; animation: fade .2s ease; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 12px; box-shadow: var(--shadow-lg); }
.lightbox .lb-btn {
  position: absolute; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--border-strong);
  background: rgba(30, 30, 40, .8); color: #fff; cursor: pointer; display: grid; place-items: center; font-size: 1rem;
}
.lightbox .lb-btn:hover { background: var(--accent); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb-bar { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; align-items: center; }
.lb-count { color: var(--text-2); font-size: .85rem; background: rgba(30,30,40,.8); padding: 6px 12px; border-radius: 999px; }
@keyframes fade { from { opacity: 0; } }

/* ---------- empty & skeleton ---------- */
.empty { text-align: center; padding: 48px 16px; color: var(--muted); }
.empty i { font-size: 2rem; margin-bottom: 12px; color: var(--surface-3); }
.skeleton {
  background: linear-gradient(90deg, var(--surface-2) 25%, var(--surface-3) 50%, var(--surface-2) 75%);
  background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: 10px;
}
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--border); color: var(--muted); font-size: .85rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 20px; padding-bottom: 20px; flex-wrap: wrap; }
.footer-inner nav { display: flex; gap: 18px; }
.footer-inner a { color: var(--muted); }
.footer-inner a:hover { color: var(--text); }

/* ---------- responsive ---------- */
.nav-link { white-space: nowrap; }
@media (max-width: 1200px) {
  .nav-link:not(.is-active) span { display: none; }
  .nav-link { padding: 9px 11px; }
}
@media (max-width: 760px) {
  :root { --topbar-h: 58px; }
  .nav-toggle { display: grid; place-items: center; }
  .nav {
    position: fixed; inset: var(--topbar-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px;
    padding: 12px 16px 18px; background: rgba(13, 13, 19, .97); border-bottom: 1px solid var(--border);
    backdrop-filter: blur(14px); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: all .2s var(--ease);
  }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-link { padding: 12px 14px; font-size: 1rem; }
  .nav-link span, .nav-link:not(.is-active) span { display: inline; }
  .avatar-name { display: none; }
  .account-grid { grid-template-columns: 1fr; }
  .file-row { grid-template-columns: 36px 1fr auto 28px; gap: 10px; }
  .file-row .file-date { display: none; }
  .container { padding: 24px 16px 48px; }
  .hero { padding: 32px 0 24px; }
  .lightbox { padding: 60px 10px 80px; }
  .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
