@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-latin-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-latin-500.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-latin-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  --color-bg: #081013;
  --color-text: #edf4f5;
  --color-text-muted: #a7b7bd;
  --color-primary: #46d4c8;
  --color-border: rgba(255, 255, 255, 0.16);
  --radius-sm: 6px;
  --radius-md: 8px;
  --container: min(1120px, calc(100% - 40px));
  --footer-height: 48px;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Space Grotesk", "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  height: 100%;
  overflow-y: auto;
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

@supports not (scrollbar-gutter: stable) {
  html {
    overflow-y: scroll;
  }
}

body {
  display: flex;
  flex-direction: column;
  margin: 0;
  min-height: 100vh;
  min-width: 320px;
  background:
    linear-gradient(90deg, rgba(4, 8, 10, 0.42) 0%, rgba(4, 8, 10, 0.26) 48%, rgba(4, 8, 10, 0.12) 100%),
    linear-gradient(180deg, rgba(8, 16, 19, 0.04) 0%, rgba(8, 16, 19, 0.3) 100%),
    url("../images/portal-background.webp") center / cover no-repeat fixed;
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.5;
}

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

.noscript-home {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1.2fr);
  gap: 28px clamp(28px, 6vw, 72px);
  width: var(--container);
  margin: 0 auto;
  padding: 4px 0 32px;
}

.noscript-home-header,
.noscript-home-guides,
.noscript-home-footer {
  grid-column: 1 / -1;
}

.noscript-home-header {
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
}

.noscript-home-header a {
  display: block;
  width: 152px;
}

.noscript-home-header img {
  display: block;
  width: 100%;
  height: auto;
}

.noscript-home-copy {
  align-self: center;
}

.noscript-home-copy > p:first-child {
  margin: 0 0 10px;
  color: var(--color-primary);
  font: 600 0.76rem/1.3 var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.noscript-home-copy h1 {
  margin: 0;
  color: #ffffff;
  font: 650 clamp(2.6rem, 6vw, 5rem)/0.95 var(--font-display);
  letter-spacing: -0.05em;
}

.noscript-home-copy > p:not(:first-child) {
  margin: 18px 0 0;
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

.noscript-home-copy strong {
  display: block;
  margin-top: 18px;
  padding-inline-start: 12px;
  border-inline-start: 2px solid var(--color-primary);
  color: #ffffff;
  font-size: 0.82rem;
}

.noscript-home-figure {
  display: grid;
  place-items: center;
  margin: 0;
  padding: 18px;
  border: 1px solid var(--color-border);
  border-radius: 24px;
  background: rgba(8, 16, 19, 0.72);
}

.noscript-home-figure img {
  display: block;
  width: auto;
  height: min(58dvh, 560px);
  max-width: 100%;
  object-fit: contain;
}

.noscript-home-figure figcaption {
  color: var(--color-text-muted);
  font-size: 0.72rem;
}

.noscript-home-guides {
  padding-top: 8px;
}

.noscript-home-guides h2 {
  margin: 0 0 12px;
  color: #ffffff;
  font-family: var(--font-display);
}

.noscript-home-guides ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.noscript-home-guides a {
  display: block;
  height: 100%;
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: rgba(8, 16, 19, 0.68);
}

.noscript-home-guides a:hover,
.noscript-home-guides a:focus-visible {
  border-color: var(--color-primary);
  outline: none;
}

.noscript-home-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding-top: 18px;
  border-top: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: 0.8rem;
}

main {
  flex: 1;
  width: var(--container);
  min-height: 0;
  margin: 0 auto;
  padding: 4px 0 calc(var(--footer-height) + 6px);
}

.language-gateway {
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 0;
  height: auto;
}

.entrance-page {
  min-width: 0;
}

.entrance-page main {
  padding-bottom: 12px;
}

.entrance-page .site-footer {
  position: static;
}

.language-logo {
  display: block;
  width: min(180px, 34vw);
  height: auto;
  aspect-ratio: 2 / 1;
  margin-bottom: -10px;
  object-fit: contain;
}

.language-heading {
  text-align: center;
}

.language-heading h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.35rem, 2.3vw, 2rem);
  line-height: 1.02;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  font-family: var(--font-display);
  font-weight: 650;
}

.language-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  width: 100%;
  margin-top: 5px;
}

.language-card {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: clamp(38px, calc((100dvh - 260px) / 13), 52px);
  height: auto;
  padding: 5px 10px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: rgba(8, 16, 19, 0.64);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.language-card:hover {
  border-color: rgba(70, 212, 200, 0.48);
  background: rgba(8, 16, 19, 0.74);
}

@media (min-width: 821px) {
  .entrance-page {
    height: auto;
    min-height: 100dvh;
    overflow: visible;
  }

  .language-card:nth-child(-n + 4) {
    position: sticky;
    z-index: 4;
    top: 8px;
  }
}

.language-flag {
  display: block;
  width: 38px;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border: 1px solid #000;
  border-radius: 0;
  background: transparent;
}

.language-flag img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
}

.language-copy {
  display: grid;
  min-width: 0;
  gap: 1px;
}

.language-copy strong {
  color: #ffffff;
  font-size: 0.9rem;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.language-copy small {
  color: var(--color-text-muted);
  font-size: 0.72rem;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.language-arrow {
  color: var(--color-primary);
  font-weight: 900;
}

.locale-home {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

.locale-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
}

.locale-brand {
  display: inline-flex;
  flex: 0 0 auto;
  width: clamp(220px, 24vw, 320px);
  aspect-ratio: auto;
}

.locale-brand img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.locale-language-selector {
  position: relative;
  flex: 0 0 auto;
  margin-inline-start: auto;
}

.locale-language-trigger {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 36px;
  padding: 5px 7px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: rgba(8, 16, 19, 0.68);
  color: #ffffff;
  cursor: pointer;
  font: inherit;
}

.locale-language-trigger:hover,
.locale-language-trigger:focus-visible {
  border-color: rgba(70, 212, 200, 0.7);
  outline: none;
}

.locale-language-trigger img,
.locale-language-option img {
  display: block;
  width: 26px;
  aspect-ratio: 3 / 2;
  border: 1px solid #000;
  border-radius: 0;
  object-fit: cover;
}

.locale-language-menu {
  position: absolute;
  top: calc(100% + 6px);
  inset-inline-end: 0;
  z-index: 20;
  width: min(280px, calc(100vw - 28px));
  max-height: min(560px, calc(100dvh - 118px));
  overflow-y: auto;
  padding: 4px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: rgba(8, 16, 19, 0.96);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(18px);
}

.locale-language-search {
  width: 100%;
  height: 34px;
  margin-bottom: 4px;
  padding: 6px 8px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font: inherit;
  font-size: 0.8rem;
  text-align: start;
}

.locale-language-search:focus-visible {
  border-color: rgba(70, 212, 200, 0.7);
  outline: none;
}

.locale-language-search::placeholder {
  color: var(--color-text-muted);
}

.locale-language-option {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 5px 7px;
  border-radius: 4px;
  color: var(--color-text-muted);
}

.locale-language-option-copy {
  display: grid;
  min-width: 0;
  gap: 1px;
}

.locale-language-option strong {
  color: #ffffff;
  font-size: 0.82rem;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.locale-language-option small {
  color: var(--color-text-muted);
  font-size: 0.7rem;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.locale-language-divider {
  height: 1px;
  margin: 5px 7px;
  background: var(--color-border);
}

.locale-language-empty {
  margin: 0;
  padding: 10px 7px;
  color: var(--color-text-muted);
  font-size: 0.8rem;
  text-align: start;
}

.locale-language-option:hover,
.locale-language-option:focus-visible,
.locale-language-option[aria-current="true"] {
  background: rgba(70, 212, 200, 0.14);
  color: #ffffff;
  outline: none;
}

.locale-navigation {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
  color: var(--color-text-muted);
  font-size: 0.82rem;
}

.locale-navigation a:hover,
.locale-navigation a:focus-visible {
  color: #ffffff;
}

.muscle-map-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(420px, 1.18fr);
  flex: 1;
  min-height: 0;
  align-items: stretch;
  gap: clamp(28px, 6vw, 80px);
  padding: clamp(18px, 2.5vh, 28px) 0;
}

.muscle-map-copy {
  position: relative;
  align-self: start;
  z-index: 2;
}

.muscle-map-eyebrow {
  margin: 0 0 10px;
  color: var(--color-primary);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-family: var(--font-mono);
}

.muscle-map-copy h1 {
  max-width: 560px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.7rem, 6vw, 5.4rem);
  line-height: 0.92;
  letter-spacing: -0.055em;
  font-family: var(--font-display);
  font-weight: 650;
}

.muscle-map-intro {
  max-width: 520px;
  margin: 20px 0 0;
  color: var(--color-text-muted);
  font-size: clamp(1rem, 1.6vw, 1.16rem);
}

.muscle-map-interaction-hint {
  display: flex;
  align-items: center;
  gap: 9px;
  max-width: 520px;
  margin: 14px 0 0;
  color: #d9e7e9;
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.35;
}

.muscle-map-interaction-hint::before {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.88);
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(70, 212, 200, 0.18), 0 2px 8px rgba(0, 0, 0, 0.36);
  content: "";
}

.muscle-map-view-switch {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(110px, 1fr));
  gap: 4px;
  margin-top: 20px;
  padding: 4px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: rgba(8, 16, 19, 0.72);
  backdrop-filter: blur(18px);
}

.muscle-map-view-switch button {
  min-height: 42px;
  padding: 8px 20px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--color-text-muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 750;
}

.muscle-map-view-switch button:hover,
.muscle-map-view-switch button:focus-visible {
  color: #ffffff;
  outline: none;
}

.muscle-map-view-switch button:focus-visible {
  box-shadow: 0 0 0 2px rgba(70, 212, 200, 0.72);
}

.muscle-map-view-switch button[aria-pressed="true"] {
  background: var(--color-primary);
  color: #061113;
  box-shadow: 0 8px 24px rgba(70, 212, 200, 0.2);
}

.muscle-map-summary {
  display: grid;
  gap: 3px;
  max-width: 520px;
  margin-top: 24px;
  padding: 17px 18px;
  border: 1px solid var(--color-border);
  border-inline-start: 2px solid var(--color-primary);
  border-radius: var(--radius-md);
  background: rgba(8, 16, 19, 0.7);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(18px);
}

.muscle-map-summary > span {
  color: var(--color-primary);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font-mono);
}

.muscle-map-summary > strong {
  color: #ffffff;
  font-size: 1.05rem;
}

.muscle-map-list-toggle {
  display: none;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(70, 212, 200, 0.46);
  border-radius: 50%;
  background: rgba(70, 212, 200, 0.12);
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-size: 1.25rem;
  line-height: 1;
}

.muscle-map-list-toggle:hover,
.muscle-map-list-toggle:focus-visible {
  border-color: var(--color-primary);
  background: rgba(70, 212, 200, 0.2);
  outline: none;
}

.muscle-map-list-toggle:focus-visible {
  box-shadow: 0 0 0 2px rgba(70, 212, 200, 0.4);
}

.muscle-map-muscle-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.muscle-map-muscle-list li {
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: var(--color-text-muted);
  font-size: 0.72rem;
  line-height: 1.2;
}

.muscle-map-muscle-list a {
  color: #ffffff;
  text-decoration: underline;
  text-decoration-color: rgba(70, 212, 200, 0.52);
  text-underline-offset: 2px;
}

.muscle-map-muscle-list a:hover,
.muscle-map-muscle-list a:focus-visible {
  color: #ff737b;
  text-decoration-color: rgba(255, 89, 98, 0.74);
}

.muscle-map-figure {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  align-self: stretch;
  height: 100%;
  min-width: 0;
  min-height: 0;
  margin: 0;
}

.muscle-map-figure-stage {
  position: relative;
  display: grid;
  place-items: center;
  height: min(640px, max(360px, var(--muscle-map-stage-height, calc(100dvh - 330px))));
  min-height: 0;
  padding: 8px 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 42%, rgba(70, 212, 200, 0.12), transparent 38%),
    linear-gradient(180deg, rgba(12, 27, 31, 0.76), rgba(8, 16, 19, 0.52));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.3);
  isolation: isolate;
  backdrop-filter: blur(18px);
}

.muscle-map-figure-stage::before,
.muscle-map-figure-stage::after {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(70, 212, 200, 0.16);
  border-radius: 50%;
  content: "";
}

.muscle-map-figure-stage::before {
  width: min(74%, 440px);
  aspect-ratio: 1;
}

.muscle-map-figure-stage::after {
  width: min(48%, 290px);
  aspect-ratio: 1;
}

.muscle-map-figure-stage > img {
  position: absolute;
  inset-block-start: 8px;
  inset-inline-start: 0;
  display: block;
  width: 100%;
  height: calc(100% - 16px);
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 26px 32px rgba(0, 0, 0, 0.34));
}

.muscle-map-hotspot-layer {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  width: 0;
  height: 0;
  pointer-events: none;
}

.muscle-map-hotspot-group {
  position: absolute;
  pointer-events: none;
}

.muscle-map-hotspot-group[data-muscle-hotspot="pectoralis-major"] {
  top: 18.1%;
  left: 32.62%;
  width: 34.77%;
  height: 10.94%;
}

.muscle-map-hotspot-group[data-muscle-hotspot="biceps-brachii"] {
  top: 27.6%;
  left: 24.5%;
  width: 51%;
  height: 9.8%;
}

.muscle-map-hotspot-group[data-muscle-hotspot="forearms"] {
  top: 36.6%;
  left: 16.3%;
  width: 67.4%;
  height: 14.3%;
}

.muscle-map-hotspot-group[data-muscle-hotspot="rectus-abdominis"] {
  top: 30.6%;
  left: 41.1%;
  width: 17.8%;
  height: 22.2%;
}

.muscle-map-hotspot-group[data-muscle-hotspot="external-obliques"] {
  top: 29.5%;
  left: 32.4%;
  width: 35.2%;
  height: 17.2%;
}

.muscle-map-hotspot-group[data-muscle-hotspot="quadriceps"] {
  top: 49.4%;
  left: 33.8%;
  width: 32.4%;
  height: 23%;
}

.muscle-map-hotspot-group[data-muscle-hotspot="adductors"] {
  top: 47.8%;
  left: 41.1%;
  width: 17.8%;
  height: 22.2%;
}

.muscle-map-hotspot-group[data-muscle-hotspot="tibialis-anterior"] {
  top: 69.1%;
  left: 32.8%;
  width: 34.4%;
  height: 22.7%;
}

.muscle-map-hotspot-group[data-muscle-hotspot="anterior-deltoid"] {
  top: 18.25%;
  left: 25.7%;
  width: 48.6%;
  height: 9.5%;
}

.muscle-map-hotspot-group[data-muscle-hotspot="erector-spinae"] {
  top: 16.8%;
  left: 43.1%;
  width: 13.8%;
  height: 35.8%;
}

.muscle-map-hotspot-group[data-muscle-hotspot="trapezius"] {
  top: 7.8%;
  left: 34.2%;
  width: 31.6%;
  height: 24.6%;
}

.muscle-map-hotspot-group[data-muscle-hotspot="latissimus-dorsi"] {
  top: 25.9%;
  left: 34.6%;
  width: 30.8%;
  height: 16.5%;
}

.muscle-map-hotspot-group[data-muscle-hotspot="triceps-brachii"] {
  top: 25.4%;
  left: 24.8%;
  width: 50.4%;
  height: 11.4%;
}

.muscle-map-hotspot-group[data-muscle-hotspot="posterior-deltoid"] {
  top: 19.3%;
  left: 26.4%;
  width: 47.2%;
  height: 8.8%;
}

.muscle-map-hotspot-group[data-muscle-hotspot="gluteus-maximus"] {
  top: 42.64%;
  left: 34.18%;
  width: 31.64%;
  height: 12.4%;
}

.muscle-map-hotspot-group[data-muscle-hotspot="hip-abductors"] {
  top: 39.2%;
  left: 32.2%;
  width: 35.6%;
  height: 5.6%;
  z-index: 2;
}

.muscle-map-hotspot-group[data-muscle-hotspot="hip-abductors"] .muscle-map-hotspot {
  width: max(22%, 24px);
  height: max(100%, 24px);
  clip-path: polygon(18% 0%, 80% 6%, 100% 40%, 78% 100%, 32% 84%, 0% 28%);
}

.muscle-map-hotspot-group[data-muscle-hotspot="hip-abductors"] .muscle-map-hotspot-zone-left {
  left: 11%;
}

.muscle-map-hotspot-group[data-muscle-hotspot="hip-abductors"] .muscle-map-hotspot-zone-right {
  left: 89%;
  clip-path: polygon(82% 0%, 20% 6%, 0% 40%, 22% 100%, 68% 84%, 100% 28%);
}

.muscle-map-hotspot-group[data-muscle-hotspot="hamstrings"] {
  top: 55.3%;
  left: 33.8%;
  width: 32.4%;
  height: 14.1%;
}

.muscle-map-hotspot-group[data-muscle-hotspot="calves"] {
  top: 69.7917%;
  left: 30.8594%;
  width: 38.1836%;
  height: 14.4531%;
}

.muscle-map-hotspot {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: block;
  width: max(100%, 44px);
  height: max(100%, 44px);
  border-radius: 38%;
  outline: 0;
  cursor: pointer;
  pointer-events: auto;
  touch-action: manipulation;
  transform: translate(-50%, -50%);
}

.muscle-map-hotspot:focus-visible {
  outline: 2px solid rgba(255, 103, 111, 0.92);
  outline-offset: 4px;
}

.muscle-map-hotspot::before,
.muscle-map-hotspot::after {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  content: "";
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.muscle-map-hotspot::before {
  width: 17px;
  height: 17px;
  border: 2px solid rgba(255, 255, 255, 0.88);
  background: rgba(8, 16, 19, 0.76);
  box-shadow: 0 0 0 3px rgba(70, 212, 200, 0.2), 0 2px 9px rgba(0, 0, 0, 0.48);
}

.muscle-map-hotspot::after {
  width: 6px;
  height: 6px;
  background: var(--color-primary);
  box-shadow: 0 0 8px rgba(70, 212, 200, 0.72);
}

.muscle-map-hotspot-shape {
  position: absolute;
  inset: 0;
  opacity: 0;
  filter: drop-shadow(0 0 10px rgba(255, 57, 67, 0.72));
  pointer-events: none;
  transition: opacity 180ms ease, filter 180ms ease;
}

.muscle-map-hotspot-shape::before,
.muscle-map-hotspot-shape::after {
  position: absolute;
  top: 0;
  width: 48.3%;
  height: 100%;
  background: rgba(255, 67, 76, 0.3);
  clip-path: polygon(2% 5%, 28% 0%, 61% 5%, 96% 17%, 100% 53%, 94% 76%, 73% 96%, 45% 100%, 18% 84%, 3% 61%, 0% 30%);
  content: "";
  mix-blend-mode: screen;
}

.muscle-map-hotspot-group[data-muscle-hotspot="latissimus-dorsi"] .muscle-map-hotspot {
  top: 50%;
  width: max(44.16%, 44px);
  height: max(100%, 44px);
  border-radius: 0;
  clip-path: polygon(6% 0%, 36% 2%, 60% 6%, 88% 17%, 99% 30%, 88% 44%, 71% 59%, 62% 75%, 80% 100%, 43% 90%, 26% 73%, 14% 43%, 4% 18%);
}

.muscle-map-hotspot-group[data-muscle-hotspot="trapezius"] .muscle-map-hotspot {
  width: max(100%, 44px);
  height: max(100%, 44px);
  border-radius: 0;
  clip-path: polygon(50% 0%, 65% 10%, 72% 24%, 91% 35%, 99% 42%, 88% 51%, 78% 65%, 67% 80%, 50% 100%, 33% 80%, 22% 65%, 12% 51%, 1% 42%, 9% 35%, 28% 24%, 35% 10%);
}

.muscle-map-hotspot-group[data-muscle-hotspot="erector-spinae"] .muscle-map-hotspot {
  top: 58.1%;
  width: max(100%, 44px);
  height: 26.8%;
  border-radius: 35%;
}

.muscle-map-hotspot-group[data-muscle-hotspot="biceps-brachii"] .muscle-map-hotspot {
  top: 50%;
  width: max(20.59%, 44px);
  height: max(100%, 44px);
  border-radius: 48%;
  clip-path: polygon(50% 0%, 72% 5%, 75% 15%, 94% 29%, 100% 48%, 88% 74%, 62% 100%, 31% 95%, 5% 72%, 0% 43%, 16% 14%);
}

.muscle-map-hotspot-group[data-muscle-hotspot="forearms"] .muscle-map-hotspot {
  top: 50%;
  width: max(20.18%, 44px);
  height: max(100%, 44px);
  border-radius: 44%;
  clip-path: polygon(58% 0%, 88% 5%, 100% 19%, 91% 38%, 78% 60%, 58% 82%, 47% 100%, 8% 96%, 0% 80%, 13% 55%, 27% 30%, 35% 10%);
}

.muscle-map-hotspot-group[data-muscle-hotspot="triceps-brachii"] .muscle-map-hotspot {
  top: 50%;
  width: max(20.24%, 44px);
  height: max(100%, 44px);
  border-radius: 0;
  clip-path: polygon(48% 0%, 78% 2%, 97% 7%, 100% 27%, 90% 56%, 66% 86%, 41% 100%, 17% 84%, 0% 51%, 10% 21%);
}

.muscle-map-hotspot-group[data-muscle-hotspot="quadriceps"] .muscle-map-hotspot {
  top: 50%;
  width: max(40.8%, 44px);
  height: max(100%, 44px);
  border-radius: 44%;
}

.muscle-map-hotspot-group[data-muscle-hotspot="external-obliques"] .muscle-map-hotspot {
  top: 50%;
  width: max(29.5%, 44px);
  height: max(100%, 44px);
  border-radius: 38%;
}

.muscle-map-hotspot-group[data-muscle-hotspot="adductors"] .muscle-map-hotspot {
  top: 50%;
  width: max(42.5%, 44px);
  height: max(100%, 44px);
  border-radius: 42%;
}

.muscle-map-hotspot-group[data-muscle-hotspot="tibialis-anterior"] .muscle-map-hotspot {
  top: 50%;
  width: max(30.5%, 44px);
  height: max(100%, 44px);
  border-radius: 40%;
}

.muscle-map-hotspot-group[data-muscle-hotspot="hamstrings"] .muscle-map-hotspot {
  top: 50%;
  width: max(41.6%, 44px);
  height: max(100%, 44px);
  border-radius: 44%;
}

.muscle-map-hotspot-group[data-muscle-hotspot="calves"] .muscle-map-hotspot {
  top: 50%;
  border-radius: 0;
}

.muscle-map-hotspot-group[data-muscle-hotspot="biceps-brachii"] .muscle-map-hotspot-zone-left {
  left: 10.295%;
}

.muscle-map-hotspot-group[data-muscle-hotspot="biceps-brachii"] .muscle-map-hotspot-zone-right {
  left: 89.705%;
  clip-path: polygon(50% 0%, 28% 5%, 25% 15%, 6% 29%, 0% 48%, 12% 74%, 38% 100%, 69% 95%, 95% 72%, 100% 43%, 84% 14%);
}

.muscle-map-hotspot-group[data-muscle-hotspot="forearms"] .muscle-map-hotspot-zone-left {
  left: 10.09%;
}

.muscle-map-hotspot-group[data-muscle-hotspot="forearms"] .muscle-map-hotspot-zone-right {
  left: 89.91%;
  clip-path: polygon(42% 0%, 12% 5%, 0% 19%, 9% 38%, 22% 60%, 42% 82%, 53% 100%, 92% 96%, 100% 80%, 87% 55%, 73% 30%, 65% 10%);
}

.muscle-map-hotspot-group[data-muscle-hotspot="triceps-brachii"] .muscle-map-hotspot-zone-left {
  left: 10.12%;
}

.muscle-map-hotspot-group[data-muscle-hotspot="triceps-brachii"] .muscle-map-hotspot-zone-right {
  left: 89.88%;
  clip-path: polygon(52% 0%, 22% 2%, 3% 7%, 0% 27%, 10% 56%, 34% 86%, 59% 100%, 83% 84%, 100% 51%, 90% 21%);
}

.muscle-map-hotspot-group[data-muscle-hotspot="quadriceps"] .muscle-map-hotspot-zone-left {
  left: 20.4%;
}

.muscle-map-hotspot-group[data-muscle-hotspot="quadriceps"] .muscle-map-hotspot-zone-right {
  left: 79.6%;
}

.muscle-map-hotspot-group[data-muscle-hotspot="external-obliques"] .muscle-map-hotspot-zone-left {
  left: 14.75%;
}

.muscle-map-hotspot-group[data-muscle-hotspot="external-obliques"] .muscle-map-hotspot-zone-right {
  left: 85.25%;
}

.muscle-map-hotspot-group[data-muscle-hotspot="adductors"] .muscle-map-hotspot-zone-left {
  left: 21.25%;
}

.muscle-map-hotspot-group[data-muscle-hotspot="adductors"] .muscle-map-hotspot-zone-right {
  left: 78.75%;
}

.muscle-map-hotspot-group[data-muscle-hotspot="tibialis-anterior"] .muscle-map-hotspot-zone-left {
  left: 15.25%;
}

.muscle-map-hotspot-group[data-muscle-hotspot="tibialis-anterior"] .muscle-map-hotspot-zone-right {
  left: 84.75%;
}

.muscle-map-hotspot-group[data-muscle-hotspot="hamstrings"] .muscle-map-hotspot-zone-left {
  left: 20.8%;
}

.muscle-map-hotspot-group[data-muscle-hotspot="hamstrings"] .muscle-map-hotspot-zone-right {
  left: 79.2%;
}

.muscle-map-hotspot-group[data-muscle-hotspot="calves"] .muscle-map-hotspot-zone-left {
  top: 50%;
  left: 20.7161%;
  width: max(41.4322%, 44px);
  height: max(100%, 44px);
  clip-path: polygon(20.99% 7.21%, 37.65% 0%, 53.09% 8.56%, 63.58% 0.45%, 80.25% 7.21%, 92.59% 21.62%, 100% 41.89%, 99.38% 62.61%, 91.98% 80.63%, 80.86% 93.24%, 67.9% 100%, 54.94% 92.79%, 50% 82.88%, 38.27% 90.54%, 24.69% 87.84%, 11.73% 77.03%, 2.47% 59.91%, 0% 39.64%, 5.56% 21.62%);
}

.muscle-map-hotspot-group[data-muscle-hotspot="calves"] .muscle-map-hotspot-zone-right {
  top: 49.7748%;
  left: 79.4118%;
  width: max(41.1765%, 44px);
  height: max(99.5495%, 44px);
  clip-path: polygon(6.83% 8.14%, 23.6% 0%, 48.45% 9.95%, 60.87% 1.36%, 79.5% 8.6%, 93.17% 21.72%, 100% 42.08%, 98.14% 62.44%, 90.06% 78.28%, 77.02% 89.14%, 63.98% 92.31%, 50.93% 81.9%, 42.24% 92.76%, 27.95% 100%, 14.29% 93.21%, 4.35% 79.64%, 0% 62.44%, 0% 40.72%, 4.97% 21.72%);
}

.muscle-map-hotspot-group[data-muscle-hotspot="latissimus-dorsi"] .muscle-map-hotspot-zone-left {
  left: 22.08%;
}

.muscle-map-hotspot-group[data-muscle-hotspot="latissimus-dorsi"] .muscle-map-hotspot-zone-right {
  left: 77.92%;
  clip-path: polygon(94% 0%, 64% 2%, 40% 6%, 12% 17%, 1% 30%, 12% 44%, 29% 59%, 38% 75%, 20% 100%, 57% 90%, 74% 73%, 86% 43%, 96% 18%);
}

.muscle-map-hotspot-group[data-muscle-hotspot="rectus-abdominis"] .muscle-map-hotspot {
  border-radius: 34%;
}

.muscle-map-hotspot-group[data-muscle-hotspot="gluteus-maximus"] .muscle-map-hotspot {
  width: max(47.22%, 44px);
  height: max(100%, 44px);
  border-radius: 0;
  clip-path: polygon(0% 4%, 20% 0%, 46% 5%, 70% 13%, 91% 23%, 99% 36%, 100% 58%, 94% 76%, 78% 88%, 53% 96%, 20% 100%, 7% 88%, 1% 72%, 0% 50%);
}

.muscle-map-hotspot-group[data-muscle-hotspot="gluteus-maximus"] .muscle-map-hotspot-zone-left {
  left: 23.61%;
}

.muscle-map-hotspot-group[data-muscle-hotspot="gluteus-maximus"] .muscle-map-hotspot-zone-right {
  left: 76.39%;
  clip-path: polygon(100% 4%, 80% 0%, 54% 5%, 30% 13%, 9% 23%, 1% 36%, 0% 58%, 6% 76%, 22% 88%, 47% 96%, 80% 100%, 93% 88%, 99% 72%, 100% 50%);
}

.muscle-map-hotspot-group[data-muscle-hotspot="latissimus-dorsi"] .muscle-map-hotspot-shape::before,
.muscle-map-hotspot-group[data-muscle-hotspot="latissimus-dorsi"] .muscle-map-hotspot-shape::after {
  width: 44.16%;
  background: rgba(255, 67, 76, 0.28);
  clip-path: polygon(6% 0%, 36% 2%, 60% 6%, 88% 17%, 99% 30%, 88% 44%, 71% 59%, 62% 75%, 80% 100%, 43% 90%, 26% 73%, 14% 43%, 4% 18%);
}

.muscle-map-hotspot-group[data-muscle-hotspot="trapezius"] .muscle-map-hotspot-shape::before {
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 67, 76, 0.29);
  clip-path: polygon(50% 0%, 65% 10%, 72% 24%, 91% 35%, 99% 42%, 88% 51%, 78% 65%, 67% 80%, 50% 100%, 33% 80%, 22% 65%, 12% 51%, 1% 42%, 9% 35%, 28% 24%, 35% 10%);
}

.muscle-map-hotspot-group[data-muscle-hotspot="trapezius"] .muscle-map-hotspot-shape::after {
  display: none;
}

.muscle-map-hotspot-group[data-muscle-hotspot="erector-spinae"] .muscle-map-hotspot-shape::before,
.muscle-map-hotspot-group[data-muscle-hotspot="erector-spinae"] .muscle-map-hotspot-shape::after {
  width: 35%;
  background: rgba(255, 67, 76, 0.3);
  clip-path: polygon(40% 0%, 73% 5%, 100% 22%, 92% 50%, 100% 78%, 70% 100%, 33% 95%, 9% 73%, 0% 46%, 13% 18%);
}

.muscle-map-hotspot-group[data-muscle-hotspot="biceps-brachii"] .muscle-map-hotspot-shape::before,
.muscle-map-hotspot-group[data-muscle-hotspot="biceps-brachii"] .muscle-map-hotspot-shape::after {
  width: 20.59%;
  background: rgba(255, 67, 76, 0.31);
  clip-path: polygon(50% 0%, 72% 5%, 75% 15%, 94% 29%, 100% 48%, 88% 74%, 62% 100%, 31% 95%, 5% 72%, 0% 43%, 16% 14%);
}

.muscle-map-hotspot-group[data-muscle-hotspot="forearms"] .muscle-map-hotspot-shape::before,
.muscle-map-hotspot-group[data-muscle-hotspot="forearms"] .muscle-map-hotspot-shape::after {
  top: 3%;
  width: 18%;
  height: 88%;
  background: rgba(255, 67, 76, 0.31);
  clip-path: polygon(58% 4%, 82% 0%, 96% 10%, 100% 25%, 91% 43%, 78% 61%, 63% 78%, 48% 93%, 32% 98%, 12% 92%, 0% 80%, 10% 62%, 23% 43%, 35% 25%, 44% 10%);
}

.muscle-map-hotspot-group[data-muscle-hotspot="forearms"] .muscle-map-hotspot-shape::before {
  left: 2%;
}

.muscle-map-hotspot-group[data-muscle-hotspot="forearms"] .muscle-map-hotspot-shape::after {
  right: 2%;
}

.muscle-map-hotspot-group[data-muscle-hotspot="triceps-brachii"] .muscle-map-hotspot-shape::before,
.muscle-map-hotspot-group[data-muscle-hotspot="triceps-brachii"] .muscle-map-hotspot-shape::after {
  width: 20.24%;
  background: rgba(255, 67, 76, 0.31);
  clip-path: polygon(48% 0%, 78% 2%, 97% 7%, 100% 27%, 90% 56%, 66% 86%, 41% 100%, 17% 84%, 0% 51%, 10% 21%);
}

.muscle-map-hotspot-group[data-muscle-hotspot="rectus-abdominis"] .muscle-map-hotspot-shape::before,
.muscle-map-hotspot-group[data-muscle-hotspot="rectus-abdominis"] .muscle-map-hotspot-shape::after {
  width: 46%;
  background: rgba(255, 67, 76, 0.31);
  clip-path: polygon(18% 0%, 88% 0%, 100% 12%, 91% 25%, 100% 38%, 91% 51%, 100% 65%, 88% 100%, 18% 100%, 3% 66%, 12% 51%, 3% 38%, 12% 24%, 0% 11%);
}

.muscle-map-hotspot-group[data-muscle-hotspot="external-obliques"] .muscle-map-hotspot-shape::before,
.muscle-map-hotspot-group[data-muscle-hotspot="external-obliques"] .muscle-map-hotspot-shape::after {
  top: 2%;
  width: 23.5%;
  height: 86%;
  background: rgba(255, 67, 76, 0.31);
  clip-path: polygon(12% 3%, 34% 0%, 58% 5%, 79% 14%, 96% 25%, 100% 39%, 90% 53%, 84% 68%, 78% 82%, 66% 100%, 45% 96%, 32% 85%, 24% 71%, 15% 58%, 5% 43%, 0% 25%);
}

.muscle-map-hotspot-group[data-muscle-hotspot="external-obliques"] .muscle-map-hotspot-shape::before {
  left: 7%;
}

.muscle-map-hotspot-group[data-muscle-hotspot="external-obliques"] .muscle-map-hotspot-shape::after {
  right: 7%;
}

.muscle-map-hotspot-group[data-muscle-hotspot="gluteus-maximus"] .muscle-map-hotspot-shape::before,
.muscle-map-hotspot-group[data-muscle-hotspot="gluteus-maximus"] .muscle-map-hotspot-shape::after {
  width: 47.22%;
  background: rgba(255, 67, 76, 0.31);
  clip-path: polygon(0% 4%, 20% 0%, 46% 5%, 70% 13%, 91% 23%, 99% 36%, 100% 58%, 94% 76%, 78% 88%, 53% 96%, 20% 100%, 7% 88%, 1% 72%, 0% 50%);
}

.muscle-map-hotspot-group[data-muscle-hotspot="quadriceps"] .muscle-map-hotspot-shape::before,
.muscle-map-hotspot-group[data-muscle-hotspot="quadriceps"] .muscle-map-hotspot-shape::after {
  width: 40.8%;
  background: rgba(255, 67, 76, 0.31);
  clip-path: polygon(39% 0%, 71% 6%, 94% 25%, 100% 53%, 88% 82%, 57% 100%, 26% 93%, 5% 66%, 0% 34%, 17% 9%);
}

.muscle-map-hotspot-group[data-muscle-hotspot="adductors"] .muscle-map-hotspot-shape::before,
.muscle-map-hotspot-group[data-muscle-hotspot="adductors"] .muscle-map-hotspot-shape::after {
  width: 42.5%;
  background: rgba(255, 67, 76, 0.31);
  clip-path: polygon(45% 0%, 72% 5%, 100% 31%, 91% 66%, 61% 100%, 31% 91%, 8% 63%, 0% 27%, 21% 6%);
}

.muscle-map-hotspot-group[data-muscle-hotspot="tibialis-anterior"] .muscle-map-hotspot-shape::before,
.muscle-map-hotspot-group[data-muscle-hotspot="tibialis-anterior"] .muscle-map-hotspot-shape::after {
  top: 3%;
  width: 26%;
  height: 94%;
  background: rgba(255, 67, 76, 0.31);
  clip-path: polygon(48% 0%, 70% 3%, 88% 11%, 100% 24%, 96% 39%, 84% 54%, 72% 69%, 64% 84%, 60% 100%, 45% 100%, 43% 85%, 38% 69%, 28% 54%, 12% 39%, 0% 23%, 11% 10%, 29% 3%);
}

.muscle-map-hotspot-group[data-muscle-hotspot="hamstrings"] .muscle-map-hotspot-shape::before,
.muscle-map-hotspot-group[data-muscle-hotspot="hamstrings"] .muscle-map-hotspot-shape::after {
  width: 41.6%;
  background: rgba(255, 67, 76, 0.31);
  clip-path: polygon(33% 0%, 72% 5%, 96% 27%, 100% 58%, 86% 88%, 58% 100%, 29% 94%, 8% 71%, 0% 40%, 12% 13%);
}

.muscle-map-hotspot-group[data-muscle-hotspot="calves"] .muscle-map-hotspot-shape::before {
  left: 0;
  width: 41.4322%;
  height: 100%;
  background: rgba(255, 67, 76, 0.31);
  clip-path: polygon(20.99% 7.21%, 37.65% 0%, 53.09% 8.56%, 63.58% 0.45%, 80.25% 7.21%, 92.59% 21.62%, 100% 41.89%, 99.38% 62.61%, 91.98% 80.63%, 80.86% 93.24%, 67.9% 100%, 54.94% 92.79%, 50% 82.88%, 38.27% 90.54%, 24.69% 87.84%, 11.73% 77.03%, 2.47% 59.91%, 0% 39.64%, 5.56% 21.62%);
}

.muscle-map-hotspot-group[data-muscle-hotspot="calves"] .muscle-map-hotspot-shape::after {
  top: 0;
  right: auto;
  left: 58.8235%;
  width: 41.1765%;
  height: 99.5495%;
  background: rgba(255, 67, 76, 0.31);
  clip-path: polygon(6.83% 8.14%, 23.6% 0%, 48.45% 9.95%, 60.87% 1.36%, 79.5% 8.6%, 93.17% 21.72%, 100% 42.08%, 98.14% 62.44%, 90.06% 78.28%, 77.02% 89.14%, 63.98% 92.31%, 50.93% 81.9%, 42.24% 92.76%, 27.95% 100%, 14.29% 93.21%, 4.35% 79.64%, 0% 62.44%, 0% 40.72%, 4.97% 21.72%);
  transform: none;
}

.muscle-map-hotspot-group[data-muscle-hotspot="anterior-deltoid"] .muscle-map-hotspot,
.muscle-map-hotspot-group[data-muscle-hotspot="posterior-deltoid"] .muscle-map-hotspot {
  top: 50%;
  width: max(22.8%, 44px);
  height: max(100%, 44px);
  border-radius: 44%;
}

.muscle-map-hotspot-group[data-muscle-hotspot="anterior-deltoid"] .muscle-map-hotspot-zone-left,
.muscle-map-hotspot-group[data-muscle-hotspot="posterior-deltoid"] .muscle-map-hotspot-zone-left {
  left: 11.4%;
}

.muscle-map-hotspot-group[data-muscle-hotspot="anterior-deltoid"] .muscle-map-hotspot-zone-right,
.muscle-map-hotspot-group[data-muscle-hotspot="posterior-deltoid"] .muscle-map-hotspot-zone-right {
  left: 88.6%;
}

.muscle-map-hotspot-group[data-muscle-hotspot="anterior-deltoid"] .muscle-map-hotspot-shape::before,
.muscle-map-hotspot-group[data-muscle-hotspot="anterior-deltoid"] .muscle-map-hotspot-shape::after,
.muscle-map-hotspot-group[data-muscle-hotspot="posterior-deltoid"] .muscle-map-hotspot-shape::before,
.muscle-map-hotspot-group[data-muscle-hotspot="posterior-deltoid"] .muscle-map-hotspot-shape::after {
  width: 22.8%;
  background: rgba(255, 67, 76, 0.31);
  clip-path: polygon(33% 0%, 74% 7%, 100% 36%, 91% 68%, 62% 100%, 24% 88%, 0% 56%, 7% 23%);
}

.muscle-map-hotspot-shape::before {
  left: 0;
}

.muscle-map-hotspot-shape::after {
  right: 0;
  transform: scaleX(-1);
}

.muscle-map-hotspot-card {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  z-index: 5;
  display: grid;
  gap: 2px;
  width: min(230px, calc(100vw - 48px));
  padding: 13px 14px;
  visibility: hidden;
  border: 1px solid rgba(255, 89, 98, 0.38);
  border-radius: 12px;
  background: rgba(8, 16, 19, 0.94);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.38), 0 0 26px rgba(255, 57, 67, 0.12);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -5px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
  backdrop-filter: blur(18px);
}

.muscle-map-hotspot-group[data-muscle-hotspot="tibialis-anterior"] .muscle-map-hotspot-card,
.muscle-map-hotspot-group[data-muscle-hotspot="calves"] .muscle-map-hotspot-card {
  top: auto;
  bottom: calc(100% + 14px);
  transform: translate(-50%, 5px);
}

.muscle-map-hotspot-card strong {
  color: #ffffff;
  font-size: 0.9rem;
}

.muscle-map-hotspot-card span,
.muscle-map-hotspot-card small {
  color: var(--color-text-muted);
  font-size: 0.7rem;
}

.muscle-map-hotspot-card b {
  margin-top: 6px;
  color: #ff737b;
  font-size: 0.72rem;
}

.muscle-map-hotspot-group:hover:not(.is-dismissed) .muscle-map-hotspot-shape,
.muscle-map-hotspot-group:focus-within:not(.is-dismissed) .muscle-map-hotspot-shape,
.muscle-map-hotspot-group.is-previewed .muscle-map-hotspot-shape,
.muscle-map-hotspot-group.is-list-previewed .muscle-map-hotspot-shape {
  opacity: 1;
  filter: drop-shadow(0 0 12px rgba(255, 57, 67, 0.78));
}

.muscle-map-hotspot-group:hover:not(.is-dismissed) .muscle-map-hotspot::before,
.muscle-map-hotspot-group:focus-within:not(.is-dismissed) .muscle-map-hotspot::before,
.muscle-map-hotspot-group.is-previewed .muscle-map-hotspot::before,
.muscle-map-hotspot-group.is-list-previewed .muscle-map-hotspot::before {
  border-color: #ffffff;
  box-shadow: 0 0 0 4px rgba(255, 89, 98, 0.24), 0 0 16px rgba(255, 57, 67, 0.5);
  transform: translate(-50%, -50%) scale(1.16);
}

.muscle-map-hotspot-group:hover:not(.is-dismissed) .muscle-map-hotspot::after,
.muscle-map-hotspot-group:focus-within:not(.is-dismissed) .muscle-map-hotspot::after,
.muscle-map-hotspot-group.is-previewed .muscle-map-hotspot::after,
.muscle-map-hotspot-group.is-list-previewed .muscle-map-hotspot::after {
  background: #ff737b;
  box-shadow: 0 0 10px rgba(255, 57, 67, 0.8);
}

.muscle-map-hotspot-group:hover:not(.is-dismissed) .muscle-map-hotspot-card,
.muscle-map-hotspot-group:focus-within:not(.is-dismissed) .muscle-map-hotspot-card,
.muscle-map-hotspot-group.is-previewed .muscle-map-hotspot-card,
.muscle-map-hotspot-group.is-list-previewed .muscle-map-hotspot-card {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, 0);
}

.muscle-map-hotspot-group.is-dismissed .muscle-map-hotspot-shape,
.muscle-map-hotspot-group.is-dismissed .muscle-map-hotspot-card {
  visibility: hidden;
  opacity: 0;
}

.muscle-map-figure figcaption {
  margin-top: 8px;
  color: var(--color-text-muted);
  font-size: 0.72rem;
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  .muscle-map-hotspot-shape,
  .muscle-map-hotspot-card,
  .muscle-map-hotspot::before,
  .muscle-map-hotspot::after {
    transition: none;
  }
}

.site-footer {
  position: fixed;
  bottom: 0;
  inset-inline: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  width: var(--container);
  min-height: var(--footer-height);
  margin: 0 auto;
  padding: 5px 0;
  border-top: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: 0.86rem;
  z-index: 8;
}

.footer-brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  transform: translateY(0);
}

.footer-brand img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-copyright {
  color: #ffffff;
  font-size: 0.76rem;
  line-height: 1;
}

.footer-meta {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 10px;
  min-width: 0;
}

@media (min-width: 821px) {
  body.locale-page {
    height: 100dvh;
    min-height: 100dvh;
    overflow: hidden;
  }

  body.locale-page main {
    display: flex;
    flex-direction: column;
    height: 100dvh;
    padding-bottom: calc(var(--footer-height) + 4px);
  }

  body.locale-page .locale-home {
    display: grid;
    flex: 1;
    grid-template-rows: auto minmax(0, 1fr);
    min-height: 0;
  }

  body.locale-page .muscle-map-section {
    min-height: 0;
    overflow: hidden;
    padding: clamp(10px, 1.8vh, 16px) 0 6px;
  }

  body.locale-page .muscle-map-figure-stage {
    height: clamp(180px, var(--muscle-map-stage-height, calc(100dvh - 340px)), 640px);
  }

  .footer-meta {
    position: absolute;
    inset-inline-start: 50%;
    flex: 0 1 auto;
    flex-wrap: nowrap;
    transform: translateX(-50%);
    white-space: nowrap;
  }
}

.footer-legal {
  color: var(--color-text-muted);
  font-size: 0.76rem;
  line-height: 1;
}

.footer-legal:hover,
.footer-legal:focus-visible {
  color: #ffffff;
}

.muscle-detail-page {
  min-height: 100vh;
}

.muscle-detail-main {
  width: var(--container);
  margin: 0 auto;
  padding: 4px 0 56px;
}

.muscle-detail-back {
  color: var(--color-text-muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.muscle-detail-back:hover,
.muscle-detail-back:focus-visible,
.muscle-detail-breadcrumb a:hover,
.muscle-detail-breadcrumb a:focus-visible {
  color: #ffffff;
}

.muscle-detail-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 18px 0 10px;
  color: var(--color-text-muted);
  font-size: 0.76rem;
}

.muscle-detail-breadcrumb a {
  color: var(--color-primary);
}

.muscle-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: clamp(32px, 7vw, 88px);
  min-height: min(680px, calc(100dvh - 150px));
  padding: clamp(26px, 5vh, 54px) 0;
}

.muscle-detail-hero-copy {
  max-width: 650px;
}

.muscle-detail-eyebrow,
.muscle-detail-section-label {
  margin: 0 0 10px;
  color: var(--color-primary);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-family: var(--font-mono);
}

.muscle-detail-hero h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(3.1rem, 7vw, 6.6rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
  font-family: var(--font-display);
  font-weight: 650;
}

.muscle-detail-anatomical-name {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  font-style: italic;
}

.muscle-detail-summary {
  max-width: 600px;
  margin: 24px 0 0;
  color: var(--color-text-muted);
  font-size: clamp(1rem, 1.7vw, 1.2rem);
}

.muscle-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.muscle-detail-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
}

.muscle-detail-primary-action {
  border-color: rgba(70, 212, 200, 0.7) !important;
  background: var(--color-primary);
  color: #061012;
}

.muscle-detail-secondary-action {
  background: rgba(8, 16, 19, 0.68);
  color: #ffffff;
}

.muscle-detail-actions a:hover,
.muscle-detail-actions a:focus-visible {
  transform: translateY(-1px);
}

.muscle-detail-figure {
  display: grid;
  justify-items: center;
  margin: 0;
}

.muscle-detail-figure-stage {
  position: relative;
  height: min(58dvh, 520px);
  min-height: 400px;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  background:
    radial-gradient(circle at 50% 25%, rgba(70, 212, 200, 0.16), transparent 32%),
    linear-gradient(180deg, rgba(12, 27, 31, 0.82), rgba(8, 16, 19, 0.62));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
}

.muscle-detail-figure-stage img {
  position: absolute;
  inset: 10px 0;
  display: block;
  width: 100%;
  height: calc(100% - 20px);
  object-fit: contain;
  filter: drop-shadow(0 22px 30px rgba(0, 0, 0, 0.32));
}

.muscle-detail-marker {
  position: absolute;
  inset: 10px 6.6667px;
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 0 9px rgba(255, 45, 58, 0.58));
}

.muscle-detail-marker::before,
.muscle-detail-marker::after {
  position: absolute;
  background: linear-gradient(180deg, rgba(255, 92, 99, 0.5), rgba(238, 48, 61, 0.42));
  content: "";
  mix-blend-mode: multiply;
}

.muscle-detail-marker[data-muscle-marker="pectoralis-major"]::before,
.muscle-detail-marker[data-muscle-marker="pectoralis-major"]::after {
  top: 18.1%;
  width: 16.79%;
  height: 10.94%;
  clip-path: polygon(2% 5%, 28% 0%, 61% 5%, 96% 17%, 100% 53%, 94% 76%, 73% 96%, 45% 100%, 18% 84%, 3% 61%, 0% 30%);
}

.muscle-detail-marker[data-muscle-marker="pectoralis-major"]::before {
  left: 32.62%;
}

.muscle-detail-marker[data-muscle-marker="pectoralis-major"]::after {
  right: 32.61%;
  transform: scaleX(-1);
}

.muscle-detail-marker[data-muscle-marker="anterior-deltoid"]::before,
.muscle-detail-marker[data-muscle-marker="anterior-deltoid"]::after {
  top: 18.25%;
  width: 11.08%;
  height: 9.5%;
  clip-path: polygon(33% 0%, 74% 7%, 100% 36%, 91% 68%, 62% 100%, 24% 88%, 0% 56%, 7% 23%);
}

.muscle-detail-marker[data-muscle-marker="anterior-deltoid"]::before {
  left: 25.7%;
}

.muscle-detail-marker[data-muscle-marker="anterior-deltoid"]::after {
  right: 25.7%;
  transform: scaleX(-1);
}

.muscle-detail-marker[data-muscle-marker="biceps-brachii"]::before,
.muscle-detail-marker[data-muscle-marker="biceps-brachii"]::after {
  top: 27.6%;
  width: 10.5%;
  height: 9.8%;
  clip-path: polygon(50% 0%, 72% 5%, 75% 15%, 94% 29%, 100% 48%, 88% 74%, 62% 100%, 31% 95%, 5% 72%, 0% 43%, 16% 14%);
}

.muscle-detail-marker[data-muscle-marker="biceps-brachii"]::before {
  left: 24.5%;
}

.muscle-detail-marker[data-muscle-marker="biceps-brachii"]::after {
  right: 24.5%;
  transform: scaleX(-1);
}

.muscle-detail-marker[data-muscle-marker="forearms"]::before,
.muscle-detail-marker[data-muscle-marker="forearms"]::after {
  top: 36.6%;
  width: 13.6%;
  height: 14.3%;
  clip-path: polygon(58% 0%, 88% 5%, 100% 19%, 91% 38%, 78% 60%, 58% 82%, 47% 100%, 8% 96%, 0% 80%, 13% 55%, 27% 30%, 35% 10%);
}

.muscle-detail-marker[data-muscle-marker="forearms"]::before {
  left: 16.3%;
}

.muscle-detail-marker[data-muscle-marker="forearms"]::after {
  right: 16.3%;
  transform: scaleX(-1);
}

.muscle-detail-marker[data-muscle-marker="rectus-abdominis"]::before,
.muscle-detail-marker[data-muscle-marker="rectus-abdominis"]::after {
  top: 30.6%;
  width: 8.19%;
  height: 22.2%;
  clip-path: polygon(18% 0%, 88% 0%, 100% 12%, 91% 25%, 100% 38%, 91% 51%, 100% 65%, 88% 100%, 18% 100%, 3% 66%, 12% 51%, 3% 38%, 12% 24%, 0% 11%);
}

.muscle-detail-marker[data-muscle-marker="rectus-abdominis"]::before {
  left: 41.1%;
}

.muscle-detail-marker[data-muscle-marker="rectus-abdominis"]::after {
  right: 41.1%;
  transform: scaleX(-1);
}

.muscle-detail-marker[data-muscle-marker="external-obliques"]::before,
.muscle-detail-marker[data-muscle-marker="external-obliques"]::after {
  top: 29.5%;
  width: 10.38%;
  height: 17.2%;
  clip-path: polygon(48% 0%, 100% 18%, 91% 45%, 100% 72%, 64% 100%, 24% 89%, 0% 62%, 13% 30%);
}

.muscle-detail-marker[data-muscle-marker="external-obliques"]::before {
  left: 32.4%;
}

.muscle-detail-marker[data-muscle-marker="external-obliques"]::after {
  right: 32.4%;
  transform: scaleX(-1);
}

.muscle-detail-marker[data-muscle-marker="quadriceps"]::before,
.muscle-detail-marker[data-muscle-marker="quadriceps"]::after {
  top: 49.4%;
  width: 13.22%;
  height: 23%;
  clip-path: polygon(39% 0%, 71% 6%, 94% 25%, 100% 53%, 88% 82%, 57% 100%, 26% 93%, 5% 66%, 0% 34%, 17% 9%);
}

.muscle-detail-marker[data-muscle-marker="quadriceps"]::before {
  left: 33.8%;
}

.muscle-detail-marker[data-muscle-marker="quadriceps"]::after {
  right: 33.8%;
  transform: scaleX(-1);
}

.muscle-detail-marker[data-muscle-marker="adductors"]::before,
.muscle-detail-marker[data-muscle-marker="adductors"]::after {
  top: 47.8%;
  width: 7.57%;
  height: 22.2%;
  clip-path: polygon(45% 0%, 72% 5%, 100% 31%, 91% 66%, 61% 100%, 31% 91%, 8% 63%, 0% 27%, 21% 6%);
}

.muscle-detail-marker[data-muscle-marker="adductors"]::before {
  left: 41.1%;
}

.muscle-detail-marker[data-muscle-marker="adductors"]::after {
  right: 41.1%;
  transform: scaleX(-1);
}

.muscle-detail-marker[data-muscle-marker="tibialis-anterior"]::before,
.muscle-detail-marker[data-muscle-marker="tibialis-anterior"]::after {
  top: 69.1%;
  width: 10.49%;
  height: 22.7%;
  clip-path: polygon(44% 0%, 70% 6%, 88% 27%, 100% 58%, 78% 100%, 45% 95%, 16% 78%, 0% 44%, 18% 13%);
}

.muscle-detail-marker[data-muscle-marker="tibialis-anterior"]::before {
  left: 32.8%;
}

.muscle-detail-marker[data-muscle-marker="tibialis-anterior"]::after {
  right: 32.8%;
  transform: scaleX(-1);
}

.muscle-detail-marker[data-muscle-marker="triceps-brachii"]::before,
.muscle-detail-marker[data-muscle-marker="triceps-brachii"]::after {
  top: 25.4%;
  width: 10.2%;
  height: 11.4%;
  clip-path: polygon(48% 0%, 78% 2%, 97% 7%, 100% 27%, 90% 56%, 66% 86%, 41% 100%, 17% 84%, 0% 51%, 10% 21%);
}

.muscle-detail-marker[data-muscle-marker="triceps-brachii"]::before {
  left: 24.8%;
}

.muscle-detail-marker[data-muscle-marker="triceps-brachii"]::after {
  right: 24.8%;
  transform: scaleX(-1);
}

.muscle-detail-marker[data-muscle-marker="erector-spinae"]::before,
.muscle-detail-marker[data-muscle-marker="erector-spinae"]::after {
  top: 16.8%;
  width: 4.83%;
  height: 35.8%;
  clip-path: polygon(40% 0%, 73% 5%, 100% 22%, 92% 50%, 100% 78%, 70% 100%, 33% 95%, 9% 73%, 0% 46%, 13% 18%);
}

.muscle-detail-marker[data-muscle-marker="erector-spinae"]::before {
  left: 43.1%;
}

.muscle-detail-marker[data-muscle-marker="erector-spinae"]::after {
  right: 43.1%;
  transform: scaleX(-1);
}

.muscle-detail-marker[data-muscle-marker="trapezius"]::before {
  top: 7.8%;
  left: 34.2%;
  width: 31.6%;
  height: 24.6%;
  clip-path: polygon(50% 0%, 65% 10%, 72% 24%, 91% 35%, 99% 42%, 88% 51%, 78% 65%, 67% 80%, 50% 100%, 33% 80%, 22% 65%, 12% 51%, 1% 42%, 9% 35%, 28% 24%, 35% 10%);
}

.muscle-detail-marker[data-muscle-marker="trapezius"]::after {
  display: none;
}

.muscle-detail-marker[data-muscle-marker="latissimus-dorsi"]::before,
.muscle-detail-marker[data-muscle-marker="latissimus-dorsi"]::after {
  top: 25.9%;
  width: 13.6%;
  height: 16.5%;
  clip-path: polygon(6% 0%, 36% 2%, 60% 6%, 88% 17%, 99% 30%, 88% 44%, 71% 59%, 62% 75%, 80% 100%, 43% 90%, 26% 73%, 14% 43%, 4% 18%);
}

.muscle-detail-marker[data-muscle-marker="latissimus-dorsi"]::before {
  left: 34.6%;
}

.muscle-detail-marker[data-muscle-marker="latissimus-dorsi"]::after {
  right: 34.6%;
  transform: scaleX(-1);
}

.muscle-detail-marker[data-muscle-marker="gluteus-maximus"]::before,
.muscle-detail-marker[data-muscle-marker="gluteus-maximus"]::after {
  top: 42.64%;
  width: 14.94%;
  height: 12.4%;
  clip-path: polygon(0% 4%, 20% 0%, 46% 5%, 70% 13%, 91% 23%, 99% 36%, 100% 58%, 94% 76%, 78% 88%, 53% 96%, 20% 100%, 7% 88%, 1% 72%, 0% 50%);
}

.muscle-detail-marker[data-muscle-marker="hip-abductors"]::before,
.muscle-detail-marker[data-muscle-marker="hip-abductors"]::after {
  top: 39.2%;
  width: 7.83%;
  height: 5.6%;
  clip-path: polygon(18% 0%, 80% 6%, 100% 40%, 78% 100%, 32% 84%, 0% 28%);
}

.muscle-detail-marker[data-muscle-marker="hip-abductors"]::before {
  left: 32.2%;
}

.muscle-detail-marker[data-muscle-marker="hip-abductors"]::after {
  right: 32.2%;
  transform: scaleX(-1);
}

.muscle-detail-marker[data-muscle-marker="gluteus-maximus"]::before {
  left: 34.18%;
}

.muscle-detail-marker[data-muscle-marker="gluteus-maximus"]::after {
  right: 34.18%;
  transform: scaleX(-1);
}

.muscle-detail-marker[data-muscle-marker="hamstrings"]::before,
.muscle-detail-marker[data-muscle-marker="hamstrings"]::after {
  top: 55.3%;
  width: 13.48%;
  height: 14.1%;
  clip-path: polygon(33% 0%, 72% 5%, 96% 27%, 100% 58%, 86% 88%, 58% 100%, 29% 94%, 8% 71%, 0% 40%, 12% 13%);
}

.muscle-detail-marker[data-muscle-marker="hamstrings"]::before {
  left: 33.8%;
}

.muscle-detail-marker[data-muscle-marker="hamstrings"]::after {
  right: 33.8%;
  transform: scaleX(-1);
}

.muscle-detail-marker[data-muscle-marker="calves"]::before {
  top: 69.7917%;
  left: 30.8594%;
  width: 15.8203%;
  height: 14.4531%;
  clip-path: polygon(20.99% 7.21%, 37.65% 0%, 53.09% 8.56%, 63.58% 0.45%, 80.25% 7.21%, 92.59% 21.62%, 100% 41.89%, 99.38% 62.61%, 91.98% 80.63%, 80.86% 93.24%, 67.9% 100%, 54.94% 92.79%, 50% 82.88%, 38.27% 90.54%, 24.69% 87.84%, 11.73% 77.03%, 2.47% 59.91%, 0% 39.64%, 5.56% 21.62%);
}

.muscle-detail-marker[data-muscle-marker="calves"]::after {
  top: 69.7917%;
  right: auto;
  left: 53.3203%;
  width: 15.7227%;
  height: 14.388%;
  clip-path: polygon(6.83% 8.14%, 23.6% 0%, 48.45% 9.95%, 60.87% 1.36%, 79.5% 8.6%, 93.17% 21.72%, 100% 42.08%, 98.14% 62.44%, 90.06% 78.28%, 77.02% 89.14%, 63.98% 92.31%, 50.93% 81.9%, 42.24% 92.76%, 27.95% 100%, 14.29% 93.21%, 4.35% 79.64%, 0% 62.44%, 0% 40.72%, 4.97% 21.72%);
  transform: none;
}

.muscle-detail-figure figcaption {
  margin-top: 9px;
  color: var(--color-text-muted);
  font-size: 0.72rem;
}

.muscle-detail-facts {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  background: rgba(8, 16, 19, 0.7);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.muscle-detail-facts h2 {
  margin: 0 0 20px;
  color: #ffffff;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-family: var(--font-display);
  font-weight: 650;
}

.muscle-detail-fact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
}

.muscle-detail-fact-grid div {
  min-height: 104px;
  padding: 17px;
  background: rgba(8, 16, 19, 0.9);
}

.muscle-detail-fact-grid dt {
  color: var(--color-text-muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--font-mono);
}

.muscle-detail-fact-grid dd {
  margin: 8px 0 0;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
}

.muscle-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  align-items: start;
  gap: clamp(30px, 6vw, 72px);
  padding: clamp(50px, 8vw, 90px) 0;
}

.muscle-detail-content {
  display: grid;
  gap: 20px;
}

.muscle-detail-section {
  scroll-margin-top: 24px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: rgba(8, 16, 19, 0.66);
  backdrop-filter: blur(16px);
}

.muscle-detail-section h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-family: var(--font-display);
  font-weight: 650;
}

.muscle-detail-section > p:not(.muscle-detail-section-label) {
  max-width: 760px;
  margin: 16px 0 0;
  color: var(--color-text-muted);
}

.muscle-detail-part-grid,
.muscle-detail-function-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.muscle-detail-part-grid article,
.muscle-detail-function-grid article {
  padding: 19px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.muscle-detail-part-grid article > p {
  margin: 0 0 7px;
  color: var(--color-primary);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.muscle-detail-part-grid h3,
.muscle-detail-function-grid h3 {
  margin: 0;
  color: #ffffff;
  font-size: 1rem;
}

.muscle-detail-part-grid span,
.muscle-detail-function-grid p {
  display: block;
  margin: 7px 0 0;
  color: var(--color-text-muted);
  font-size: 0.82rem;
}

.muscle-detail-section .muscle-detail-reference-note {
  padding: 12px 14px;
  border-inline-start: 2px solid var(--color-primary);
  background: rgba(70, 212, 200, 0.07);
  font-size: 0.78rem;
}

.muscle-detail-function-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.muscle-detail-empty-state {
  margin-top: 24px;
  padding: 22px;
  border: 1px dashed rgba(70, 212, 200, 0.38);
  border-radius: 14px;
  background: rgba(70, 212, 200, 0.06);
}

.muscle-detail-empty-state strong {
  color: #ffffff;
}

.muscle-detail-empty-state p {
  margin: 6px 0 0;
  color: var(--color-text-muted);
  font-size: 0.84rem;
}

.muscle-detail-sidebar {
  position: sticky;
  top: 22px;
  display: grid;
  gap: 14px;
}

.muscle-detail-sidebar nav,
.muscle-detail-sidebar section {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(8, 16, 19, 0.74);
  backdrop-filter: blur(16px);
}

.muscle-detail-sidebar p {
  margin: 0 0 3px;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
}

.muscle-detail-sidebar a,
.muscle-detail-sidebar li {
  color: var(--color-text-muted);
  font-size: 0.78rem;
}

.muscle-detail-sidebar a:hover,
.muscle-detail-sidebar a:focus-visible {
  color: var(--color-primary);
}

.muscle-detail-sidebar ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.muscle-detail-page .site-footer {
  position: static;
  margin: 0 auto 24px;
}

.muscle-detail-page .footer-meta {
  position: static;
  transform: none;
  white-space: normal;
}

.legal-main {
  width: var(--container);
  margin: 0 auto;
  padding: 40px 0 24px;
}

.legal-header {
  margin-bottom: 24px;
}

.legal-document {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 28px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: rgba(8, 16, 19, 0.72);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.legal-brand {
  display: inline-flex;
  width: 132px;
  aspect-ratio: 2 / 1;
  margin-bottom: 22px;
}

.legal-brand img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.legal-document h1,
.legal-document h2 {
  color: #ffffff;
  line-height: 1.15;
}

.legal-document h1 {
  margin: 0;
  font-size: 2rem;
}

.legal-document h2 {
  margin: 28px 0 8px;
  font-size: 1rem;
}

.legal-document p {
  margin: 0;
  color: var(--color-text-muted);
}

.legal-document p + p {
  margin-top: 10px;
}

.legal-intro {
  margin-top: 10px !important;
}

.legal-note {
  margin-top: 16px !important;
  padding: 10px 12px;
  border-inline-start: 2px solid var(--color-primary);
  background: rgba(70, 212, 200, 0.08);
  color: #ffffff !important;
  font-size: 0.86rem;
}

.legal-document a:not(.legal-brand) {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-document .contact-email {
  font-size: 1rem;
  font-weight: 700;
}

.legal-page .site-footer {
  position: static;
  margin: 0 auto 24px;
}

@media (max-width: 820px) {
  :root {
    --container: min(100% - 28px, 1120px);
  }

  .noscript-home {
    grid-template-columns: 1fr;
  }

  .noscript-home-copy {
    width: min(620px, 100%);
  }

  .noscript-home-guides ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .muscle-map-section {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 24px;
  }

  .muscle-map-copy {
    width: min(620px, 100%);
  }

  .muscle-map-copy h1 {
    font-size: clamp(2.4rem, 8vw, 3.4rem);
    line-height: 0.95;
  }

  .muscle-map-intro {
    margin-top: 12px;
    font-size: 0.98rem;
  }

  .muscle-map-interaction-hint {
    margin-top: 11px;
  }

  .muscle-map-view-switch {
    margin-top: 16px;
  }

  .muscle-map-summary {
    margin-top: 16px;
  }

  .muscle-map-figure-stage {
    height: min(680px, 78dvh);
    padding: 8px 0 10px;
  }

  .muscle-map-figure img {
    height: min(74dvh, 650px);
  }

  .muscle-detail-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .muscle-detail-hero-copy {
    max-width: 720px;
  }

  .muscle-detail-figure-stage {
    height: min(620px, 72dvh);
  }

  .muscle-detail-fact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .muscle-detail-layout {
    grid-template-columns: 1fr;
  }

  .muscle-detail-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  main {
    padding-top: 4px;
  }

  .noscript-home {
    gap: 20px;
  }

  .noscript-home-copy h1 {
    font-size: clamp(2.3rem, 10vw, 2.85rem);
  }

  .noscript-home-figure img {
    height: min(60dvh, 500px);
  }

  .noscript-home-guides ul {
    grid-template-columns: 1fr;
  }

  .language-logo {
    width: min(200px, 82vw);
  }

  .language-grid {
    grid-template-columns: 1fr;
  }

  .locale-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .locale-navigation {
    justify-content: flex-start;
  }

  .muscle-map-section {
    gap: 16px;
    padding-top: 16px;
  }

  .muscle-map-eyebrow {
    margin-bottom: 6px;
  }

  .muscle-map-copy h1 {
    font-size: clamp(2.3rem, 10vw, 2.85rem);
  }

  .muscle-map-summary {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 3px 10px;
    padding: 12px;
  }

  .muscle-map-summary > span,
  .muscle-map-summary > strong {
    grid-column: 1;
  }

  .muscle-map-list-toggle {
    display: inline-grid;
    grid-column: 2;
    grid-row: 1 / 3;
  }

  .muscle-map-muscle-list {
    grid-column: 1 / -1;
    flex-wrap: nowrap;
    max-width: 100%;
    margin-top: 5px;
    padding-bottom: 3px;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .muscle-map-muscle-list li {
    flex: 0 0 auto;
  }

  .muscle-map-view-switch {
    display: grid;
    width: 100%;
  }

  .muscle-map-figure-stage {
    height: min(540px, 68dvh);
    min-height: 420px;
    border-radius: 20px;
  }

  .muscle-map-figure img {
    height: calc(100% - 16px);
  }

  .muscle-detail-main {
    padding-bottom: 34px;
  }

  .muscle-detail-breadcrumb {
    padding-top: 14px;
  }

  .muscle-detail-hero {
    gap: 26px;
    padding-top: 22px;
  }

  .muscle-detail-hero h1 {
    font-size: clamp(2.8rem, 15vw, 4.4rem);
  }

  .muscle-detail-actions {
    display: grid;
  }

  .muscle-detail-figure-stage {
    width: min(100%, 330px);
    height: auto;
    min-height: 0;
  }

  .muscle-detail-fact-grid,
  .muscle-detail-part-grid,
  .muscle-detail-function-grid,
  .muscle-detail-sidebar {
    grid-template-columns: 1fr;
  }

  .muscle-detail-fact-grid div {
    min-height: 0;
  }

  .language-card {
    min-height: 42px;
    height: auto;
  }

  .site-footer {
    gap: 12px;
  }

  .footer-brand {
    width: 30px;
    height: 30px;
  }

  .footer-meta {
    gap: 4px 8px;
  }

  .footer-copyright,
  .footer-legal {
    font-size: 0.68rem;
  }

  .legal-main {
    padding-top: 20px;
  }

  .legal-document {
    padding: 20px;
  }
}
