  .page-head { padding: clamp(64px, 10vw, 120px) 0 48px; }
  .page-head > * + * { margin-top: 24px; }
  .toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
  .search { position: relative; width: 100%; max-width: 380px; }
  .search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--muted); pointer-events: none; }
  .search .field { padding-left: 44px; border-radius: 999px; }
  .sync { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; color: var(--muted); }

  /* Admin */
  #admin-panel { display: none; margin-bottom: 24px; }
  body.show-admin #admin-panel { display: block; }
  .admin-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
  .counts { display: flex; gap: 28px; }
  .counts p { margin: 0; }
  .counts .n { font-size: 22px; font-weight: 500; }
  .btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
  .btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
  .btn-danger { background: transparent; color: var(--err); border-color: color-mix(in srgb, var(--err) 45%, transparent); }

  /* Cards */
  .vgrid-games { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 20px; }
  .vgrid-movies { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(46%, 170px), 1fr)); gap: 20px; }
  .vgrid-songs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 12px; }
  .vcard { position: relative; display: block; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: border-color .3s ease, transform .4s var(--ease); }
  .vcard:hover { border-color: var(--line-2); transform: translateY(-3px); }
  .vcard img { width: 100%; object-fit: cover; background: var(--surface-2); filter: grayscale(1); transition: filter .6s ease, transform .8s var(--ease); }
  .vcard:hover img { filter: grayscale(0); transform: scale(1.03); }
  .vcard .img-box { overflow: hidden; }
  .vcard.game img { aspect-ratio: 16 / 10; }
  .vcard.movie img { aspect-ratio: 2 / 3; }
  .vcard .cap { padding: 14px 16px 16px; font-size: 15px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .vcard.movie .cap { font-size: 14px; }
  .vcard.song { display: flex; align-items: center; gap: 16px; padding: 12px; }
  .vcard.song img { width: 60px; height: 60px; border-radius: 8px; flex-shrink: 0; }
  .vcard.song:hover img { transform: none; }
  .vcard.song .s-title { margin: 0; font-size: 16px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .vcard.song .s-artist { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
  .vcard.just-added { border-color: var(--accent); }
  .empty { grid-column: 1 / -1; padding: 28px; border: 1px dashed var(--line-2); border-radius: 12px; text-align: center; font-family: var(--mono); font-size: 13px; color: var(--muted); }

  .del-btn { display: none; position: absolute; top: 8px; right: 8px; z-index: 3; width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--err); color: #1A0A07; cursor: pointer; place-items: center; }
  body.show-admin .del-btn { display: grid; }
  .del-btn svg { width: 14px; height: 14px; }

  /* Modal */
  #vault-modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(0,0,0,.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
  #vault-modal.open { display: flex; }
  .modal { width: 100%; max-width: 540px; max-height: 88vh; overflow-y: auto; background: var(--surface); border: 1px solid var(--line-2); border-radius: 18px; padding: 32px; animation: riseIn .35s var(--ease) both; }
  .modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
  .x-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--muted); cursor: pointer; display: grid; place-items: center; flex-shrink: 0; }
  .x-btn:hover { color: var(--text); border-color: var(--muted); }
  .seg { display: inline-flex; padding: 4px; border: 1px solid var(--line-2); border-radius: 999px; margin-bottom: 24px; gap: 2px; }
  .seg button { border: 0; background: transparent; color: var(--muted); padding: 8px 16px; border-radius: 999px; font-size: 14px; cursor: pointer; }
  .seg button.active { background: var(--text); color: var(--bg); }
  .modal .stack > * + * { margin-top: 16px; }
  .preview { display: flex; align-items: center; gap: 16px; padding: 14px; border: 1px dashed var(--line-2); border-radius: 10px; }
  #preview-img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; display: none; }
  .upload { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 14px; color: var(--text-2); }
  .upload input { position: absolute; width: 1px; height: 1px; opacity: 0; }
  .stamp { background: none; border: 0; padding: 10px 0; cursor: crosshair; font-family: var(--mono); font-size: 12px; color: var(--muted); }
  .stamp:hover { color: var(--accent); }
