/* ── layout.css — Akino Systems ── */
body.dark .cfg-hub-card:hover { background: var(--s2); }
.cfg-hub-card--wide { flex-direction: row; align-items: center; gap: 14px; }
.cfg-hub-icon {
  width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.cfg-hub-title { font-size: 13.5px; font-weight: 600; color: var(--text); }
.cfg-hub-desc { font-size: 12px; color: var(--muted); line-height: 1.5; flex: 1; }
.cfg-hub-arrow {
  color: var(--muted); opacity: 0; transition: opacity .15s, transform .15s;
  margin-top: auto; align-self: flex-end;
}
.cfg-hub-card--wide .cfg-hub-arrow { margin-top: 0; align-self: center; flex-shrink: 0; }
.cfg-hub-card:hover .cfg-hub-arrow { opacity: 1; transform: translateX(3px); }

/* ══════════════════════════════════════
   PREFERENCES PAGE
══════════════════════════════════════ */
.pref-density-btn {
  padding: 5px 10px; border-radius: 5px;
  border: 1px solid var(--border); background: none;
  font-size: 11.5px; font-weight: 500; color: var(--muted);
  cursor: pointer; font-family: 'Geist', sans-serif; transition: all .12s;
}
.pref-density-btn:hover { border-color: var(--border2); color: var(--text); }
.pref-density-btn.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.pref-info-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 0; border-bottom: 1px solid var(--border);
}
.pref-info-row:last-child { border-bottom: none; }
.pref-info-label { font-size: 12.5px; color: var(--muted); }
.pref-info-val { font-size: 12.5px; color: var(--text); font-weight: 500; }

/* ══════════════════════════════════════
   AUTH SCREEN
══════════════════════════════════════ */
/* Auth screen keyframes → defined in variables.css */

/* ── AVATAR UPLOAD ── */
.pref-av-wrap {
  width: 72px; height: 72px;
  border-radius: var(--radius-sm);
  background: var(--s3);
  border: 2px dashed var(--border2);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 700; color: #fff;
  flex-shrink: 0; cursor: pointer; overflow: hidden;
  transition: border-color .15s, opacity .15s;
  position: relative;
}
.pref-av-wrap:hover { border-color: var(--ink); opacity: .9; }
.pref-av-wrap:hover::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(0,0,0,.25);
  display: flex; align-items: center; justify-content: center;
}
.pref-av-wrap img { width: 100%; height: 100%; object-fit: cover; }

/* Upload progress overlay */
.pref-av-uploading::before {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--ink);
  animation: shimmer 1.2s linear infinite;
  background-size: 200% auto;
}
