.fc-favorite-grid {
  grid-template-columns: repeat(auto-fit,minmax(min(100%,230px),1fr));
  gap: 12px;
}
.fc-favorite-card {
  --fc-category:#ccb080;
  min-width: 0; display: grid; align-content: start; gap: 6px; padding: 14px;
  color: #f2e7d3; border: 1px solid color-mix(in srgb,var(--fc-category) 39%,transparent);
  border-left: 2px solid var(--fc-category);
  background: linear-gradient(125deg,color-mix(in srgb,var(--fc-category) 12%,transparent),transparent 80%),#1b1614;
  border-radius: 6px;
}
.fc-favorite-kind { display:flex; align-items:center; gap:8px; color:var(--fc-category); font-size:.75rem; }
.fc-favorite-kind svg { flex:none; width:19px; height:19px; }
#fc-account-root .fc-favorite-card h3 { margin: 0; font-size: 1.45rem; }
.fc-favorite-actions { display:flex; flex-wrap:wrap; align-items:center; gap: 7px 12px; margin-top: 5px; }
#fc-account-root .fc-favorite-actions :is(a,button) { margin:0; font-size:.77rem; border-radius:4px; }

#fc-account-root .fc-rating-list { display:grid; gap:9px; border:0; }
.fc-rating-card {
  display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:14px;
  padding: 12px 15px; border:1px solid #ae895446; border-radius:6px;
  background:linear-gradient(100deg,#8d5c3824,transparent 55%),#1a1513;
}
.fc-rating-card[data-perfect] { border-color:#c79d5b80; }
#fc-account-root .fc-rating-card .fc-rating-score {
  display:grid; place-items:center; min-width:62px; min-height:49px; padding:3px 7px; border:1px solid #b98d4b80;
  border-radius:5px; font-size:1.5rem; color:#f0cb82; background:#422b1f;
}
#fc-account-root .fc-rating-card h2 { margin-bottom:3px; font-size:clamp(1.12rem,2.4vw,1.6rem); }
#fc-account-root .fc-rating-link { padding:7px 9px; border:1px solid #ba98564f; border-radius:4px; font-size:.8rem; text-align:center; }

.fc-notice-filters { display:flex; flex-wrap:wrap; align-items:center; gap:6px 10px; margin-bottom:13px; }
.fc-notice-filters label { gap:7px !important; }
.fc-notice-list { display:grid; gap:8px; }
.fc-notice-card { padding:12px 14px; border:1px solid #997e5343; border-radius:5px; background:#191613; color:#cfbfaa; }
.fc-notice-card[data-read="false"] { border-left:3px solid #d7ac69; background:linear-gradient(90deg,#79513853,transparent 85%),#221915; color:#f3e5cd; }
.fc-notice-card-header { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:8px; margin-bottom:3px; }
#fc-account-root .fc-notice-card h3 { margin:0; font-size:1.25rem; color:inherit; }
.fc-notice-card-header :is(svg,.fc-emblem) { color:#be9a63; width:22px;height:23px; }
.fc-notice-card-state { color:#bfae99; font-size:.72rem; padding:2px 5px; border:1px solid #9e85623d; border-radius:4px; }
.fc-notice-card[data-read="false"] .fc-notice-card-state { color:#ffe2a7; border-color:#ba895d96;background:#5c3b23; }
#fc-account-root .fc-notice-copy { margin:7px 0; white-space:pre-wrap; overflow-wrap:anywhere; }

.fc-settings-nav { display:flex; flex-wrap:wrap; gap:5px; margin-bottom:14px; padding-bottom:10px; border-bottom:1px solid var(--archive-rule); }
#fc-account-root .fc-settings-nav button {
  margin:0;padding:7px 11px;min-height:36px;border-radius:5px;background:transparent;color:#d8c7ae;font-size:.85rem;
}
#fc-account-root .fc-settings-nav button[aria-pressed="true"] { border-color:#ad7968; background:#633337; color:#ffe8bf; }
.fc-settings-profile { display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr); align-items:start; gap:11px; }
#fc-account-root .fc-settings-card {
  min-width:0; max-width:100%; margin:0 0 11px; padding:clamp(12px,3vw,20px);
  border:1px solid #bc98574f; border-radius:6px; background:linear-gradient(130deg,#623b2b27,transparent 72%),#1a1513;
}
#fc-account-root .fc-settings-card h2 { font-size:clamp(1.5rem,3vw,1.95rem); }
#fc-account-root .fc-settings-card :is(input:not([type=checkbox]),select,textarea) { border-radius:4px; }
#fc-account-root .fc-settings-showcase { padding:8px; }
#fc-account-root .fc-settings-showcase legend { padding:0 3px; font-size:.79rem; color:#d0b88f; }
.fc-settings-showcase > div { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,130px),1fr));gap:5px; }
#fc-account-root .fc-showcase-option {
  min-width:0; gap:5px; margin:0; padding:5px 6px; border:1px solid #a785483b; border-radius:4px; background:#201913;
}
#fc-account-root .fc-showcase-option:has(:checked) { border-color:#a16d52;background:#513027; }
#fc-account-root .fc-showcase-option :is(.fc-emblem,.fc-archive-icon) { width:20px;height:24px; }
.fc-showcase-option span { min-width:0; overflow-wrap:anywhere; font-size:.75rem; }
#fc-account-root .fc-settings-photo .fc-archive-portrait { margin:9px 4px 15px; }
.fc-settings-photo input::file-selector-button { padding:6px;border:1px solid #aa8956;background:#38271c;color:#f6dca8;border-radius:4px;cursor:pointer; }
#fc-account-root .fc-settings-toggle { justify-content:space-between; gap:14px; margin:0;padding:10px 0;border-bottom:1px solid var(--archive-rule); }
.fc-settings-toggle > span { display:grid;gap:3px; }
.fc-settings-toggle small { color:#c4b39a; }
#fc-account-root .fc-settings-toggle input { width:17px;height:17px; }
.fc-owner-badge { display:inline-block; padding:3px 7px; border:1px solid #c59a5690;border-radius:4px;background:#48301f;color:#efd199;font-size:.72rem; }
.fc-sidebar-identity .fc-owner-badge { margin:6px 0; }

@media(max-width:760px) { .fc-settings-profile { grid-template-columns:minmax(0,1fr); } }
@media(max-width:490px) {
  .fc-rating-card { grid-template-columns:auto minmax(0,1fr);gap:7px 10px; }
  .fc-rating-card .fc-rating-link { grid-column:2;justify-self:start; }
  .fc-notice-card-header { column-gap:5px; }
}
