.fd-toast-bar {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: min(420px, calc(100vw - 36px));
}
.fd-toast {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 15px;
  border-radius: 14px;
  background: #101828;
  color: #fff;
  box-shadow: 0 18px 40px rgba(16, 24, 40, 0.28);
  font-size: 14.5px;
  line-height: 1.45;
  animation: fd-toast-in 0.24s ease both;
}
.fd-toast-success { border-left: 4px solid #22c55e; }
.fd-toast-error { border-left: 4px solid #ef4444; }
.fd-toast-icon { flex: 0 0 auto; margin-top: 2px; }
.fd-toast-success .fd-toast-icon { color: #4ade80; }
.fd-toast-error .fd-toast-icon { color: #f87171; }
.fd-toast-msg { flex: 1 1 auto; }
.fd-toast-close {
  flex: 0 0 auto;
  background: none;
  border: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}
.fd-toast-close:hover { color: #fff; }
@keyframes fd-toast-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.fd-empty-state,
.empty-state {
  border: 1.5px dashed rgba(15, 23, 42, 0.16);
  border-radius: 18px;
  padding: 34px 26px;
  text-align: center;
  color: #475569;
  background: rgba(148, 163, 184, 0.07);
}
.empty-state p { margin: 0 0 16px; }

.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #e2e8f0;
  color: #334155;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  overflow: hidden;
  flex: 0 0 auto;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  justify-content: center;
}
.pagination .page-item { display: inline-flex; }
.pagination .page-link,
.pagination .page-item.disabled span.page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border-radius: 11px;
  border: 1.5px solid rgba(15, 23, 42, 0.14);
  background: #fff;
  color: #0f172a;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.15s ease;
}
.pagination .page-link:hover { border-color: #0f172a; }
.pagination .page-item.disabled .page-link { opacity: 0.45; pointer-events: none; }
.pagination .page-item.active .page-link {
  background: #0f172a;
  border-color: #0f172a;
  color: #fff;
}

.nav-logout-form { display: inline-flex; margin: 0; }

.my-4 { margin-top: 1.5rem; margin-bottom: 1.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1.25rem; }

.btn.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 12px;
  border: 0;
  background: #1d4ed8;
  color: #fff;
  font-weight: 650;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  transition: 0.15s ease;
}
.btn.btn-primary:hover { background: #1e40af; }
.btn.btn-primary.btn-sm { padding: 8px 14px; font-size: 13.5px; border-radius: 10px; }

.fd-sponsored-card {
  display: flex;
  gap: 18px;
  align-items: stretch;
  border: 1.5px solid rgba(15, 23, 42, 0.12);
  border-radius: 18px;
  padding: 16px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}
.fd-sponsored-media { flex: 0 0 160px; border-radius: 12px; overflow: hidden; }
.fd-sponsored-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fd-sponsored-body { flex: 1 1 auto; min-width: 0; }
.fd-sponsored-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 6px; }
.fd-sponsored-label {
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #b45309;
}
.fd-sponsored-title { margin: 0 0 6px; font-size: 18px; line-height: 1.3; }
.fd-sponsored-title a { color: #0f172a; text-decoration: none; }
.fd-sponsored-title a:hover { color: #1d4ed8; }
.fd-sponsored-brand { color: #64748b; font-size: 13.5px; margin-bottom: 10px; }
.fd-sponsored-copy { color: #475569; font-size: 14.5px; }
.fd-badge-soft {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(29, 78, 216, 0.1);
  color: #1d4ed8;
  font-size: 12.5px;
  font-weight: 650;
}
@media (max-width: 640px) {
  .fd-sponsored-card { flex-direction: column; }
  .fd-sponsored-media { flex-basis: auto; max-height: 200px; }
}

.form-alert { display: none; }
.form-alert.is-visible { display: block; }

.fd-ad-slot { margin: 26px 0; }
.fd-inline-form { display: inline; }

.detail-content p { margin: 0 0 14px; color: #334155; line-height: 1.7; }
.fd-keyvalue { display: grid; gap: 8px; margin: 14px 0; }
.fd-keyvalue div { display: flex; justify-content: space-between; gap: 14px; font-size: 14.5px; }
.fd-keyvalue dt, .fd-keyvalue span:first-child { color: #64748b; }
.fd-keyvalue dd, .fd-keyvalue span:last-child { margin: 0; font-weight: 650; color: #0f172a; text-align: right; }

.avatar--lg { width: 52px; height: 52px; font-size: 17px; }
.avatar--xl { width: 76px; height: 76px; font-size: 24px; }

.fd-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

.form-card .fd-form-actions .btn { width: auto; }
.form-card .fd-geo-actions .btn { width: auto; }
.fd-form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 22px; }
.fd-req { color: #dc2626; }

.form-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 18px; }
.form-grid2--3 { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 760px) {
  .form-grid2, .form-grid2--3 { grid-template-columns: 1fr; }
}

.form-row--check { align-content: center; }
.form-row--check .form-check { margin-bottom: 0; }

.btn--danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 12px;
  border: 0;
  background: #dc2626;
  color: #fff;
  font-weight: 650;
  font-size: 15px;
  cursor: pointer;
  transition: 0.15s ease;
}
.btn--danger:hover { background: #b91c1c; }

.fd-auth-links { display: flex; justify-content: space-between; gap: 14px; margin-top: 18px; font-size: 14px; }
.fd-auth-links--center { justify-content: center; }
.fd-auth-links a { color: #1d4ed8; font-weight: 600; text-decoration: none; }
.fd-auth-links a:hover { text-decoration: underline; }

.fd-pw-field { position: relative; display: flex; }
.fd-pw-field .form-input { padding-right: 44px; }
.fd-pw-toggle {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 0;
  background: none;
  color: #64748b;
  cursor: pointer;
  border-radius: 8px;
}
.fd-pw-toggle:hover { color: #0f172a; background: rgba(15, 23, 42, 0.06); }

.fd-details { margin-top: 14px; border-top: 1px solid rgba(15, 23, 42, 0.1); padding-top: 12px; }
.fd-details-summary { cursor: pointer; font-size: 13.5px; font-weight: 650; color: #1d4ed8; list-style-position: inside; }

.fd-create-section { padding: 6px 0 22px; }
.fd-create-section + .fd-create-section { border-top: 1px dashed rgba(15, 23, 42, 0.14); padding-top: 24px; }
.fd-create-section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 750;
  letter-spacing: -0.01em;
  color: #0f172a;
  margin-bottom: 16px;
}
.fd-geo-helper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1.5px solid rgba(29, 78, 216, 0.16);
  background: rgba(29, 78, 216, 0.05);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 18px;
}
.fd-geo-title { font-size: 14.5px; font-weight: 700; color: #0f172a; }
.fd-geo-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }

.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.post-side { display: grid; gap: 22px; position: sticky; top: 88px; }
@media (max-width: 980px) {
  .post-layout { grid-template-columns: 1fr; }
  .post-side { position: static; }
}

.detail-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; }
.fd-status-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.02em;
  background: rgba(15, 23, 42, 0.07);
  color: #475569;
}
.fd-status-pill-xs { padding: 2px 8px; font-size: 11px; }
.fd-status-pill.published { background: rgba(34, 197, 94, 0.13); color: #15803d; }
.fd-status-pill.pending, .fd-status-pill.pending_review, .fd-status-pill.pending-review { background: rgba(245, 158, 11, 0.15); color: #b45309; }
.fd-status-pill.resolved { background: rgba(37, 99, 235, 0.13); color: #1d4ed8; }
.fd-status-pill.rejected, .fd-status-pill.archived, .fd-status-pill.closed { background: rgba(100, 116, 139, 0.15); color: #475569; }

.fd-resolved-banner {
  border: 1.5px solid rgba(34, 197, 94, 0.35);
  background: rgba(34, 197, 94, 0.08);
  color: #166534;
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 14.5px;
  line-height: 1.55;
  margin: 18px 0;
}
.fd-resolved-banner-title {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 750;
  margin-bottom: 6px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.fd-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.fd-tag {
  display: inline-flex;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  color: #475569;
  font-size: 12.5px;
  font-weight: 650;
}

.fd-carousel { position: relative; margin: 20px 0; border-radius: 16px; overflow: hidden; background: #0f172a; }
.fd-carousel-track { position: relative; }
.fd-carousel-slide { display: none; }
.fd-carousel-slide.is-active { display: block; }
.fd-carousel-slide img { width: 100%; max-height: 560px; object-fit: contain; display: block; background: #0f172a; }
.fd-carousel-prev,
.fd-carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.9);
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.25);
  transition: 0.15s ease;
}
.fd-carousel-prev:hover, .fd-carousel-next:hover { background: #fff; }
.fd-carousel-prev { left: 12px; }
.fd-carousel-next { right: 12px; }
.fd-carousel-dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 7px; }
.fd-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
}
.fd-dot.is-active { background: #fff; transform: scale(1.2); }

.fd-comment-list { display: grid; gap: 16px; margin-top: 6px; }
.fd-comment-card { border: 1px solid rgba(15, 23, 42, 0.1); border-radius: 14px; padding: 16px; background: #fff; }
.fd-comment-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.fd-comment-author { display: flex; align-items: center; gap: 11px; min-width: 0; }
.fd-comment-author strong { display: block; font-size: 14.5px; color: #0f172a; }
.fd-comment-date { font-size: 12.5px; color: #94a3b8; margin-top: 2px; }
.fd-comment-body { font-size: 15px; line-height: 1.65; color: #334155; }
.fd-comment-report { display: flex; justify-content: flex-end; margin-top: 10px; }
.fd-comment-report-btn {
  border: 0;
  background: none;
  color: #94a3b8;
  font-size: 12.5px;
  font-weight: 650;
  cursor: pointer;
  padding: 0;
}
.fd-comment-report-btn:hover { color: #dc2626; }
.fd-comment-form { margin-top: 22px; border-top: 1px solid rgba(15, 23, 42, 0.1); padding-top: 20px; }
.fd-comment-form-actions { display: flex; justify-content: flex-end; margin-top: 12px; }
.fd-closed-note {
  margin-top: 20px;
  border: 1.5px dashed rgba(15, 23, 42, 0.16);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 14px;
  color: #64748b;
  text-align: center;
}

.fd-author-panel { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; border-bottom: 1px solid rgba(15, 23, 42, 0.08); margin-bottom: 16px; }
.fd-author-label { font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.07em; color: #94a3b8; }
.fd-author-name { font-size: 16.5px; font-weight: 750; color: #0f172a; }

.fd-meta-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.fd-meta-list li { display: flex; justify-content: space-between; gap: 14px; font-size: 14px; }
.fd-meta-list li > span:first-child { color: #94a3b8; }
.fd-meta-list li > span:last-child { font-weight: 650; color: #0f172a; text-align: right; }

.fd-report-body { display: none; margin-top: 16px; }
.fd-report-body.is-open { display: block; }

.fd-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }

.split-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.split-2--sidebar { grid-template-columns: minmax(0, 380px) minmax(0, 1fr); }
@media (max-width: 900px) {
  .split-2, .split-2--sidebar { grid-template-columns: 1fr; }
}

.fd-profile-preview { display: grid; gap: 22px; }
.fd-profile-preview-head { display: flex; align-items: center; gap: 18px; }
.fd-profile-preview-name { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; color: #0f172a; margin: 4px 0; }
.fd-profile-summary { border-top: 1px solid rgba(15, 23, 42, 0.08); padding-top: 20px; }
.fd-break { word-break: break-all; }

.form-card--flat { box-shadow: none; padding: 0; border: 0; background: transparent; }
.form-card--flat .btn { width: auto; }

.rich-text h2 { font-size: 1.45rem; font-weight: 800; letter-spacing: -0.02em; margin: 30px 0 12px; color: #0f172a; }
.rich-text h3 { font-size: 1.15rem; font-weight: 750; margin: 24px 0 10px; color: #0f172a; }
.rich-text p { margin: 0 0 15px; color: #334155; line-height: 1.75; font-size: 16px; }
.rich-text ul, .rich-text ol { margin: 0 0 16px; padding-left: 22px; color: #334155; line-height: 1.7; }
.rich-text li { margin-bottom: 7px; }
.rich-text a { color: #1d4ed8; font-weight: 600; }
.rich-text a:hover { text-decoration: underline; }
.rich-text strong { color: #0f172a; }
