/* Detail pages, editors and tools — final Chronicle identity pass. */
body.site-chronicle :is(.fc-hero, .page-hero, .ev-detail-hero, .ct-hero,
  .pf-hero, .vip-hero, .dash-topbar, .cr-hero) {
  color: #eee3ce;

  border-radius: 0 !important;
}

body.site-chronicle :is(.fc-hero-name, .page-hero-title, .ev-detail-title,
  .ct-title, .pf-hero-name, .vip-hero-title, .dash-topbar-title,
  .cr-hero-title, .cr-hero-name) {
  color: #fff3db !important;
  background: none !important;
  -webkit-text-fill-color: currentColor !important;
  text-shadow: none !important;
}

body.site-chronicle :is(.fc-back, .btn-back, .ct-back, .pf-back, .lib-breadcrumb,
  .cr-hero-back, .cr-breadcrumb a, .dash-breadcrumb a) {
  color: var(--site-gold-bright) !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  text-decoration: underline;
  text-decoration-color: #7d6a3c;
  text-underline-offset: .22rem;
}

body.site-chronicle .guild-shell .guild-breadcrumb {
  padding: 0 !important;
  color: #a99e8b !important;
  background: transparent !important;
  border: 0 !important;
}
body.site-chronicle .guild-shell .guild-breadcrumb a { color: var(--site-gold-bright) !important; }
body.site-chronicle .guild-shell .guild-breadcrumb .sep { color: #776e5f !important; }
body.site-chronicle .guild-card :is(label, .guild-form label) { color: #d9c991 !important; }

/* One top cord throughout guild, library and tool panels. */
body.site-chronicle :is(.guild-card, .lpanel, .lib-hub-card, .cr-panel,
  .lista-card, .grupo-card, .sem-grupo-card, .stat-card, .sidebar-widget,
  .fc-panel, .pf-panel, .ct-form-panel)::before {
  background: var(--site-gold) !important;
  border-radius: 0 !important;
}
body.site-chronicle :is(.guild-card, .lpanel, .lib-hub-card, .cr-panel,
  .lista-card, .grupo-card, .sem-grupo-card, .stat-card, .sidebar-widget,
  .fc-panel, .pf-panel, .ct-form-panel) {
  border-top-color: var(--site-gold) !important;
}

/* Character sheet and editor. */
body.site-chronicle :is(.fc-panel, .form-container) {
  color: #eee3ce !important;
  background: var(--site-coal-soft) !important;
  border: 1px solid #67583b !important;
  border-radius: 3px !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}
body.site-chronicle :is(.fc-section-title, .fc-quote, .form-header h1) { color: #fff3db !important; }
body.site-chronicle :is(.fc-desc, .fc-background-text, .fc-story-meta,
  .fc-comment-text, .fc-comment-meta, .fc-upload-note) { color: #bdb19e !important; }
body.site-chronicle .form-header {
  color: #fff3db !important;
  background: #2b271f !important;
  border-bottom: 1px solid #67583b;
}
body.site-chronicle .form-header::before { display: none; }
body.site-chronicle :is(.form-container .nav-tabs, .form-container .tab-content) {
  background: var(--site-coal-soft) !important;
}
body.site-chronicle .form-container .nav-tabs .nav-link.active {
  color: var(--site-gold-bright) !important;
  background: #332e24 !important;
}
body.site-chronicle .form-container .nav-tabs .nav-link::after { background: var(--site-gold) !important; }

/* Event and content details. */
body.site-chronicle .ev-detail-hero { margin-bottom: 2rem; overflow: hidden; }
body.site-chronicle .ev-detail-hero-bg { background: #1e1c18 !important; }
body.site-chronicle :is(.ev-meta-row, .ev-encerrado-banner) { color: #bdb19e !important; }
body.site-chronicle .ev-body-card {
  color: #ded3bd !important;
  background: var(--site-coal-soft) !important;
  border: 1px solid #67583b !important;
  border-radius: 3px !important;
}
body.site-chronicle :is(.btn-ev-primary, .ct-submit, .fc-edit-btn, .fc-upload-btn,
  .fc-comment-submit, .linfo-read-btn button, .cr-search-btn) {
  color: #000 !important;
  background: #ffcd39 !important;
  border: 1px solid #ffc720 !important;
  border-radius: 2px !important;
  box-shadow: none !important;
}
body.site-chronicle .ct-banner { border-bottom: 1px solid #67583b; }
body.site-chronicle :is(.ct-resumo, .ct-section-title, .ct-comments-panel,
  .ct-related-card, .ct-comment-item) {
  border-color: #67583b !important;
  border-radius: 3px !important;
}
body.site-chronicle .ct-resumo { border-left-color: var(--site-gold) !important; }
body.site-chronicle :is(.ct-comments-panel, .ct-related-card, .ct-comment-item) {
  color: #ded3bd !important;
  background: var(--site-coal-soft) !important;
}
body.site-chronicle :is(.ct-comment-author, .ct-related-title, .ct-related-title a) {
  color: #fff3db !important;
}
body.site-chronicle :is(.ct-comment-date, .ct-comment-text, .ct-related-meta) {
  color: #bdb19e !important;
}

/* Contact form. */
body.site-chronicle .ct-layout { align-items: stretch; }
body.site-chronicle :is(.ct-info-item, .ct-form-panel) {
  color: #eee3ce !important;
  background: var(--site-coal-soft) !important;
  border: 1px solid #67583b !important;
  border-radius: 3px !important;
  box-shadow: none !important;
}
body.site-chronicle .ct-form-panel { padding: clamp(1.25rem, 3vw, 2rem); }
body.site-chronicle :is(.ct-form-title, .ct-info-value) { color: #fff3db !important; }
body.site-chronicle :is(.ct-info-label, .ct-form-panel .form-text) { color: #a99e8b !important; }
body.site-chronicle .ct-form-panel :is(.form-control, .form-select) {
  color: var(--site-ink) !important;
  background: #faf6ec !important;
  border: 1px solid #aa9d85 !important;
  border-radius: 2px !important;
}
body.site-chronicle .ct-form-panel .form-label { color: #d9c991 !important; }

/* User profile. */
body.site-chronicle :is(.pf-panel, .pf-char-row, .pf-forum-row) {
  color: #eee3ce !important;
  background: var(--site-coal-soft) !important;
  border: 1px solid #67583b !important;
  border-radius: 3px !important;
  box-shadow: none !important;
}
body.site-chronicle :is(.pf-section-title, .pf-char-name, .pf-forum-row .row-title) { color: #fff3db !important; }
body.site-chronicle :is(.pf-char-quote, .pf-forum-row .row-meta,
  .pf-forum-row .row-preview, .pf-empty) { color: #bdb19e !important; }

/* Gallery upload: quiet editorial form instead of a bootstrap demo card. */
body.site-chronicle .container-fluid > .row > [class*="col-lg-"] > .card.bg-dark {
  color: #eee3ce !important;
  background: var(--site-coal-soft) !important;
  border: 1px solid #67583b !important;
  border-top-color: var(--site-gold) !important;
  border-radius: 3px !important;
}
body.site-chronicle .container-fluid > .row > [class*="col-lg-"] > .card.bg-dark :is(.form-control, .form-select) {
  color: var(--site-ink) !important;
  background: #faf6ec !important;
  border-color: #aa9d85 !important;
  border-radius: 2px !important;
}

/* Library books: preserve parchment, remove oversized rounded app panels. */
body.site-chronicle .lib-topbar { border-bottom-color: #67583b !important; }
body.site-chronicle .lpanel {
  color: var(--site-ink) !important;
  background: #f6f0e3 !important;
  border: 1px solid #b7aa91 !important;
  border-radius: 3px !important;
  box-shadow: none !important;
}
body.site-chronicle .lpanel::before { background: var(--site-gold) !important; }
body.site-chronicle :is(.lsearch-input, .lfilter-select) {
  background-color: #faf6ec !important;
  border-color: #aa9d85 !important;
  border-radius: 2px !important;
}

/* Creatures and VIP List family. */
body.site-chronicle :is(.cr-panel, .cr-card) {
  color: var(--site-ink) !important;
  background: #f6f0e3 !important;
  border: 1px solid #b7aa91 !important;
  border-radius: 3px !important;
  box-shadow: none !important;
}
body.site-chronicle :is(.cr-card-name, .cr-section-title, .cr-sub-title) { color: var(--site-ink) !important; }
body.site-chronicle :is(.cr-card-cat, .cr-desc, .cr-sidebar-title) { color: #665d50 !important; }
body.site-chronicle :is(.vip-page, .dash-layout) { color: #eee3ce; }
body.site-chronicle :is(.action-bar, .grupo-card, .sem-grupo-card, .lista-card,
  .stat-card, .sidebar-widget, .grupo-block, .char-table, .form-card) {
  color: #eee3ce !important;
  background: var(--site-coal-soft) !important;
  border: 1px solid #67583b !important;
  border-radius: 3px !important;
  box-shadow: none !important;
}
body.site-chronicle :is(.grupo-nome, .char-nome, .lista-card h4,
  .stat-card-value, .grupo-block-name, .char-name, .sidebar-widget-head) { color: #fff3db !important; }
body.site-chronicle :is(.char-nota, .lista-card p, .lista-meta span,
  .stat-card-label, .char-by, .char-note) { color: #bdb19e !important; }
body.site-chronicle :is(.search-bar, .quick-input, .quick-select,
  .acesso-search-input, .vip-page .form-control, .vip-page .form-select,
  .form-card .form-control, .form-card .form-select) {
  color: var(--site-ink) !important;
  background: #faf6ec !important;
  border: 1px solid #aa9d85 !important;
  border-radius: 2px !important;
}
body.site-chronicle .form-card label { color: #d9c991 !important; }
body.site-chronicle:has(.vip-page, .dash-layout) .modal-content {
  color: #eee3ce !important;
  background: var(--site-coal-soft) !important;
  border: 1px solid #67583b !important;
  border-radius: 3px !important;
}
body.site-chronicle:has(.vip-page, .dash-layout) .modal-content :is(.form-control, .form-select) {
  color: var(--site-ink) !important;
  background: #faf6ec !important;
  border-color: #aa9d85 !important;
}

@media (max-width: 767px) {
  body.site-chronicle :is(.fc-hero, .page-hero, .ct-hero, .pf-hero,
    .vip-hero, .dash-topbar, .cr-hero) { padding: 2rem 0 1.75rem !important; }
  body.site-chronicle .ct-layout { grid-template-columns: 1fr; }
}
