/* ═══════════════════════════════════════════════════════════════
   BENCH 9 LABORATORY — s121 deep-custom portal skin
   site youxi--1--121 · index.html
   language: lab bench · periodic cells · reagent shelf · cryo vault
   ═══════════════════════════════════════════════════════════════ */

/* ── palette (unchanged from original site) ──────────────────── */
:root {
  --bg: #101418;
  --panel: #182028;
  --panel-2: #212C37;
  --accent: #7CFFB2;
  --accent2: #F2F6F4;
  --text: #EFF6F2;
  --soft: #8FA8A0;
  --line: rgba(124,255,178,.25);
  --fh: 'Consolas', monospace;
  --fb: 'Segoe UI', sans-serif;
  --fm: 'Consolas', monospace;
  --sec-gap: 30px;
}

/* ── derived lab tints (appended, palette above untouched) ───── */
:root {
  --hazard: #F2C94C;
  --frost: #A9D6E5;
  --brass: #E3CE8F;
  --ink: #0B0F12;
  --steel: #2E3E4B;
  --steel-2: #22303B;
}

/* ═══ 0. reset & base ═══════════════════════════════════════════ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html { scroll-behavior: smooth; }

body {
  color: var(--text);
  font-family: var(--fb);
  font-size: 15px;
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg);
}

/* the bench room wall: faint graph paper and reagent glow */
body.t-lab {
  background:
    radial-gradient(circle at 18% 12%, rgba(124,255,178,.05) 0 2px, transparent 3px),
    radial-gradient(circle at 82% 40%, rgba(124,255,178,.04) 0 2px, transparent 3px),
    radial-gradient(circle at 45% 78%, rgba(169,214,229,.04) 0 2px, transparent 3px),
    repeating-linear-gradient(0deg, rgba(124,255,178,.03) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(90deg, rgba(124,255,178,.03) 0 1px, transparent 1px 26px),
    radial-gradient(ellipse at 50% 0%, rgba(124,255,178,.07), transparent 55%),
    var(--bg);
  background-attachment: fixed;
}

[v-cloak] { display: none; }
a { color: inherit; text-decoration: none; display: block; }
img { display: block; max-width: 100%; }
button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
}

::selection { background: var(--accent); color: #101418; }

/* ═══ 1. layout shell ════════════════════════════════════════════ */
.wrap {
  max-width: 620px;
  margin: 0 auto;
  padding: 0 18px;
}

/* each section is a fume hood bay paneled in steel */
.sec {
  position: relative;
  margin-top: var(--sec-gap);
  min-width: 0;
  padding: 15px 16px 17px;
  border-radius: 10px;
  border: 1.5px solid rgba(124,255,178,.22);
  background:
    linear-gradient(180deg, rgba(124,255,178,.05), rgba(16,20,24,.4) 60%),
    var(--panel);
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,.03),
    0 12px 26px -18px rgba(0,0,0,.75);
}

/* the reagent seam along the bay rim */
.sec::before {
  content: '';
  position: absolute;
  top: 0;
  left: 14px;
  right: 14px;
  height: 3px;
  background: repeating-linear-gradient(90deg, rgba(124,255,178,.5) 0 5px, transparent 5px 10px);
  border-radius: 2px;
  pointer-events: none;
}

/* ═══ 2. callout — the assay stamp ═══════════════════════════════ */
.callout {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.callout b {
  flex: none;
  font-family: var(--fh);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--accent);
  border-radius: 3px;
  padding: 4px 13px;
}

.callout span {
  font-family: var(--fm);
  font-size: 10.5px;
  color: var(--soft);
  letter-spacing: .06em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.callout::after {
  content: '';
  flex: 1;
  border-top: 1.5px dashed rgba(124,255,178,.3);
}

/* the alembic beside the label */
.co-flask {
  flex: none;
  font-style: normal;
  font-size: 12px;
  line-height: 1;
  color: var(--accent);
}

/* ═══ 3. header — molecule mobile + flask rack ══════════════════ */
.hdr {
  position: relative;
  z-index: 50;
  background: linear-gradient(180deg, #1A232C, #141B22);
  overflow: hidden;
}

/* the molecule mobile hanging over the bench */
.s121-mol {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0;
  height: 42px;
  padding-top: 5px;
}

/* each node: a hex carbon ring on a thread */
.s121-mol .m {
  position: relative;
  flex: none;
  width: 30px;
  height: 34px;
}

.s121-mol .m::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 26px;
  height: 28px;
  margin-left: -13px;
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  background: linear-gradient(160deg, rgba(124,255,178,.32), rgba(124,255,178,.05) 70%);
}

/* the atom nucleus glowing in the ring */
.s121-mol .m::after {
  content: '';
  position: absolute;
  bottom: 10px;
  left: 50%;
  width: 6px;
  height: 6px;
  margin-left: -3px;
  border-radius: 50%;
  background: rgba(124,255,178,.7);
  box-shadow: 0 0 6px rgba(124,255,178,.6);
}

/* staggered hang heights */
.s121-mol .m:nth-child(1) { height: 30px; }
.s121-mol .m:nth-child(3) { height: 38px; }
.s121-mol .m:nth-child(5) { height: 33px; }
.s121-mol .m:nth-child(7) { height: 28px; }

/* the ceiling rail the mobile hangs from */
.s121-mol::before {
  content: '';
  position: absolute;
  top: 4px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg,
    transparent,
    rgba(143,168,160,.6) 12%,
    rgba(143,168,160,.6) 88%,
    transparent);
}

/* the covalent bonds between rings */
.s121-mol .bond {
  flex: none;
  width: 20px;
  height: 2px;
  margin-bottom: 15px;
  background: rgba(124,255,178,.32);
}

.hdr-in {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0 12px;
}

.s121-brand {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.hdr-name {
  font-family: var(--fh);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.s121-sub {
  font-family: var(--fm);
  font-size: 8.5px;
  letter-spacing: .24em;
  color: var(--soft);
}

.hdr-search {
  flex: none;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  border: 1.5px solid rgba(124,255,178,.4);
  border-radius: 6px;
}

/* the flask rack closing the header */
.s121-flasks {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 16px;
  height: 30px;
  padding: 0 10px 0;
  border-bottom: 3px solid var(--steel);
  box-shadow: 0 3px 0 rgba(0,0,0,.25);
}

.s121-flasks i {
  position: relative;
  flex: none;
  width: 20px;
  height: 24px;
}

/* the flask neck */
.s121-flasks i::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 7px;
  height: 9px;
  margin-left: -3.5px;
  border: 1.5px solid rgba(124,255,178,.45);
  border-bottom: none;
  border-radius: 2px 2px 0 0;
}

/* the conical body with reagent at the bottom */
.s121-flasks i::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 16px;
  clip-path: polygon(18% 0, 82% 0, 100% 100%, 0 100%);
  background: linear-gradient(180deg, rgba(124,255,178,.07), rgba(124,255,178,.3));
}

/* varied glassware heights */
.s121-flasks i:nth-child(1) { height: 20px; }
.s121-flasks i:nth-child(3) { height: 27px; }
.s121-flasks i:nth-child(4) { height: 22px; }
.s121-flasks i:nth-child(5) { height: 25px; }

/* ═══ 4. category rail + search ═════════════════════════════════ */
.s121-rail {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 14px 2px 6px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.s121-rail::-webkit-scrollbar { display: none; }

/* each chip is a numbered slot on the sample rack */
.s121-slot {
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid rgba(124,255,178,.35);
  border-radius: 6px;
  padding: 7px 12px;
  background: var(--panel);
}

.s121-slot-no {
  flex: none;
  font-family: var(--fm);
  font-size: 8.5px;
  letter-spacing: .08em;
  color: var(--bg);
  background: var(--accent);
  border-radius: 3px;
  padding: 2px 5px;
}

.s121-slot b {
  font-family: var(--fh);
  font-size: 12.5px;
  color: var(--text);
  white-space: nowrap;
}

.s121-slot em {
  font-style: normal;
  font-family: var(--fm);
  font-size: 9px;
  color: var(--soft);
}

.s121-slot.on {
  background: var(--accent);
  border-color: var(--accent);
}

.s121-slot.on b { color: var(--bg); }
.s121-slot.on em { color: #3E5548; }
.s121-slot.on .s121-slot-no { background: var(--bg); color: var(--accent); }

.s121-slot:active { transform: scale(.96); }

.srch-bar {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.srch-input {
  flex: 1;
  min-width: 0;
  background: var(--ink);
  border: 1.5px solid rgba(124,255,178,.28);
  border-radius: 6px;
  padding: 10px 13px;
  font-family: var(--fh);
  font-size: 13.5px;
  color: var(--text);
  outline: none;
}

.srch-input:focus { border-color: var(--accent); }

.srch-go {
  flex: none;
  font-family: var(--fh);
  font-size: 12.5px;
  font-weight: 800;
  color: var(--bg);
  background: var(--accent);
  border-radius: 6px;
  padding: 0 16px;
}

.srch-go:active { transform: scale(.96); }

/* ═══ 5. loading ═════════════════════════════════════════════════ */
.loading-full {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
}

.loading-bar {
  width: 120px;
  height: 4px;
  border-radius: 2px;
  background: var(--panel-2);
  overflow: hidden;
  margin: 0 auto 12px;
}

.loading-bar::after {
  content: '';
  display: block;
  width: 40%;
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
  animation: ldslide 1s infinite;
}

@keyframes ldslide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}

.loading-txt {
  font-family: var(--fm);
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--soft);
}

/* ═══ 6. hero — the bench panorama (.hv19) ══════════════════════ */
.hv19 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.hv19-label {
  font-family: var(--fm);
  font-size: 9.5px;
  letter-spacing: .2em;
  color: var(--soft);
  text-align: center;
}

/* the bench bay itself */
.hv19-bench {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
  width: min(100%, 330px);
  padding: 14px 16px 18px;
  border-radius: 16px;
  border: 2px solid rgba(124,255,178,.32);
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(124,255,178,.09), transparent 65%),
    linear-gradient(180deg, var(--panel-2), var(--panel));
  box-shadow:
    inset 0 -3px 0 rgba(0,0,0,.35),
    0 14px 28px -16px rgba(0,0,0,.7);
}

/* the deck: glassware lined up on the bench top */
.hv19-deck {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 18px;
  width: 100%;
  padding-bottom: 10px;
  border-bottom: 5px solid var(--steel);
  box-shadow: 0 5px 0 -1px rgba(0,0,0,.4);
}

/* the erlenmeyer flask simmering at the left */
.hv19-erlen {
  position: relative;
  flex: none;
  width: 48px;
  height: 58px;
}

/* the conical body with liquid pooled at the bottom */
.hv19-erlen::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40px;
  clip-path: polygon(24% 0, 76% 0, 100% 100%, 0 100%);
  background:
    linear-gradient(180deg, rgba(124,255,178,.05) 0 58%, rgba(124,255,178,.5) 58%),
    rgba(124,255,178,.05);
}

/* the flask neck */
.hv19-erlen::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 13px;
  height: 22px;
  margin-left: -6.5px;
  background: rgba(124,255,178,.07);
  border: 1.5px solid rgba(124,255,178,.45);
  border-bottom: none;
  border-radius: 2px 2px 0 0;
}

/* bubbles rising through the reagent */
.hv19-erlen i {
  position: absolute;
  bottom: 6px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(124,255,178,.75);
  animation: s121bub 2.2s ease-in infinite;
}

.hv19-erlen i:nth-child(1) { left: 17px; }
.hv19-erlen i:nth-child(2) { left: 24px; animation-delay: .7s; }
.hv19-erlen i:nth-child(3) {
  left: 30px;
  width: 3px;
  height: 3px;
  animation-delay: 1.4s;
}

@keyframes s121bub {
  0% { transform: translateY(0); opacity: 0; }
  25% { opacity: .9; }
  100% { transform: translateY(-24px); opacity: 0; }
}

/* the specimen dish holding the hero sample */
.hv19-dish {
  position: relative;
  flex: none;
  width: 156px;
  height: 156px;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid rgba(124,255,178,.4);
  background: var(--ink);
  animation: s121glow 3.2s ease-in-out infinite;
}

.hv19-dish img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* the glass glare sweeping the dish */
.hv19-glare {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(115deg,
    rgba(239,246,242,.2) 0 12%,
    transparent 12% 55%,
    rgba(239,246,242,.08) 55% 62%,
    transparent 62%);
  pointer-events: none;
}

@keyframes s121glow {
  0%, 100% { box-shadow: inset 0 0 22px rgba(0,0,0,.5), 0 0 16px rgba(124,255,178,.14); }
  50% { box-shadow: inset 0 0 22px rgba(0,0,0,.5), 0 0 30px rgba(124,255,178,.3); }
}

/* the test tube stand at the right */
.hv19-stand {
  flex: none;
  display: flex;
  gap: 5px;
  align-items: flex-start;
  height: 58px;
  padding-top: 4px;
  border-top: 4px solid var(--steel);
}

.hv19-stand i {
  position: relative;
  width: 10px;
  border: 1.5px solid rgba(124,255,178,.45);
  border-top: none;
  border-radius: 0 0 5px 5px;
  background: linear-gradient(180deg, transparent 0 42%, rgba(124,255,178,.38) 42%);
}

.hv19-stand i:nth-child(1) { height: 46px; }
.hv19-stand i:nth-child(2) { height: 39px; background: linear-gradient(180deg, transparent 0 32%, rgba(169,214,229,.32) 32%); }
.hv19-stand i:nth-child(3) { height: 43px; }

/* the readout under the deck */
.hv19-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.hv19-nm {
  font-family: var(--fh);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  overflow-wrap: break-word;
}

.hv19-ds {
  font-size: 12.5px;
  color: var(--soft);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.hv19-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 2px;
}

.hv19-meta em {
  font-style: normal;
  font-family: var(--fm);
  font-size: 9.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--accent);
  border-radius: 3px;
  padding: 3px 10px;
}

.hx-stars {
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 2px;
}

.hx-stars i { font-style: normal; }
.hx-stars i.off { opacity: .25; }

.hx-cta {
  align-self: center;
  margin-top: 8px;
  font-family: var(--fh);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--bg);
  background: var(--accent);
  border-radius: 4px;
  padding: 8px 20px;
}

.hv19-bench:active { transform: scale(.98); }

/* the tube rack trailing below the bench */
.hv19-rail {
  position: relative;
  display: flex;
  gap: 12px;
  overflow-x: auto;
  width: 100%;
  padding: 20px 4px 10px;
  -webkit-overflow-scrolling: touch;
}

.hv19-rail::-webkit-scrollbar { height: 4px; }
.hv19-rail::-webkit-scrollbar-thumb { background: rgba(124,255,178,.4); border-radius: 2px; }
.hv19-rail::-webkit-scrollbar-track { background: transparent; }

/* the rack shelf bar the tubes hang from */
.hv19-rail::before {
  content: '';
  position: absolute;
  top: 7px;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--steel), var(--steel-2));
}

.hv19-tube {
  flex: none;
  width: 86px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hv19-tube:nth-child(even) { margin-top: 8px; }

/* the clamp gripping the rack bar */
.hv19-tube::before {
  content: '';
  width: 24px;
  height: 5px;
  border-radius: 2px;
  background: rgba(124,255,178,.35);
  margin-bottom: 3px;
}

.hv19-tube-g {
  width: 100%;
  height: 64px;
  border: 2px solid rgba(124,255,178,.35);
  border-radius: 7px 7px 13px 13px;
  overflow: hidden;
  background: var(--ink);
}

.hv19-tube-g img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hv19-tube-nm {
  margin-top: 5px;
  font-family: var(--fh);
  font-size: 11px;
  color: var(--text);
  max-width: 100%;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hv19-tube:active { transform: scale(.95); }

/* ═══ 7. divider — the molecule seam ═════════════════════════════ */
.tk-div {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 6px 0 10px;
}

.tk-div i {
  width: 38px;
  height: 2.5px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(124,255,178,.5), transparent);
}

/* the hex node in the middle */
.tk-div i:nth-child(3) {
  width: 12px;
  height: 12px;
  border-radius: 0;
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  background: rgba(124,255,178,.5);
}

/* ═══ 8. element bench — the periodic cells ══════════════════════ */
.s121-table {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  padding: 13px 11px 12px;
  border: 1.5px solid rgba(124,255,178,.2);
  border-radius: 10px;
  background:
    repeating-linear-gradient(0deg, rgba(124,255,178,.05) 0 1px, transparent 1px 22px),
    repeating-linear-gradient(90deg, rgba(124,255,178,.05) 0 1px, transparent 1px 22px),
    var(--panel-2);
}

.s121-el {
  min-width: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 9px 7px 8px;
  background: rgba(16,20,24,.9);
  border: 1px solid rgba(124,255,178,.28);
  border-radius: 6px;
}

/* element families get their own rim tint */
.s121-el:nth-child(3n+1) { border-color: rgba(124,255,178,.38); }
.s121-el:nth-child(3n+2) { border-color: rgba(169,214,229,.32); }
.s121-el:nth-child(3n) { border-color: rgba(242,201,76,.3); }

/* the atomic number pinned in the corner */
.s121-el-no {
  position: absolute;
  top: 5px;
  left: 6px;
  font-family: var(--fm);
  font-size: 8px;
  color: var(--soft);
}

.s121-el-art {
  position: relative;
  margin-top: 4px;
}

.s121-el-art img {
  width: 58px;
  height: 58px;
  border-radius: 6px;
  object-fit: cover;
  border: 1.5px solid rgba(124,255,178,.3);
}

.s121-el-nm {
  font-family: var(--fh);
  font-size: 11px;
  color: var(--text);
  max-width: 100%;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.s121-el-mass {
  font-style: normal;
  font-family: var(--fm);
  font-size: 8px;
  letter-spacing: .06em;
  color: var(--accent);
}

.s121-el:active { transform: scale(.95); }

/* ═══ 9. reagent shelf — the bottle rack ═════════════════════════ */
.s121-shelf {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.s121-shelf-row {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 8px 6px 16px;
}

/* the plank every bottle stands on */
.s121-shelf-row::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 0;
  right: 0;
  height: 7px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--steel), var(--steel-2));
  box-shadow: 0 3px 8px rgba(0,0,0,.4);
}

.s121-bottle {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

/* the neck and cap */
.s121-bottle::before {
  content: '';
  flex: none;
  width: 15px;
  height: 10px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--steel), #26333E);
  box-shadow: inset 0 2px 0 rgba(124,255,178,.25);
}

.s121-bottle-body {
  position: relative;
  width: 76px;
  height: 88px;
  border-radius: 8px 8px 10px 10px;
  overflow: hidden;
  border: 2px solid rgba(124,255,178,.3);
  background: var(--ink);
}

.s121-bottle-body img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* the reagent fill glowing through the glass */
.s121-bottle-fill {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 34%;
  background: linear-gradient(180deg, rgba(124,255,178,.03), rgba(124,255,178,.32));
  pointer-events: none;
}

.s121-bottle-fill.f1 {
  height: 48%;
  background: linear-gradient(180deg, rgba(169,214,229,.03), rgba(169,214,229,.3));
}

.s121-bottle-fill.f2 {
  height: 26%;
  background: linear-gradient(180deg, rgba(242,201,76,.03), rgba(242,201,76,.26));
}

.s121-bottle-fill.f3 {
  height: 55%;
  background: linear-gradient(180deg, rgba(239,246,242,.02), rgba(239,246,242,.22));
}

/* the paper label wrapped on the bottle */
.s121-bottle-nm {
  font-family: var(--fh);
  font-size: 11px;
  color: var(--text);
  max-width: 88%;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: rgba(239,246,242,.07);
  border: 1px dashed rgba(124,255,178,.3);
  border-radius: 4px;
  padding: 3px 7px;
}

.s121-bottle-tag {
  font-style: normal;
  font-family: var(--fm);
  font-size: 8.5px;
  letter-spacing: .1em;
  color: var(--accent);
}

.s121-bottle:active { transform: scale(.96); }

/* ═══ 10. incubation grid — the petri schedule ══════════════════ */
.s121-dishes {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  padding: 13px 11px;
  border: 1.5px dashed rgba(124,255,178,.25);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(124,255,178,.04), transparent 60%),
    var(--panel-2);
}

.s121-dish {
  min-width: 0;
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 26px 10px 9px;
  background: rgba(16,20,24,.85);
  border: 1px solid rgba(124,255,178,.18);
  border-radius: 8px;
}

/* the petri lid window */
.s121-dish-lid {
  position: relative;
  flex: none;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(239,246,242,.28);
  box-shadow:
    inset 0 0 0 3px rgba(124,255,178,.12),
    0 0 12px rgba(124,255,178,.1);
}

.s121-dish-lid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* the agar ring shading the lid rim */
.s121-dish-lid::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, transparent 56%, rgba(16,20,24,.55) 58%);
}

.s121-dish-b {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.s121-dish-b b {
  font-family: var(--fh);
  font-size: 13px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.s121-dish-b em {
  font-style: normal;
  font-family: var(--fm);
  font-size: 8.5px;
  letter-spacing: .08em;
  color: var(--soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* the incubation LED breathing in the corner */
.s121-dish-dot {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px rgba(124,255,178,.7);
}

.s121-dish:active { transform: scale(.97); }

/* ═══ 11. cryo vault — the deep-freeze rack ══════════════════════ */
.s121-cryo {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px 10px;
  padding: 15px 13px 14px;
  border: 1.5px solid rgba(169,214,229,.28);
  border-radius: 10px;
  background:
    radial-gradient(circle at 15% 20%, rgba(169,214,229,.08) 0 2px, transparent 3px),
    radial-gradient(circle at 70% 60%, rgba(169,214,229,.07) 0 2px, transparent 3px),
    radial-gradient(circle at 40% 85%, rgba(169,214,229,.06) 0 2px, transparent 3px),
    linear-gradient(180deg, rgba(169,214,229,.07), rgba(16,20,24,.5)),
    var(--panel);
}

.s121-vial {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 9px 6px 8px;
  background: rgba(16,20,24,.9);
  border: 1px solid rgba(169,214,229,.22);
  border-radius: 8px;
}

/* the screw cap */
.s121-vial-cap {
  width: 26px;
  height: 8px;
  border-radius: 2px;
  background: linear-gradient(180deg, #37505C, #2A3E48);
  box-shadow: inset 0 2px 0 rgba(169,214,229,.3);
}

.s121-vial-tube {
  position: relative;
  width: 56px;
  height: 70px;
  border-radius: 5px 5px 10px 10px;
  overflow: hidden;
  border: 2px solid rgba(169,214,229,.3);
  background: var(--ink);
}

.s121-vial-tube img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* the frost creeping down the tube */
.s121-vial-tube::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 15%, rgba(239,246,242,.28) 0 1px, transparent 2px),
    radial-gradient(circle at 75% 30%, rgba(239,246,242,.22) 0 1px, transparent 2px),
    radial-gradient(circle at 45% 8%, rgba(239,246,242,.25) 0 1px, transparent 2px),
    linear-gradient(180deg, rgba(169,214,229,.16), transparent 45%);
  pointer-events: none;
}

.s121-vial b {
  font-family: var(--fh);
  font-size: 11px;
  color: var(--text);
  max-width: 100%;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.s121-vial em {
  font-style: normal;
  font-family: var(--fm);
  font-size: 8.5px;
  letter-spacing: .08em;
  color: var(--frost);
}

.s121-vial:active { transform: scale(.95); }

/* ═══ 12. chart paper — the data traces ══════════════════════════ */
.s121-chart {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 13px 13px;
  border: 1.5px solid rgba(124,255,178,.2);
  border-radius: 10px;
  background:
    repeating-linear-gradient(0deg, rgba(124,255,178,.06) 0 1px, transparent 1px 18px),
    repeating-linear-gradient(90deg, rgba(124,255,178,.06) 0 1px, transparent 1px 18px),
    linear-gradient(180deg, rgba(239,246,242,.03), transparent),
    var(--panel-2);
}

.s121-trace {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  background: rgba(16,20,24,.88);
  border: 1px solid rgba(124,255,178,.16);
  border-radius: 8px;
}

/* the mini graph pane beside each entry */
.s121-trace-curve {
  flex: none;
  position: relative;
  width: 54px;
  height: 42px;
  background:
    repeating-linear-gradient(0deg, rgba(124,255,178,.1) 0 1px, transparent 1px 9px),
    repeating-linear-gradient(90deg, rgba(124,255,178,.1) 0 1px, transparent 1px 9px);
  border-radius: 4px;
}

.s121-trace-curve i {
  position: absolute;
  top: 4px;
  right: 5px;
  bottom: 4px;
  left: 5px;
}

/* four trace shapes cycled through the log */
.s121-trace-curve.c0 i {
  clip-path: polygon(0 78%, 22% 60%, 40% 66%, 60% 30%, 80% 40%, 100% 12%, 100% 100%, 0 100%);
  background: linear-gradient(180deg, rgba(124,255,178,.75), rgba(124,255,178,.2));
}

.s121-trace-curve.c1 i {
  clip-path: polygon(0 40%, 18% 55%, 34% 30%, 52% 48%, 70% 22%, 88% 35%, 100% 18%, 100% 100%, 0 100%);
  background: linear-gradient(180deg, rgba(169,214,229,.7), rgba(169,214,229,.15));
}

.s121-trace-curve.c2 i {
  clip-path: polygon(0 62%, 15% 62%, 30% 38%, 45% 70%, 62% 45%, 78% 65%, 100% 30%, 100% 100%, 0 100%);
  background: linear-gradient(180deg, rgba(242,201,76,.6), rgba(242,201,76,.12));
}

.s121-trace-curve.c3 i {
  clip-path: polygon(0 25%, 20% 45%, 38% 40%, 55% 62%, 74% 50%, 100% 70%, 100% 100%, 0 100%);
  background: linear-gradient(180deg, rgba(239,246,242,.5), rgba(239,246,242,.1));
}

.s121-trace img {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 7px;
  object-fit: cover;
  border: 1.5px solid rgba(124,255,178,.28);
}

.s121-trace-b {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.s121-trace-b b {
  font-family: var(--fh);
  font-size: 13.5px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.s121-trace-b em {
  font-style: normal;
  font-family: var(--fm);
  font-size: 9px;
  letter-spacing: .08em;
  color: var(--soft);
}

.s121-trace-arrow {
  flex: none;
  font-size: 13px;
  color: var(--accent);
}

.s121-trace:active { transform: scale(.98); }

/* ═══ 13. instrument panel — the gauge cluster ═══════════════════ */
.s121-panel {
  padding: 15px 13px 14px;
  border: 1.5px solid rgba(124,255,178,.25);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(124,255,178,.06), rgba(11,15,18,.6)),
    var(--panel);
}

.s121-gauges {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin-bottom: 14px;
}

.s121-gauge {
  min-width: 0;
  position: relative;
  text-align: center;
  padding: 11px 6px 10px;
  background: var(--ink);
  border: 1px solid rgba(124,255,178,.22);
  border-radius: 8px;
}

/* the status LED in the corner */
.s121-gauge::before {
  content: '';
  position: absolute;
  top: 6px;
  right: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px rgba(124,255,178,.8);
  animation: s121blink 1.8s ease-in-out infinite;
}

@keyframes s121blink {
  0%, 100% { opacity: 1; }
  50% { opacity: .25; }
}

.s121-gauge b {
  display: block;
  font-family: var(--fm);
  font-size: 24px;
  font-weight: 700;
  color: var(--accent);
  text-shadow: 0 0 12px rgba(124,255,178,.45);
}

.s121-gauge span {
  font-family: var(--fm);
  font-size: 9px;
  letter-spacing: .14em;
  color: var(--soft);
}

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

.s121-dial {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.s121-dial-face {
  position: relative;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 42%, rgba(124,255,178,.1), transparent 60%),
    var(--ink);
  border: 3px solid var(--steel);
  box-shadow:
    inset 0 0 14px rgba(0,0,0,.55),
    0 0 0 3px rgba(16,20,24,.9);
  overflow: hidden;
}

/* the tick ring around the dial */
.s121-dial-face::before {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  border: 2px dashed rgba(124,255,178,.35);
}

.s121-dial-face img {
  position: absolute;
  top: 7px;
  left: 7px;
  width: calc(100% - 14px);
  height: calc(100% - 14px);
  border-radius: 50%;
  object-fit: cover;
  opacity: .88;
}

/* the needle sweeping the face */
.s121-dial-needle {
  position: absolute;
  bottom: 50%;
  left: 50%;
  width: 2.5px;
  height: 33%;
  margin-left: -1.25px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--accent), rgba(124,255,178,.2));
  transform-origin: bottom center;
  transform: rotate(38deg);
  box-shadow: 0 0 6px rgba(124,255,178,.6);
  z-index: 2;
}

.s121-dial:nth-child(2) .s121-dial-needle { transform: rotate(-22deg); }
.s121-dial:nth-child(3) .s121-dial-needle { transform: rotate(64deg); }

.s121-dial b {
  font-family: var(--fh);
  font-size: 11px;
  color: var(--text);
  max-width: 100%;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.s121-dial:active { transform: scale(.95); }

/* ═══ 14. patent wall — the plaque rack ══════════════════════════ */
.s121-patents {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 17px 12px;
  padding-top: 16px;
}

/* the hanging rail across the wall */
.s121-patents::before {
  content: '';
  position: absolute;
  top: 4px;
  left: 2px;
  right: 2px;
  height: 5px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--steel), var(--steel-2));
  box-shadow: 0 3px 8px rgba(0,0,0,.4);
}

.s121-plaque {
  min-width: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 13px 10px 10px;
  background:
    linear-gradient(180deg, rgba(239,246,242,.05), rgba(16,20,24,.5)),
    var(--panel);
  border: 2px solid rgba(227,206,143,.4);
  border-radius: 8px;
}

/* the hook wire up to the rail */
.s121-plaque::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 50%;
  width: 2px;
  height: 12px;
  margin-left: -1px;
  background: rgba(143,168,160,.55);
}

/* the corner screws */
.s121-plaque-screw {
  position: absolute;
  top: 6px;
  left: 10px;
  right: 10px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.s121-plaque-screw i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #E9E2C8, #8A7B4F);
  box-shadow: inset 0 1px 2px rgba(0,0,0,.6);
}

.s121-plaque-art img {
  width: 88px;
  height: 66px;
  object-fit: cover;
  border-radius: 6px;
  border: 2px solid rgba(227,206,143,.5);
  box-shadow: inset 0 0 0 2px rgba(16,20,24,.6);
}

.s121-plaque-b {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  border-top: 1px dashed rgba(227,206,143,.35);
  padding-top: 7px;
}

.s121-plaque-b b {
  font-family: var(--fh);
  font-size: 12.5px;
  color: var(--text);
  max-width: 100%;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.s121-plaque-b em {
  font-style: normal;
  font-family: var(--fm);
  font-size: 8.5px;
  letter-spacing: .1em;
  color: var(--brass);
}

.s121-plaque:active { transform: scale(.96); }

/* ═══ 15. safety boards — the protocol wall ══════════════════════ */
.s121-safety {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.s121-board {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 10px 10px 12px;
  background: var(--panel);
  border: 1.5px solid rgba(242,201,76,.3);
  border-left: 4px solid var(--hazard);
  border-radius: 8px;
}

/* the hazard stripe along the top edge */
.s121-board::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: repeating-linear-gradient(-45deg,
    rgba(242,201,76,.55) 0 7px,
    rgba(16,20,24,.7) 7px 14px);
  border-radius: 6px 6px 0 0;
}

/* the warning triangle */
.s121-board-tri {
  flex: none;
  position: relative;
  width: 34px;
  height: 30px;
  margin-top: 3px;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  background: linear-gradient(180deg, #F6DA6B, #D9A93C);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 3px;
}

.s121-board-tri i {
  font-style: normal;
  font-family: var(--fm);
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  color: #1E1608;
}

.s121-board img {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 7px;
  object-fit: cover;
  border: 1.5px solid rgba(242,201,76,.35);
}

.s121-board-b {
  flex: 1;
  min-width: 0;
}

.s121-board-b b {
  display: block;
  font-family: var(--fh);
  font-size: 13px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.s121-board-b span {
  display: block;
  font-size: 11px;
  color: var(--soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.s121-board-no {
  flex: none;
  font-family: var(--fm);
  font-size: 8.5px;
  letter-spacing: .08em;
  color: var(--hazard);
  border: 1px dashed rgba(242,201,76,.4);
  border-radius: 4px;
  padding: 3px 5px;
}

.s121-board:active { transform: scale(.98); }

/* ═══ 16. project racks — the category bays ═════════════════════ */
.s121-racks {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 11px 10px;
}

.s121-rackslot {
  min-width: 0;
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 11px 10px;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1.5px solid rgba(124,255,178,.22);
  border-radius: 8px;
}

/* the bay guide lines behind each slot */
.s121-rackslot::before {
  content: '';
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 44px;
  width: 9px;
  border-left: 1.5px dashed rgba(124,255,178,.18);
  border-right: 1.5px dashed rgba(124,255,178,.18);
  pointer-events: none;
}

.s121-rackslot-no {
  flex: none;
  font-family: var(--fm);
  font-size: 8.5px;
  letter-spacing: .06em;
  color: var(--bg);
  background: var(--accent);
  border-radius: 4px;
  padding: 4px 6px;
  text-align: center;
  line-height: 1.2;
}

.s121-rackslot-b {
  flex: 1;
  min-width: 0;
}

.s121-rackslot-b b {
  display: block;
  font-family: var(--fh);
  font-size: 13px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.s121-rackslot-b i {
  font-style: normal;
  font-family: var(--fm);
  font-size: 9px;
  color: var(--soft);
}

.s121-rackslot-arrow {
  flex: none;
  font-size: 13px;
  color: var(--accent);
}

.s121-rackslot:active { transform: scale(.97); }

/* ═══ 17. lab notebook — the archive rows ════════════════════════ */
.s121-notebook {
  position: relative;
  padding: 15px 12px 12px 22px;
  background:
    repeating-linear-gradient(0deg, rgba(124,255,178,.05) 0 1px, transparent 1px 24px),
    linear-gradient(180deg, rgba(124,255,178,.04), transparent 40%),
    var(--panel);
  border: 1.5px solid rgba(124,255,178,.22);
  border-radius: 10px;
}

/* the spiral binding down the left edge */
.s121-notebook::before {
  content: '';
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 7px;
  width: 5px;
  background-image: radial-gradient(circle, rgba(124,255,178,.45) 2.2px, transparent 2.8px);
  background-size: 5px 16px;
  background-repeat: repeat-y;
}

.arc-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.arc {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: rgba(16,20,24,.75);
  border: 1px solid rgba(124,255,178,.14);
  border-bottom: 1.5px dashed rgba(124,255,178,.22);
  border-radius: 6px;
}

.arc-code {
  flex: none;
  font-family: var(--fm);
  font-size: 9px;
  color: var(--accent);
  border: 1px dashed rgba(124,255,178,.4);
  border-radius: 4px;
  padding: 3px 5px;
}

.arc img {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 7px;
  object-fit: cover;
}

.arc-b {
  flex: 1;
  min-width: 0;
}

.arc-nm {
  display: block;
  font-family: var(--fh);
  font-size: 13px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.arc-ds {
  display: block;
  font-size: 11px;
  color: var(--soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.arc-arrow {
  flex: none;
  font-style: normal;
  font-size: 13px;
  color: var(--accent);
}

.arc:active { transform: scale(.98); }

/* ═══ 18. filter view + empty ════════════════════════════════════ */
.filter-hd {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.filter-back {
  flex: none;
  font-family: var(--fh);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text);
  background: var(--panel);
  border: 1.5px solid rgba(124,255,178,.5);
  border-radius: 6px;
  padding: 7px 12px;
}

.filter-title {
  flex: 1;
  min-width: 0;
  font-family: var(--fh);
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.filter-cnt {
  flex: none;
  font-family: var(--fm);
  font-size: 11.5px;
  color: var(--bg);
  background: var(--accent);
  border-radius: 4px;
  padding: 3px 8px;
}

.empty-space {
  text-align: center;
  padding: 40px 0 24px;
}

/* the empty crucible on a dead assay */
.empty-space p {
  font-size: 30px;
  line-height: 1;
  color: var(--soft);
}

.empty-space span {
  display: block;
  margin-top: 10px;
  font-family: var(--fm);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--soft);
}

/* ═══ 19. more ═══════════════════════════════════════════════════ */
.more-wrap {
  text-align: center;
  margin-top: 15px;
}

.more-btn {
  font-family: var(--fh);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--accent);
  background: var(--panel);
  border: 1.5px solid rgba(124,255,178,.4);
  border-radius: 6px;
  padding: 10px 22px;
}

.more-btn:active { transform: scale(.97); }

/* ═══ 20. footer — the graph paper hem ═══════════════════════════ */
.foot {
  position: relative;
  margin-top: 44px;
  padding: 30px 0 30px;
  text-align: center;
  background: linear-gradient(180deg, #182028, #101418);
}

/* the coordinate paper stitched over the footer edge */
.s121-gridpaper {
  position: relative;
  height: 26px;
  margin-bottom: 12px;
  border-bottom: 2px solid rgba(124,255,178,.2);
  background:
    repeating-linear-gradient(0deg, rgba(124,255,178,.16) 0 1px, transparent 1px 13px),
    repeating-linear-gradient(90deg, rgba(124,255,178,.16) 0 1px, transparent 1px 13px),
    linear-gradient(180deg, rgba(124,255,178,.06), transparent);
  overflow: hidden;
}

/* a plotted curve drifting across the grid */
.s121-gridpaper i {
  position: absolute;
  bottom: 0;
  left: -5%;
  width: 40%;
  height: 100%;
  clip-path: polygon(0 72%, 18% 60%, 36% 66%, 55% 34%, 74% 44%, 100% 22%, 100% 100%, 0 100%);
  background: linear-gradient(180deg, rgba(124,255,178,.4), rgba(124,255,178,.08));
}

.s121-gridpaper i:last-child {
  left: auto;
  right: -5%;
  width: 34%;
  transform: scaleX(-1);
  opacity: .7;
}

.foot-name {
  font-family: var(--fh);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--text);
}

.foot-links {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-top: 12px;
}

.foot-links a {
  display: inline;
  font-size: 12.5px;
  color: var(--soft);
  text-decoration: underline;
}

.foot-fine {
  margin-top: 12px;
  font-family: var(--fm);
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--soft);
  opacity: .75;
}

/* ═══ 21. back-to-top — the pipette button ═══════════════════════ */
.totop-btn {
  position: fixed;
  right: 16px;
  bottom: 24px;
  z-index: 60;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--fh);
  font-size: 17px;
  font-weight: 700;
  color: var(--bg);
  background: radial-gradient(circle at 40% 30%, #CFFFDB, var(--accent));
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(0,0,0,.45);
}

/* ═══ 22. responsive ═════════════════════════════════════════════ */
@media (max-width: 480px) {
  .sec { padding: 13px 12px 15px; }

  .s121-mol { height: 36px; }

  .s121-mol .m { width: 24px; }
  .s121-mol .m::before { width: 21px; height: 22px; }
  .s121-mol .bond { width: 14px; }

  .hv19-dish { width: 128px; height: 128px; border-width: 4px; }

  .hv19-erlen { width: 40px; height: 50px; }
  .hv19-erlen::before { height: 34px; }
  .hv19-erlen i { animation-duration: 2.6s; }

  .hv19-stand { height: 50px; }
  .hv19-stand i:nth-child(1) { height: 40px; }
  .hv19-stand i:nth-child(2) { height: 34px; }
  .hv19-stand i:nth-child(3) { height: 37px; }

  .hv19-nm { font-size: 19px; }

  .hv19-tube { width: 80px; }
  .hv19-tube-g { height: 58px; }

  .s121-table { gap: 7px; padding: 11px 9px 10px; }

  .s121-el-art img { width: 52px; height: 52px; }

  .s121-bottle-body { width: 66px; height: 78px; }

  .s121-dish-lid { width: 52px; height: 52px; }

  .s121-vial-tube { width: 50px; height: 62px; }

  .s121-dial-face { width: 76px; height: 76px; }

  .s121-plaque-art img { width: 78px; height: 58px; }

  .s121-notebook { padding-left: 19px; }
}

@media (max-width: 375px) {
  .wrap { padding: 0 14px; }

  .hdr-name { font-size: 16px; }

  .s121-mol .bond { width: 10px; }

  .s121-flasks { gap: 10px; }

  .s121-dishes { gap: 10px; }

  .s121-dish { gap: 8px; padding: 10px 22px 10px 8px; }

  .s121-dish-lid { width: 46px; height: 46px; }

  .s121-cryo { gap: 11px 8px; }

  .s121-chart { padding: 12px 10px 11px; }

  .s121-trace { gap: 8px; }

  .s121-trace-curve { width: 44px; height: 36px; }

  .s121-trace img { width: 42px; height: 42px; }

  .s121-patents { gap: 15px 10px; }

  .s121-racks { gap: 10px 9px; }

  .s121-board { gap: 8px; }

  .s121-gauges { gap: 7px; }

  .s121-gauge b { font-size: 20px; }

  .arc { gap: 8px; }
}
