/* HOTCS footer. Isolated from the fixed mobile tabbar and shared theme styles. */
#hotcs-footer {
  --hcf-accent: var(--span, #ff6b2c);
  --hcf-text: var(--text-default, #fff5ef);
  --hcf-muted: var(--text-secondary, #9a8578);
  --hcf-dim: var(--text-secondary, #9a8578);
  --hcf-line: var(--transparent-10-w, rgba(255, 255, 255, .1));
  position: relative;
  isolation: isolate;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
  max-width: 1366px;
  min-height: 260px;
  margin: 0 auto 8px;
  padding: 50px 30px 20px;
  overflow: hidden;
  color: var(--hcf-text);
  background: transparent;
  font-family: var(--font-family-base, inherit);
  font-size: 14px;
  font-weight: inherit;
  line-height: 1.4;
  letter-spacing: inherit;
}
#hotcs-footer *,
#hotcs-footer *::before,
#hotcs-footer *::after { box-sizing: border-box; }
#hotcs-footer a { color: inherit; text-decoration: none; cursor: pointer; }
#hotcs-footer a:focus-visible,
#hotcs-footer button:focus-visible { outline: 2px solid var(--hcf-accent); outline-offset: 5px; }
#hotcs-footer .hcf-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 88px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
#hotcs-footer .hcf-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}
#hotcs-footer .hcf-links a {
  display: inline-flex;
  align-items: center;
  color: var(--hcf-muted);
  font-size: 14px;
  line-height: 1.35;
  overflow-wrap: anywhere;
  transition: color .16s ease;
}
#hotcs-footer .hcf-links a:hover { color: var(--hcf-text); }
#hotcs-footer .hcf-center {
  align-self: stretch;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
#hotcs-footer .hcf-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 62px;
  min-height: 64px;
  padding: 4px 0;
  border: 0;
  border-radius: 10px;
  color: var(--hcf-accent);
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  font-weight: inherit;
  line-height: 1.2;
  letter-spacing: inherit;
  transition: none;
}
#hotcs-footer .hcf-top svg {
  display: block;
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
#hotcs-footer .hcf-top span { color: var(--hcf-muted); font-size: 12px; }
#hotcs-footer .hcf-top:hover { background: transparent; }
@keyframes hcf-top-arrow-lift {
  0%, 100% { transform: translateY(0); }
  44% { transform: translateY(-6px); }
}
@media (prefers-reduced-motion: no-preference) {
  #hotcs-footer .hcf-top:hover svg,
  #hotcs-footer .hcf-top:focus-visible svg {
    animation: hcf-top-arrow-lift 760ms cubic-bezier(.45, 0, .25, 1) infinite both;
  }
}
#hotcs-footer .hcf-brand-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 13px;
}
#hotcs-footer .hcf-brand {
  display: inline-flex;
  flex-shrink: 0;
  color: var(--hcf-text);
  font-family: var(--font-family-base, inherit);
  font-size: 21px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -1.1px;
  white-space: nowrap;
}
#hotcs-footer .hcf-brand span { color: var(--hcf-accent); }
#hotcs-footer .hcf-socials {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}
#hotcs-footer .hcf-social {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  border-radius: 8px;
  color: var(--hcf-muted);
  transition: color .16s ease, background .16s ease;
}
#hotcs-footer .hcf-social svg { display: block; width: 20px; height: 20px; fill: currentColor; }
#hotcs-footer .hcf-social:hover { color: var(--hcf-text); background: rgba(245, 242, 239, .05); }
#hotcs-footer .hcf-description {
  max-width: 330px;
  margin: 0;
  color: var(--hcf-muted);
  font-size: 13px;
  font-weight: inherit;
  line-height: 1.45;
}
#hotcs-footer .hcf-watermark {
  position: absolute;
  z-index: 0;
  display: block;
  left: 50%;
  bottom: -115px;
  transform: translateX(-50%);
  width: 330px;
  height: auto;
  max-width: none;
  opacity: .07;
  pointer-events: none;
  user-select: none;
}
#hotcs-footer .hcf-glow {
  position: absolute;
  z-index: 0;
  width: 420px;
  max-width: 95%;
  height: 170px;
  left: 50%;
  bottom: -78px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, var(--hcf-accent), transparent 70%);
  opacity: .12;
  pointer-events: none;
}
#hotcs-footer .hcf-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 17px;
  border-top: 1px solid var(--hcf-line);
  color: var(--hcf-dim);
  font-size: 12px;
}
#hotcs-footer .hcf-bottom p { margin: 0; font-size: inherit; line-height: 1.4; }
#hotcs-footer .hcf-bottom a { color: var(--hcf-muted); white-space: nowrap; font-size: 12px; }
@media (min-width: 900px) {
  #hotcs-footer { min-height: 240px; padding-left: 48px; padding-right: 48px; }
  #hotcs-footer .hcf-grid { grid-template-columns: minmax(0, 1fr) 120px minmax(0, 1fr); gap: 32px; }
  #hotcs-footer .hcf-watermark { width: 360px; bottom: -145px; }
}
@media (max-width: 619px) {
  #hotcs-footer { min-height: 430px; padding: 36px 24px 18px; gap: 23px; }
  #hotcs-footer .hcf-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "brand" "links" "top"; gap: 26px; }
  #hotcs-footer .hcf-project { grid-area: brand; }
  #hotcs-footer .hcf-nav { grid-area: links; }
  #hotcs-footer .hcf-center { grid-area: top; }
  #hotcs-footer .hcf-brand-head { margin-bottom: 11px; }
  #hotcs-footer .hcf-description { max-width: 380px; }
  #hotcs-footer .hcf-links { gap: 14px; }
  #hotcs-footer .hcf-watermark { width: 330px; bottom: -95px; opacity: .049; }
  #hotcs-footer .hcf-glow { bottom: -60px; height: 230px; }
  #hotcs-footer .hcf-bottom { font-size: 11px; padding-top: 16px; }
  #hotcs-footer .hcf-bottom a { font-size: 11px; }
}
@media (max-width: 379px) {
  #hotcs-footer { padding-left: 20px; padding-right: 20px; min-height: 450px; }
  #hotcs-footer .hcf-brand { font-size: 20px; }
}
@media (pointer: coarse) {
  #hotcs-footer .hcf-social { min-width: 44px; height: 44px; }
  #hotcs-footer .hcf-links a { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  #hotcs-footer .hcf-links a,
  #hotcs-footer .hcf-social,
  #hotcs-footer .hcf-top { transition: none; }
}
