#langScreen {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Press Start 2P', monospace;
  overflow-y: auto;
}
#langBox {
  max-width: 820px;
  width: 94%;
  text-align: center;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
#langTitle {
  font-size: 22px;
  letter-spacing: 4px;
  background: linear-gradient(to bottom, #ff4444 0%, #cc0000 50%, #660000 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 14px rgba(255,0,0,0.8));
}
#langSubtitle {
  font-size: 8px;
  color: #888;
  letter-spacing: 2px;
}
#langGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
  width: 100%;
  margin-top: 12px;
}
.lang-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: rgba(200,0,0,0.06);
  border: 1px solid rgba(200,0,0,0.3);
  color: #f0e0e0;
  font-family: 'Press Start 2P', monospace;
  font-size: 7px;
  padding: 16px 8px;
  cursor: pointer;
  transition: all .2s;
  letter-spacing: 1px;
  min-height: 44px;
}
.lang-btn:hover {
  border-color: #ff2222;
  background: rgba(200,0,0,0.18);
  box-shadow: 0 0 12px rgba(200,0,0,0.7);
  transform: translateY(-2px);
}

@media (max-width: 480px) {
  #langTitle { font-size: 14px; letter-spacing: 2px; }
  #langGrid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
  .lang-btn { padding: 12px 6px; }
  .lang-flag { font-size: 22px; }
}

#warningScreen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #000;
  display: none;
  align-items: center;
  justify-content: center;
  font-family: 'Press Start 2P', monospace;
}
#warningScreen.visible {
  display: flex;
}

#warningBox {
  max-width: 700px;
  width: 90%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 40px 20px;
}

#warningTitle {
  font-size: 48px;
  font-family: 'Press Start 2P', monospace;
  font-style: normal;
  letter-spacing: 4px;
  background: linear-gradient(to bottom, #ff4444 0%, #cc0000 50%, #660000 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 18px rgba(255,0,0,0.9));
  text-shadow: none;
  line-height: 1.2;
}

#warningLine1 {
  font-size: 10px;
  color: #fff;
  line-height: 2.2;
  font-family: 'Press Start 2P', monospace;
}

#warningLine2 {
  font-size: 8px;
  color: #ddd;
  line-height: 2.4;
  font-family: 'Press Start 2P', monospace;
}

#warningQuestion {
  font-size: 10px;
  color: #cc0000;
  letter-spacing: 1px;
  font-family: 'Press Start 2P', monospace;
  text-shadow: 0 0 12px rgba(255,0,0,0.8);
}

#warningBtns {
  display: flex;
  gap: 80px;
  justify-content: center;
  margin-top: 8px;
}

#warnYes, #warnNo {
  font-family: 'Press Start 2P', monospace;
  font-size: 28px;
  letter-spacing: 2px;
  border: none;
  cursor: pointer;
  padding: 4px 24px;
  background: transparent;
  transition: transform .15s, filter .15s;
}

#warnYes {
  background: linear-gradient(to bottom, #ff4444 0%, #cc0000 50%, #660000 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 8px rgba(255,0,0,0.7));
}

#warnNo {
  background: linear-gradient(to bottom, #ff4444 0%, #cc0000 50%, #660000 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 8px rgba(255,0,0,0.7));
}

#warnYes:hover, #warnNo:hover {
  transform: scale(1.15);
  filter: drop-shadow(0 0 16px rgba(255,200,0,0.9));
}

#warningScreen.hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

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

@font-face {
  font-family: 'SonicFont';
  src: url('SonicFont.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

:root {
  --red:    #cc0000;
  --red2:   #ff2222;
  --dark:   #0a0000;
  --dark2:  #110000;
  --dark3:  #1a0505;
  --text:   #f0e0e0;
  --muted:  #a08080;
  --border: rgba(200,0,0,0.3);
  --glow:   0 0 12px rgba(200,0,0,0.7);
}

html {
  scroll-behavior: smooth;
  font-size: 120%;
  overflow-x: hidden;
}

body {
  background: var(--dark);
  color: var(--text);
  font-family: 'SonicFont', 'Press Start 2P', monospace;
  font-size: 12px;
  overflow-x: hidden;
}

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

* { user-select: none; -webkit-user-select: none; }

.red { color: var(--red2); }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 3px; }

#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(5,0,0,0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(6px);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-logo {
  font-size: 9px;
  white-space: nowrap;
  letter-spacing: 1px;
}


.nav-links {
  display: flex;
  list-style: none;
  gap: 16px;
  margin-left: auto;
  flex-wrap: nowrap;
}

.nav-links a {
  font-size: 7px;
  letter-spacing: 0.5px;
  color: var(--muted);
  transition: color .2s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--red2); text-shadow: var(--glow); }

.nav-burger {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 16px;
  padding: 4px 10px;
  cursor: pointer;
  margin-left: auto;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 48px; left: 0; right: 0;
  background: rgba(5,0,0,0.97);
  border-bottom: 1px solid var(--border);
  z-index: 99;
  padding: 16px 24px 24px;
  gap: 18px;
}
.mobile-menu a {
  font-size: 9px;
  color: var(--muted);
  letter-spacing: 1px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:hover { color: var(--red2); }
.mobile-menu.open { display: flex; }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-burger { display: block; }
  .nav-inner { padding: 10px 16px; gap: 12px; }
  .nav-logo { font-size: 7px; letter-spacing: 0.5px; }
  #navTimer { font-size: 6px; }
  .nav-burger { min-width: 44px; min-height: 44px; display: flex; align-items: center; justify-content: center; font-size: 18px; padding: 0 10px; }
  .mobile-menu { top: 52px; }
  .mobile-menu a { min-height: 44px; display: flex; align-items: center; font-size: 8px; }
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 60px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(ellipse at 50% 40%, rgba(150,0,0,0.25) 0%, transparent 70%), url('banner/TOOSLOW.png');
  background-size: cover;
  background-position: center 20%;
  filter: brightness(0.35) saturate(1.4);
  transform: scale(1.05);
  animation: bgBreath 8s ease-in-out infinite alternate;
  transition: background-image 0s;
}

.hero-bg.fade-banner {
  opacity: 0;
  transition: opacity 0.6s ease;
}

@keyframes bgBreath {
  from { transform: scale(1.05); filter: brightness(0.35) saturate(1.4); }
  to   { transform: scale(1.10); filter: brightness(0.40) saturate(1.6); }
}

.scanlines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px, transparent 3px,
    rgba(0,0,0,0.18) 3px, rgba(0,0,0,0.18) 4px
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
  padding: 0 20px;
}

.logo-stack {
  position: relative;
  --logo-size: 500px;
  width: var(--logo-size);
  height: var(--logo-size);
  flex-shrink: 0;
}
.logo-stack img {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.logo-ring {
  width: calc(var(--logo-size) * 1.6);
  top: calc(var(--logo-size) * -0.06);
  animation: floatRing 4s ease-in-out infinite;
  filter: drop-shadow(0 0 20px rgba(255,200,0,0.5));
}
.logo-sonic {
  width: calc(var(--logo-size) * 0.64);
  top: calc(var(--logo-size) * 0.42);
  z-index: 3;
  animation: floatSonic 4s ease-in-out infinite .3s;
  filter: drop-shadow(0 0 16px rgba(200,0,0,0.8));
}
.logo-bandana {
  width: calc(var(--logo-size) * 1.06);
  top: calc(var(--logo-size) * 0.48);
  left: 50%;
  transform: translateX(-30%);
  z-index: 2;
  animation: floatSonic 4s ease-in-out infinite .6s;
}
.logo-eyes {
  width: calc(var(--logo-size) * 0.32);
  top: calc(var(--logo-size) * 0.24);
  animation: floatSonic 4s ease-in-out infinite .7s;
}

@keyframes floatRing  { 0%,100%{transform:translateX(-50%) translateY(0)}  50%{transform:translateX(-50%) translateY(-10px)} }
@keyframes floatSonic { 0%,100%{transform:translateX(-50%) translateY(0)}  50%{transform:translateX(-50%) translateY(-7px)}  }

.hero-sub {
  font-size: 9px;
  letter-spacing: 3px;
  color: var(--muted);
  margin-top: 8px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  font-family: 'SonicFont', 'Press Start 2P', monospace;
  font-size: 9px;
  padding: 14px 28px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all .2s;
  border: 2px solid transparent;
}
.btn-red {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  box-shadow: var(--glow);
}
.btn-red:hover {
  background: var(--red2);
  box-shadow: 0 0 24px rgba(200,0,0,0.9);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-outline:hover {
  border-color: var(--red2);
  color: var(--red2);
  transform: translateY(-2px);
}

.hero-spikes {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 1;
  text-align: center;
  pointer-events: none;
}
.hero-spikes img {
  width: 100%;
  max-height: 60px;
  object-fit: cover;
  display: block;
}

.scroll-hint {
  position: absolute;
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  font-size: 12px;
  color: var(--muted);
  animation: bounce 1.8s infinite;
}
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(8px)} }

.section {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-title {
  font-size: 18px;
  letter-spacing: 4px;
  text-align: center;
  margin-bottom: 10px;
  color: var(--red2);
  text-shadow: var(--glow);
}

.section-sub {
  text-align: center;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 2px;
  margin-bottom: 48px;
}

.about-section { background: var(--dark2); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-text p {
  font-size: 9px;
  line-height: 2.2;
  color: var(--text);
  margin-bottom: 20px;
}

.about-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.about-features li {
  font-size: 8px;
  line-height: 1.8;
  color: var(--muted);
  padding-left: 4px;
  border-left: 2px solid var(--red);
  padding-left: 12px;
}

.about-slideshow {
  position: relative;
  width: 100%;
  border: 1px solid var(--border);
  box-shadow: 0 0 32px rgba(180,0,0,0.3);
  overflow: hidden;
  aspect-ratio: 16/9;
  background: #000;
}
.about-slideshow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.about-slideshow img.active {
  opacity: 1;
}
.about-slideshow img.prev {
  opacity: 0;
}

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-img { order: -1; }
}

.gallery-section { background: var(--dark); }

.char-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 16px;
}

.char-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 14px 8px;
  border: 1px solid var(--border);
  background: rgba(255,0,0,0.03);
  transition: all .2s;
  cursor: default;
}
.char-card:hover {
  border-color: var(--red2);
  background: rgba(200,0,0,0.10);
  box-shadow: var(--glow);
  transform: translateY(-3px);
}
.char-card img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  image-rendering: pixelated;
}
.char-card span {
  font-size: 6px;
  letter-spacing: 1px;
  color: var(--muted);
  text-align: center;
}
.char-card small {
  font-size: 5px;
  color: #604040;
  text-align: center;
  line-height: 1.6;
  letter-spacing: 0.5px;
}

.songs-section { background: var(--dark2); }

.song-group {
  margin-bottom: 48px;
}

.song-group-title {
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--muted);
  border-left: 3px solid var(--red);
  padding-left: 12px;
  margin-bottom: 16px;
}

.songs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 8px;
}

.song-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all .2s;
  background: rgba(255,0,0,0.03);
}
.song-card:hover {
  border-color: var(--red2);
  box-shadow: var(--glow);
  transform: translateY(-3px);
}
.song-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  filter: brightness(0.85) grayscale(0.2);
  transition: filter .2s;
}
.song-card:hover img { filter: brightness(1) grayscale(0); }
.song-card span {
  font-size: 6px;
  letter-spacing: 1px;
  color: var(--muted);
  text-align: center;
  padding: 8px 6px;
}
.song-card span {
  font-size: 6px;
  letter-spacing: 1px;
  color: var(--muted);
  text-align: center;
  padding: 0 6px 10px;
}

.updates-section { background: var(--dark); }

.updates-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 24px;
}

.update-card {
  display: flex;
  flex-direction: row;
  gap: 0;
  border: 1px solid var(--border);
  background: rgba(255,0,0,0.03);
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.update-card:hover {
  border-color: var(--red2);
  box-shadow: var(--glow);
}

.update-card img {
  width: 340px;
  max-width: 100%;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
  object-position: center;
  filter: brightness(0.95);
  transition: filter .3s;
}
.update-card:hover img { filter: brightness(1.05); }

.update-body {
  padding: 24px 28px;
  display: flex;
  align-items: center;
}
.update-body p {
  font-size: 9px;
  line-height: 2.4;
  color: var(--text);
}
.update-body strong { color: var(--red2); }

@media (max-width: 768px) {
  .update-card { flex-direction: column; }
  .update-card img { width: 100%; max-height: 200px; }
}

.download-section {
  background: linear-gradient(to bottom, var(--dark3), var(--dark));
}

.dl-cards {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.dl-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 40px;
  border: 2px solid var(--border);
  background: rgba(200,0,0,0.06);
  min-width: 260px;
  width: 100%;
  max-width: 400px;
  transition: all .2s;
}
.dl-card:hover {
  border-color: var(--red2);
  background: rgba(200,0,0,0.14);
  box-shadow: var(--glow);
  transform: translateY(-3px);
}
.dl-icon { font-size: 28px; display: flex; align-items: center; }
.dl-info { display: flex; flex-direction: column; gap: 8px; }
.dl-info strong { font-size: 10px; letter-spacing: 1px; }
.dl-info span   { font-size: 7px; color: var(--muted); }

.dl-note {
  text-align: center;
  font-size: 7px;
  color: var(--muted);
  line-height: 2;
}

.credits-section { background: var(--dark2); }

.credits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr));
  gap: 20px;
}

.credit-card {
  padding: 20px;
  border: 1px solid var(--border);
  background: rgba(255,0,0,0.03);
  transition: all .2s;
}
.credit-card:hover {
  border-color: var(--red2);
  background: rgba(200,0,0,0.08);
}
a.credit-card:hover .credit-name {
  text-shadow: var(--glow);
}
a.credit-card::after {
  content: '↗';
  position: absolute;
  top: 8px;
  right: 10px;
  font-size: 14px;
  color: var(--red);
  opacity: 0;
  transition: opacity .2s;
}
a.credit-card { position: relative; }
a.credit-card:hover::after { opacity: 1; }
.credit-name {
  font-size: 9px;
  color: var(--red2);
  margin-bottom: 8px;
  letter-spacing: 1px;
}
.credit-role {
  font-size: 7px;
  color: var(--muted);
  line-height: 2;
}

.accordion-btn {
  width: 100%;
  background: none;
  border: none;
  border-bottom: 1px solid var(--border);
  color: var(--red2);
  font-family: 'SonicFont', 'Press Start 2P', monospace;
  font-size: 18px;
  letter-spacing: 4px;
  text-align: left;
  padding: 16px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color .2s;
}
.accordion-btn:hover { color: #ff4444; text-shadow: var(--glow); }

.accordion-arrow {
  font-size: 12px;
  transition: transform 0.35s ease;
  display: inline-block;
}
.accordion-btn.open .accordion-arrow { transform: rotate(180deg); }

.accordion-body {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.45s ease, opacity 0.35s ease;
  opacity: 0;
}
.accordion-body.open {
  max-height: 9999px;
  opacity: 1;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 24px;
  text-align: center;
  background: #050000;
}
.footer-title {
  font-size: 11px;
  letter-spacing: 3px;
  margin-bottom: 16px;
}
.footer-legal {
  font-size: 7px;
  color: var(--muted);
  line-height: 2.4;
}

#gjPanel {
  margin: 24px 0 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

#gjForm {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 12px;
}

#gjUsername, #gjToken {
  font-family: 'Press Start 2P', monospace;
  font-size: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px 14px;
  outline: none;
  width: 200px;
  user-select: text;
  -webkit-user-select: text;
}
#gjUsername:focus, #gjToken:focus {
  border-color: var(--red2);
  box-shadow: var(--glow);
}

#gjSubmit, #gjLogout {
  font-family: 'Press Start 2P', monospace;
  font-size: 8px;
  background: var(--red);
  color: #fff;
  border: none;
  padding: 10px 18px;
  cursor: pointer;
  transition: background .2s, transform .1s;
}
#gjSubmit:hover, #gjLogout:hover {
  background: var(--red2);
  transform: scale(1.05);
}

#gjHelp {
  font-size: 7px;
  color: var(--muted);
  margin-top: 4px;
}

#gjConnected {
  display: flex;
  align-items: center;
  gap: 16px;
}

#gjUser {
  font-size: 9px;
  color: var(--red2);
  letter-spacing: 1px;
}

#gjStatus {
  font-size: 8px;
  color: var(--muted);
  min-height: 16px;
}

.char-card.unlocked {
  border-color: rgba(255,200,0,0.6);
  box-shadow: 0 0 16px rgba(255,200,0,0.3);
}
.char-card.unlocked img {
  filter: none !important;
}
.char-card.locked img {
  filter: grayscale(1) brightness(0.5);
}
.char-card.locked span {
  color: var(--muted);
}
.char-card.locked small {
  color: var(--muted);
  opacity: 0.8;
}

@media (max-width: 480px) {
  html { max-width: 100%; overflow-x: hidden; }
  .section { padding: 48px 0; }
  .section-inner { padding: 0 16px; }
  .section-title { font-size: 13px; letter-spacing: 2px; }
  .section-sub { font-size: 7px; margin-bottom: 28px; }

  #warningBox { gap: 16px; padding: 24px 16px; }
  #warningTitle { font-size: 24px; letter-spacing: 2px; }
  #warningLine1 { font-size: 7px; line-height: 2.0; }
  #warningLine2 { font-size: 6px; line-height: 2.2; }
  #warningQuestion { font-size: 8px; }
  #warningBtns { gap: 24px; flex-wrap: wrap; }
  #warnYes, #warnNo { font-size: 18px; padding: 8px 20px; min-height: 44px; }

  .nav-inner { padding: 10px 16px; gap: 8px; }
  .nav-logo { font-size: 6px; letter-spacing: 0; }
  #navTimer { font-size: 5px; }
  .nav-burger { min-width: 44px; min-height: 44px; display: flex; align-items: center; justify-content: center; font-size: 18px; padding: 0 8px; }
  .mobile-menu { top: 52px; }
  .mobile-menu a { min-height: 44px; display: flex; align-items: center; font-size: 8px; padding: 0; }

  .hero { padding-top: 52px; min-height: 100svh; }
  .hero-content { gap: 16px; padding: 0 16px; }
  .logo-stack { --logo-size: 260px; }
  .hero-sub { font-size: 7px; letter-spacing: 1px; margin-top: 4px; }
  .btn { font-size: 8px; padding: 12px 20px; min-height: 44px; }
  .scroll-hint { bottom: 80px; font-size: 10px; }

  .about-text p { font-size: 8px; line-height: 2.0; }
  .about-features li { font-size: 7px; }

  .char-grid { grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 10px; }
  .char-card { padding: 10px 6px; }
  .char-card img { width: 56px; height: 56px; }
  .char-card span { font-size: 5px; }
  .char-card small { font-size: 4px; }

  .accordion-btn { font-size: 13px; letter-spacing: 2px; padding: 14px 0; min-height: 44px; }

  #gjForm { flex-direction: column; align-items: center; gap: 12px; }
  #gjUsername, #gjToken { width: 100%; max-width: 280px; font-size: 7px; padding: 12px 10px; min-height: 44px; }
  #gjSubmit, #gjLogout { min-height: 44px; font-size: 7px; padding: 12px 16px; width: 100%; max-width: 280px; }
  #gjHelp { font-size: 6px; text-align: center; line-height: 2; padding: 0 8px; }
  #gjConnected { flex-direction: column; gap: 10px; text-align: center; }

  .dl-cards { flex-direction: column; align-items: stretch; }
  .dl-card { min-width: 0; width: 100%; max-width: 100%; padding: 20px 24px; gap: 16px; }
  .dl-info strong { font-size: 9px; }
  .dl-note { font-size: 6px; padding: 0 8px; }

  .credit-card { padding: 14px; }
  .credit-name { font-size: 8px; }
  .credit-role { font-size: 6px; line-height: 1.8; }

  .site-footer { padding: 32px 16px; }
  .footer-title { font-size: 9px; letter-spacing: 2px; }
  .footer-legal { font-size: 6px; line-height: 2.2; }
}

@media (min-width: 481px) and (max-width: 767px) {
  .section { padding: 56px 0; }
  .section-inner { padding: 0 20px; }
  .section-title { font-size: 15px; }

  #warningTitle { font-size: 32px; }
  #warningBtns { gap: 40px; }
  #warnYes, #warnNo { font-size: 22px; min-height: 44px; padding: 6px 20px; }

  .nav-inner { padding: 10px 20px; }
  .nav-logo { font-size: 7px; }
  #navTimer { font-size: 6px; }
  .nav-burger { min-width: 44px; min-height: 44px; display: flex; align-items: center; justify-content: center; }
  .mobile-menu { top: 52px; }
  .mobile-menu a { min-height: 44px; display: flex; align-items: center; }

  .hero { padding-top: 52px; }
  .logo-stack { --logo-size: 340px; }
  .hero-sub { font-size: 8px; }
  .btn { min-height: 44px; }

  .accordion-btn { font-size: 15px; min-height: 44px; }

  .dl-cards { flex-direction: column; align-items: center; }
  .dl-card { min-width: 0; width: 100%; max-width: 480px; padding: 20px 32px; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .logo-stack { --logo-size: 420px; }
  .credits-grid { grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); }
  .nav-inner { padding: 12px 20px; }
}

@media (min-width: 1024px) and (max-width: 1439px) {
  body { zoom: 1.1; }
  .nav-links { gap: 12px; }
  .nav-links a { font-size: 6px; letter-spacing: 0; }
  .nav-logo { font-size: 7px; }
}

@media (min-width: 1440px) {
  body { zoom: 1.4; }
}

.comments-section { background: #0a0000; }

#commentForm {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 640px;
  margin: 32px auto 0;
}

#commentForm input,
#commentForm textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(200,0,0,0.35);
  border-radius: 6px;
  color: #eee;
  font-family: 'Press Start 2P', monospace;
  font-size: 10px;
  padding: 14px 16px;
  outline: none;
  resize: vertical;
  transition: border-color .2s;
}

#commentForm input:focus,
#commentForm textarea:focus {
  border-color: #cc0000;
}

#commentForm input::placeholder,
#commentForm textarea::placeholder {
  color: #555;
}

#cmtSubmit {
  align-self: flex-end;
  background: #cc0000;
  border: none;
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  font-family: 'Press Start 2P', monospace;
  font-size: 10px;
  padding: 14px 28px;
  letter-spacing: 2px;
  transition: background .2s, transform .1s;
}

#cmtSubmit:hover  { background: #ee0000; }
#cmtSubmit:active { transform: scale(.97); }
#cmtSubmit:disabled { background: #555; cursor: not-allowed; }

#cmtStatus {
  font-size: 8px;
  text-align: center;
  min-height: 1em;
  color: #888;
}
#cmtStatus.ok  { color: #44cc44; }
#cmtStatus.err { color: #cc4444; }

