::-webkit-scrollbar {
    width: 1px;
}
::-webkit-scrollbar-thumb:vertical {
    color: #0077ff;
    background: #0077ff;
    border-radius: 10px;
}
main {
  animation: slideUp 0.8s ease both;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
html {
    scroll-behavior: smooth;
}
:root {
  color-scheme: dark;
  --page: #071426;
  --panel: #0d2038;
  --panel-raised: #112b48;
  --line: rgba(91, 177, 225, 0.2);
  --blue: #38bdf8;
  --blue-bright: #24b8f5;
  --blue-soft: #91dcff;
  --text: #eaf4ff;
  --muted: #a9bed3;
}

* {
  text-decoration: none;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--page);
  color: var(--text);
  font-family: "Anuphan", system-ui, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: rgba(5, 20, 39, 0.96);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(5, 20, 39, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.header-inner,
.section-inner {
  width: min(100% - 48px, 1200px);
  margin-inline: auto;
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand,
.main-nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(125, 211, 252, 0.35);
}

.brand-accent {
  color: var(--blue);
}

.main-nav {
  gap: clamp(16px, 3vw, 36px);
}

.main-nav a {
  position: relative;
  display: inline-block;
  padding-block: 8px;
  color: #c1d3e5;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.28s ease, transform 0.28s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav .home {
  color: var(--blue);
}

.main-nav a:hover {
  transform: translateY(-1px);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.main-nav .home::after {
  transform: scaleX(1);
}

.home-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(64px, 8vw, 108px) 0 76px;
  background:
    radial-gradient(ellipse at 78% 13%, rgba(0, 140, 255, 0.12), transparent 32%),
    radial-gradient(ellipse at 8% 72%, rgba(23, 115, 189, 0.1), transparent 35%),
    var(--page);
}

.home-section::before,
.home-section::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(56, 189, 248, 0.07);
  border-radius: 50%;
  pointer-events: none;
}

.home-section::before {
  top: 52px;
  right: -220px;
}

.home-section::after {
  bottom: 80px;
  left: -250px;
}

.hero-grid {
  min-height: 390px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: clamp(40px, 8vw, 112px);
}

.hero-copy {
  max-width: 600px;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.hero-copy h1 {
  margin-bottom: 16px;
  color: #f2f8ff;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.045em;
  overflow-wrap: anywhere;
}

.hero-copy h1 span {
  color: var(--blue);
}

.hero-description {
  max-width: 510px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.85;
}

.command-strip {
  width: fit-content;
  max-width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 23px;
  padding: 11px 15px;
  border: 1px solid rgba(40, 174, 231, 0.2);
  border-radius: 15px;
  background: linear-gradient(110deg, rgba(4, 19, 35, 0.88), rgba(8, 26, 45, 0.72));
  box-shadow: inset 0 1px 0 rgba(133, 215, 255, 0.06), 0 8px 24px rgba(0, 0, 0, 0.12);
}

.command-prompt {
  flex: 0 0 auto;
  color: var(--blue);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 18px;
  font-weight: 700;
}

.command-item {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  color: #a9bdcf;
  font-size: 12px;
  white-space: nowrap;
}

.command-item + .command-item {
  padding-left: 16px;
  border-left: 1px solid rgba(139, 173, 201, 0.16);
}

.command-item code {
  color: #f1f6fc;
  font-family: inherit;
  font-size: 13px;
  font-weight: 650;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.invite-button {
  min-height: 52px;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  padding: 0 21px;
  border: 1px solid rgba(146, 226, 255, 0.25);
  border-radius: 13px;
  background: linear-gradient(110deg, #21b8f3, #168ce8);
  box-shadow: 0 10px 28px rgba(12, 155, 231, 0.18);
  color: #03182c;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;

  /* เพิ่มส่วนนี้ */
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform;

  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.invite-button:hover {
  transform: translateZ(0) scale(1.03);
  box-shadow: 0 14px 34px rgba(12, 155, 231, 0.28);
  filter: brightness(1.06);
}
.discord-mark {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
}

.button-arrow {
  display: inline-block;
  margin-left: 4px;
  font-size: 20px;
  line-height: 1;
  transform: translate3d(0, 0, 0);
  will-change: transform;
  backface-visibility: hidden;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.invite-button:hover .button-arrow {
  transform: translate3d(3px, 0, 0);
}
.invite-note {
  margin: 13px 0 0;
  color: #718da8;
  font-size: 12px;
}

.server-count {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #91a9bf;
}

.server-count-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  object-fit: contain;
}

.server-count-copy {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  font-size: 12px;
  white-space: nowrap;
}

.server-count-copy strong {
  color: #d9eaf7;
  font-family: system-ui, sans-serif;
  font-size: 15px;
  font-weight: 700;
}

.profile-wrap {
  position: relative;
  width: min(100%, 430px);
  justify-self: center;
}

.profile-glow {
  position: absolute;
  inset: 8% -8%;
  z-index: -1;
  border-radius: 50%;
  background: rgba(19, 149, 227, 0.14);
  filter: blur(52px);
}

.profile-card {
  overflow: hidden;
  border: 1px solid rgba(103, 183, 231, 0.25);
  border-radius: 25px;
  background: #101d2d;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.32), 0 0 0 5px rgba(13, 75, 120, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.profile-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 72px rgba(0, 0, 0, 0.38), 0 0 0 5px rgba(13, 75, 120, 0.11);
}

.profile-cover {
  position: relative;
  height: 122px;
  overflow: hidden;
  background: linear-gradient(115deg, #164a7d, #087fb7 58%, #12659d);
}

.profile-cover::before,
.profile-cover::after {
  display: none;
}

.cover-orbit {
  display: none;
}

.cover-note {
  display: none;
}

.profile-body {
  position: relative;
  padding: 0 25px 25px;
}

.profile-avatar-wrap {
  position: relative;
  width: 112px;
  height: 112px;
  margin-top: -62px;
  margin-bottom: 12px;
  padding: 5px;
  border-radius: 50%;
  background: #101d2d;
}

.profile-avatar {
  display: block;
  width: 100%;
  height: 100%;
  border: 3px solid rgba(56, 189, 248, 0.6);
  border-radius: 50%;
  object-fit: cover;
}

.online-indicator {
  position: absolute;
  right: 1px;
  bottom: 4px;
  width: 17px;
  height: 17px;
  border: 3px solid #101d2d;
  border-radius: 50%;
  background: #43c98b;
}

.profile-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.profile-name-row h2 {
  margin: 0;
  color: #f4f8ff;
  font-size: 21px;
}

.bot-badge {
  padding: 2px 6px;
  border-radius: 6px;
  background: #27b8f0;
  color: #061a2b;
  font-family: system-ui, sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.profile-handle {
  margin: 3px 0 17px;
  color: #9aacc1;
  font-size: 12px;
}

.profile-divider {
  height: 1px;
  margin-bottom: 16px;
  background: rgba(184, 210, 233, 0.12);
}

.profile-label {
  margin-bottom: 5px;
  color: #94a9bf;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.profile-about {
  margin-bottom: 14px;
  color: #e1edf7;
  font-size: 14px;
}

.profile-about span {
  color: var(--blue);
}

.profile-status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #a8bfd3;
  font-size: 12px;
}

.profile-status span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #43c98b;
  box-shadow: 0 0 10px rgba(67, 201, 139, 0.55);
}

.profile-service-count {
  margin: 14px 0 0;
  color: #9aacc1;
  font-size: 12px;
}

.profile-service-count strong {
  color: #f1f7ff;
  font-variant-numeric: tabular-nums;
}

.profile-tags {
  display: flex;
  gap: 7px;
  margin-top: 17px;
}

.profile-tags span {
  padding: 4px 9px;
  border: 1px solid rgba(126, 169, 203, 0.15);
  border-radius: 20px;
  background: rgba(119, 162, 195, 0.08);
  color: #9ab4cc;
  font-family: system-ui, sans-serif;
  font-size: 10px;
}

.experience-block {
  padding-top: clamp(56px, 7vw, 88px);
  text-align: left;
}

.experience-eyebrow {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
}

.experience-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  max-width: 980px;
  margin: 0 auto 30px;
}

.experience-intro h2 {
  margin: 0;
  color: #f1f7ff;
  font-size: clamp(27px, 3.3vw, 40px);
  line-height: 1.3;
}

.experience-intro h2 span {
  margin-left: 0;
  color: var(--blue);
}


.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 42px;
  max-width: 1100px;
  margin-inline: auto;
  text-align: left;
}

.feature-card {
  min-width: 0;
  min-height: 118px;
  padding: 18px 0 0;
  border-top: 1px solid rgba(119, 161, 195, 0.3);
}

.feature-card-primary {
  border-top-color: var(--blue);
}

.feature-card:hover {
  border-top-color: rgba(56, 189, 248, 0.8);
}

.feature-index {
  display: block;
  margin-bottom: 14px;
  color: #91abc3;
  font-size: 10px;
  font-weight: 600;
}

.feature-card h3 {
  margin: 0 0 8px;
  color: #eaf4ff;
  font-size: 16px;
}

.feature-card p {
  max-width: 340px;
  margin: 0;
  color: #9db4c9;
  font-size: 13px;
  line-height: 1.65;
}

.top-music {
  max-width: 1100px;
  margin: 72px auto 0;
  text-align: left;
}

.top-music-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.top-music-heading h2 {
  margin: 0 0 5px;
  color: #f1f7ff;
  font-size: clamp(23px, 2.7vw, 32px);
}

.top-music-heading p {
  margin: 0;
  color: #91abc3;
  font-size: 13px;
}

.top-music-reset {
  padding-bottom: 4px;
  color: #829bb3;
  font-size: 12px;
}

.top-music-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.top-music-item {
  position: relative;
  isolation: isolate;
  min-width: 0;
  min-height: 218px;
  padding: 13px;
  overflow: hidden;
  border: 1px solid rgba(113, 210, 255, 0.3);
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.045));
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.17);
  -webkit-backdrop-filter: blur(18px) saturate(155%);
  backdrop-filter: blur(18px) saturate(155%);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.top-music-item::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(ellipse at 15% 0%, rgba(119, 205, 255, 0.13), transparent 58%),
    linear-gradient(180deg, rgba(10, 18, 28, 0.08), rgba(7, 16, 26, 0.58));
  content: "";
  pointer-events: none;
}

.top-music-backdrop {
  position: absolute;
  z-index: 0;
  inset: -14px;
  width: calc(100% + 28px);
  height: calc(100% + 28px);
  object-fit: cover;
  filter: blur(10px) brightness(0.78) saturate(1.45);
  opacity: 0.92;
  transform: scale(1.08);
  pointer-events: none;
}

.top-music-item:hover {
  transform: translateY(-3px);
  border-color: rgba(167, 226, 255, 0.62);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.17), rgba(255, 255, 255, 0.065));
}

.top-music-rank {
  position: absolute;
  z-index: 3;
  top: 21px;
  left: 21px;
  padding: 3px 7px;
  border-radius: 5px;
  background: rgba(15, 18, 25, 0.92);
  color: #f4f7fb;
  font-size: 12px;
  font-weight: 700;
}

.top-music-cover {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 11px;
  background: linear-gradient(145deg, #16456b, #0b263e);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28), 0 0 18px rgba(73, 194, 255, 0.14);
}
.top-music-cover::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(236, 248, 255, 0.19);
  border-radius: inherit;
  content: "";
  pointer-events: none;
}
.top-music-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease;
}
.top-music-item:hover .top-music-cover img {
  transform: scale(1.035);
}

.top-music-copy { position: relative; z-index: 2; min-width: 0; margin-top: 11px; text-align: center; }
.top-music-title {
  overflow: hidden;
  margin: 0 0 6px;
  color: #edf6ff;
  font-size: 14px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.top-music-artist {
  overflow: hidden;
  margin: 0 0 5px;
  color: #91abc3;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.top-music-plays {
  position: relative;
  z-index: 2;
  display: block;
  color: #9ab4ca;
  font-size: 11px;
  text-align: center;
}
.top-music-state {
  grid-column: 1 / -1;
  padding: 22px;
  border: 1px solid rgba(104, 150, 190, 0.16);
  border-radius: 12px;
  color: #91abc3;
  text-align: center;
}

.discord-contact-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: clamp(182px, 6vw, 2px);
  padding: 0 16px 12px;
  text-align: center;
}

.partnership-kicker {
  margin: 0;
  color: var(--blue);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.discord-contact-mark h2 {
  margin: 0;
  color: #eaf4ff;
  font-size: clamp(22px, 3vw, 30px);
}

.partnership-description {
  margin: 0 0 2px;
  color: #91a9bf;
  font-size: 13px;
}

.discord-contact-mark a {
  display: inline-flex;
  padding: 7px;
  border-radius: 50%;
  transition: background 0.2s ease, transform 0.2s ease;
}

.discord-contact-mark a:hover {
  background: rgba(56, 189, 248, 0.1);
  transform: scale(1.2);
}

.discord-contact-mark img {
  display: block;
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: grayscale(1) brightness(0) invert(1);
  opacity: 0.88;
}

.footer-inner {
  width: min(100% - 48px, 1200px);
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-inline: auto;
  color: #8299af;
  font-size: 12px;
}

.site-footer {
  border-top: 1px solid rgba(56, 189, 248, 0.24);
  background: #061222;
}

.footer-inner p {
  margin: 0;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 9px;
}

.footer-links a {
  color: #a9bed3;
  text-decoration: none;
  transition: color 0.2s ease;
}

footer.site-footer .footer-links a,
footer.site-footer .footer-links a:visited,
footer.site-footer .footer-links a:hover,
footer.site-footer .footer-links a:focus-visible {
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--blue);
}

:focus-visible {
  outline: 2px solid var(--blue-soft);
  outline-offset: 4px;
}

@media (max-width: 850px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 52px;
  }

  .hero-copy {
    max-width: 680px;
    margin-inline: auto;
    text-align: center;
  }

  .hero-description {
    margin-inline: auto;
  }

  .command-strip {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-description {
    margin-bottom: 24px;
  }

  .profile-wrap {
    max-width: 430px;
  }

  .top-music { margin-top: 48px; }
  .top-music-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  html {
    scroll-padding-top: 76px;
  }

  .header-inner,
  .section-inner {
    width: min(100% - 32px, 1200px);
  }

  .footer-inner {
    width: min(100% - 32px, 1200px);
    min-height: 74px;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2px 12px;
    padding-block: 17px;
  }

  .header-inner {
    min-height: 66px;
    gap: 14px;
  }

  .brand {
    gap: 7px;
    font-size: 14px;
  }

  .brand-logo {
    width: 32px;
    height: 32px;
  }

  .main-nav {
    gap: 11px;
  }

  .main-nav a {
    font-size: 11px;
  }

  .home-section {
    padding-top: 58px;
  }

  .hero-grid {
    gap: 42px;
  }

  .hero-copy h1 {
    font-size: clamp(34px, 10vw, 48px);
  }

  .hero-description {
    font-size: 14px;
  }

  .command-strip {
    gap: 9px;
    margin-bottom: 20px;
    padding: 10px 11px;
  }

  .command-item { gap: 5px; font-size: 10px; }
  .command-item + .command-item { padding-left: 9px; }
  .command-item code { font-size: 11px; }
  .command-prompt { font-size: 16px; }

  .hero-actions {
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  .profile-body {
    padding-inline: 20px;
  }

  .profile-cover {
    height: 122px;
  }

  .experience-block {
    padding-top: 82px;
  }

  .experience-intro h2 span {
    display: block;
    margin-left: 0;
  }

  .experience-intro {
    display: block;
    margin-bottom: 24px;
    text-align: center;
  }

  .experience-description {
    width: auto;
    margin: 12px auto 0;
    font-size: 14px;
  }

  .feature-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .feature-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .feature-card { min-height: 0; padding-top: 14px; }
  .feature-card h3 { font-size: 15px; }
  .feature-card p { font-size: 12px; line-height: 1.55; }
  .top-music-heading { align-items: start; flex-direction: column; gap: 7px; }
  .top-music-reset { padding: 0; }
  .top-music-list {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 1px 1px 9px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }
  .top-music-item { flex: 0 0 min(46vw, 180px); min-height: 0; padding: 10px; scroll-snap-align: start; }
  .top-music-rank { top: 18px; left: 18px; }
  .top-music-copy { margin-top: 9px; }
  .top-music-title { font-size: 12px; }
}

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

@media (max-width: 560px) {
  .header-inner {
    min-height: 0;
    flex-wrap: wrap;
    gap: 2px 12px;
    padding-block: 9px 7px;
  }

  .main-nav {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }

  .main-nav a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    padding: 7px 2px;
    font-size: 13px;
    white-space: nowrap;
  }

  .hero-actions a,
  .hero-actions button { min-height: 44px; }

  .footer-inner {
    min-height: 64px;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 4px;
    overflow: visible;
    white-space: normal;
    font-size: 10px;
  }

  .footer-inner > p { flex: initial; max-width: 100%; text-align: center; }
  .footer-links {
    flex: initial;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 6px;
    font-size: 10px;
    text-align: center;
  }
  .footer-links a { min-width: 0; overflow-wrap: anywhere; }
}

@media (max-width: 360px) {
  .header-inner { width: min(100% - 24px, 1200px); }
  .main-nav { gap: 4px; }
  .main-nav a { font-size: 12px; }
  .command-strip { width: 100%; box-sizing: border-box; justify-content: space-between; gap: 6px; padding-inline: 9px; }
  .command-item > span { display: none; }
  .command-item + .command-item { padding-left: 8px; }
}
