  @import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;700&family=Space+Mono:wght@400;700&display=swap');
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  .fc { font-family: 'Space Mono', monospace; background: var(--usa-white); color: #111; }
  .fc a { color: inherit; text-decoration: none; }
  .fc a:hover { text-decoration: underline; text-underline-offset: 3px; }

  :root {
    --usa-red: #B22234;
    --usa-redinv: #4DDDCB;
    --usa-redflag: url(assets/redflag.png);
    --usa-blue: #3C3B6E;
    --usa-bluebg: url(assets/bluebg.png);
    --usa-blueflag: url(assets/blueflag.png);
    --usa-white: #F5F5F5;
    --usa-offwhite: #EDEDED;
  }

  .fc-masthead { background: var(--usa-blueflag); border-bottom: 4px solid var(--usa-red); }
  .fc-masthead-top { display: flex; align-items: stretch; }
  .fc-mast-logo { width: 72px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .fc-mast-logo span { font-size: 26px; font-weight: 700; color: #fff; }
  .fc-mast-title { flex: 1; padding: 14px 6px;}
  .fc-mast-title h1 { font-family: 'Space Grotesk', sans-serif; font-size: 26px; font-weight: 700; color: var(--usa-white); letter-spacing: -0.5px; line-height: 1; }
  .fc-mast-title p { font-size: 11px; color: #aaa; margin-top: 5px; }
  .fc-mast-ver { padding: 14px 18px; font-size: 11px; color: #fff; border-left: 1px solid #333; display: flex; align-items: flex-start; white-space: nowrap; }
  
  .fc-nav-bar { display: flex; border-top: 1px solid #333; }
  .activenb { background: var(--usa-redflag); font-family: 'Space Grotesk', sans-serif; font-size: 18px; font-weight: 700; color: var(--usa-white); padding: 9px 14px; border-right: 1px solid #333; text-transform: uppercase; letter-spacing: 0.5px; }
  .fc-nav-bar a { font-family: 'Space Grotesk', sans-serif; font-size: 12px; font-weight: 700; color: var(--usa-white); padding: 9px 14px; border-right: 1px solid #333; text-transform: uppercase; letter-spacing: 0.5px; }
  .fc-nav-bar a:hover { background: var(--usa-red); color: #fff; text-decoration: none; }
  .fc-nav-bar a.fc-rand { background: var(--usa-red); color: #fff; }
  .fc-nav-bar a.fc-rand:hover { background: var(--usa-red); color: #fff; }

  .fc-ticker-bar { background: var(--usa-redflag); padding: 6px 0; overflow: hidden; border-top: 3px solid #111 }
  .fc-ticker-text { display: inline-block; white-space: nowrap; animation: tick 32s linear infinite; font-size: 11px; font-weight: 700; color: #fff; }
  .fc-ticker-text .sep { margin: 0 16px; opacity: 0.3; }
  @keyframes tick { 0% { transform: translateX(100vw); } 100% { transform: translateX(-100%); } }

  .fc-body { display: grid; grid-template-columns: 1fr 280px; border-top: 3px solid #111; background: url(assets/whitebgtexture.png); }

  .fc-left { border-right: 3px solid #111; }

  .fc-dir-header { padding: 16px 20px 12px; border-bottom: 2px solid #111; }
  .fc-dir-header h2 { font-family: 'Space Grotesk', sans-serif; font-size: 20px; font-weight: 700; letter-spacing: -0.3px; }
  .fc-dir-header p { font-size: 12px; color: #555; margin-top: 3px; }

  .fc-cat-tabs { display: flex; border-bottom: 2px solid #111; overflow: hidden; }
  .fc-cat-tab { font-family: 'Space Grotesk', sans-serif; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; padding: 8px 14px; border-right: 1px solid #ccc; cursor: pointer; color: #555; transition: none; user-select: none; }
  .fc-cat-tab:hover { color: #111; }
  .fc-cat-tab.active { background: var(--usa-red); color: var(--usa-white); border-right-color: #111; }

  .fc-jumpbar { display: flex; flex-wrap: wrap; padding: 10px 20px; gap: 4px; border-bottom: 1px solid #ccc; }
  .fc-jumpbar a { font-size: 11px; font-weight: 700; color: #111; padding: 3px 7px; border: 1.5px solid #111; }
  .fc-jumpbar a:hover { background: var(--usa-blue); color: var(--usa-white); text-decoration: none; }
  .fc-jumpbar.hidden { display: none; }

  .fc-dir-body { padding: 16px 20px; min-height: 400px; }
  .fc-cat-panel { display: none; }
  .fc-cat-panel.active { display: block; }

  .fc-cat-desc { font-size: 11px; color: #666; margin-bottom: 14px; padding: 8px 10px; border-left: 3px solid #111; }

  .fc-section { margin-bottom: 18px; }
  .fc-section-letter { font-family: 'Space Grotesk', sans-serif; font-size: 28px; font-weight: 700; color: #111; line-height: 1; border-bottom: 2px solid #111; margin-bottom: 8px; padding-bottom: 2px; }
  .fc-entry { display: flex; align-items: baseline; gap: 8px; padding: 5px 0; border-bottom: 1px solid #ddd; font-size: 13px; cursor: pointer; }
  .fc-entry:last-child { border-bottom: none; }
  .fc-entry-name { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 16px; white-space: nowrap; }
  .fc-entry-name:hover { text-decoration: underline; }
  .fc-entry-dash { color: #999; flex-shrink: 0; }
  .fc-entry-desc { font-size: 11px; color: #555; }
  .fc-entry-tag { font-size: 9px; font-weight: 700; padding: 2px 5px; background: #111; color: var(--usa-red); font-family: 'Space Grotesk', sans-serif; margin-left: 4px; vertical-align: middle; white-space: nowrap; }
  .fc-entry-tag.draft { background: #888; color: #fff; }

  .fc-card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
  .fc-card { border: 1.5px solid #111; padding: 10px 12px; background: #fff; }
  .fc-card-name { font-family: 'Space Grotesk', sans-serif; font-size: 18px; font-weight: 700; color: var(--usa-blue); text-decoration: underline; }
  .fc-card-name a:hover { text-decoration: underline; }
  .fc-card-desc { font-size: 11px; color: #666; margin-top: 4px; line-height: 1.5; }
  .fc-card-tag { display: inline-block; font-size: 9px; font-weight: 700; padding: 2px 5px; background: var(--usa-white); color: #555; font-family: 'Space Grotesk', sans-serif; margin-top: 6px; text-transform: uppercase; letter-spacing: 0.4px; }

  .fc-dir-footer { padding: 12px 20px; border-top: 2px solid #111; font-size: 11px; color: #555; display: flex; align-items: left; }
  .fc-dir-footer span { font-weight: 700; }

  .fc-right { display: flex; flex-direction: column; }

  .fc-widget { border-bottom: 2px solid #111; }
  .fc-whead { padding: 8px 14px; border-bottom: 1px solid #222; background: var(--usa-bluebg); }
  .fc-whead h3 { font-family: 'Space Grotesk', sans-serif; font-size: 12px; font-weight: 700; color: #000; text-transform: uppercase; letter-spacing: 0.6px; background-color: #fff; display: inline; }
  .fc-wbody { padding: 12px 14px; font-size: 12px; }
  .fc-wbodymf { padding: 12px 14px; font-size: 12px; }
  .fc-wbodygb { padding: 12px 14px; font-size: 12px; }
  .fc-wbodygb2 { padding: 12px 14px; font-size: 12px; }

  .fc-music-sub { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #888; margin: 10px 0 4px; }
  .fc-music-sub:first-child { margin-top: 0; }
  .fc-band-list { list-style: none; display: flex; flex-direction: column; gap: 2px; }
  .fc-band-list li { padding: 4px 8px; border-left: 3px solid var(--usa-red); background: var(--usa-white); font-family: 'Space Grotesk', sans-serif; font-size: 12px; font-weight: 700; }

  .fc-new-item { display: flex; align-items: center; gap: 7px; padding: 5px 0; border-bottom: 1px solid #ddd; }
  .fc-new-item:last-child { border-bottom: none; }
  .fc-new-badge { background: var(--usa-red); color: var(--usa-white); font-size: 9px; font-weight: 700; padding: 2px 5px; font-family: 'Space Grotesk', sans-serif; white-space: nowrap; flex-shrink: 0; }
  .fc-new-item a { font-family: 'Space Grotesk', sans-serif; font-size: 12px; font-weight: 700; }
  .fc-new-date { font-size: 10px; color: #888; margin-bottom: 8px; padding: 6px 8px; background: var(--usa-white); border-left: 2px solid #aaa; line-height: 1.6; }

  .fc-gb-entry { padding: 7px 0; border-bottom: 1px solid #ddd; }
  .fc-gb-entry:last-child { border-bottom: none; }
  .fc-gb-name { font-family: 'Space Grotesk', sans-serif; font-size: 12px; font-weight: 700; }
  .fc-gb-msg { font-size: 11px; color: #555; margin-top: 2px; line-height: 1.5; }
  .fc-gb-date { font-size: 10px; color: #aaa; margin-top: 2px; }
  .fc-gb-more { display: block; margin-top: 8px; font-size: 11px; font-weight: 700; font-family: 'Space Grotesk', sans-serif; color: #111; }

  .fc-about-text { font-size: 11px; line-height: 1.7; color: #444; }

  .fc-social-list { list-style: none; display: flex; flex-direction: column; gap: 4px; }
  .fc-social-list li a { font-family: 'Space Grotesk', sans-serif; font-size: 12px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
  .fc-social-list li a::before { content: '→'; font-family: monospace; color: #fff; background: var(--usa-red); padding: 1px 5px; font-size: 11px; }

  .fc-footer { background: #111; color: var(--usa-white); padding: 14px 20px; border-top: 3px solid #111; }
  .fc-footer-tagline { font-family: 'Space Grotesk', sans-serif; font-size: 13px; font-weight: 700; color: var(--usa-white); }
  .fc-footer-tagline span { color: var(--usa-red); }
  .fc-footer-links { display: flex; margin: 8px 0 6px; }
  .fc-footer-links a { font-size: 11px; color: #aaa; padding: 0 10px; border-right: 1px solid #333; font-family: 'Space Mono', monospace; }
  .fc-footer-links a:first-child { padding-left: 0; }
  .fc-footer-links a:last-child { border-right: none; }
  .fc-footer-links a:hover { color: var(--usa-red); }
  .fc-footer-fine { font-size: 10px; color: #555; }
  
  @keyframes fadeSlideIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
  }
  @keyframes pulseYellow {
    0%, 100% { background: var(--usa-red); }
    50% { background: #fff199; }
  }
  @keyframes scanline {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100vh); }
  }
  @keyframes letterDrop {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
  }
  @keyframes borderPulse {
    0%, 100% { border-color: #111; }
    50% { border-color: var(--usa-red); }
  }
  @keyframes newBadgePop {
    0% { transform: scale(1); }
    50% { transform: scale(1.18); }
    100% { transform: scale(1); }
  }
  @keyframes underlineSweep {
    from { width: 0; }
    to { width: 100%; }
  }

  .fc-cat-panel.active .fc-section {
    animation: fadeSlideIn 0.18s ease both;
  }
  .fc-cat-panel.active .fc-section:nth-child(2) { animation-delay: 0.03s; }
  .fc-cat-panel.active .fc-section:nth-child(3) { animation-delay: 0.06s; }
  .fc-cat-panel.active .fc-section:nth-child(4) { animation-delay: 0.09s; }
  .fc-cat-panel.active .fc-section:nth-child(5) { animation-delay: 0.12s; }
  .fc-cat-panel.active .fc-section:nth-child(6) { animation-delay: 0.15s; }
  .fc-cat-panel.active .fc-section:nth-child(7) { animation-delay: 0.18s; }
  .fc-cat-panel.active .fc-section:nth-child(8) { animation-delay: 0.21s; }
  .fc-cat-panel.active .fc-card { animation: fadeSlideIn 0.2s ease both; }
  .fc-cat-panel.active .fc-card:nth-child(2) { animation-delay: 0.04s; }
  .fc-cat-panel.active .fc-card:nth-child(3) { animation-delay: 0.08s; }
  .fc-cat-panel.active .fc-card:nth-child(4) { animation-delay: 0.12s; }
  .fc-cat-panel.active .fc-card:nth-child(5) { animation-delay: 0.16s; }
  .fc-cat-panel.active .fc-card:nth-child(6) { animation-delay: 0.20s; }

  .fc-section-letter {
    animation: letterDrop 0.22s ease both;
  }

  .fc-new-badge {
    animation: newBadgePop 2s ease-in-out infinite;
    display: inline-block;
  }

  .fc-nav-bar a {
    transition: background 0.12s ease, color 0.12s ease;
  }

  .fc-cat-tab {
    transition: background 0.1s ease, color 0.1s ease;
    position: relative;
  }
  .fc-cat-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    height: 2px; width: 100%;
    background: var(--usa-red);
  }

  .fc-jumpbar a {
    transition: background 0.1s ease, color 0.1s ease, border-color 0.1s ease;
  }

  .fc-entry {
    transition: background 0.1s ease, padding-left 0.1s ease;
  }
  .fc-entry:hover {
    padding-left: 6px;
    background-color: var(--usa-offwhite);
  }

  .fc-band-list li {
    transition: background 0.12s ease, border-color 0.12s ease;
    cursor: pointer;
  }
  .fc-band-list li:hover {
    background: var(--usa-offwhite);
    border-left-color: var(--usa-red);
  }

  .fc-card {
    transition: transform 0.12s ease, border-color 0.12s ease;
    cursor: pointer;
  }
  .fc-card:hover {
    transform: translateY(-2px);
    background-color: var(--usa-offwhite);
  }

  .fc-social-list li a {
    transition: color 0.1s ease;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }

  .fc-gb-entry {
    transition: background 0.1s ease, padding-left 0.1s ease;
  }
  .fc-gb-entry:hover {
    background: var(--usa-offwhite);
    padding-left: 6px;
  }

  .fc-whead {
    position: relative;
    overflow: hidden;
  }
  .fc-whead::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%; height: 100%;
    background: rgba(232, 226, 0, 0.06);
    animation: scanline 6s linear infinite;
    pointer-events: none;
  }

  .fc-mast-title h1 {
    animation: fadeSlideIn 0.3s ease both;
  }
  .fc-mast-title p {
    animation: fadeSlideIn 0.3s ease 0.1s both;
  }
  .fc-footer-links a {
    transition: color 0.1s ease;
  }

.fc-rec-card {
  border: 1px solid #ccc;
  padding: 10px;
  margin-bottom: 12px;
  text-align: center;
  background: var(--usa-white);
  color: #000;
}

.fc-rec-title {
  font-weight: bold;
  color: var(--usa-red);
  font-size: 15px;
  margin-bottom: 5px;
}

.fc-rec-img {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin: 5px 0;
}

.fc-rec-name {
  font-size: 1.1em;
  margin: 5px 0;
}

.fc-rec-desc {
  font-size: 0.9em;
  margin-bottom: 8px;
}

.fc-rec-link {
  font-size: 15px;
}

/* =========================
   MOBILE RESPONSIVE FIXES
   ========================= */

@media (max-width: 1px) {

  /* Main layout stacks */
  .fc-body {
    grid-template-columns: 1fr;
  }

  .fc-left {
    border-right: none;
    border-bottom: 3px solid #111;
  }

  /* Masthead */
  .fc-masthead-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .fc-mast-logo {
    width: 100px;
    padding-top: 12px;
  }

  .fc-mast-title {
    padding: 10px 16px 18px;
  }

  .fc-mast-title h1 {
    font-size: 34px;
    line-height: 1.1;
  }

  .fc-mast-title p {
    font-size: 13px;
  }

  .fc-mast-ver {
    border-left: none;
    border-top: 1px solid #333;
    width: 100%;
    justify-content: center;
    padding: 10px;
  }

  /* Navigation */
  .fc-nav-bar {
    flex-wrap: wrap;
    justify-content: center;
  }

  .fc-nav-bar a,
  .activenb {
    flex: 1 1 auto;
    text-align: center;
    min-width: 120px;
    border-bottom: 1px solid #333;
  }

  /* Tabs */
  .fc-cat-tabs {
    flex-wrap: wrap;
  }

  .fc-cat-tab {
    flex: 1 1 50%;
    text-align: center;
    border-bottom: 1px solid #ccc;
  }

  /* Directory body spacing */
  .fc-dir-body {
    padding: 14px;
  }

  /* Entry rows */
  .fc-entry {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 10px 0;
  }

  .fc-entry-name {
    white-space: normal;
    font-size: 18px;
  }

  .fc-entry-desc {
    font-size: 12px;
    line-height: 1.5;
  }

  .fc-entry-dash {
    display: none;
  }

  /* Cards */
  .fc-card-grid {
    grid-template-columns: 1fr;
  }

  .fc-card {
    padding: 14px;
  }

  .fc-card-name {
    font-size: 20px;
  }

  .fc-card-desc {
    font-size: 12px;
  }

  /* Widgets */
  .fc-right {
    width: 100%;
  }

  .fc-widget {
    width: 100%;
  }

  .fc-wbody,
  .fc-wbodymf,
  .fc-wbodygb,
  .fc-wbodygb2 {
    font-size: 13px;
  }

  /* Footer */
  .fc-footer {
    text-align: center;
  }

  .fc-footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }

  .fc-footer-links a {
    border-right: none;
    padding: 0;
  }

  /* Status overlay */
  #statusOverlay {
    width: calc(100vw - 20px);
    right: 10px;
    left: 10px;
    top: 10px;
    max-height: 75vh;
  }

  #statusFab {
    bottom: 14px;
    right: 14px;
  }
}


/* Smaller phones */

@media (max-width: 600px) {

  .fc-mast-title h1 {
    font-size: 28px;
  }

  .fc-dir-header {
    padding: 14px;
  }

  .fc-dir-header h2 {
    font-size: 24px;
  }

  .fc-dir-header p {
    font-size: 13px;
    line-height: 1.5;
  }

  .fc-cat-tab {
    flex: 1 1 100%;
  }

  .fc-jumpbar {
    justify-content: center;
    padding: 10px;
  }

  .fc-jumpbar a {
    font-size: 12px;
    padding: 5px 8px;
  }

  .fc-section-letter {
    font-size: 24px;
  }

  .fc-entry-name {
    font-size: 17px;
  }

  .fc-card-name {
    font-size: 18px;
  }

  .fc-whead h3 {
    font-size: 13px;
  }

  .fc-footer-tagline {
    font-size: 12px;
    line-height: 1.5;
  }

  .fc-footer-fine {
    font-size: 11px;
    line-height: 1.5;
  }
}
