:root {
  --c-gold: #FFD700;
  --c-red: #E60012;
  --c-bg: #0A0E1A;
  --c-panel: #1A1F2E;
  --c-neon: #00FF87;
  --c-purple: #9D4EDD;
  --c-text: #F5F5F5;
  --c-muted: #B0B8C5;
  --c-border: #D4AF37;
  --c-pale-gold: #FFF3B0;
  --font-head: "STKaiti", "KaiTi", "Kaiti SC", "DFKai-SB", "BiauKai", "FangSong", serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", "Fira Code", "SFMono-Regular", "Cascadia Code", Consolas, "Liberation Mono", monospace;
}

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

html {
  scroll-behavior: smooth;
}

@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;
  }
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--c-text);
  background-color: var(--c-bg);
  background-image:
    linear-gradient(rgba(212, 175, 55, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, 0.035) 1px, transparent 1px);
  background-size: 36px 36px;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  line-height: 1.3;
  color: var(--c-gold);
}

a {
  color: var(--c-gold);
}

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

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--c-bg);
}
::-webkit-scrollbar-thumb {
  background: var(--c-panel);
  border: 2px solid var(--c-bg);
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--c-gold);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 12px;
  z-index: 200;
  background: var(--c-gold);
  color: var(--c-bg);
  padding: 8px 16px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  border-radius: 0 0 6px 6px;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 0;
  outline: 3px solid var(--c-neon);
}

.site-header {
  position: relative;
  z-index: 80;
}

.ticker-pane {
  position: relative;
  height: 40px;
  background: #131A2C;
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
  overflow: hidden;
}

.ticker-viewport {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.ticker-track {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 32px;
  white-space: nowrap;
  will-change: transform;
}

.ticker-item {
  flex: 0 0 auto;
  color: var(--c-gold);
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  padding-right: 32px;
  position: relative;
}

.ticker-item::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  width: 5px;
  height: 5px;
  background: var(--c-red);
  transform: translateY(-50%) rotate(45deg);
}

.countdown-bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 48px;
  padding: 0 20px;
  background: var(--c-bg);
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
  overflow: hidden;
  white-space: nowrap;
}

.count-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--c-muted);
  letter-spacing: 0.06em;
  margin-right: 10px;
}

.count-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 30px;
  padding: 2px 8px;
  background: var(--c-panel);
  border: 1px solid rgba(255, 215, 0, 0.4);
  color: var(--c-gold);
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  border-radius: 4px;
  text-align: center;
}

.count-unit {
  color: var(--c-muted);
  font-size: 0.82rem;
  margin-right: 6px;
}

.side-rail {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  width: 88px;
  padding: 18px 12px;
  background: linear-gradient(180deg, #131A2C 0%, var(--c-bg) 100%);
  border-right: 1px solid rgba(212, 175, 55, 0.28);
  overflow: hidden;
  z-index: 90;
}

.brand-lockup {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 6px;
  text-decoration: none;
  border-radius: 4px;
}

.brand-glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--c-red) 0%, var(--c-gold) 130%);
  color: #FFF8D6;
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  border-radius: 6px 2px 10px 2px;
  box-shadow: 0 0 16px rgba(230, 0, 18, 0.35);
}

.brand-name {
  display: none;
  white-space: nowrap;
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--c-gold);
  letter-spacing: 0.05em;
}

.rail-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 22px;
}

.rail-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 10px;
  color: var(--c-muted);
  text-decoration: none;
  font-size: 0.95rem;
  border-left: 3px solid transparent;
  transition: background 0.25s, color 0.25s, padding-left 0.25s;
}

.rail-index {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  color: rgba(212, 175, 55, 0.65);
}

.rail-text {
  display: none;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.rail-link:hover {
  background: rgba(255, 215, 0, 0.08);
  color: var(--c-gold);
  padding-left: 16px;
}

.rail-link[aria-current="page"] {
  color: var(--c-gold);
  border-left-color: var(--c-red);
  background: linear-gradient(90deg, rgba(230, 0, 18, 0.18), transparent 65%);
  box-shadow: inset 0 0 14px rgba(230, 0, 18, 0.1);
}

.rail-meta {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
}

.rail-ver {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--c-neon);
  background: rgba(0, 255, 135, 0.1);
  border: 1px solid rgba(0, 255, 135, 0.3);
  padding: 4px 10px;
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
  writing-mode: horizontal-tb;
}

.rail-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.status-orb {
  width: 8px;
  height: 8px;
  background: var(--c-neon);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(0, 255, 135, 0.8);
  animation: statusPulse 1.6s ease-in-out infinite;
}

.status-text {
  color: var(--c-neon);
  font-size: 0.8rem;
  font-weight: 600;
}

.drawer-toggle {
  position: fixed;
  top: 0;
  left: 8px;
  width: 44px;
  height: 40px;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: rgba(10, 14, 26, 0.88);
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 0 0 8px 8px;
  cursor: pointer;
  z-index: 110;
}

.toggle-line {
  width: 20px;
  height: 2px;
  background: var(--c-gold);
  display: block;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.drawer-toggle[aria-expanded="true"] .toggle-line:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

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

.drawer-toggle[aria-expanded="true"] .toggle-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-drawer {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(84vw, 340px);
  flex-direction: column;
  padding: 20px 16px;
  background:
    radial-gradient(circle at 15% 10%, rgba(157, 78, 221, 0.18), transparent 45%),
    radial-gradient(circle at 85% 90%, rgba(230, 0, 18, 0.15), transparent 40%),
    #0D1220;
  border-right: 1px solid rgba(212, 175, 55, 0.35);
  transform: translateX(-105%);
  visibility: hidden;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.32s ease;
  z-index: 120;
}

.mobile-drawer[data-open] {
  transform: translateX(0);
  visibility: visible;
}

.drawer-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  margin-bottom: 16px;
}

.drawer-glyph {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--c-red), var(--c-gold));
  color: #FFF8D6;
  font-family: var(--font-head);
  font-size: 1.3rem;
  border-radius: 5px;
}

.drawer-brand {
  font-family: var(--font-head);
  color: var(--c-gold);
  font-size: 1rem;
  font-weight: 700;
  white-space: nowrap;
}

.drawer-close {
  margin-left: auto;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--c-muted);
  font-size: 1.2rem;
  cursor: pointer;
  border-radius: 4px;
}

.drawer-close:hover {
  background: rgba(255, 215, 0, 0.1);
  color: var(--c-gold);
}

.drawer-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 8px;
  overflow-y: auto;
}

.drawer-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 10px;
  color: var(--c-muted);
  text-decoration: none;
  font-size: 1rem;
  border-left: 3px solid transparent;
  transition: background 0.2s, color 0.2s;
}

.drawer-link:hover,
.drawer-link[aria-current="page"] {
  color: var(--c-gold);
  background: rgba(255, 215, 0, 0.07);
}

.drawer-link[aria-current="page"] {
  border-left-color: var(--c-red);
}

.drawer-index {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: rgba(212, 175, 55, 0.6);
}

.drawer-text {
  font-weight: 600;
  letter-spacing: 0.05em;
}

.drawer-foot {
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.drawer-ver {
  font-family: var(--font-mono);
  color: var(--c-neon);
  font-size: 0.9rem;
}

.drawer-mail {
  color: var(--c-muted);
  font-size: 0.85rem;
  text-decoration: none;
}

.drawer-mail:hover {
  color: var(--c-gold);
}

main#main-content {
  display: block;
  min-height: 65vh;
  padding: 64px 20px 80px;
}

.site-footer {
  margin-top: 72px;
  position: relative;
  background: linear-gradient(180deg, #0D1322 0%, #080C14 100%);
  border-top: 1px solid rgba(212, 175, 55, 0.3);
}

.site-footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--c-gold) 30%, var(--c-red) 65%, transparent 100%);
}

.footer-core {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 24px 36px;
}

.footer-brand {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.foot-glyph {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--c-red), var(--c-gold));
  color: #FFF8D6;
  font-family: var(--font-head);
  font-size: 1.8rem;
  border-radius: 8px 2px 12px 2px;
  box-shadow: 0 4px 18px rgba(230, 0, 18, 0.3);
}

.foot-brand-copy {
  min-width: 0;
}

.foot-title {
  font-family: var(--font-head);
  color: var(--c-gold);
  font-size: 1.35rem;
  font-weight: 700;
}

.foot-trust {
  color: var(--c-muted);
  font-size: 0.88rem;
  line-height: 1.65;
  margin-top: 6px;
}

.footer-nav,
.footer-legal,
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.foot-caption {
  width: 100%;
  color: var(--c-gold);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-link {
  color: var(--c-muted);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 5px 0;
  transition: color 0.2s, padding-left 0.2s;
}

.footer-link:hover {
  color: var(--c-gold);
  padding-left: 6px;
}

.footer-link[aria-current="page"] {
  color: var(--c-gold);
}

.contact-line {
  color: var(--c-muted);
  font-size: 0.95rem;
  padding: 4px 0;
}

.contact-email {
  color: var(--c-gold);
  text-decoration: none;
  word-break: break-all;
}

.contact-email:hover {
  color: var(--c-neon);
}

.contact-phone {
  font-family: var(--font-mono);
  color: var(--c-text);
}

.contact-address {
  color: var(--c-muted);
}

.contact-tip {
  color: var(--c-neon);
  font-size: 0.82rem;
  margin-top: 8px;
  padding: 4px 10px;
  background: rgba(0, 255, 135, 0.08);
  border: 1px solid rgba(0, 255, 135, 0.25);
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 24px;
  border-top: 1px solid rgba(212, 175, 55, 0.14);
}

.foot-copy,
.foot-icp,
.foot-service {
  color: #6B7483;
  font-size: 0.82rem;
}

.back-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 46px;
  height: 46px;
  background: rgba(255, 215, 0, 0.9);
  color: var(--c-bg);
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  z-index: 60;
}

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

.back-top:hover,
.back-top:focus-visible {
  background: var(--c-gold);
}

.content-shell {
  max-width: 1180px;
  margin: 0 auto;
}

.section-head {
  margin-bottom: 28px;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--c-neon);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.section-kicker::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--c-red);
  display: inline-block;
}

.section-title {
  color: var(--c-gold);
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.3;
  margin: 6px 0 0;
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.8rem 1.6rem;
  background: linear-gradient(135deg, var(--c-gold) 0%, #E8A800 100%);
  color: var(--c-bg);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  transition: filter 0.2s, transform 0.2s;
}

.btn-gold:hover,
.btn-gold:focus-visible {
  filter: brightness(1.12);
  transform: translateY(-2px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.8rem 1.6rem;
  background: transparent;
  color: var(--c-gold);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid rgba(255, 215, 0, 0.5);
  cursor: pointer;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  transition: background 0.2s, transform 0.2s;
}

.btn-ghost:hover {
  background: rgba(255, 215, 0, 0.1);
}

.btn-neon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.8rem 1.6rem;
  background: rgba(0, 255, 135, 0.1);
  color: var(--c-neon);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid rgba(0, 255, 135, 0.5);
  cursor: pointer;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  transition: background 0.2s, transform 0.2s;
}

.btn-neon:hover {
  background: rgba(0, 255, 135, 0.2);
}

.card-panel {
  background: var(--c-panel);
  border-left: 3px solid var(--c-gold);
  clip-path: polygon(14px 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
  padding: 28px;
  transition: box-shadow 0.3s, transform 0.3s;
}

.card-panel:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  transform: translateY(-3px);
}

.tag-clip {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  background: rgba(230, 0, 18, 0.85);
  color: #FFF8D6;
  font-size: 0.82rem;
  font-weight: 700;
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
  letter-spacing: 0.08em;
}

.tag-clip--gold {
  background: rgba(255, 215, 0, 0.9);
  color: var(--c-bg);
}

.tag-clip--neon {
  background: rgba(0, 255, 135, 0.85);
  color: var(--c-bg);
}

.img-frame {
  position: relative;
  background: var(--c-panel);
  border: 1px solid rgba(212, 175, 55, 0.25);
  clip-path: polygon(14px 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.img-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.08), transparent 45%);
  pointer-events: none;
  z-index: 1;
}

.img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.divider-slant {
  height: 8px;
  border: none;
  background: linear-gradient(90deg, var(--c-red) 0%, var(--c-gold) 45%, transparent 100%);
  clip-path: polygon(0 0, calc(100% - 30px) 100%, 100% 100%, 30px 0);
  opacity: 0.5;
}

.text-num {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--c-gold);
}

.num-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 30px;
  padding: 0 8px;
  background: var(--c-panel);
  border: 1px solid rgba(255, 215, 0, 0.4);
  color: var(--c-gold);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  border-radius: 4px;
}

.grid-panels {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  font-size: 0.85rem;
  color: var(--c-muted);
}

.breadcrumb a {
  color: var(--c-gold);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--c-pale-gold);
}

.breadcrumb li + li::before {
  content: '/';
  margin-right: 6px;
  color: #4A5265;
}

.prose {
  max-width: 72ch;
  color: #C9D1DE;
}

.prose p {
  margin-bottom: 1rem;
}

.accordion-panel {
  border: 1px solid rgba(212, 175, 55, 0.25);
  background: var(--c-panel);
  margin-bottom: 12px;
}

.accordion-panel__summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--c-gold);
  font-weight: 700;
}

.accordion-panel__summary::-webkit-details-marker {
  display: none;
}

.accordion-panel__summary::after {
  content: '+';
  flex: 0 0 auto;
  color: var(--c-neon);
  font-size: 1.3rem;
  transition: transform 0.25s ease;
}

.accordion-panel[open] .accordion-panel__summary::after {
  transform: rotate(45deg);
}

.accordion-panel__body {
  padding: 0 20px 18px;
  color: var(--c-muted);
  font-size: 0.95rem;
}

@keyframes statusPulse {
  0%, 100% {
    box-shadow: 0 0 4px rgba(0, 255, 135, 0.6);
    opacity: 1;
  }
  50% {
    box-shadow: 0 0 14px rgba(0, 255, 135, 0.95);
    opacity: 0.7;
  }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 768px) {
  .side-rail {
    width: 88px;
  }

  .brand-plugin {
    display: none;
  }

  body {
    padding-left: 88px;
  }

  .ticker-pane,
  .countdown-bar {
    position: fixed;
    left: 88px;
    right: 0;
    z-index: 80;
  }

  .ticker-pane {
    top: 0;
  }

  .countdown-bar {
    top: 40px;
  }

  main#main-content {
    padding: 104px 32px 72px;
  }

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

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

@media (min-width: 1024px) {
  .side-rail {
    width: 260px;
    padding: 24px 20px;
  }

  .brand-name,
  .rail-text {
    display: inline;
  }

  .rail-link {
    justify-content: flex-start;
  }

  .rail-ver {
    writing-mode: horizontal-tb;
  }

  body {
    padding-left: 260px;
  }

  .ticker-pane,
  .countdown-bar {
    left: 260px;
  }

  .footer-core {
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 36px;
  }

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

@media (max-width: 1023px) {
  .rail-link {
    justify-content: center;
  }

  .brand-name,
  .rail-text,
  .status-text {
    display: none;
  }

  .rail-ver {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    padding: 8px 4px;
  }
}

@media (max-width: 767px) {
  .side-rail {
    display: none;
  }

  .ticker-pane,
  .countdown-bar {
    position: relative;
    left: auto;
    right: auto;
  }

  .ticker-pane {
    padding-left: 52px;
  }

  .drawer-toggle {
    display: flex;
  }

  .mobile-drawer {
    display: flex;
  }

  main#main-content {
    padding: 56px 20px 72px;
  }

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

  .footer-base {
    flex-direction: column;
    align-items: flex-start;
  }

  .back-top {
    right: 14px;
    bottom: 14px;
  }
}

@media (min-width: 768px) {
  .mobile-drawer,
  .mobile-drawer[data-open] {
    display: none;
  }

  .drawer-toggle {
    display: none;
  }
}
