/* ==========================================
   博业体育APP Site Kit — /assets/site.css
   ========================================== */

/* ---------- 1. Reset & Tokens ---------- */

:root {
  --color-deep: #0A1F44;
  --color-orange: #FF6B00;
  --color-gray: #3A4A5A;
  --color-moss: #7A8450;
  --color-terracotta: #C4583C;
  --color-cream: #F5F1E8;
  --color-slate: #0D1B2E;
  --color-white: #FFFFFF;

  --font-headline: Impact, 'Archivo Black', 'PingFang SC', sans-serif;
  --font-body: 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
  --font-data: 'DIN Alternate', 'Bahnschrift', sans-serif;

  --container-width: 1280px;
  --duration-fast: 180ms;
  --duration-med: 280ms;
  --duration-slow: 400ms;

  --shadow-card: 0 8px 24px rgba(0, 0, 0, 0.16);
  --shadow-header: 0 4px 20px rgba(0, 0, 0, 0.35);
  --shadow-float: 0 12px 32px rgba(0, 0, 0, 0.35);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-white);
  background-color: var(--color-deep);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headline);
  font-weight: 900;
  line-height: 1.2;
  color: inherit;
}

em,
i {
  font-style: normal;
}

::selection {
  background: var(--color-orange);
  color: var(--color-white);
}

:focus-visible {
  outline: 3px solid var(--color-orange);
  outline-offset: 2px;
  border-radius: 2px;
}

#main-content {
  display: block;
  min-height: 60vh;
}

/* ---------- 2. Scrollbar ---------- */

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--color-deep);
}

::-webkit-scrollbar-thumb {
  background: var(--color-gray);
  border-radius: 6px;
  border: 2px solid var(--color-deep);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-orange);
}

/* ---------- 3. Accessibility ---------- */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -120px;
  left: 16px;
  z-index: 1000;
  padding: 10px 20px;
  background: var(--color-orange);
  color: var(--color-white);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 4px;
  transition: top var(--duration-med) ease;
}

.skip-link:focus {
  top: 8px;
}

/* ---------- 4. Container & Sections ---------- */

.container {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 48px);
}

.section {
  position: relative;
  padding-block: clamp(48px, 8vw, 96px);
}

.section-heading {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: var(--space-lg, 40px);
}

.section-number {
  font-family: var(--font-data);
  font-weight: 900;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 2px var(--color-orange);
  flex-shrink: 0;
  letter-spacing: -0.02em;
}

.section-label {
  writing-mode: vertical-rl;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-orange);
  flex-shrink: 0;
  text-orientation: mixed;
}

/* ---------- 5. Page Hero ---------- */

.page-hero {
  position: relative;
  padding-block: clamp(40px, 6vw, 72px);
}

.page-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-family: var(--font-data);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-orange);
}

.page-hero-label::before {
  content: '';
  width: 24px;
  height: 3px;
  background: var(--color-orange);
  clip-path: polygon(0 0, 100% 0, calc(100% - 5px) 100%, 0 100%);
}

.page-hero-title {
  font-family: var(--font-headline);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.01em;
}

.page-hero-sub {
  margin-top: 12px;
  font-size: clamp(1rem, 2vw, 1.1rem);
  color: rgba(255, 255, 255, 0.65);
}

/* ---------- 6. Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 4px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.3;
  text-align: center;
  transition:
    background-color var(--duration-fast) ease,
    color var(--duration-fast) ease,
    border-color var(--duration-fast) ease,
    transform var(--duration-fast) ease,
    box-shadow var(--duration-fast) ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--color-orange);
  color: var(--color-white);
}

.btn-primary:hover {
  background: #ff8320;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 0, 0.35);
}

.btn-outline {
  border: 2px solid var(--color-orange);
  background: transparent;
  color: var(--color-orange);
}

.btn-outline:hover {
  background: var(--color-orange);
  color: var(--color-white);
}

/* ---------- 7. Ticker Bar ---------- */

.ticker-bar {
  height: 32px;
  background: var(--color-slate);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.ticker-inner {
  display: flex;
  align-items: center;
  height: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 48px);
  overflow: hidden;
}

.ticker-label {
  flex-shrink: 0;
  margin-right: 20px;
  padding: 2px 8px;
  font-family: var(--font-data);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-orange);
  background: rgba(255, 107, 0, 0.12);
  border: 1px solid rgba(255, 107, 0, 0.35);
  border-radius: 3px;
  line-height: 1.4;
}

.ticker-track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  animation: ticker-scroll 32s linear infinite;
}

.ticker-group {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.ticker-group > span {
  display: inline-flex;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.04em;
}

.ticker-group > span::before {
  content: '';
  width: 4px;
  height: 8px;
  margin-right: 10px;
  background: var(--color-orange);
  flex-shrink: 0;
  transform: skewX(-15deg);
  opacity: 0.7;
}

.ticker-group > span + span {
  margin-left: 40px;
}

@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------- 8. Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--color-deep);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-header);
}

.site-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: repeating-linear-gradient(
    -45deg,
    var(--color-orange) 0px,
    var(--color-orange) 8px,
    transparent 8px,
    transparent 16px
  );
  opacity: 0.45;
  pointer-events: none;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 48px);
}

.brand-block {
  flex-shrink: 0;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  position: relative;
  display: block;
  width: 40px;
  height: 40px;
  background: var(--color-orange);
  clip-path: polygon(0 0, 74% 0, 100% 26%, 100% 100%, 0 100%);
  overflow: hidden;
}

.brand-mark-bar {
  position: absolute;
  left: 6px;
  top: 50%;
  width: 22px;
  height: 4px;
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-50%) skewX(-20deg);
  box-shadow: 0 -8px 0 rgba(255, 255, 255, 0.5), 0 8px 0 rgba(255, 255, 255, 0.5);
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--font-headline);
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--color-white);
}

.brand-name em {
  margin-left: 2px;
  font-size: 0.82em;
  color: var(--color-orange);
}

.brand-strapline {
  margin-top: 3px;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
}

/* ---------- 9. Navigation ---------- */

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-list a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 13px;
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  border-radius: 4px;
  transition:
    color var(--duration-fast) ease,
    background-color var(--duration-fast) ease;
}

.nav-list a:hover {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.07);
}

.nav-list a[aria-current="page"] {
  color: var(--color-white);
  font-weight: 700;
}

.nav-list a[aria-current="page"]::after {
  content: '';
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 1px;
  height: 3px;
  background: var(--color-orange);
  clip-path: polygon(0 0, 100% 0, calc(100% - 5px) 100%, 5px 100%);
}

.nav-index {
  font-family: var(--font-data);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-orange);
  opacity: 0.75;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--color-orange);
  color: var(--color-white);
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: 4px;
  transition:
    background-color var(--duration-fast) ease,
    transform var(--duration-fast) ease,
    box-shadow var(--duration-fast) ease;
}

.nav-cta::before {
  content: '↓';
  font-size: 1rem;
  line-height: 1;
  font-weight: 900;
}

.nav-cta:hover {
  background: #ff8320;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(255, 107, 0, 0.35);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 10px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  transition:
    border-color var(--duration-fast) ease,
    background-color var(--duration-fast) ease;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.05);
}

.nav-toggle[aria-expanded="true"] {
  border-color: var(--color-orange);
}

.toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition:
    transform var(--duration-fast) ease,
    opacity var(--duration-fast) ease;
}

.nav-toggle[aria-expanded="true"] .toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- 10. Footer ---------- */

.site-footer {
  position: relative;
  background: var(--color-deep);
  border-top: 4px solid var(--color-orange);
}

.site-footer::before {
  content: '';
  position: absolute;
  top: -4px;
  left: 0;
  width: 22%;
  height: 4px;
  background: var(--color-terracotta);
  clip-path: polygon(0 0, 100% 0, calc(100% - 16px) 100%, 0 100%);
  z-index: 1;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.6fr;
  gap: 40px;
  max-width: var(--container-width);
  margin-inline: auto;
  padding: 56px clamp(16px, 4vw, 48px) 40px;
}

.footer-links,
.footer-legal,
.footer-contact {
  min-width: 0;
}

.footer-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--color-orange);
  color: var(--color-white);
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: 1.2rem;
  clip-path: polygon(0 0, 74% 0, 100% 26%, 100% 100%, 0 100%);
}

.footer-brand-name {
  font-family: var(--font-headline);
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--color-white);
}

.footer-brand-name em {
  color: var(--color-orange);
}

.footer-tagline {
  margin-top: 14px;
  max-width: 280px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
}

.footer-trust {
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  padding: 4px 12px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(122, 132, 80, 0.15);
  border-left: 3px solid var(--color-moss);
  border-radius: 0 3px 3px 0;
}

.footer-heading {
  margin-bottom: 16px;
  font-family: var(--font-data);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-orange);
}

.footer-nav li + li {
  margin-top: 8px;
}

.footer-nav a {
  display: inline-block;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  transition:
    color var(--duration-fast) ease,
    padding-left var(--duration-fast) ease;
}

.footer-nav a:hover {
  color: var(--color-orange);
  padding-left: 4px;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
}

.contact-list li::before {
  content: '';
  flex-shrink: 0;
  width: 5px;
  height: 5px;
  margin-top: 9px;
  margin-right: 10px;
  background: var(--color-orange);
  border-radius: 1px;
  transform: skewX(-10deg);
}

.contact-item {
  margin-bottom: 10px;
}

.contact-note {
  margin-top: 14px;
  font-size: 0.78rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: var(--container-width);
  margin-inline: auto;
  padding: 18px clamp(16px, 4vw, 48px) 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
}

.copyright {
  font-family: var(--font-data);
  letter-spacing: 0.02em;
}

.footer-icp {
  color: rgba(255, 255, 255, 0.35);
}

.footer-trust-mark {
  letter-spacing: 0.02em;
}

/* ---------- 11. Back to Top ---------- */

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 300;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-orange);
  color: var(--color-white);
  border-radius: 4px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity var(--duration-med) ease,
    visibility var(--duration-med) ease,
    transform var(--duration-med) ease,
    background-color var(--duration-fast) ease;
}

.back-to-top:hover {
  background: #ff8320;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top-icon {
  font-size: 1.2rem;
  line-height: 1;
  font-weight: 700;
  transform: translateY(-1px);
}

/* ---------- 12. Cards & Panels ---------- */

.card {
  padding: 40px;
  background: var(--color-cream);
  color: var(--color-deep);
  border-radius: 6px;
  box-shadow: var(--shadow-card);
}

.card-dark {
  padding: 40px;
  background: var(--color-slate);
  color: var(--color-white);
  border-left: 3px solid var(--color-orange);
  border-radius: 6px;
  box-shadow: var(--shadow-card);
}

.clip-panel {
  position: relative;
  padding: 40px;
  background: var(--color-cream);
  color: var(--color-deep);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
}

.clip-corner {
  position: relative;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
}

/* ---------- 13. Tags & Data ---------- */

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--color-orange);
  background: rgba(255, 107, 0, 0.12);
  border: 1px solid rgba(255, 107, 0, 0.35);
  border-radius: 3px;
}

.tag-new {
  background: var(--color-orange);
  color: var(--color-white);
  border-color: transparent;
  overflow: hidden;
}

.tag-new::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--color-white);
  border-radius: 50%;
  animation: blink 1.2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

.data-number {
  font-family: var(--font-data);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* ---------- 14. Breadcrumbs ---------- */

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

.breadcrumbs a {
  color: rgba(255, 255, 255, 0.75);
  transition: color var(--duration-fast) ease;
}

.breadcrumbs a:hover {
  color: var(--color-orange);
}

.breadcrumbs [aria-current="page"] {
  color: var(--color-orange);
}

.crumb-sep {
  font-size: 0.75rem;
  color: var(--color-orange);
  opacity: 0.6;
}

/* ---------- 15. Image Frames ---------- */

.image-frame {
  position: relative;
  display: block;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  background: linear-gradient(135deg, var(--color-slate) 0%, var(--color-deep) 100%);
  border-radius: 4px;
  overflow: hidden;
}

.image-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent 0px,
    transparent 10px,
    rgba(255, 255, 255, 0.028) 10px,
    rgba(255, 255, 255, 0.028) 11px
  );
  z-index: 1;
}

.image-frame::after {
  content: 'IMG';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-data);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  color: rgba(255, 255, 255, 0.25);
  z-index: 0;
}

.image-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
}

.image-frame-tall {
  padding-bottom: 75%;
}

/* ---------- 16. Speed Lines ---------- */

.speed-lines {
  position: relative;
  overflow: hidden;
}

.speed-lines::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    -55deg,
    transparent 0px,
    transparent 16px,
    rgba(255, 255, 255, 0.035) 16px,
    rgba(255, 255, 255, 0.035) 17px
  );
  pointer-events: none;
  z-index: 0;
}

/* ---------- 17. Scroll Spy ---------- */

[data-spy-link] {
  transition:
    color var(--duration-fast) ease,
    font-weight var(--duration-fast) ease;
}

[data-spy-link].is-active {
  color: var(--color-orange);
  font-weight: 700;
}

/* ---------- 18. Responsive ---------- */

@media (max-width: 960px) {
  .header-inner {
    height: 64px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .brand-mark-bar {
    left: 5px;
    width: 18px;
    height: 3px;
    box-shadow: 0 -6px 0 rgba(255, 255, 255, 0.5), 0 6px 0 rgba(255, 255, 255, 0.5);
  }

  .brand-strapline {
    font-size: 0.65rem;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px;
    background: var(--color-slate);
    border-top: 3px solid var(--color-orange);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.5);
    max-height: calc(100vh - 64px);
    overflow-y: auto;
  }

  .site-nav[data-open="true"] {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .nav-list a {
    justify-content: space-between;
    padding: 14px 16px;
    font-size: 1rem;
  }

  .nav-list a[aria-current="page"]::after {
    left: auto;
    right: 12px;
    bottom: 12px;
    width: 6px;
    height: 6px;
    border-radius: 1px;
    background: var(--color-orange);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }

  .nav-index {
    display: none;
  }

  .nav-cta {
    margin-top: 14px;
    justify-content: center;
    padding: 14px 18px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .ticker-bar {
    display: none;
  }

  .brand-name {
    font-size: 1.1rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 400px) {
  .brand-strapline {
    display: none;
  }
}

/* ---------- 19. Reduced Motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .ticker-track {
    animation: none;
  }

  .tag-new::before {
    animation: none;
    opacity: 1;
  }
}
