.hidden { display: none !important; }
.block { display: block !important; }
.flex { display: flex !important; }
.flex-col { flex-direction: column; }
.flex-center { align-items: center; justify-content: center; }
.gap-8 { gap: 0.5rem; }
.gap-12 { gap: 0.75rem; }
.gap-16 { gap: 1rem; }
.text-muted { color: var(--muted); }
.text-accent { color: var(--accent); }
.mb-16 { margin-bottom: 1rem; }
.mb-20 { margin-bottom: 1.25rem; }
.mt-8 { margin-top: 0.5rem; }
.mt-15 { margin-top: 0.9375rem; }
.mt-16 { margin-top: 1rem; }
.cursor-pointer { cursor: pointer; }
.w-full { width: 100%; }
.max-w-1000 { max-width: 62.5rem; margin: 0 auto; }
.content-wrapper { width: 100%; max-width: 62.5rem; margin: 1.5rem auto 0; padding: 0 1rem 10rem; }
.profile-title { color: #fff; font-size: 1.5em; font-weight: 700; margin-bottom: 1.5rem; }
.modal-content-narrow { width: 20rem !important; max-width: 20rem !important; min-width: 20rem !important; }
.avatar-preview { width: 100%; height: 100%; object-fit: contain; }
.preview-container { min-height: calc(100vh - 5rem); display: flex; align-items: center; justify-content: center; padding: 0.75rem; position: relative; top: -0.875rem; contain: layout paint; }
.preview-inner { display: flex; flex-direction: column; align-items: center; gap: 1.125rem; max-width: 61.25rem; margin: 0 auto; position: relative; padding: 0 1.5rem; }
.edit-title-container { align-self: flex-start; width: 100%; display: flex; align-items: center; gap: 0.75rem; }
.edit-button { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; background: #2F2F2F; border: none; border-radius: 0.75rem; cursor: pointer; padding: 0.5rem 1rem; flex: 1; transition: all 0.2s ease; }
.edit-text-active { flex: 1; text-align: left; color: #EBEBEB; font-weight: 800; font-size: 2.5rem; line-height: 2.73125rem; letter-spacing: 0; }
.edit-text-placeholder { flex: 1; text-align: left; color: #4d4d4d; font-weight: 800; font-size: 2.5rem; line-height: 2.73125rem; letter-spacing: 0; font-style: italic; }
.edit-icon-wrapper { flex-shrink: 0; }
.save-button { display: none; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; background: #4CAF50; border: none; border-radius: 0.5rem; cursor: pointer; flex-shrink: 0; }
.edit-desc-text { flex: 1; text-align: left; color: #828282; font-weight: 600; font-size: 1.25rem; line-height: 1.5rem; letter-spacing: 0.04em; }
.edit-desc-placeholder { flex: 1; text-align: left; color: #4d4d4d; font-weight: 600; font-size: 1.25rem; line-height: 1.5rem; letter-spacing: 0.04em; font-style: italic; }
.file-stats { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; color: #696969; margin-top: 0.625rem; align-self: flex-start; width: 100%; max-width: 60rem; }
.stat-item { display: flex; align-items: center; gap: 0.5rem; height: 1.5rem; }
.stat-icon { width: 1.5rem; height: 1.5rem; display: block; object-fit: contain; }
.stat-text { line-height: 1.5rem; }
.stat-link { display: flex; align-items: center; gap: 0.5rem; height: 1.5rem; cursor: pointer; }
.stat-text-danger { line-height: 1.5rem; color: #ff7a7a; font-size: inherit; }
.char-counter { display: none; font-size: 0.875rem; color: #9aa; }
.auth-notice { background: rgba(120, 157, 42, 0.1); border: 1px solid rgba(120, 157, 42, 0.3); border-radius: 0.5rem; padding: 0.75rem; margin-bottom: 1rem; }
.auth-notice-text { color: #789d2a; font-size: 0.875rem; line-height: 1.4; text-align: center; }
.menu-icon { width: auto; height: auto; max-width: 1.25rem; max-height: 1.25rem; }
.lock-icon { width: 1rem; height: 1rem; }
.admin-icon { width: 1.5625rem; height: 1.5625rem; }
.support-link { color: #789d2a; text-decoration: underline; }
.empty-state-text { display: none; }
.load-more-hidden { display: none; }
.stat-value-accent { color: #789d2a; }
.settings-grid { margin-bottom: 1.25rem; }
.setting-desc { margin-top: 0.25rem; }
.warning-text { color: #ff6b6b; font-size: 0.9375rem; font-weight: 600; margin-bottom: 0.25rem; }
.loading-placeholder { padding: 2.5rem 1.25rem; text-align: center; color: #666; }
.session-count { color: #999; font-size: 0.9rem; font-weight: 600; }
.sessions-detail { flex: 1; overflow-y: auto; padding: 1rem; }
.no-files-text { color: #b6c6e3; font-size: 1.08em; }
.file-title-name { font-weight: 600; color: #e6e6e6; }
.search-empty { padding: 0.75rem 1rem; color: #cfcfcf; }
.search-thumb { width: 1.5rem; height: 1.5rem; border-radius: 0.25rem; object-fit: cover; }
.search-audio-icon { width: 1.25rem; height: 1.25rem; opacity: 0.9; }
.search-link { display: flex; align-items: center; gap: 0.625rem; padding: 0.625rem 0.875rem; color: #e6e6e6; text-decoration: none; }
.search-content { flex: 1; min-width: 0; display: flex; align-items: center; gap: 0.625rem; }
.search-title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.file-count-indicator { display: none; font-size: 0.875rem; color: #789D2A; }
.file-count-danger { color: #ff6b6b; }
.copy-helper { position: fixed; left: -9999px; }
.banned-words-list { max-height: 12.5rem; overflow-y: auto; margin-top: 0.625rem; }
.setting-desc { margin-top: 0.25rem; }
.drop-sub-text { margin-top: 0.25rem; color: #999; font-size: 0.75rem; }
.preview-wrapper { min-height: calc(100vh - 5rem); display: flex; align-items: center; justify-content: center; padding: 0.75rem; position: relative; contain: layout paint; }
.preview-content { display: flex; flex-direction: column; align-items: center; gap: 1.125rem; max-width: 61.25rem; margin: 0 auto; position: relative; padding: 0 1.5rem; width: 100%; box-sizing: border-box; overflow-x: hidden; }
.edit-row { align-self: flex-start; width: 100%; display: flex; align-items: center; gap: 0.75rem; max-width: 100%; box-sizing: border-box; }
.edit-btn { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; background: #2F2F2F; border: none; border-radius: 0.75rem; cursor: pointer; padding: 0.5rem 1rem; flex: 1; transition: all 0.2s ease; max-width: 100%; min-width: 0; box-sizing: border-box; }
.edit-text { flex: 1; text-align: left; color: #EBEBEB; font-weight: 800; font-size: 2.5rem; line-height: 2.73125rem; letter-spacing: 0; overflow-wrap: break-word; word-wrap: break-word; word-break: break-word; max-width: 100%; min-width: 0; }
.edit-placeholder { flex: 1; text-align: left; color: #4d4d4d; font-weight: 800; font-size: 2.5rem; line-height: 2.73125rem; letter-spacing: 0; font-style: italic; overflow-wrap: break-word; word-wrap: break-word; word-break: break-word; max-width: 100%; min-width: 0; }
.edit-icon { flex-shrink: 0; }
.save-btn { display: none; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; background: #4CAF50; border: none; border-radius: 0.5rem; cursor: pointer; flex-shrink: 0; }
.desc-text { flex: 1; text-align: left; color: #828282; font-weight: 600; font-size: 1.25rem; line-height: 1.5rem; letter-spacing: 0.04em; overflow-wrap: break-word; word-wrap: break-word; word-break: break-word; max-width: 100%; min-width: 0; }
.desc-placeholder { flex: 1; text-align: left; color: #4d4d4d; font-weight: 600; font-size: 1.25rem; line-height: 1.5rem; letter-spacing: 0.04em; font-style: italic; overflow-wrap: break-word; word-wrap: break-word; word-break: break-word; max-width: 100%; min-width: 0; }
.stats-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; color: #696969; margin-top: 0.625rem; align-self: flex-start; width: 100%; max-width: 60rem; }
.stat-row { display: flex; align-items: center; gap: 0.5rem; height: 1.5rem; }
.stat-img { width: 1.5rem; height: 1.5rem; display: block; object-fit: contain; }
.stat-span { line-height: 1.5rem; }
.stat-danger { line-height: 1.5rem; color: #ff7a7a; font-size: inherit; }
.no-decoration { text-decoration: none; }
.admin-icon { width: 1.5625rem; height: 1.5625rem; } /* 25px */
.support-modal-email { margin-top: 1rem; font-size: 1rem; color: #999; }

/* Notification/Toast classes */
.copy-notice {
  position: fixed;
  background: #799d2a8e;
  color: #fff;
  font-family: Handjet, sans-serif;
  font-size: 1rem;
  padding: 0.5rem 0.875rem;
  border-radius: 0.5rem;
  pointer-events: none;
  z-index: 9999;
  transition: opacity 0.4s ease;
  opacity: 1;
}

.copy-notice.fade-out {
  opacity: 0;
}

/* File counter color states */
.file-count-success {
  color: #789D2A;
}

.file-count-danger {
  color: #ff6b6b;
}

/* Current file title */
.current-file-title {
  font-weight: 600;
  color: #e6e6e6;
}

/* Search dropdown */
.search-overlay {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 9998;
  background: rgba(0, 0, 0, 0);
}

.search-dropdown {
  position: absolute;
  background: #3a3a3a;
  border-radius: 0.625rem;
  overflow: hidden;
}

.search-results-list {
  max-height: 60vh;
  overflow: auto;
  padding: 0.375rem 0;
}

/* Fallback message */
.fallback-message {
  padding: 0.75rem 1rem;
  color: #cfcfcf;
}

/* Avatar upload preview */
.avatar-preview-uploaded {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.5rem;
}

/* Avatar loading state */
.avatar-loading {
  transition: opacity 180ms ease-in-out;
  opacity: 0.2;
}

/* Album counter */
.album-counter-hidden {
  opacity: 0;
  transition: opacity 0.25s ease;
}

.album-counter:not(.album-counter-hidden) {
  opacity: 0.95;
}

/* Helper textarea for clipboard fallback */
.clipboard-helper {
  position: fixed;
  left: -9999px;
}
