/* style */

:root {
  --bg-ivory: #f2ede1;
  --bg-ivory-soft: #f6f2e8;
  --bg-ivory-vignette: #e9e2d2;
  --bg-hero-ivory: #f3ecdb;

  --ink-primary: #26231e;
  --ink-secondary: #645e54;
  --ink-muted: #938a7c;

  --surface-card: rgba(253, 250, 244, 0.85);
  --surface-card-hover: rgba(255, 253, 249, 0.97);
  --surface-pill: rgba(252, 249, 243, 0.82);
  --surface-pill-active: #27241f;
  --text-pill-active: #faf7f0;

  --border-hairline: rgba(38, 35, 30, 0.085);
  --border-strong: rgba(38, 35, 30, 0.16);
  --shadow-soft: 0 12px 34px rgba(48, 39, 24, 0.06), 0 1px 2px rgba(48, 39, 24, 0.035);
  --shadow-hover: 0 22px 52px rgba(48, 39, 24, 0.11), 0 3px 8px rgba(48, 39, 24, 0.045);

  --accent: #b5883d;
  --accent-soft: rgba(181, 136, 61, 0.13);
  --emerald: #268472;
  --emerald-soft: rgba(38, 132, 114, 0.12);
  --artery: #c97872;
  --vein: #5c7a99;
  --meridian-gold: #b5883d;
  --meridian-teal: #4c9184;
  --warn-terra: #c67c52;
}

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

html,
body {
  min-height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--ink-primary);
  background: radial-gradient(
    ellipse 86% 68% at 50% 18%,
    var(--bg-ivory-soft) 0%,
    var(--bg-ivory) 55%,
    var(--bg-ivory-vignette) 100%
  );
  background-attachment: fixed;
}

/* style */
.hub-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(242, 237, 225, 0.82);
  border-bottom: 1px solid var(--border-hairline);
}

.hub-header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.hub-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hub-brand-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}

.hub-nav-pills {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.hub-title-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hub-back-lab {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--surface-pill);
  color: var(--ink-secondary);
  font-size: 11.5px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.16s ease, color 0.16s ease, background-color 0.16s ease;
}

.hub-back-lab:hover {
  border-color: var(--accent);
  color: var(--ink-primary);
  background: var(--surface-card-hover);
}

.hub-sibling-lab {
  border-color: rgba(38, 132, 114, 0.36);
  color: var(--emerald);
  background: var(--emerald-soft);
}

.hub-sibling-lab:hover {
  border-color: var(--emerald);
  color: #175c4f;
  background: rgba(38, 132, 114, 0.18);
}

.hub-sibling-pet {
  border-color: rgba(181, 136, 61, 0.38);
  color: #8f631b;
  background: var(--accent-soft);
}

.hub-sibling-pet:hover {
  border-color: var(--accent);
  color: #6d470d;
  background: rgba(181, 136, 61, 0.2);
}

.hub-gem {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3.5px var(--accent-soft);
  flex-shrink: 0;
}

.hub-brand h1 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.13em;
  color: var(--ink-primary);
}

.hub-brand p {
  padding-left: 17px;
  font-size: 11.5px;
  letter-spacing: 0.07em;
  color: var(--ink-secondary);
}

.species-bar {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--border-hairline);
  background: var(--surface-pill);
  box-shadow: var(--shadow-soft);
}

.species-tab {
  appearance: none;
  border: none;
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 15px;
  border-radius: 999px;
  color: var(--ink-secondary);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.24s cubic-bezier(0.22, 1, 0.36, 1), color 0.2s ease, box-shadow 0.24s ease;
}

.species-tab:hover {
  color: var(--ink-primary);
  background: var(--accent-soft);
}

.species-tab.is-active {
  background: var(--surface-pill-active);
  color: var(--text-pill-active);
  box-shadow: 0 6px 18px rgba(38, 35, 30, 0.15);
}

.species-latin {
  font-size: 10.5px;
  font-style: italic;
  opacity: 0.68;
  font-weight: 400;
}

.species-chip {
  font-size: 10px;
  font-weight: 500;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(38, 35, 30, 0.07);
  color: var(--ink-secondary);
}

.species-tab.is-active .species-chip {
  background: rgba(250, 247, 240, 0.16);
  color: #f4ead6;
}

/* style */
.hub-main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 32px 34px 72px;
}

.hub-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}

.intro-copy {
  max-width: 720px;
}

.intro-eyebrow {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.intro-title {
  font-size: clamp(24px, 3vw, 31px);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink-primary);
  line-height: 1.28;
  margin-bottom: 8px;
}

.intro-desc {
  font-size: 13.5px;
  line-height: 1.66;
  letter-spacing: 0.03em;
  color: var(--ink-secondary);
}

.intro-stats {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid var(--border-hairline);
  background: var(--surface-pill);
  font-size: 12px;
  color: var(--ink-secondary);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.stat-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 3px var(--emerald-soft);
}

/* style */
.whole-body-section {
  margin-bottom: 44px;
}

.whole-body-card {
  position: relative;
  border-radius: 28px;
  border: 1px solid var(--border-hairline);
  background: radial-gradient(ellipse 84% 82% at 52% 48%, #f5efe0 0%, var(--bg-hero-ivory) 68%, #ebe3d0 100%);
  box-shadow: var(--shadow-soft);
  overflow: visible;
  padding: 20px 22px 18px;
}

/* style */
.atlas-toolbar {
  position: relative;
  z-index: 12;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.atlas-title-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--ink-secondary);
}

.atlas-title-chip strong {
  color: var(--ink-primary);
  font-weight: 600;
}

.atlas-layer-switches {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--border-hairline);
  background: rgba(253, 250, 244, 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 24px rgba(48, 39, 24, 0.06);
  flex-wrap: wrap;
}

.layer-toggle-btn {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 999px;
  color: var(--ink-secondary);
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.24s ease, color 0.2s ease, border-color 0.22s ease, box-shadow 0.24s ease;
}

.layer-toggle-btn .layer-swatch {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.layer-swatch-hotspots {
  background: var(--accent);
  box-shadow: 0 0 0 2.5px rgba(181, 136, 61, 0.24);
}

.layer-swatch-vessels {
  background: linear-gradient(135deg, var(--artery) 50%, var(--vein) 50%);
  box-shadow: 0 0 0 2.5px rgba(201, 120, 114, 0.22);
}

.layer-swatch-meridians {
  background: linear-gradient(135deg, var(--meridian-gold) 50%, var(--meridian-teal) 50%);
  box-shadow: 0 0 0 2.5px rgba(76, 145, 132, 0.22);
}

.layer-toggle-btn:hover {
  color: var(--ink-primary);
  background: rgba(181, 136, 61, 0.09);
}

.layer-toggle-btn.is-active {
  background: #27241f;
  color: #faf7f0;
  box-shadow: 0 5px 16px rgba(38, 35, 30, 0.16);
}

.layer-toggle-btn.is-active .layer-swatch {
  transform: scale(1.1);
}

/* style */
.atlas-stage-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1200 / 896;
  max-height: 660px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.atlas-canvas-box {
  position: relative;
  height: 100%;
  max-width: 100%;
  aspect-ratio: 1200 / 896;
}

/* style */
.view-flip-bar {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3.5px;
  border-radius: 999px;
  border: 1px solid var(--border-hairline);
  background: rgba(253, 250, 244, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 6px 18px rgba(48, 39, 24, 0.055);
}

.view-flip-btn {
  appearance: none;
  border: none;
  background: transparent;
  padding: 6px 13px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-secondary);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.22s ease, color 0.2s ease, box-shadow 0.22s ease;
}

.view-flip-btn:hover {
  color: var(--ink-primary);
  background: rgba(181, 136, 61, 0.09);
}

.view-flip-btn.is-active {
  background: #27241f;
  color: #faf7f0;
  box-shadow: 0 4px 12px rgba(38, 35, 30, 0.15);
}

.layer-swatch-viscera {
  background: var(--emerald);
  box-shadow: 0 0 0 2.5px rgba(38, 132, 114, 0.22);
}

/* style */
.wb-viscera-ring {
  fill: rgba(38, 132, 114, 0.08);
  stroke: rgba(38, 132, 114, 0.62);
  stroke-width: 1.4;
  stroke-dasharray: 4 3;
}

.wb-viscera-link {
  fill: none;
  stroke: rgba(38, 132, 114, 0.48);
  stroke-width: 1.5;
  stroke-dasharray: 5 5;
  animation: wbFlowForward 2.8s linear infinite;
}

.wb-viscera-label {
  font-size: 10px;
  font-weight: 600;
  fill: #24685a;
  letter-spacing: 0.04em;
}

/* style */
.wb-forbidden-ring {
  fill: rgba(184, 74, 60, 0.10);
  stroke: #b84a3c;
  stroke-width: 1.4;
  stroke-dasharray: 3 2.5;
}

.wb-forbidden-label {
  font-size: 9.5px;
  font-weight: 600;
  fill: #9b382c;
  letter-spacing: 0.03em;
}

/* style */
.compliance-ribbon {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  margin-bottom: 22px;
  border-radius: 14px;
  border: 1px solid rgba(181, 136, 61, 0.24);
  background: rgba(253, 250, 244, 0.86);
  font-size: 12px;
  line-height: 1.55;
  color: var(--ink-secondary);
}

.compliance-ribbon-badge {
  flex-shrink: 0;
  padding: 2.5px 9px;
  border-radius: 999px;
  background: rgba(181, 136, 61, 0.14);
  color: #6f5222;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.atlas-hero-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  user-select: none;
  pointer-events: none;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, #000 4%, #000 96%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 4%, #000 96%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0%, #000 4%, #000 96%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 4%, #000 96%, transparent 100%);
  mask-composite: intersect;
}

/* style */
.atlas-svg-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}

.atlas-svg-group {
  opacity: 0;
  transition: opacity 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.atlas-svg-group.is-visible {
  opacity: 1;
}

/* style */
.wb-artery-glow {
  fill: none;
  stroke: rgba(201, 120, 114, 0.24);
  stroke-width: 5.5;
  stroke-linecap: round;
}

.wb-artery-flow {
  fill: none;
  stroke: var(--artery);
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-dasharray: 10 8;
  animation: wbFlowForward 1.65s linear infinite;
}

/* style */
.wb-vein-glow {
  fill: none;
  stroke: rgba(92, 122, 153, 0.22);
  stroke-width: 5;
  stroke-linecap: round;
}

.wb-vein-flow {
  fill: none;
  stroke: var(--vein);
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-dasharray: 9 9;
  animation: wbFlowForward 2.1s linear infinite;
}

.wb-heart-pulse {
  fill: rgba(201, 120, 114, 0.16);
  stroke: rgba(201, 120, 114, 0.65);
  stroke-width: 1.5;
  transform-box: fill-box;
  transform-origin: center;
  animation: wbHeartBeat 1.5s ease-in-out infinite;
}

/* style */
.wb-meridian-gold-glow {
  fill: none;
  stroke: rgba(181, 136, 61, 0.22);
  stroke-width: 5;
  stroke-linecap: round;
}

.wb-meridian-gold {
  fill: none;
  stroke: var(--meridian-gold);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 7 7;
  animation: wbFlowForward 2.6s linear infinite;
}

.wb-meridian-teal-glow {
  fill: none;
  stroke: rgba(76, 145, 132, 0.20);
  stroke-width: 4.5;
  stroke-linecap: round;
}

.wb-meridian-teal {
  fill: none;
  stroke: var(--meridian-teal);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-dasharray: 6 7;
  animation: wbFlowForward 2.9s linear infinite;
}

.wb-meridian-node {
  fill: #fffdf9;
  stroke: var(--meridian-gold);
  stroke-width: 1.8;
}

.wb-meridian-node-teal {
  fill: #fffdf9;
  stroke: var(--meridian-teal);
  stroke-width: 1.8;
}

.wb-meridian-label {
  font-size: 9.5px;
  font-weight: 500;
  fill: #5f5342;
  letter-spacing: 0.04em;
}

@keyframes wbFlowForward {
  from { stroke-dashoffset: 36; }
  to { stroke-dashoffset: 0; }
}

@keyframes wbHeartBeat {
  0%, 100% { transform: scale(0.92); opacity: 0.55; }
  35% { transform: scale(1.24); opacity: 0.95; }
  65% { transform: scale(1.0); opacity: 0.70; }
}

/* style */
.atlas-hotspots-layer {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.34s ease, visibility 0.34s ease;
}

.atlas-hotspots-layer.is-visible {
  opacity: 1;
  visibility: visible;
}

.wb-hotspot {
  position: absolute;
  width: 24px;
  height: 24px;
  transform: translate(-50%, -50%);
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  z-index: 2;
}

.atlas-hotspots-layer:not(.is-visible) .wb-hotspot {
  pointer-events: none !important;
}

.wb-hotspot-dot {
  position: relative;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wb-hotspot-ring {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  opacity: 0.78;
  animation: wbHotspotPulse 2.7s cubic-bezier(0.22, 0.61, 0.36, 1) infinite;
}

.wb-hotspot-core {
  position: relative;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fffdf9;
  border: 2px solid var(--accent);
  box-shadow: 0 2px 10px rgba(181, 136, 61, 0.42);
  transition: transform 0.22s ease, background 0.2s ease;
}

.wb-hotspot.is-v2 .wb-hotspot-ring {
  border-color: var(--emerald);
}

.wb-hotspot.is-v2 .wb-hotspot-core {
  border-color: var(--emerald);
  box-shadow: 0 2px 10px rgba(38, 132, 114, 0.45);
}

.wb-hotspot.is-upcoming .wb-hotspot-ring {
  border-color: var(--vein);
  border-style: dashed;
}

.wb-hotspot.is-upcoming .wb-hotspot-core {
  border-color: var(--vein);
  background: rgba(252, 249, 243, 0.92);
  box-shadow: 0 2px 8px rgba(92, 122, 153, 0.32);
}

/* style */
.wb-hotspot-tag {
  position: absolute;
  padding: 3px 8.5px;
  border-radius: 999px;
  border: 1px solid rgba(38, 35, 30, 0.10);
  background: rgba(253, 250, 244, 0.90);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 6px 18px rgba(48, 39, 24, 0.08);
  color: var(--ink-primary);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.03em;
  white-space: nowrap;
  pointer-events: auto;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.wb-hotspot.is-upcoming .wb-hotspot-tag {
  color: var(--ink-secondary);
  background: rgba(252, 249, 243, 0.84);
}

.wb-hotspot.label-right .wb-hotspot-tag {
  left: calc(100% + 7px);
  top: 50%;
  transform: translateY(-50%);
}

.wb-hotspot.label-right-far .wb-hotspot-tag {
  left: calc(100% + 18px);
  top: 50%;
  transform: translateY(-50%);
}

.wb-hotspot.label-right-down .wb-hotspot-tag {
  left: calc(100% + 16px);
  top: calc(50% + 8px);
  transform: translateY(-50%);
}

.wb-hotspot.label-left .wb-hotspot-tag {
  right: calc(100% + 7px);
  top: 50%;
  transform: translateY(-50%);
}

.wb-hotspot.label-left-far .wb-hotspot-tag {
  right: calc(100% + 26px);
  top: 50%;
  transform: translateY(-50%);
}

.wb-hotspot.label-left-down .wb-hotspot-tag {
  right: calc(100% + 8px);
  top: calc(50% + 10px);
  transform: translateY(-50%);
}

.wb-hotspot.label-top .wb-hotspot-tag {
  left: 50%;
  bottom: calc(100% + 6px);
  transform: translateX(-50%);
}

.wb-hotspot.label-top-right .wb-hotspot-tag {
  left: calc(100% + 18px);
  bottom: calc(100% + 4px);
}

.wb-hotspot.label-top-left .wb-hotspot-tag {
  right: calc(100% + 8px);
  bottom: calc(100% + 2px);
}

.wb-hotspot:hover,
.wb-hotspot:focus-visible,
.wb-hotspot.is-active {
  z-index: 8;
  outline: none;
}

.wb-hotspot:hover .wb-hotspot-core,
.wb-hotspot.is-active .wb-hotspot-core {
  transform: scale(1.32);
  background: var(--accent);
}

.wb-hotspot.is-v2:hover .wb-hotspot-core,
.wb-hotspot.is-v2.is-active .wb-hotspot-core {
  background: var(--emerald);
}

.wb-hotspot.is-upcoming:hover .wb-hotspot-core,
.wb-hotspot.is-upcoming.is-active .wb-hotspot-core {
  background: var(--vein);
}

.wb-hotspot:hover .wb-hotspot-tag,
.wb-hotspot.is-active .wb-hotspot-tag {
  background: #27241f;
  color: #faf7f0;
  border-color: transparent;
  box-shadow: 0 8px 22px rgba(38, 35, 30, 0.18);
}

@keyframes wbHotspotPulse {
  0% { transform: scale(0.75); opacity: 0.85; }
  70% { transform: scale(1.85); opacity: 0; }
  100% { transform: scale(1.85); opacity: 0; }
}

/* style */
.atlas-tooltip {
  position: absolute;
  z-index: 20;
  width: 286px;
  padding: 15px 17px;
  border-radius: 18px;
  border: 1px solid rgba(38, 35, 30, 0.11);
  background: rgba(254, 252, 247, 0.95);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: 0 20px 48px rgba(48, 39, 24, 0.14), 0 2px 6px rgba(48, 39, 24, 0.05);
  pointer-events: none;
  opacity: 0;
  transform: translateY(6px) scale(0.98);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.atlas-tooltip.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.tt-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.tt-title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-primary);
}

.tt-badge {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.tt-badge.is-online {
  background: var(--emerald-soft);
  color: var(--emerald);
}

.tt-badge.is-upcoming {
  background: rgba(92, 122, 153, 0.14);
  color: var(--vein);
}

.tt-row {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 11.5px;
  line-height: 1.52;
  margin-bottom: 6px;
}

.tt-row-hunter {
  color: var(--ink-primary);
}

.tt-row-warn {
  color: #7c4d3a;
  margin-bottom: 8px;
}

.tt-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-top: 5px;
  flex-shrink: 0;
}

.tt-dot-hunter { background: var(--accent); }
.tt-dot-warn { background: var(--warn-terra); }

.tt-foot {
  padding-top: 7px;
  border-top: 1px solid var(--border-hairline);
  font-size: 11px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.04em;
}

/* style */
.atlas-legend-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 10px;
  border-top: 1px solid rgba(38, 35, 30, 0.06);
  font-size: 11.5px;
  color: var(--ink-secondary);
}

.legend-items {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.legend-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.03em;
}

.legend-line {
  width: 16px;
  height: 2.5px;
  border-radius: 2px;
}

.legend-line-artery { background: var(--artery); }
.legend-line-vein { background: var(--vein); }
.legend-line-gold { background: var(--meridian-gold); }
.legend-line-teal { background: var(--meridian-teal); }

.atlas-hint {
  font-size: 11px;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
}

/* style */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.section-head h3 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink-primary);
}

.section-head span {
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--ink-muted);
}

.upcoming-section {
  margin-top: 44px;
}

.specimen-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

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

.specimen-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  border: 1px solid var(--border-hairline);
  background: var(--surface-card);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.34s ease, border-color 0.28s ease, background 0.28s ease;
}

.specimen-card.is-online {
  cursor: pointer;
}

.specimen-card.is-online:hover {
  transform: translateY(-5px);
  background: var(--surface-card-hover);
  border-color: rgba(181, 136, 61, 0.38);
  box-shadow: var(--shadow-hover);
}

.specimen-card.is-queued {
  cursor: default;
  background: rgba(252, 249, 243, 0.64);
}

/* style */
.specimen-card.is-featured {
  grid-column: 1 / -1;
  flex-direction: row;
  min-height: 282px;
}

.specimen-card.is-featured .card-stage {
  width: 39%;
  min-width: 296px;
  max-height: 316px;
  aspect-ratio: auto;
  border-bottom: none;
  border-right: 1px solid rgba(38, 35, 30, 0.055);
}

.specimen-card.is-featured .card-body {
  padding: 26px 34px;
  justify-content: center;
  gap: 12px;
}

.specimen-card.is-featured .card-title {
  font-size: 20px;
  letter-spacing: 0.05em;
}

.specimen-card.is-featured .card-tagline {
  font-size: 13.5px;
  max-width: 580px;
  flex: 0 0 auto;
}

.specimen-card.is-featured .card-foot {
  margin-top: 8px;
  padding-top: 14px;
}

/* style */
.card-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3.4;
  background: radial-gradient(ellipse 80% 80% at 50% 48%, #f5f0e5 0%, var(--bg-ivory) 70%, #ece6d8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(38, 35, 30, 0.055);
}

.card-cover-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center 46%;
  padding: 6px;
  display: block;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, #000 7%, #000 93%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 7%, #000 93%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0%, #000 7%, #000 93%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 7%, #000 93%, transparent 100%);
  mask-composite: intersect;
}

.specimen-card.is-online:hover .card-cover-img {
  transform: scale(1.038);
}

.card-cover-img.is-hidden {
  display: none;
}

.card-illustration {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px;
  color: var(--ink-muted);
}

.card-illustration svg {
  width: 112px;
  height: 112px;
  stroke: rgba(138, 121, 95, 0.72);
  fill: none;
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card-illustration .illus-label {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--ink-muted);
}

/* style */
.card-index {
  position: absolute;
  top: 14px;
  left: 16px;
  z-index: 4;
  pointer-events: none;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--ink-muted);
  text-shadow: 0 1px 6px rgba(242, 237, 225, 0.92);
  font-variant-numeric: tabular-nums;
}

.card-badges-right {
  position: absolute;
  top: 13px;
  right: 14px;
  z-index: 4;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.status-badge.is-online {
  background: rgba(252, 249, 243, 0.90);
  border: 1px solid rgba(38, 132, 114, 0.28);
  color: var(--emerald);
}

.status-badge.is-online::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 2.5px var(--emerald-soft);
}

.status-badge.is-v2-pill {
  background: linear-gradient(135deg, rgba(181, 136, 61, 0.95), rgba(149, 108, 43, 0.95));
  border: 1px solid rgba(255, 250, 238, 0.35);
  color: #fcf9f2;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(181, 136, 61, 0.28);
}

.status-badge.is-queued {
  background: rgba(252, 249, 243, 0.82);
  border: 1px solid rgba(92, 122, 153, 0.22);
  color: var(--vein);
}

/* style */
.card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 22px 22px;
  gap: 10px;
}

.card-title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-primary);
  line-height: 1.38;
}

.card-tagline {
  font-size: 12.5px;
  line-height: 1.62;
  color: var(--ink-secondary);
  flex: 1;
}

.card-clinical-preview {
  font-size: 11.5px;
  line-height: 1.5;
  color: #7d5440;
  background: rgba(198, 124, 82, 0.08);
  border-radius: 10px;
  padding: 7px 10px;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}

.tag-chip {
  font-size: 11px;
  letter-spacing: 0.03em;
  padding: 3.5px 9px;
  border-radius: 999px;
  background: rgba(181, 136, 61, 0.09);
  color: #705528;
}

.specimen-card.is-queued .tag-chip {
  background: rgba(92, 122, 153, 0.09);
  color: #4f667e;
}

.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  margin-top: 4px;
  border-top: 1px solid var(--border-hairline);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-primary);
  transition: color 0.2s ease, transform 0.24s ease;
}

.specimen-card.is-online:hover .card-cta {
  color: var(--accent);
  transform: translateX(2px);
}

.card-cta svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card-queue-note {
  color: var(--ink-muted);
  font-weight: 400;
  font-size: 11.5px;
}

/* style */
.roadmap-panel {
  border-radius: 26px;
  border: 1px solid var(--border-hairline);
  background: var(--surface-card);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
  padding: 34px 36px;
}

.roadmap-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.roadmap-head h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.roadmap-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.roadmap-item {
  padding: 20px 22px;
  border-radius: 18px;
  border: 1px solid var(--border-hairline);
  background: rgba(242, 237, 225, 0.56);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.roadmap-num {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.roadmap-title {
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink-primary);
}

/* style */
.hub-footer {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 34px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
}

/* style */
@media (max-width: 1040px) {
  .specimen-grid,
  .roadmap-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wb-hotspot-tag {
    font-size: 10px;
    padding: 2.5px 6px;
  }
}

@media (max-width: 720px) {
  .hub-header-inner {
    padding: 14px 18px;
    gap: 12px;
  }

  .hub-brand h1 {
    font-size: 14.5px;
  }

  .hub-brand p {
    font-size: 10.5px;
  }

  .species-bar {
    width: 100%;
    overflow-x: auto;
    justify-content: space-between;
  }

  .species-tab {
    padding: 7px 10px;
    font-size: 11.5px;
    gap: 5px;
  }

  .species-latin {
    display: none;
  }

  .hub-main {
    padding: 20px 16px 56px;
  }

  .hub-intro {
    margin-bottom: 18px;
    gap: 12px;
  }

  .whole-body-card {
    padding: 14px 12px 14px;
    border-radius: 20px;
  }

  .atlas-toolbar {
    justify-content: center;
  }

  .atlas-layer-switches {
    width: 100%;
    justify-content: center;
  }

  .layer-toggle-btn {
    padding: 6px 10px;
    font-size: 11px;
    gap: 5px;
  }

  .wb-hotspot-tag {
    display: none;
  }

  .atlas-tooltip {
    position: fixed;
    left: 16px !important;
    right: 16px !important;
    bottom: 18px !important;
    top: auto !important;
    width: auto;
    pointer-events: auto;
  }

  .compliance-ribbon {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 12px 14px;
  }

  .view-flip-bar {
    max-width: 100%;
    flex-wrap: wrap;
    justify-content: center;
  }

  .view-flip-btn {
    padding: 6px 12px;
    font-size: 11.5px;
  }

  .species-bar {
    flex-wrap: wrap;
    max-width: 100%;
    border-radius: 16px;
  }

  .species-tab {
    padding: 7px 12px;
    font-size: 12px;
  }

  .specimen-grid,
  .specimen-grid.specimen-grid-pair,
  .roadmap-list {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .specimen-card.is-featured {
    flex-direction: column;
    min-height: 0;
  }

  .specimen-card.is-featured .card-stage {
    width: 100%;
    min-width: 0;
    max-height: none;
    aspect-ratio: 4 / 3.4;
    border-right: none;
    border-bottom: 1px solid rgba(38, 35, 30, 0.055);
  }

  .specimen-card.is-featured .card-body {
    padding: 20px 22px 22px;
    gap: 10px;
  }

  .specimen-card.is-featured .card-title {
    font-size: 16px;
  }

  .specimen-card.is-featured .card-tagline {
    font-size: 12.5px;
  }

  .roadmap-panel {
    padding: 22px 20px;
  }

  .hub-footer {
    padding: 0 18px 32px;
  }
}
