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

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

ul,
ol {
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: transparent;
  border: 0;
}

p {
  margin: 0;
}

[hidden] {
  display: none !important;
}

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

::selection {
  background: var(--color-yellow);
  color: var(--color-black);
}

:root {
  --color-red: #E01A22;
  --color-orange: #F7931E;
  --color-blue: #1F2A3C;
  --color-yellow: #FFD100;
  --color-white: #F5F5F5;
  --color-black: #111111;
  --color-text: #333333;
  --color-line: #E0E0E0;
  --color-page: var(--color-white);
  --font-head: 'Archivo Black', 'Helvetica Neue', Arial, sans-serif;
  --font-sub: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
  --font-data: 'Roboto Mono', 'Courier New', monospace;
  --space-xs: 4px;
  --space-s: 8px;
  --space-m: 16px;
  --space-l: 24px;
  --space-xl: 40px;
  --space-xxl: 64px;
  --container-width: 1360px;
  --border: 3px solid var(--color-black);
  --shadow: 6px 6px 0 var(--color-black);
  --shadow-soft: 4px 4px 0 rgba(17, 17, 17, 0.14);
  --ease-fast: 140ms ease;
  --ease-mid: 220ms ease;
}

h1,
h2,
h3,
h4,
.h1,
.h2,
.h3,
.h4 {
  font-family: var(--font-head);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--color-black);
  line-height: 1.15;
}

h1,
.h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
}

h2,
.h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

h3,
.h3 {
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
}

h4,
.h4 {
  font-size: 1rem;
}

img {
  display: block;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: var(--space-l);
}

@media (max-width: 599px) {
  .container {
    padding-inline: var(--space-m);
  }
}

#main-content {
  scroll-margin-top: 24px;
  outline: none;
}

.skip-link {
  position: fixed;
  top: -120px;
  left: var(--space-m);
  z-index: 10010;
  padding: var(--space-s) var(--space-m);
  background: var(--color-yellow);
  color: var(--color-black);
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 0.9rem;
  border: var(--border);
  box-shadow: var(--shadow);
  transition: top var(--ease-mid);
}

.skip-link:focus {
  top: var(--space-m);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  z-index: 10001;
  pointer-events: none;
}

.scroll-progress__bar {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--color-red), var(--color-yellow));
}

.site-header {
  position: relative;
  background: var(--color-blue);
  color: var(--color-white);
  border-bottom: 3px solid var(--color-black);
  box-shadow: var(--shadow-soft);
}

.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-l);
  max-width: var(--container-width);
  margin-inline: auto;
  padding: var(--space-m) var(--space-l);
}

.brand {
  flex: 0 0 auto;
}

.brand__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-s);
}

.brand__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 48px;
  padding-inline: var(--space-xs);
  background: var(--color-red);
  color: var(--color-white);
  border: var(--border);
  box-shadow: var(--shadow);
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  transform: rotate(-3deg);
  transition: transform var(--ease-mid);
}

.brand__link:hover .brand__mark {
  transform: rotate(0deg) scale(1.03);
}

.brand__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand__name {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-white);
}

.brand__sub {
  font-family: var(--font-body);
  font-size: 0.72rem;
  line-height: 1.4;
  letter-spacing: 0.14em;
  color: rgba(245, 245, 245, 0.72);
  font-style: normal;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: var(--space-s);
  background: var(--color-red);
  border: var(--border);
  box-shadow: var(--shadow);
}

.nav-toggle__bar {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--color-white);
  transition: transform var(--ease-mid), opacity var(--ease-mid);
}

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

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

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

.main-nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.main-nav__link {
  position: relative;
  display: block;
  padding: var(--space-s);
  font-family: var(--font-sub);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;
  color: rgba(245, 245, 245, 0.92);
  white-space: nowrap;
}

.main-nav__n {
  font-family: var(--font-data);
  font-size: 0.62rem;
  font-weight: 500;
  color: var(--color-orange);
  margin-right: 2px;
  vertical-align: 0.4em;
}

.main-nav__link::after {
  content: "";
  position: absolute;
  left: var(--space-s);
  right: var(--space-s);
  bottom: 0;
  height: 3px;
  background: var(--color-yellow);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--ease-mid);
}

.main-nav__link:hover::after,
.main-nav__link[aria-current="page"]::after {
  transform: scaleX(1);
}

.main-nav__link[aria-current="page"] {
  color: var(--color-yellow);
}

.live-ticker {
  display: flex;
  align-items: stretch;
  background: var(--color-red);
  border-top: 3px solid var(--color-black);
  clip-path: polygon(0 0, 100% 0, calc(100% - 32px) 100%, 0 100%);
}

.live-ticker__label {
  display: flex;
  align-items: center;
  gap: var(--space-s);
  flex: 0 0 auto;
  padding: var(--space-s) var(--space-m);
  background: var(--color-black);
  font-family: var(--font-sub);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-red);
}

.live-ticker__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--color-red);
  animation: ticker-pulse 1.2s ease-in-out infinite;
}

.live-ticker__text {
  line-height: 1;
}

.live-ticker__viewport {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.live-ticker__track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 30s linear infinite;
  will-change: transform;
}

.live-ticker__group {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
}

.live-ticker__item {
  display: inline-flex;
  align-items: baseline;
  gap: var(--space-s);
  padding: var(--space-s) var(--space-l);
  white-space: nowrap;
  color: var(--color-white);
  font-family: var(--font-data);
  font-size: 0.86rem;
  font-weight: 500;
  border-right: 1px dashed rgba(255, 255, 255, 0.45);
}

.live-ticker__item b {
  font-family: var(--font-sub);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-yellow);
  letter-spacing: 0.08em;
}

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

@keyframes ticker-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.35;
    transform: scale(0.75);
  }
}

.site-footer {
  position: relative;
  background: var(--color-blue);
  color: rgba(245, 245, 245, 0.86);
  border-top: 3px solid var(--color-black);
}

.site-footer::before {
  content: "";
  display: block;
  height: 12px;
  background: var(--color-yellow);
  clip-path: polygon(0 0, 100% 0, calc(100% - 42px) 100%, 42px 100%);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1.2fr 0.8fr;
  gap: var(--space-xl);
  padding-block: var(--space-xl);
}

.site-footer__brand {
  min-width: 0;
}

.site-footer__logo {
  display: flex;
  align-items: center;
  gap: var(--space-s);
  margin-bottom: var(--space-m);
}

.brand__mark--footer {
  transform: rotate(-3deg);
}

.site-footer__logoname {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  color: var(--color-white);
}

.site-footer__slogan {
  font-size: 0.92rem;
  line-height: 1.8;
  color: rgba(245, 245, 245, 0.7);
  max-width: 42ch;
}

.site-footer__title {
  font-family: var(--font-sub);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-yellow);
  padding-bottom: var(--space-s);
  margin-bottom: var(--space-m);
  border-bottom: 2px solid rgba(245, 245, 245, 0.2);
}

.site-footer__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-s);
  font-size: 0.9rem;
  line-height: 1.7;
}

.site-footer__list-item a {
  color: var(--color-white);
  border-bottom: 2px solid transparent;
  transition: border-color var(--ease-fast), color var(--ease-fast);
}

.site-footer__list-item a:hover {
  color: var(--color-yellow);
  border-bottom-color: var(--color-yellow);
}

.site-footer__bottom {
  border-top: 2px solid rgba(245, 245, 245, 0.14);
  background: var(--color-black);
}

.site-footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xs) var(--space-m);
  padding-block: var(--space-m);
  font-family: var(--font-data);
  font-size: 0.78rem;
  color: rgba(245, 245, 245, 0.55);
}

.back-to-top {
  position: fixed;
  right: var(--space-l);
  bottom: var(--space-l);
  z-index: 10005;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--color-yellow);
  color: var(--color-black);
  border: var(--border);
  box-shadow: var(--shadow);
  font-size: 1.25rem;
  line-height: 1;
  transition: transform var(--ease-fast), box-shadow var(--ease-fast);
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 9px 9px 0 var(--color-black);
}

.back-to-top:active {
  transform: translateY(0);
  box-shadow: 4px 4px 0 var(--color-black);
}

.page-main {
  display: block;
  padding-block: var(--space-xxl);
}

.page-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: var(--space-xl);
}

.page-title {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.1;
  color: var(--color-black);
  margin-bottom: var(--space-s);
}

.page-title__num {
  display: block;
  font-family: var(--font-data);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-red);
  letter-spacing: 0.1em;
  margin-bottom: var(--space-xs);
}

.page-title--light {
  color: var(--color-white);
}

.section-head {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: end;
  column-gap: var(--space-l);
  row-gap: var(--space-xs);
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-m);
  border-bottom: 3px solid var(--color-black);
}

.section-head__num {
  grid-row: 1 / span 2;
  font-family: var(--font-data);
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 700;
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 2px var(--color-red);
}

.section-head__title {
  margin: 0;
}

.section-head__desc {
  font-size: 0.95rem;
  color: var(--color-text);
  max-width: 72ch;
}

.section-head--light {
  border-bottom-color: var(--color-white);
}

.section-head--light .section-head__title {
  color: var(--color-white);
}

.section-head--light .section-head__desc {
  color: rgba(245, 245, 245, 0.78);
}

.section-head--light .section-head__num {
  -webkit-text-stroke-color: var(--color-orange);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-s);
  margin-bottom: var(--space-l);
  padding: var(--space-s) var(--space-m);
  background: var(--color-white);
  border: 2px solid var(--color-black);
  box-shadow: var(--shadow-soft);
  font-size: 0.85rem;
}

.breadcrumb a {
  font-weight: 700;
  color: var(--color-red);
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb__sep {
  font-family: var(--font-data);
  color: var(--color-line);
}

.breadcrumb [aria-current="page"] {
  font-weight: 700;
  color: var(--color-text);
}

.grid {
  display: grid;
  gap: var(--space-l);
}

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.content-card {
  background: var(--color-white);
  border: var(--border);
  box-shadow: var(--shadow-soft);
  padding: var(--space-l);
  transition: transform var(--ease-mid), box-shadow var(--ease-mid);
}

.content-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.content-card__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-s);
  font-family: var(--font-data);
  font-size: 0.75rem;
  color: var(--color-text);
  margin-bottom: var(--space-s);
}

.content-card__title {
  margin-bottom: var(--space-s);
}

.content-card__text {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--color-text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-s);
  padding: var(--space-s) var(--space-l);
  font-family: var(--font-sub);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.4;
  border: var(--border);
  background: var(--color-white);
  color: var(--color-black);
  box-shadow: var(--shadow);
  text-transform: uppercase;
  transition: transform var(--ease-fast), box-shadow var(--ease-fast), background var(--ease-fast);
}

.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--color-black);
}

.btn:active {
  transform: translate(0, 0);
  box-shadow: 3px 3px 0 var(--color-black);
}

.btn--accent {
  background: var(--color-red);
  color: var(--color-white);
}

.btn--accent:hover {
  background: #c0111a;
}

.btn--outline {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
  box-shadow: 5px 5px 0 rgba(255, 255, 255, 0.5);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn--large {
  padding: var(--space-m) var(--space-xl);
  font-size: 1rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  font-family: var(--font-sub);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.6;
  text-transform: uppercase;
  border: 2px solid var(--color-black);
  background: var(--color-orange);
  color: var(--color-black);
}

.chip--red {
  background: var(--color-red);
  color: var(--color-white);
}

.chip--yellow {
  background: var(--color-yellow);
}

.chip--blue {
  background: var(--color-blue);
  color: var(--color-white);
}

.score-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  padding: 3px 10px;
  background: var(--color-black);
  color: var(--color-yellow);
  border: 2px solid var(--color-red);
  font-family: var(--font-data);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
}

.summary-list {
  background: var(--color-white);
  border: var(--border);
  box-shadow: var(--shadow-soft);
}

.summary-list__item {
  display: flex;
  align-items: baseline;
  gap: var(--space-m);
  padding: var(--space-m);
  border-bottom: 1px dashed var(--color-line);
}

.summary-list__item:last-child {
  border-bottom: 0;
}

.summary-list__num {
  font-family: var(--font-data);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-red);
  flex: 0 0 auto;
}

.summary-list a {
  font-weight: 700;
}

.summary-list a:hover {
  color: var(--color-red);
  text-decoration: underline;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-s);
}

.image-ratio {
  position: relative;
  overflow: hidden;
  background-color: var(--color-line);
  border: var(--border);
  box-shadow: var(--shadow-soft);
}

.image-ratio--wide {
  aspect-ratio: 16 / 9;
}

.image-ratio--square {
  aspect-ratio: 1 / 1;
}

.image-ratio--tall {
  aspect-ratio: 3 / 4;
}

.image-ratio img,
.image-ratio .image-ratio__placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.image-ratio__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-data);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--color-text);
  background: repeating-linear-gradient(-45deg, var(--color-line) 0 12px, var(--color-white) 12px 24px);
  border: 0;
}

.footnote {
  padding: var(--space-m);
  background: var(--color-blue);
  color: rgba(245, 245, 245, 0.85);
  border-left: 6px solid var(--color-red);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footnote a {
  color: var(--color-yellow);
  text-decoration: underline;
}

.panel-dark {
  background: var(--color-blue);
  color: rgba(245, 245, 245, 0.88);
  border: var(--border);
  box-shadow: var(--shadow);
  padding: var(--space-xl);
}

.panel-dark h1,
.panel-dark h2,
.panel-dark h3,
.panel-dark h4 {
  color: var(--color-white);
}

.divider {
  border: 0;
  border-top: 3px solid var(--color-black);
  margin-block: var(--space-xl);
}

@media (max-width: 959px) {
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    background: var(--color-blue);
    border-bottom: var(--border);
    box-shadow: var(--shadow);
    z-index: 50;
  }

  .main-nav[data-open="true"] {
    display: block;
  }

  .main-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--space-s);
  }

  .main-nav__item {
    border-bottom: 1px solid rgba(245, 245, 245, 0.12);
  }

  .main-nav__item:last-child {
    border-bottom: 0;
  }

  .main-nav__link {
    padding: var(--space-m);
    font-size: 1rem;
  }

  .main-nav__link::after {
    display: none;
  }

  .main-nav__link[aria-current="page"] {
    background: rgba(224, 26, 34, 0.28);
  }

  .page-layout {
    grid-template-columns: 1fr;
    gap: var(--space-l);
  }

  .grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-l);
  }
}

@media (max-width: 599px) {
  .page-main {
    padding-block: var(--space-xl);
  }

  .brand__sub {
    display: none;
  }

  .brand__mark {
    min-width: 40px;
    height: 40px;
    font-size: 0.8rem;
  }

  .brand__name {
    font-size: 0.95rem;
  }

  .site-header__inner {
    padding: var(--space-s) var(--space-m);
    gap: var(--space-s);
  }

  .live-ticker__label {
    padding: var(--space-s);
    font-size: 0;
  }

  .live-ticker__label .live-ticker__dot {
    width: 6px;
    height: 6px;
  }

  .live-ticker__item {
    padding: var(--space-s) var(--space-m);
    font-size: 0.8rem;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-l);
    padding-block: var(--space-l);
  }

  .grid--2,
  .grid--3 {
    grid-template-columns: 1fr;
  }

  .back-to-top {
    right: var(--space-m);
    bottom: var(--space-m);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .live-ticker__track {
    animation: none;
  }

  .live-ticker__viewport {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}
