:root {
  --bg-page: #0F1115;
  --bg-deep-green: #1A2520;
  --bg-deep-blue: #1E1F26;
  --bg-card: #2C313A;
  --brand-orange: #F5A623;
  --c-blue: #4A90E2;
  --c-magenta: #E94E77;
  --c-green: #7ED321;
  --neon-green: #39FF14;
  --electric-blue: #00E5FF;
  --c-ongoing: #F5A623;
  --c-ended: #B36BFF;
  --c-upcoming: #FF5C5C;
  --text-main: #EDEDED;
  --text-muted: #A8A8A8;
  --line: #3A3F45;
  --font-body: "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --font-head: "Noto Sans SC", "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", "Segoe UI Mono", Menlo, Consolas, monospace;
}

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

[hidden] {
  display: none !important;
}

body,
h1,
h2,
h3,
h4,
p,
ul,
ol,
figure {
  margin: 0;
}

ul,
ol {
  padding-left: 1.2em;
}

html {
  background: var(--bg-page);
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0;
  background-color: var(--bg-page);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
}

#main-content {
  flex: 1 0 auto;
  width: 100%;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--electric-blue);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--neon-green);
}

:focus-visible {
  outline: 2px solid var(--neon-green);
  outline-offset: 2px;
  border-radius: 2px;
}

h1,
h2,
h3,
h4 {
  line-height: 1.28;
}

h1 {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 900;
  font-style: italic;
  transform: skewX(-4deg);
  transform-origin: 0 50%;
}

h2 {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 900;
  font-style: italic;
  transform: skewX(-4deg);
  transform-origin: 0 50%;
}

h3 {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
}

.skip-link {
  position: fixed;
  top: 0;
  left: -200px;
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  padding: 0.6em 1.2em;
  background: var(--neon-green);
  color: #0F1115;
  font-weight: 700;
  text-decoration: none;
  border-radius: 0 0 8px 0;
  transition: left 0.18s ease;
}

.skip-link:focus {
  left: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background: var(--bg-page);
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.25);
}

.scroll-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 10;
  pointer-events: none;
  background: linear-gradient(90deg, var(--neon-green) 0%, var(--electric-blue) 100%);
}

.ticker-bar {
  display: flex;
  align-items: center;
  gap: 0.7em;
  padding: 0.32em clamp(1rem, 4vw, 2rem);
  background: var(--neon-green);
  color: #0F1115;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.ticker-icon {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0F1115;
  animation: ticker-blink 1.6s ease-in-out infinite;
}

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

.ticker-badge {
  flex: 0 0 auto;
  padding: 0.05em 0.5em;
  background: #0F1115;
  color: var(--neon-green);
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 0.9em;
  letter-spacing: 0.08em;
}

.ticker-text {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ticker-link {
  flex: 0 0 auto;
  margin-left: auto;
  color: #0F1115;
  text-decoration: none;
  border-bottom: 2px solid #0F1115;
  font-family: var(--font-mono);
  font-size: 0.9em;
  padding-bottom: 0.05em;
}

.ticker-link:hover {
  color: var(--neon-green);
  border-bottom-color: var(--neon-green);
}

.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.75rem clamp(1rem, 4vw, 2rem);
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text-main);
  text-decoration: none;
}

.site-brand:hover .brand-name {
  color: var(--neon-green);
}

.brand-symbol {
  position: relative;
  flex: 0 0 auto;
  display: inline-block;
  width: 38px;
  height: 27px;
}

.symbol-tape {
  position: absolute;
  top: 2px;
  left: 0;
  right: 0;
  height: 23px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.symbol-tape::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 15px;
  height: 9px;
  transform: translate(-50%, -50%);
  background: var(--brand-orange);
  border-radius: 2px;
}

.symbol-tape::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  transform: translate(-50%, -50%) rotate(45deg);
  background: var(--bg-page);
}

.symbol-neon {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 11px;
  height: 11px;
  background: var(--neon-green);
  box-shadow: 0 0 8px rgba(57, 255, 20, 0.8);
}

.brand-name {
  font-family: var(--font-head);
  font-weight: 900;
  font-style: italic;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transform: skewX(-5deg);
  color: var(--text-main);
  text-shadow:
    2px 2px 0 rgba(245, 166, 35, 0.55),
    -1px -1px 0 rgba(0, 229, 255, 0.35);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex: 0 0 auto;
}

.site-search {
  position: relative;
  display: flex;
  align-items: center;
}

.search-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.search-mark {
  position: absolute;
  left: 0.72em;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1.15rem;
  line-height: 1;
  pointer-events: none;
  z-index: 1;
}

.search-field {
  width: min(28vw, 260px);
  padding: 0.45em 0.9em 0.45em 2.2em;
  background: var(--bg-deep-blue);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.88rem;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.search-field::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

.search-field:focus {
  outline: none;
  border-color: var(--electric-blue);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.15);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0.5em 0.65em;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
}

.nav-toggle-line {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-main);
  border-radius: 1px;
  transition: transform 0.22s ease, opacity 0.2s ease;
}

.nav-toggle-text {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

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

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

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

.site-nav {
  display: flex;
  justify-content: stretch;
  background: var(--bg-deep-green);
  border-top: 1px solid var(--line);
  padding: 0 clamp(0.5rem, 2vw, 2rem);
  overflow-x: auto;
}

.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  padding: 0.55em 1.1em;
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  border-bottom: 1px solid transparent;
  transition: color 0.16s ease, background 0.16s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 1em;
  right: 1em;
  bottom: 0;
  height: 3px;
  background: var(--neon-green);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.2s ease;
}

.nav-link:hover {
  color: var(--neon-green);
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-link[aria-current="page"] {
  color: var(--brand-orange);
  font-weight: 700;
  background: rgba(245, 166, 35, 0.08);
}

.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
  background: var(--brand-orange);
}

.nav-index {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--electric-blue);
  opacity: 0.85;
}

.nav-link:hover .nav-index {
  color: var(--neon-green);
}

.nav-link[aria-current="page"] .nav-index {
  color: var(--brand-orange);
}

.site-footer {
  margin-top: auto;
  background: var(--bg-deep-green);
  border-top: 4px solid var(--brand-orange);
  color: var(--text-main);
  font-size: 0.92rem;
}

.footer-shell {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  max-width: 1200px;
  margin-inline: auto;
  padding: 2.6rem clamp(1rem, 4vw, 2rem) 2rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.88rem;
  max-width: 26em;
}

.footer-email {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--electric-blue);
  word-break: break-all;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--neon-green);
  margin: 0 0 0.55rem;
}

.footer-link {
  display: inline-block;
  color: #C8C8C8;
  text-decoration: none;
  padding: 0.14em 0 0.14em 0.6em;
  border-left: 2px solid transparent;
  transition: border-color 0.16s ease, color 0.16s ease, padding-left 0.16s ease;
}

.footer-link:hover {
  color: var(--neon-green);
  border-left-color: var(--neon-green);
  padding-left: 0.9em;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem 1.6rem;
  padding: 0.9rem clamp(1rem, 4vw, 2rem);
  border-top: 1px solid var(--line);
  background: var(--bg-page);
  color: #8A8A8A;
  font-family: var(--font-mono);
  font-size: 0.74rem;
}

.copyright,
.icp {
  color: #A8A8A8;
}

.footer-meta {
  margin-left: auto;
  display: inline-flex;
  gap: 1.2rem;
}

.footer-legal {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-legal:hover {
  color: var(--electric-blue);
}

.container {
  width: min(1200px, 92vw);
  margin-inline: auto;
}

.content {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding: 2rem clamp(1rem, 4vw, 2rem) 3.5rem;
}

.section {
  padding: 2.8rem clamp(1rem, 4vw, 2rem);
  max-width: 1200px;
  margin-inline: auto;
}

.section-title {
  margin-bottom: 0.35em;
}

.section-subtitle {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.section-divider {
  height: 1px;
  margin: 0;
  border: 0;
  background: linear-gradient(90deg, var(--brand-orange), var(--c-magenta) 40%, transparent 120%);
}

.accent-strip {
  height: 6px;
  border: 0;
  background: linear-gradient(90deg, var(--brand-orange), var(--c-magenta), var(--c-green), var(--electric-blue));
}

.stripe-bg {
  background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 2px, transparent 2px 10px);
}

.clip-panel {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.clip-panel::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 18px;
  height: 18px;
  background: var(--bg-page);
  border-bottom-left-radius: 12px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  background: var(--bg-deep-green);
  color: var(--neon-green);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  padding: 0.3em 0.8em;
  border-left: 3px solid var(--neon-green);
  margin-bottom: 0.7rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.55em 1.25em;
  border-radius: 6px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, filter 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-orange), var(--c-magenta));
  color: #0F1115;
}

.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  color: #0F1115;
}

.btn-ghost {
  background: transparent;
  border-color: var(--electric-blue);
  color: var(--electric-blue);
}

.btn-ghost:hover {
  transform: translateY(-2px);
  background: rgba(0, 229, 255, 0.1);
  border-color: var(--neon-green);
  color: var(--neon-green);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.2rem;
  padding: 0;
  list-style: none;
  font-size: 0.85rem;
}

.breadcrumb-link {
  color: var(--c-blue);
  text-decoration: none;
}

.breadcrumb-current {
  color: var(--text-muted);
}

.breadcrumbs li + li::before {
  content: "/";
  color: var(--text-muted);
  margin-right: 0.4rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--electric-blue);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.card-thumb {
  position: relative;
  margin: -1rem -1rem 0.6rem;
}

.card-thumb .media-frame {
  border-radius: 8px 8px 0 0;
  border-left: 0;
  border-top: 0;
  border-right: 0;
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.card-title {
  font-size: 1.05em;
  font-weight: 700;
  line-height: 1.35;
}

.card-meta {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.card-badge {
  align-self: flex-start;
}

.tile-matrix {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.8rem;
  padding: 0.8rem;
  background-color: var(--bg-deep-blue);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.tile {
  display: block;
  padding: 1rem 0.85rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  color: var(--text-main);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.tile:hover {
  transform: translateY(-3px);
  border-color: var(--brand-orange);
  color: var(--brand-orange);
}

.tile-title {
  display: block;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.tile-count {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.tile-tag {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--electric-blue);
  text-transform: uppercase;
}

.entry-list {
  display: flex;
  flex-direction: column;
}

.entry-row {
  display: grid;
  grid-template-columns: 2.4rem 1fr auto;
  align-items: center;
  gap: 0.8rem;
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid var(--line);
  background: transparent;
  transition: background 0.16s ease;
}

.entry-row:hover {
  background: rgba(57, 255, 20, 0.05);
}

.entry-index {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--electric-blue);
}

.entry-title {
  font-weight: 700;
  line-height: 1.35;
}

.entry-status {
  justify-self: end;
}

.entry-meta {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.rail {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 0.4rem 0.2rem 1rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.rail-item {
  flex: 0 0 200px;
  scroll-snap-align: start;
}

.tag-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25em;
  padding: 0.18em 0.7em;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  color: var(--text-main);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
}

.tag:hover {
  color: var(--neon-green);
  border-color: var(--neon-green);
}

.tag-hot {
  background: rgba(233, 78, 119, 0.14);
  color: var(--c-magenta);
  border-color: rgba(233, 78, 119, 0.5);
}

.tag-hot:hover {
  color: var(--c-magenta);
  border-color: var(--c-magenta);
}

.tag-new {
  background: rgba(126, 211, 33, 0.12);
  color: var(--c-green);
  border-color: rgba(126, 211, 33, 0.45);
}

.tag-new:hover {
  color: var(--c-green);
  border-color: var(--c-green);
}

.tag-season {
  background: rgba(245, 166, 35, 0.14);
  color: var(--brand-orange);
  border-color: rgba(245, 166, 35, 0.45);
}

.tag-season:hover {
  color: var(--brand-orange);
  border-color: var(--brand-orange);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  padding: 0.16em 0.7em;
  border-radius: 4px;
  border: 1px solid transparent;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.status-ongoing {
  background: rgba(245, 166, 35, 0.14);
  color: var(--brand-orange);
  border-color: rgba(245, 166, 35, 0.4);
}

.status-ended {
  background: rgba(179, 107, 255, 0.14);
  color: var(--c-ended);
  border-color: rgba(179, 107, 255, 0.4);
}

.status-upcoming {
  background: rgba(255, 92, 92, 0.14);
  color: var(--c-upcoming);
  border-color: rgba(255, 92, 92, 0.4);
}

.seq {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--electric-blue);
}

.seq-a {
  color: var(--brand-orange);
}

.seq-b {
  color: var(--c-magenta);
}

.seq-c {
  color: var(--c-green);
}

.metric-bar {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.metric-track {
  flex: 1 1 auto;
  height: 6px;
  background: var(--bg-deep-blue);
  border-radius: 3px;
  overflow: hidden;
}

.metric-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--neon-green), var(--electric-blue));
}

.metric-label {
  flex: 0 0 auto;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.metric-value {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-main);
}

.index-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.6rem;
  background: var(--bg-deep-blue);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.index-item {
  min-width: 2rem;
  padding: 0.28rem 0.45rem;
  border-radius: 4px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-align: center;
  text-decoration: none;
  transition: color 0.14s ease, border-color 0.14s ease, background 0.14s ease;
}

.index-item:hover {
  color: var(--electric-blue);
  border-color: var(--electric-blue);
}

.index-item-active,
.index-item[aria-current="true"] {
  background: var(--brand-orange);
  border-color: var(--brand-orange);
  color: #0F1115;
  font-weight: 700;
}

.table-scroll {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.data-table th,
.data-table td {
  padding: 0.6em 0.8em;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.data-table th {
  background: var(--bg-deep-green);
  color: var(--electric-blue);
  font-weight: 700;
  white-space: nowrap;
}

.data-table td {
  color: var(--text-main);
}

.data-table tbody tr:hover td {
  background: rgba(57, 255, 20, 0.06);
}

.media-frame {
  display: block;
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(145deg, var(--bg-deep-blue), var(--bg-card));
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}

.media-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 20px 20px;
}

.media-frame::after {
  content: "NO IMAGE";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.35em;
  color: rgba(168, 168, 168, 0.5);
}

.media-frame--landscape {
  aspect-ratio: 16 / 9;
}

.media-frame--portrait {
  aspect-ratio: 3 / 4;
}

.media-frame--square {
  aspect-ratio: 1 / 1;
}

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

  .site-nav {
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 0.4rem;
    background: var(--bg-deep-green);
  }

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

  .nav-link {
    justify-content: flex-start;
    padding: 0.85em 1em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-link::after {
    left: 1em;
    right: auto;
    width: 3px;
    height: auto;
    top: 0.6em;
    bottom: 0.6em;
    transform: scaleY(0);
    transform-origin: center top;
  }

  .nav-link:hover::after,
  .nav-link[aria-current="page"]::after {
    transform: scaleY(1);
  }

  .search-field {
    width: min(38vw, 200px);
  }

  .footer-shell {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

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

  .footer-bottom {
    justify-content: center;
    text-align: center;
  }

  .footer-meta {
    margin-left: 0;
  }
}

@media (max-width: 760px) {
  .header-shell {
    flex-wrap: wrap;
    row-gap: 0.6rem;
  }

  .site-brand {
    order: 1;
  }

  .nav-toggle {
    order: 2;
  }

  .site-search {
    order: 3;
    width: 100%;
  }

  .search-field {
    width: 100%;
  }

  .ticker-text {
    max-width: 50vw;
  }
}

@media (max-width: 560px) {
  .brand-name {
    font-size: 1.16rem;
  }

  .card-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }

  .tile-matrix {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  }

  .entry-row {
    grid-template-columns: 1.8rem 1fr;
  }

  .entry-status {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

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