* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  color-scheme: light;
  --bg: #f4f6f9;
  --card: #ffffff;
  --text: #1e2530;
  --muted: #7a8494;
  --accent: #2f6fed;
  --accent-hover: #1f5bd0;
  --border: #e2e6ec;
  --danger: #d94848;
  --radius: 10px;
  /* 보조 시맨틱 색 (다크 모드에서 함께 바뀜) */
  --hover-bg: #eef1f6;      /* 버튼·항목 hover */
  --subtle-bg: #f0f2f6;     /* 배지·코드·보조 배경 */
  --active-bg: #e7eefc;     /* 선택 상태 배경 (accent 텍스트와 함께) */
  --icon-bg: #f6f8fb;       /* 파일 아이콘 배경 / 목록 hover */
  --info-bg: #eef4ff;       /* 드롭·업로드 안내 배경 */
  --info-border: #c9dbff;
  --success: #1d9e50;
  --overlay-btn-bg: rgba(255, 255, 255, .95);  /* 엔트리 위 액션 버튼 */
  --shadow-sm: 0 4px 14px rgba(20, 30, 60, .1);
  --shadow-md: 0 8px 30px rgba(20, 30, 60, .08);
  --shadow-lg: 0 12px 40px rgba(10, 16, 32, .25);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #14181f;
  --card: #1c222c;
  --text: #e6eaf0;
  --muted: #97a1b2;
  --accent: #5b8def;
  --accent-hover: #79a2f2;
  --border: #2c333f;
  --danger: #ec7373;
  --hover-bg: #262d38;
  --subtle-bg: #262d38;
  --active-bg: #26375a;
  --icon-bg: #232a35;
  --info-bg: #1c2a44;
  --info-border: #32496f;
  --success: #55c988;
  --overlay-btn-bg: rgba(28, 34, 44, .92);
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, .4);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, .45);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, .55);
}

body {
  font-family: "Segoe UI", "Malgun Gothic", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
}

.hidden { display: none !important; }

.btn {
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  padding: 8px 14px;
  border-radius: var(--radius);
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
.btn:hover { background: var(--hover-bg); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accent-hover); }
.btn.subtle { border-color: transparent; background: transparent; color: var(--muted); }
.btn.subtle:hover { color: var(--text); background: var(--hover-bg); }

/* ---------- 로그인 ---------- */
#auth-screen {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
}
.auth-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 36px;
  width: 340px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.auth-card h1 { font-size: 26px; margin-bottom: 6px; }
#auth-subtitle { color: var(--muted); margin-bottom: 22px; font-size: 14px; }
.auth-card input {
  width: 100%;
  padding: 11px 12px;
  margin-bottom: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
}
.auth-card input:focus { outline: 2px solid var(--accent); border-color: transparent; }
.auth-card button {
  width: 100%;
  padding: 11px;
  border: none;
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  cursor: pointer;
  margin-top: 4px;
}
.auth-card button:hover { background: var(--accent-hover); }
.auth-error { color: var(--danger); font-size: 13px; margin-top: 12px; min-height: 1em; }

/* ---------- 헤더 / 툴바 ---------- */
header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px;
  background: var(--card);
  border-bottom: 1px solid var(--border);
}
.brand { font-size: 19px; font-weight: 700; }
.header-actions { display: flex; align-items: center; gap: 10px; }
#whoami { color: var(--muted); font-size: 14px; }
#usage-badge {
  font-size: 12px;
  color: var(--muted);
  background: var(--subtle-bg);
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

/* ---------- 레이아웃 (사이드바 + 콘텐츠) ---------- */
.layout {
  display: flex;
  align-items: stretch;
  min-height: calc(100vh - 61px);
}
#sidebar {
  width: 200px;
  flex-shrink: 0;
  background: var(--card);
  border-right: 1px solid var(--border);
  padding: 18px 12px;
}
.side-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 0 10px 8px;
}
#space-list { display: flex; flex-direction: column; gap: 2px; }
.space-item {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  border: none;
  background: transparent;
  color: var(--text);
  text-align: left;
  width: 100%;
}
.space-item:hover { background: var(--hover-bg); }
.space-item.active { background: var(--active-bg); color: var(--accent); font-weight: 600; }
.space-item .ro { margin-left: auto; font-size: 11px; }
.side-hint {
  margin-top: 18px;
  padding: 0 10px;
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
}
.side-hint code { background: var(--subtle-bg); padding: 1px 4px; border-radius: 4px; font-size: 10px; }
.content { flex: 1; min-width: 0; }
#readonly-badge { font-size: 13px; color: var(--muted); align-self: center; }

@media (max-width: 720px) {
  .layout { flex-direction: column; }
  #sidebar { width: 100%; border-right: none; border-bottom: 1px solid var(--border); padding: 10px 12px; }
  #space-list { flex-direction: row; flex-wrap: wrap; }
  .space-item { width: auto; }
  .side-hint { display: none; }
}

.toolbar {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px;
  padding: 14px 24px 4px;
}
#breadcrumb { font-size: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
#breadcrumb a { color: var(--accent); text-decoration: none; padding: 4px 6px; border-radius: 6px; }
#breadcrumb a:hover { background: var(--active-bg); }
#breadcrumb .sep { color: var(--muted); }
#breadcrumb .current { color: var(--text); font-weight: 600; padding: 4px 6px; }
.toolbar-actions { display: flex; gap: 8px; align-items: center; }

.view-toggle {
  display: flex;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
}
.view-toggle button {
  border: none;
  background: transparent;
  padding: 8px 11px;
  font-size: 14px;
  cursor: pointer;
  color: var(--muted);
  line-height: 1;
}
.view-toggle button + button { border-left: 1px solid var(--border); }
.view-toggle button:hover { background: var(--hover-bg); color: var(--text); }
.view-toggle button.active { background: var(--active-bg); color: var(--accent); }

#drop-hint {
  display: none;
  margin: 10px 24px 0;
  padding: 24px;
  border: 2px dashed var(--accent);
  border-radius: var(--radius);
  text-align: center;
  color: var(--accent);
  background: var(--info-bg);
  font-size: 15px;
}
body.dragging #drop-hint { display: block; }

#upload-status {
  margin: 10px 24px 0;
  padding: 10px 16px;
  background: var(--info-bg);
  border: 1px solid var(--info-border);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--accent);
}

/* 다중 폴더 업로드 대기열 */
#upload-tray {
  margin: 10px 24px 0;
  padding: 10px 16px;
  background: var(--info-bg);
  border: 1px solid var(--info-border);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
#upload-tray .tray-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

/* ---------- 파일 목록 ---------- */
#file-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
  padding: 18px 24px 40px;
}
.entry {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  cursor: pointer;
  position: relative;
  transition: box-shadow .15s, transform .15s;
}
.entry:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.entry .icon {
  height: 90px;
  display: flex; align-items: center; justify-content: center;
  font-size: 46px;
  margin-bottom: 8px;
  border-radius: 8px;
  background: var(--icon-bg);
  overflow: hidden;
}
.entry .icon img { width: 100%; height: 100%; object-fit: cover; }
.entry .name {
  font-size: 13px;
  word-break: break-all;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.4em;
}
.entry .meta { font-size: 11px; color: var(--muted); margin-top: 4px; }

.entry .actions {
  position: absolute;
  top: 6px; right: 6px;
  display: none;
  gap: 4px;
}
.entry:hover .actions { display: flex; }
.entry .actions button, .entry .actions a {
  border: none;
  background: var(--overlay-btn-bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  width: 28px; height: 28px;
  font-size: 13px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  color: var(--text);
}
.entry .actions button:hover, .entry .actions a:hover { background: var(--hover-bg); }
.entry .actions .del:hover { color: var(--danger); }

/* ---------- 다중 선택 (체크박스) ---------- */
.entry .checkbox {
  position: absolute;
  top: 6px; left: 6px;
  z-index: 2;
  width: 18px; height: 18px;
  cursor: pointer;
  accent-color: var(--accent);
  display: none;
}
.entry:hover .checkbox,
.entry.selected .checkbox,
#file-list.has-selection .entry .checkbox { display: block; }
.entry.selected { border-color: var(--accent); background: var(--active-bg); }

/* 목록 보기: 체크박스를 아이콘 앞 인라인으로(자리 항상 확보해 흔들림 방지) */
#file-list.view-list .entry .checkbox {
  position: static;
  flex-shrink: 0;
  display: block;
  visibility: hidden;
}
#file-list.view-list .entry:hover .checkbox,
#file-list.view-list .entry.selected .checkbox,
#file-list.view-list.has-selection .entry .checkbox { visibility: visible; }

#selection-bar {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 8px;
  margin: 10px 24px 0;
  padding: 8px 14px;
  background: var(--active-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
}
#selection-bar #sel-count { font-weight: 600; color: var(--accent); }
#selection-bar .sel-actions { display: flex; gap: 6px; flex-wrap: wrap; }

#empty-hint {
  text-align: center;
  color: var(--muted);
  padding: 60px 0;
  font-size: 15px;
}

/* ---------- 촘촘히 보기 ---------- */
#file-list.view-compact {
  grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
  gap: 8px;
}
#file-list.view-compact .entry { padding: 8px; }
#file-list.view-compact .entry .icon { height: 58px; font-size: 30px; margin-bottom: 6px; }
#file-list.view-compact .entry .name { font-size: 12px; min-height: 2.2em; }
#file-list.view-compact .entry .meta { display: none; }

/* ---------- 목록 보기 ---------- */
#file-list.view-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
#file-list.view-list .entry {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid var(--border);
}
#file-list.view-list .entry:first-child {
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
}
#file-list.view-list .entry:last-child {
  border-bottom: none;
  border-bottom-left-radius: var(--radius);
  border-bottom-right-radius: var(--radius);
}
#file-list.view-list .entry:hover { transform: none; box-shadow: none; background: var(--icon-bg); }
#file-list.view-list .entry .icon {
  height: 34px; width: 34px;
  flex-shrink: 0;
  font-size: 20px;
  margin-bottom: 0;
  border-radius: 6px;
}
#file-list.view-list .entry .name {
  flex: 1;
  min-width: 0;
  min-height: auto;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 14px;
}
#file-list.view-list .entry .meta {
  margin-top: 0;
  font-size: 12px;
  white-space: nowrap;
  text-align: right;
  width: 150px;
  flex-shrink: 0;
}
#file-list.view-list .entry .actions {
  position: static;
  flex-shrink: 0;
  width: 100px;
  justify-content: flex-end;
  display: flex;            /* 자리를 항상 차지해 호버 시 레이아웃 밀림 방지 */
  visibility: hidden;
}
#file-list.view-list .entry:hover .actions { visibility: visible; }
@media (max-width: 720px) {
  #file-list.view-list .entry .meta { width: auto; }
  #file-list.view-list .entry .actions { width: auto; }
}

/* ---------- 공용 모달 ---------- */
.modal { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(10, 14, 22, .55); }
.modal-card {
  position: relative;
  background: var(--card);
  border-radius: 14px;
  padding: 26px 28px;
  width: min(380px, calc(100vw - 32px));
  max-height: calc(100vh - 60px);
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}
.modal-card.wide { width: min(680px, calc(100vw - 32px)); }
.modal-card h2 { font-size: 18px; margin-bottom: 16px; }
.modal-card h3 { font-size: 14px; margin: 18px 0 10px; color: var(--muted); }
.modal-card input[type="text"], .modal-card input[type="password"] {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
}
.modal-card input:focus { outline: 2px solid var(--accent); border-color: transparent; }
.modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 14px; }

#add-user-form { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
#add-user-form input[type="text"], #add-user-form input[type="password"] {
  flex: 1; min-width: 130px; margin-bottom: 0;
}
.check-label { font-size: 13px; display: flex; align-items: center; gap: 5px; white-space: nowrap; }

/* ---------- 외부 저장소 관리 ---------- */
#storage-list { margin: 8px 0 4px; max-height: 60vh; overflow-y: auto; }
.storage-item {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 10px;
}
.storage-head {
  display: flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 14px;
  margin-bottom: 10px;
}
.storage-users {
  display: flex; flex-wrap: wrap; gap: 8px 16px;
  padding-left: 4px;
}
.storage-users .check-label { cursor: pointer; }

.table-wrap { overflow-x: auto; }
#user-table { width: 100%; border-collapse: collapse; font-size: 13px; }
#user-table th, #user-table td {
  text-align: left;
  padding: 8px 10px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
#user-table th { color: var(--muted); font-weight: 600; font-size: 12px; }
#user-table .user-actions { display: flex; gap: 4px; justify-content: flex-end; }
#user-table .user-actions button {
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 12px;
  cursor: pointer;
}
#user-table .user-actions button:hover { background: var(--hover-bg); }
#user-table .user-actions .danger:hover { color: var(--danger); border-color: var(--danger); }
.badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 11px;
  background: var(--active-bg);
  color: var(--accent);
}
.badge.plain { background: var(--subtle-bg); color: var(--muted); }
.me-note { color: var(--muted); font-size: 12px; }

/* ---------- QR 로그인 ---------- */
.qr-card { text-align: center; }
.qr-desc { font-size: 13px; color: var(--muted); line-height: 1.6; margin-bottom: 14px; }
#qr-box {
  display: flex; align-items: center; justify-content: center;
  min-height: 220px;
}
#qr-img {
  width: 220px; height: 220px;
  border: 1px solid var(--border);
  border-radius: 10px;
  image-rendering: pixelated;
  transition: opacity .2s;
}
#qr-img[src=""] { visibility: hidden; }
.qr-status { font-size: 13px; color: var(--muted); margin-top: 12px; min-height: 1.2em; }
.qr-status.ok { color: var(--success); font-weight: 600; }
.qr-card .modal-actions { justify-content: center; }

/* ---------- 이동 위치 선택 ---------- */
.move-crumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 2px;
  font-size: 13px; margin-bottom: 10px;
}
.move-crumb a { color: var(--accent); text-decoration: none; padding: 2px 6px; border-radius: 6px; cursor: pointer; }
.move-crumb a:hover { background: var(--hover-bg); }
.move-crumb .sep { color: var(--muted); }
.move-crumb .current { color: var(--text); font-weight: 600; padding: 2px 6px; }
.move-list {
  max-height: 44vh; overflow-y: auto;
  border: 1px solid var(--border); border-radius: var(--radius);
}
.move-list .mf {
  display: flex; align-items: center; gap: 8px;
  width: 100%; text-align: left;
  padding: 10px 12px;
  border: none; border-bottom: 1px solid var(--border);
  background: transparent; color: var(--text);
  font-size: 14px; cursor: pointer;
}
.move-list .mf:last-child { border-bottom: none; }
.move-list .mf:hover:not(:disabled) { background: var(--hover-bg); }
.move-list .mf:disabled { color: var(--muted); cursor: not-allowed; opacity: .55; }
.move-list .empty { padding: 14px 12px; color: var(--muted); font-size: 13px; }

/* ---------- 미리보기 ---------- */
#preview-modal { position: fixed; inset: 0; z-index: 100; }
.preview-backdrop { position: absolute; inset: 0; background: rgba(10, 14, 22, .8); }
.preview-body {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 18px;
}
.preview-top {
  display: flex; align-items: center; justify-content: space-between;
  color: #fff;
  margin-bottom: 12px;
}
.preview-top .btn.subtle { color: #d5dbe6; }
.preview-top .btn.subtle:hover { color: #fff; background: rgba(255,255,255,.12); }
#preview-name { font-size: 15px; word-break: break-all; }
#preview-content {
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  min-height: 0;
}
#preview-content img, #preview-content video {
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
}
#preview-content audio { width: min(480px, 90%); }

/* ========== 외부 공유 ========== */

/* --- 공유 만들기 모달 --- */
.share-field { display: block; margin-bottom: 12px; }
.share-field > span { display: block; font-size: 13px; color: var(--muted); margin-bottom: 5px; }
.share-field input, .share-field select {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  padding: 9px 11px;
  border-radius: var(--radius);
  font-size: 14px;
}
.share-field input:focus, .share-field select:focus { outline: 2px solid var(--accent); border-color: transparent; }
.share-link-row { display: flex; gap: 8px; margin-bottom: 10px; }
.share-link-row input {
  flex: 1; min-width: 0;
  border: 1px solid var(--border);
  background: var(--subtle-bg);
  color: var(--text);
  padding: 9px 11px;
  border-radius: var(--radius);
  font-size: 13px;
}
.share-result-meta { font-size: 13px; color: var(--muted); }

/* --- 내 공유 관리 --- */
#shares-list { display: flex; flex-direction: column; gap: 8px; max-height: 60vh; overflow-y: auto; }
.share-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 12px;
  flex-wrap: wrap;
}
.share-row-info { min-width: 0; flex: 1; }
.share-row-name { font-weight: 600; word-break: break-all; }
.share-row-badges { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 5px; }
.share-badge {
  font-size: 11px; padding: 2px 7px; border-radius: 999px;
  background: var(--subtle-bg); color: var(--muted);
}
.share-badge-pw { background: var(--active-bg); color: var(--accent); }
.share-badge-expired { background: rgba(217,72,72,.15); color: var(--danger); }
.share-row-actions { display: flex; gap: 4px; flex-shrink: 0; }
.share-row-actions .del:hover { color: var(--danger); }

/* --- 공개 공유 페이지 (/s/<token>) --- */
.share-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px;
  border-bottom: 1px solid var(--border);
  background: var(--card);
}
.share-main { max-width: 1100px; margin: 0 auto; padding: 20px 24px 60px; }
.share-state { text-align: center; color: var(--muted); padding: 60px 20px; font-size: 15px; }
.share-titlebar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin: 12px 0 16px; flex-wrap: wrap;
}
.share-title { display: flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 700; word-break: break-all; }
.share-crumb { font-size: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-bottom: 14px; }
.share-crumb a { color: var(--accent); text-decoration: none; padding: 4px 6px; border-radius: 6px; cursor: pointer; }
.share-crumb a:hover { background: var(--active-bg); }
.share-crumb .sep { color: var(--muted); }
.share-crumb .current { color: var(--text); font-weight: 600; padding: 4px 6px; }
.share-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
}
.share-file { display: flex; justify-content: center; padding: 10px 0 30px; }
.file-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 16px; max-width: 100%; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.file-card img, .file-card video { max-width: 100%; max-height: 70vh; border-radius: 8px; }
.file-card audio { width: min(480px, 80vw); }
.file-card-icon { font-size: 64px; }
.file-card-hint { color: var(--muted); font-size: 13px; text-align: center; }
.lock-card {
  max-width: 380px; margin: 60px auto; text-align: center;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 28px; box-shadow: var(--shadow-md);
}
.lock-emoji { font-size: 44px; margin-bottom: 8px; }
.lock-card h2 { font-size: 18px; margin-bottom: 6px; }
.lock-desc { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.lock-card input {
  width: 100%; border: 1px solid var(--border); background: var(--card); color: var(--text);
  padding: 10px 12px; border-radius: var(--radius); font-size: 14px; margin-bottom: 12px;
}
.lock-card input:focus { outline: 2px solid var(--accent); border-color: transparent; }
.lock-card button { width: 100%; }
.share-footer { text-align: center; color: var(--muted); font-size: 12px; margin-top: 40px; }
.share-trunc-note { color: var(--muted); font-size: 13px; text-align: center; padding: 16px 0 0; }
