/* Community homepage atmosphere and connection-card accents. */
@font-face {
  font-family: "Anton";
  src: url("./fonts/anton-latin-v27.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

.site-header .brand-title :is(.brand-title-long, .brand-title-short) {
  font-family: "Anton", "Arial Narrow", sans-serif;
  /* Anton is the local OFL fallback; the layered treatment gives it the
     tall, sticker-like display presence of the requested reference without
     shipping or claiming a proprietary typeface. */
  font-size: clamp(24px, 3.05vw, 44px);
  font-weight: 400;
  letter-spacing: .028em;
  line-height: 1.08;
  text-transform: uppercase;
  font-synthesis: none;
}

@media (forced-colors: none) {
  :root {
    --surface: #30212b;
    --ambient: radial-gradient(ellipse 900px 540px at 82% 130px, #f9e5ee21, transparent 83%),
      radial-gradient(ellipse 850px 740px at 5% 0, #742a486b, transparent 84%),
      radial-gradient(ellipse 760px 920px at 3% 1100px, #edd6e213, transparent 80%), #20151e;
  }
  .site-header {
    background: transparent;
    isolation: isolate;
    position: relative;
  }
  .site-header .brand-title :is(.brand-title-long,.brand-title-short) {
    color: #fff3f9;
    -webkit-text-stroke: 2.25px #24121e;
    paint-order: stroke fill;
    text-shadow: 1px 1px 0 #24121e, 2px 2px 0 #24121e,
      3px 3px 0 #24121e, 4px 4px 0 #ad587c;
  }
  #panel-overview .connections .card.connection {
    background: radial-gradient(ellipse at 90% 0%, #f4d8e51c, transparent 58%),
      linear-gradient(132deg, #432d3b, #2a1b27 76%);
    border-color: #aa899b75;
    border-top-color: #e3cbd5a6;
  }
  @media (hover: hover) and (pointer: fine) {
    #panel-overview .connections .connection:hover { outline: none; }
    #panel-overview .connections .connection::after {
      content: "";
      pointer-events: none;
      position: absolute;
      inset: -1px;
      border: 1px solid #fff3f9;
      border-radius: inherit;
      clip-path: inset(0 100% 0 0);
      transition: clip-path 360ms ease-out;
    }
    #panel-overview .connections .connection:hover::after { clip-path: inset(0); }
    #panel-overview .connections .connection:has(:focus-visible) { outline: 2px solid white; }
  }
  @media (prefers-reduced-motion: reduce) {
    #panel-overview .connections .connection::after { transition: none; }
  }
}
#panel-overview .pack-download-actions { width: min(100%, 320px); }
#panel-overview .pack-download-action { grid-template-columns: minmax(0, 1fr); }
.main-setup-inventory .manual-setup { padding-bottom: 18px; }

.site-header .brand-wordmark {
  display: block;
  width: clamp(200px, 26vw, 340px);
  max-width: 100%;
  height: auto;
}
@media (forced-colors: none) {
  .site-header .brand .brand-title { display: none; }
}
@media (forced-colors: active) {
  .site-header .brand-wordmark { display: none; }
}

#tab-admin[hidden] { display: none; }

@media (min-width:1101px) {
  .wrap { max-width:1400px; }
  .site-header .quicksilver-logo { width:42px; height:54px; }
}
.site-header .header-actions { display:flex; align-items:stretch; gap:inherit; }
.site-header .header-actions :is(.bug-report-button,.join-request-button) {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:10px 16px;
  border-radius:12px;
  font-family:inherit;
  font-size:14px;
  font-weight:750;
  line-height:1.4;
  text-align:center;
}
.bug-report-button { border:1px solid #aa899b; background:transparent; color:#fff3f9; cursor:pointer; }
.bug-report-button:hover { background:#ffffff0c; }
.bug-report-button:focus-visible { outline:2px solid #fff; outline-offset:3px; }
@media (max-width:1100px) {
  .site-header .header-access { flex-wrap:wrap; justify-content:flex-end; }
  .site-header .header-access .header-statuses { margin-right:auto; }
}
@media (max-width:760px) {
  .site-header .header-access { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); align-items:stretch; }
  .site-header .header-access :is(.header-statuses,.header-actions) { display:contents; }
  .site-header .header-access .header-statuses :is(.status,#live-status.backing-up),
  .site-header .header-actions :is(.bug-report-button,.join-request-button) {
    min-width:0;
    width:100%;
    max-width:none;
    min-height:44px;
    padding:7px 8px;
    justify-content:center;
    white-space:normal;
    text-align:center;
  }
  .site-header .header-access .header-statuses :is(.status,#live-status.backing-up) { font-size:11px; }
  .site-header .header-actions :is(.bug-report-button,.join-request-button) { font-size:12px; }
}
@media (max-width:480px) {
  .site-header .header-access {
    grid-template-columns:minmax(0,.98fr) minmax(0,1.45fr) minmax(0,.94fr) minmax(0,1.1fr);
    gap:4px;
  }
  .site-header .header-access .header-statuses :is(.status,#live-status.backing-up),
  .site-header .header-actions :is(.bug-report-button,.join-request-button) {
    min-height:36px;
    padding:4px;
    font-size:11px;
    line-height:1.18;
  }
  .site-header .header-access #live-status { gap:3px; padding-inline:3px; }
  .site-header .header-access #live-status.backing-up span { font-size:10px; letter-spacing:0; }
}
@media (min-width:375px) and (max-width:480px) {
  .site-header .header-access {
    grid-template-columns:minmax(0,1fr) minmax(0,1.32fr) minmax(0,1.12fr) minmax(0,1.28fr);
  }
}
