:root {
  --canvas-rgb: 16, 16, 17;
  --text-rgb: 241, 236, 229;
  --accent-rgb: 211, 133, 108;
  --canvas: rgb(var(--canvas-rgb));
  --surface: #191818;
  --surface-raised: #252222;
  --text: rgb(var(--text-rgb));
  --muted: #b6aca4;
  --accent: rgb(var(--accent-rgb));
  --accent-light: #efb29c;
  --line: rgba(var(--text-rgb), 0.16);
  color-scheme: dark;
  font-family: "Inter", "Segoe UI", sans-serif;
  background: var(--canvas);
  color: var(--text);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow: hidden;
  background: var(--canvas);
}

body::after {
  position: fixed;
  z-index: 1;
  pointer-events: none;
  content: "";
  inset: 0;
  opacity: 0.13;
  background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(255, 255, 255, 0.035) 4px);
}

.screen {
  position: relative;
  display: flex;
  height: 100vh;
  min-height: 100vh;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  padding: 30px 5vw 22px;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 50% 45%, rgba(var(--canvas-rgb), 0.38), transparent 49%),
    linear-gradient(135deg, var(--surface) 0%, var(--canvas) 50%, var(--surface) 100%);
}

.map-backdrop {
  position: absolute;
  z-index: -2;
  inset: 0;
  overflow: hidden;
  background: var(--canvas);
}

.map-backdrop::after {
  position: absolute;
  content: "";
  inset: 0;
  background:
    linear-gradient(90deg, rgba(var(--canvas-rgb), 0.42), rgba(var(--canvas-rgb), 0.25) 48%, rgba(var(--canvas-rgb), 0.42)),
    linear-gradient(0deg, rgba(var(--canvas-rgb), 0.62) 0%, rgba(var(--canvas-rgb), 0.2) 45%, rgba(var(--canvas-rgb), 0.34) 100%);
}

.map-backdrop img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.68;
  filter: saturate(0.65) contrast(1.04) brightness(1.2);
  transition: opacity 0.35s ease;
}

.background-grid {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.17;
  background-image:
    linear-gradient(rgba(var(--text-rgb), 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--text-rgb), 0.08) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at center, #000 15%, transparent 78%);
}

.glow {
  position: absolute;
  z-index: -1;
  width: 30vw;
  height: 30vw;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.11;
}

.glow--left {
  top: 26%;
  left: -18%;
  background: var(--accent);
}

.glow--right {
  right: -19%;
  bottom: 3%;
  background: var(--surface-raised);
}

.topbar,
.footer {
  z-index: 2;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.wordmark__symbol {
  display: grid;
  width: 42px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(var(--text-rgb), 0.48);
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.wordmark__name,
.classification,
.eyebrow,
.loading-label,
.footer {
  font-family: "DM Mono", Consolas, monospace;
  letter-spacing: 0.12em;
}

.wordmark__name {
  color: var(--muted);
  font-size: 11px;
}

.classification {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 9px;
}

.classification__dot,
.pulse {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(var(--accent-rgb), 0.75);
}

.content-grid {
  z-index: 2;
  display: flex;
  width: 100%;
  flex: 1;
  align-items: center;
  justify-content: center;
}

.info-panel {
  padding: 22px 20px 19px;
  border: 1px solid rgba(var(--text-rgb), 0.22);
  background: linear-gradient(145deg, rgba(var(--canvas-rgb), 0.92), rgba(var(--canvas-rgb), 0.86));
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.28);
}

.team-panel {
  position: absolute;
  z-index: 3;
  width: min(290px, 25vw);
}

.team-panel {
  top: 78px;
  left: clamp(16px, 2vw, 32px);
}

.content-grid {
  padding: 0 clamp(230px, 25vw, 320px);
}

.centerpiece {
  position: relative;
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  width: min(620px, 100%);
  padding: 20px 0 30px;
  text-align: center;
}

.logo-frame {
  position: relative;
  display: grid;
  width: clamp(170px, 17vw, 220px);
  aspect-ratio: 1;
  place-items: center;
  margin-bottom: 27px;
}

.site-logo {
  display: block;
  width: 76%;
  height: 76%;
  object-fit: contain;
  filter: drop-shadow(0 0 24px rgba(var(--text-rgb), 0.16));
  animation: logo-arrive 1.1s ease-out both;
}

.corner {
  position: absolute;
  width: 17px;
  height: 17px;
  border-color: rgba(var(--text-rgb), 0.58);
  border-style: solid;
}

.corner--tl { top: 0; left: 0; border-width: 1px 0 0 1px; }
.corner--tr { top: 0; right: 0; border-width: 1px 1px 0 0; }
.corner--bl { bottom: 0; left: 0; border-width: 0 0 1px 1px; }
.corner--br { right: 0; bottom: 0; border-width: 0 1px 1px 0; }

.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  pointer-events: none;
  border: 1px solid rgba(var(--text-rgb), 0.08);
  border-radius: 50%;
  transform: translate(-50%, -68%);
}

.orbit--outer {
  width: clamp(340px, 39vw, 520px);
  aspect-ratio: 1;
  border-style: dashed;
  animation: rotate 70s linear infinite;
}

.orbit--inner {
  width: clamp(270px, 31vw, 410px);
  aspect-ratio: 1;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 11px;
  color: var(--accent);
  font-size: 10px;
}

.eyebrow span {
  width: 20px;
  height: 1px;
  background: currentColor;
  opacity: 0.65;
}

h1 {
  margin: 0;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: clamp(34px, 4.2vw, 62px);
  font-weight: 600;
  letter-spacing: 0.09em;
  line-height: 1;
  white-space: nowrap;
}

h1 span {
  color: var(--muted);
  font-size: 0.68em;
  font-weight: 500;
}

.subtitle {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  letter-spacing: 0.03em;
}

.loading-panel {
  z-index: 2;
  width: min(540px, 100%);
  margin: 28px auto 0;
}

.loading-panel__heading,
.loading-panel__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.loading-panel__heading {
  flex-direction: column;
  gap: 10px;
  margin-bottom: 15px;
}

.loading-label {
  color: var(--muted);
  font-size: 10px;
}

.loading-state {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-size: 14px;
  text-align: center;
}

.pulse {
  width: 6px;
  height: 6px;
  animation: pulse 1.8s ease-in-out infinite;
}

.progress-track {
  height: 4px;
  overflow: hidden;
  background: rgba(var(--text-rgb), 0.12);
}

.progress-track__bar {
  display: block;
  width: 34%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent-light));
  box-shadow: 0 0 13px rgba(var(--accent-rgb), 0.48);
  animation: progress 2.8s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.progress-track--measured .progress-track__bar {
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  animation: none;
  transition: width 0.25s ease;
}

.loading-panel__footer {
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
}

.loading-dots {
  display: inline-flex;
  gap: 4px;
}

.file-progress {
  flex: 0 0 auto;
  color: var(--muted);
  font-family: "DM Mono", Consolas, monospace;
  font-size: 10px;
}

.loading-dots i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--accent);
  animation: dot 1.2s ease-in-out infinite;
}

.loading-dots i:nth-child(2) { animation-delay: 0.16s; }
.loading-dots i:nth-child(3) { animation-delay: 0.32s; }

.footer {
  position: relative;
  color: var(--muted);
  font-size: 8px;
}

.footer__version {
  margin-left: auto;
  color: var(--muted);
}

.footer__version span {
  color: var(--accent);
}

@keyframes progress {
  0% { transform: translateX(-110%); }
  55% { transform: translateX(95%); }
  100% { transform: translateX(310%); }
}

@keyframes pulse {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 1; }
}

@keyframes dot {
  0%, 60%, 100% { opacity: 0.25; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}

@keyframes rotate {
  to { transform: translate(-50%, -68%) rotate(360deg); }
}

@keyframes logo-arrive {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 840px) {
  body { overflow: auto; }
  .screen { min-height: 100vh; height: auto; overflow: visible; gap: 16px; padding: 20px 18px 16px; }
  .classification { max-width: 145px; font-size: 8px; line-height: 1.5; }
  .team-panel { position: static; width: 100%; padding: 17px 14px; }
  .team-panel { order: 1; }
  .content-grid { flex: none; order: 2; padding: 0; }
  .centerpiece { padding: 22px 0 28px; }

  .logo-frame { width: 150px; margin-bottom: 22px; }
  .orbit--outer { width: 280px; }
  .orbit--inner { width: 225px; }
  h1 { font-size: clamp(24px, 7vw, 42px); }
  .subtitle { font-size: 11px; }
  .loading-panel { margin: 20px auto 0; }
  .footer { gap: 8px; font-size: 7px; letter-spacing: 0.06em; }

}

@media (max-height: 660px) {
  .screen { padding-top: 18px; padding-bottom: 14px; }
  .team-panel { top: 68px; }
  .logo-frame { width: 160px; margin-bottom: 18px; }
  .centerpiece { padding: 8px 0 12px; }
  .loading-panel { margin-top: 18px; }
}

@media (max-width: 900px) and (min-width: 841px) {
  .screen { padding-right: 3vw; padding-left: 3vw; }
  .info-panel { padding-right: 14px; padding-left: 14px; }
  .team-panel { width: 210px; }
  .team-panel { left: 2vw; }

  .content-grid { padding: 0 220px; }

  .logo-frame { width: 150px; }
  h1 { font-size: 38px; }
}

@media (max-width: 1100px) and (min-width: 841px) {
  .info-panel { padding: 16px 14px 14px; }
  .team-panel { width: 240px; }
  .team-panel { left: 16px; }

  .content-grid { padding: 0 258px; }

  .centerpiece { width: 100%; padding: 8px 0 10px; }
  .logo-frame { width: 150px; margin-bottom: 16px; }
  .orbit--outer { width: 330px; }
  .orbit--inner { width: 260px; }
  h1 { font-size: clamp(30px, 3.8vw, 40px); }
  .subtitle { margin-top: 8px; font-size: 12px; }
  .loading-panel { width: 100%; margin-top: 18px; }
}

@media (min-width: 841px) and (max-height: 760px) {
  .team-panel { top: 72px; }

  .logo-frame { width: clamp(150px, 15vw, 190px); margin-bottom: 19px; }
  .centerpiece { padding: 8px 0 12px; }
  .loading-panel { margin-top: 18px; }
}

@media (max-width: 1100px) and (min-width: 841px) and (max-height: 760px) {
  .team-panel { top: 62px; }

  .logo-frame { width: 132px; margin-bottom: 12px; }
  .orbit--outer { width: 300px; }
  .orbit--inner { width: 235px; }
  .centerpiece { padding-top: 0; padding-bottom: 0; }
  .loading-panel { margin-top: 13px; }
}

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

/* ------------------------------------------------------------
   ICONIC v9: in-game compatibility and proportion fixes.
   Original colors, panel positions, markup and artwork retained.
   Garry's Mod's CEF 86 does not implement CSS aspect-ratio or inset.
   ------------------------------------------------------------ */
body::after,
.map-backdrop,
.map-backdrop::after,
.background-grid {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

/* Protect the site image from CEF 86's unsupported aspect-ratio property. */
.logo-frame {
  width: clamp(206px, 18vw, 276px);
  height: clamp(206px, 18vw, 276px);
  aspect-ratio: auto;
  margin-bottom: 26px;
}
.site-logo {
  width: 83%;
  height: 83%;
  /* The image must not remain invisible if the loading-page animation is paused. */
  animation: none;
  opacity: 1;
}
.orbit--outer {
  width: clamp(370px, 39vw, 560px);
  height: clamp(370px, 39vw, 560px);
  aspect-ratio: auto;
}
.orbit--inner {
  width: clamp(292px, 31vw, 450px);
  height: clamp(292px, 31vw, 450px);
  aspect-ratio: auto;
}
.background-grid {
  -webkit-mask-image: radial-gradient(ellipse at center, #000 15%, transparent 78%);
}

.topbar,
.footer { width: 100%; }
.wordmark { gap: 14px; }
.wordmark__symbol { width: 49px; height: 40px; font-size: 20px; }
.wordmark__name { font-size: 13px; }
.classification { font-size: 11px; }

.team-panel { width: clamp(285px, 22vw, 350px); }
.team-panel { top: clamp(85px, 9vh, 112px); }

.info-panel { padding: 24px 23px 21px; }

.content-grid { padding: 0 clamp(295px, 24vw, 380px); }
.centerpiece { width: min(730px, 100%); padding: 20px 0 26px; }
.eyebrow { font-size: 12px; margin-bottom: 14px; }
h1 { font-size: clamp(46px, 4.25vw, 72px); letter-spacing: 0.075em; }
.subtitle { font-size: 17px; margin-top: 16px; }
.loading-panel { width: min(610px, 100%); margin-top: 32px; }
.loading-panel__heading { flex-direction: row; margin-bottom: 15px; }
.loading-label { font-size: 12px; }
.loading-state { font-size: 16px; text-align: right; }
.progress-track { height: 5px; }
.loading-panel__footer { font-size: 13px; }
.file-progress { font-size: 12px; }
.footer { font-size: 10px; }

/* Standard GMod viewports, including 1280x720, without panel collisions. */
@media (min-width: 841px) and (max-width: 1400px) {
  .team-panel { width: clamp(240px, 22vw, 305px); }
  .info-panel { padding: 19px 19px 17px; }

  .content-grid { padding-right: 24vw; padding-left: 24vw; }
  .footer { font-size: 9px; }
}

@media (min-width: 841px) and (max-width: 1140px) {
  .team-panel { width: 240px; }
  .team-panel { left: 16px; }

  .content-grid { padding: 0 260px; }
  .logo-frame { width: 185px; height: 185px; margin-bottom: 17px; }
  .orbit--outer { width: 340px; height: 340px; }
  .orbit--inner { width: 270px; height: 270px; }
  h1 { font-size: 40px; letter-spacing: 0.045em; }
  .subtitle { font-size: 13px; }
  .loading-panel { margin-top: 22px; }
  .loading-panel__heading { flex-direction: column; }
  .loading-state { font-size: 14px; text-align: center; }
  .wordmark__name { font-size: 11px; }
}

@media (min-width: 841px) and (max-height: 780px) {
  .screen { padding-top: 20px; padding-bottom: 16px; }
  .team-panel { top: 74px; }

  .logo-frame { width: clamp(184px, 16vw, 216px); height: clamp(184px, 16vw, 216px); margin-bottom: 17px; }
  .centerpiece { padding: 8px 0 10px; }
  .eyebrow { margin-bottom: 9px; }
  .subtitle { margin-top: 11px; }
  .loading-panel { margin-top: 21px; }

}

@media (min-width: 841px) and (max-width: 1140px) and (max-height: 780px) {
  .logo-frame { width: 178px; height: 178px; }
  .orbit--outer { width: 300px; height: 300px; }
  .orbit--inner { width: 236px; height: 236px; }
  .content-grid { padding: 0 258px; }

}

/* Narrow browsers retain the existing original stacked/mobile arrangement. */
@media (max-width: 840px) {
  .screen { height: auto; min-height: 100vh; }
  .team-panel { position: static; width: 100%; }
  .content-grid { padding: 0; }
  .centerpiece { padding: 22px 0 28px; }
  .logo-frame { width: 170px; height: 170px; margin-bottom: 22px; }
  .orbit--outer { width: 300px; height: 300px; }
  .orbit--inner { width: 235px; height: 235px; }
  h1 { font-size: clamp(26px, 7.2vw, 44px); letter-spacing: 0.05em; }
  .subtitle { font-size: 13px; }
  .loading-panel { margin-top: 24px; }
  .loading-panel__heading { flex-direction: column; gap: 8px; }
  .loading-state { text-align: center; }
  .footer { gap: 8px; font-size: 8px; }
}

@media (max-width: 420px) {
  .screen { padding-right: 13px; padding-left: 13px; }
  .wordmark__name { font-size: 10px; }
  .classification { font-size: 8px; max-width: 130px; }
  h1 { font-size: 27px; }
  .footer { flex-wrap: wrap; }
}
@media (max-width: 840px) {
  /* Decorative glows extend beyond the page bounds; clip only decorations. */
  .screen { overflow: hidden; }
}

/* ------------------------------------------------------------
   v10: remove IN / ICONIC header branding and align panels closer
   to the side walls while keeping the original look.
   ------------------------------------------------------------ */
.topbar { justify-content: flex-end; }

/* The old header branding is intentionally hidden/removed. */
.wordmark { display: none !important; }

/* Move status text and side panels closer to the scene walls. */
.screen { padding-right: clamp(10px, 1.4vw, 18px); padding-left: clamp(10px, 1.4vw, 18px); }
.classification { margin-right: 2px; }
.team-panel { left: clamp(8px, 0.9vw, 16px); }

.team-panel { backdrop-filter: blur(3px); }

/* Slightly refine panel anchoring across common GMod sizes. */
@media (min-width: 841px) and (max-width: 1140px) {
  .team-panel { left: 10px; }

  .content-grid { padding: 0 252px; }
}

@media (min-width: 841px) and (max-width: 1400px) {
  .content-grid { padding-right: max(22vw, 252px); padding-left: max(22vw, 252px); }
}

@media (min-width: 841px) and (max-height: 780px) {
  .team-panel { top: 70px; }

}

@media (max-width: 840px) {
  .topbar { justify-content: center; }
}

#connection-panel {
  width: min(304px, 100%);
  padding: 12px 14px 10px;
  border: 1px solid var(--line);
  background: rgba(var(--canvas-rgb), 0.9);
}

.connection-identity {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.connection-identity .classification__dot {
  margin-top: 4px;
}

.connection-details {
  min-width: 0;
}

.connection-identity .classification {
  max-width: none;
  margin: 0;
  color: var(--accent);
  font-size: 10px;
  text-transform: uppercase;
}

.connecting-player {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  margin-top: 7px;
}

.connecting-player[hidden] {
  display: none;
}

.connecting-player__avatar,
.team-member__avatar {
  display: grid;
  flex: none;
  width: 34px;
  height: 34px;
  overflow: hidden;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--surface-raised);
  color: var(--accent-light);
  font-size: 12px;
}

.connecting-player__avatar img,
.team-member__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.connecting-player__id {
  overflow: hidden;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.server-details {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  margin-top: 9px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.server-details > div {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.server-details > div:last-child {
  text-align: right;
}

.server-details span,
.player-count-status {
  color: var(--muted);
  font: 10px/1.3 "DM Mono", Consolas, monospace;
  text-transform: uppercase;
}

.server-details strong {
  overflow: hidden;
  font: 12px/1.3 "DM Mono", Consolas, monospace;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-count-status {
  margin: 6px 0 0;
}

.player-count-status--error {
  color: var(--accent-light);
}

.info-panel.team-panel {
  width: 210px;
  padding: 11px 12px 6px;
  background: rgba(var(--canvas-rgb), 0.9);
  border-color: var(--line);
}

#team-title {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.team-list {
  display: grid;
}

.team-member {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-top: 1px solid var(--line);
}

.team-member__details {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.team-member__name,
.team-member__role {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.team-member__name {
  font-size: 13px;
}

.team-member__role {
  color: var(--muted);
  font-size: 11px;
}

.team-member__profile {
  display: grid;
  width: 26px;
  height: 28px;
  place-items: center;
  color: var(--accent-light);
  text-decoration: none;
}

.team-member__profile:hover,
.community-links a:hover {
  background: var(--surface-raised);
}

.team-member__profile:focus-visible,
.community-links a:focus-visible {
  outline: 1px solid var(--accent-light);
  outline-offset: 2px;
}

.footer {
  flex-wrap: wrap;
  gap: 8px 16px;
}

.footer__notice {
  text-transform: uppercase;
}

.community-links {
  display: flex;
  max-width: 100%;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.community-links a {
  display: grid;
  max-width: 100%;
  gap: 2px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  background: rgba(var(--canvas-rgb), 0.9);
  color: var(--text);
  font-size: 12px;
  line-height: 1.2;
  text-decoration: none;
}

.community-links__label {
  color: var(--accent-light);
  font-size: 10px;
  text-transform: uppercase;
}

.community-links__address {
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.footer__version {
  margin-left: 0;
}

@media (min-width: 841px) {
  .content-grid {
    padding-inline: clamp(228px, 18vw, 320px);
  }

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

  .footer__version {
    justify-self: end;
  }
}

@media (max-width: 840px) {
  .content-grid {
    order: 0;
  }

  .info-panel.team-panel {
    width: min(380px, 100%);
  }

  .footer {
    order: 2;
    justify-content: center;
  }
}

@media (max-width: 420px) {
  .footer__notice {
    display: none;
  }
}
