/* The launch landing page (countdown.html, siteServer.ts countdownPage;
   v.164-v.165 the countdown alone, v.166 a landing page): the top bar; the
   hero, its pictures (the site's 3:1 banners, or the owner's) each whole,
   taking turns over a blurred copy, and the time left; the class wiki that
   countdown.js draws from the page's JSON; the community links; the footer.
   At /login the owner's login box over it. Each class has its colour
   ([data-line], site.js CLASS_COLOURS). */
:root {
  --bg: #0b0a1a;
  --panel: rgba(24, 20, 56, 0.72);
  --panel-2: rgba(34, 28, 76, 0.78);
  --line: rgba(255, 255, 255, 0.12);
  --line-2: rgba(255, 255, 255, 0.24);
  --frame: rgba(79, 216, 255, 0.26);
  --soft: rgba(255, 255, 255, 0.82);
  --muted: rgba(255, 255, 255, 0.62);
  --gold: #ffd45a;
  --gold-2: #f2a63a;
  --cyan: #4fd8ff;
  --c: #ffd45a;
  --c-rgb: 255, 212, 90;
  --top: 64px;
  /* The hero's height kept for the time left and the buttons under the picture. */
  --reserve: 410px;
}
[data-line="2"] { --c: #ff7e7e; --c-rgb: 255, 126, 126; }
[data-line="3"] { --c: #3fdc8b; --c-rgb: 63, 220, 139; }
[data-line="4"] { --c: #8f73ff; --c-rgb: 143, 115, 255; }
[data-line="5"] { --c: #31e3c3; --c-rgb: 49, 227, 195; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--top) + 12px); }
html, body { margin: 0; }
body {
  overflow-x: hidden;
  background: var(--bg);
  color: #fff;
  font-family: "Nunito", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: "Fredoka", "Nunito", sans-serif; font-weight: 700; line-height: 1.12; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip {
  position: absolute;
  top: -60px;
  left: 12px;
  z-index: 50;
  padding: 8px 14px;
  border-radius: 10px;
  background: var(--gold);
  color: #2a1a00;
  font-weight: 800;
  text-decoration: none;
}
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.icon {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.eyebrow {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
}
/* A short line each side, as on the banners' frames. */
.ornament { display: flex; align-items: center; justify-content: center; gap: 12px; }
.ornament::before,
.ornament::after {
  content: "";
  width: 56px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan));
}
.ornament::after { transform: scaleX(-1); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.4); }
.btn.gold {
  border: 0;
  background: linear-gradient(180deg, #ffe07a, var(--gold-2));
  color: #2a1a00;
  box-shadow: 0 8px 24px rgba(242, 166, 58, 0.35);
}
.btn.gold:hover { background: linear-gradient(180deg, #ffe892, #f5b04a); }

/* ------------------------------------------------------------ top bar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--top);
  border-bottom: 1px solid var(--line);
  background: rgba(11, 10, 26, 0.74);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.topbar-inner { display: flex; align-items: center; gap: 16px; height: 100%; }
.brand { display: flex; flex: none; align-items: center; height: 100%; }
.brand img { display: block; width: auto; height: 50px; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5)); }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--soft);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}
.nav a:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.top-socials { display: flex; gap: 6px; }
.top-socials:empty { display: none; }
.icon-link {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  color: var(--soft);
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.icon-link:hover { border-color: var(--cyan); color: #fff; }

/* ------------------------------------------------------------ hero */
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: calc(100vh - var(--top));
  min-height: calc(100svh - var(--top));
  padding: clamp(16px, 3vh, 32px) 16px clamp(40px, 7vh, 72px);
  overflow: hidden;
}
/* The picture shown, blurred over the whole hero behind it, fading into the page. */
.backdrop { position: absolute; inset: -60px; z-index: -2; overflow: hidden; }
.backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(32px) brightness(0.45) saturate(1.2);
  transform: scale(1.1);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 180px;
  background: linear-gradient(to bottom, rgba(11, 10, 26, 0), var(--bg));
  pointer-events: none;
}
.stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(12px, 2.4vh, 24px);
  width: min(1600px, 100%);
}
/* The pictures stacked in one place; the one shown fades in. Each keeps
   its own shape, as wide as the page allows and short enough to leave the
   time left in view. */
.slides { display: grid; place-items: center; width: 100%; }
.slide {
  grid-area: 1 / 1;
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: max(180px, calc(100vh - var(--top) - var(--reserve)));
  max-height: max(180px, calc(100svh - var(--top) - var(--reserve)));
  border-radius: clamp(10px, 1.2vw, 18px);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.12);
  opacity: 0;
  transition: opacity 0.9s ease;
}
.slide.on { opacity: 1; }
.dots { display: flex; justify-content: center; gap: 2px; margin-top: -6px; }
.dots button {
  display: grid;
  place-items: center;
  width: 30px;
  height: 22px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.dots button::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
  transition: width 0.3s ease, background 0.3s ease;
}
.dots button.on::before { width: 24px; background: var(--gold); }
.launch { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.count { display: flex; gap: clamp(8px, 1.6vw, 18px); }
.unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: clamp(70px, 9vw, 128px);
  padding: clamp(10px, 1.3vw, 16px) clamp(8px, 1.2vw, 16px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: rgba(16, 13, 40, 0.62);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.unit b {
  font-family: "Fredoka", "Nunito", sans-serif;
  font-size: clamp(32px, 5vw, 68px);
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.45);
}
.unit span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(10px, 1vw, 13px);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.when { margin: 0; color: var(--soft); font-weight: 800; }
.when:empty, .tagline:empty, .about:empty { display: none; }
.tagline { max-width: 640px; margin: 0; color: var(--soft); font-size: clamp(15px, 1.6vw, 18px); }
.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 4px; }

/* ------------------------------------------------------------ classes */
.classes {
  position: relative;
  isolation: isolate;
  padding: clamp(48px, 8vw, 96px) 0;
}
/* A glow in the class's colour. */
.classes::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(70% 420px at 50% 0, rgba(var(--c-rgb), 0.16), rgba(var(--c-rgb), 0) 70%);
  transition: background 0.4s ease;
}
.section-head { max-width: 780px; margin: 0 auto clamp(24px, 4vw, 40px); text-align: center; }
.section-head h2,
.community h2 {
  margin: 8px 0 12px;
  background: linear-gradient(180deg, #fff3b0, var(--gold) 45%, var(--gold-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(30px, 4.4vw, 48px);
  filter: drop-shadow(0 3px 0 rgba(120, 60, 0, 0.55));
}
.intro { margin: 0; color: var(--soft); font-size: 17px; }
.class-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.class-tab {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 10px 14px 10px 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  text-align: left;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.class-tab img { flex: none; width: 52px; height: 52px; border-radius: 12px; background: rgba(0, 0, 0, 0.3); }
.class-tab:hover { transform: translateY(-2px); border-color: var(--line-2); }
.class-tab[aria-selected="true"] {
  border-color: var(--c);
  background: linear-gradient(180deg, rgba(var(--c-rgb), 0.2), var(--panel));
  box-shadow: inset 0 0 0 1px var(--c), 0 12px 30px rgba(0, 0, 0, 0.35);
}
.tab-text { min-width: 0; }
.tab-name { display: block; font-family: "Fredoka", "Nunito", sans-serif; font-size: 20px; font-weight: 700; line-height: 1.15; }
.class-tab[aria-selected="true"] .tab-name { color: var(--c); }
.tab-sub {
  display: block;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.class-panel {
  padding: clamp(14px, 2.4vw, 28px);
  border: 1px solid var(--frame);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(var(--c-rgb), 0.08), rgba(16, 13, 40, 0.62) 320px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}
.class-banner { margin: 0 0 18px; }
.class-banner img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 14px 40px rgba(0, 0, 0, 0.4);
}
/* A class without a banner (the Summoner): its portraits and name. */
.class-hero {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  padding: clamp(16px, 3vw, 28px);
  border-radius: 14px;
  background: radial-gradient(120% 140% at 0 0, rgba(var(--c-rgb), 0.28), rgba(16, 13, 40, 0.4) 60%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.class-hero img { width: 88px; height: 88px; border-radius: 18px; background: rgba(0, 0, 0, 0.3); }
.class-hero h3 { margin: 4px 0 0; color: var(--c); font-size: clamp(32px, 5vw, 52px); }
/* The class's words beside its job tree (one under the other below 1100 px). */
.class-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px 32px;
  margin-bottom: 24px;
}
.lead { max-width: 860px; margin: 0; color: var(--soft); font-size: 17px; }
.closed {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 212, 90, 0.12);
  color: var(--gold);
  font-size: 14px;
  font-weight: 800;
}
/* The job tree: the class, a fork, and each second job with the third it leads to. */
.job-tree { display: flex; align-items: center; }
.job-node {
  display: flex;
  flex: 0 1 auto;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 8px 16px 8px 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel-2);
  text-align: left;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.job-node:hover { transform: translateY(-2px); border-color: var(--line-2); }
.job-node[aria-pressed="true"] {
  border-color: var(--c);
  box-shadow: inset 0 0 0 1px var(--c), 0 0 26px rgba(var(--c-rgb), 0.35);
}
.pair { display: flex; flex: none; }
.pair img { width: 44px; height: 44px; border-radius: 10px; background: rgba(0, 0, 0, 0.3); }
.pair img + img { margin-left: -14px; }
.job-text { min-width: 0; }
.job-text b { display: block; font-family: "Fredoka", "Nunito", sans-serif; font-size: 17px; font-weight: 700; line-height: 1.15; }
.job-node[aria-pressed="true"] .job-text b { color: var(--c); }
.job-text small { display: block; color: var(--muted); font-size: 12px; font-weight: 700; white-space: nowrap; }
.root { flex: none; }
.stem { flex: none; width: 28px; height: 2px; background: var(--line-2); }
.branches { display: grid; gap: 14px; min-width: 0; }
.branch { position: relative; display: flex; align-items: center; padding-left: 28px; }
.branch::before,
.branch::after { content: ""; position: absolute; left: 0; background: var(--line-2); }
.branch::before { width: 2px; }
.branch:first-child::before { top: 50%; bottom: -7px; }
.branch:last-child::before { top: -7px; bottom: 50%; }
.branch::after { top: calc(50% - 1px); width: 28px; height: 2px; }
.link-arrow { position: relative; flex: none; width: 44px; height: 2px; margin: 0 6px 0 4px; background: var(--line-2); }
.link-arrow::after {
  content: "";
  position: absolute;
  top: -5px;
  right: -6px;
  border: 6px solid transparent;
  border-right-width: 0;
  border-left-color: var(--line-2);
}
/* The chosen job's wiki page. */
.job-card { padding-top: 22px; border-top: 1px solid var(--line); }
.job-head { display: flex; align-items: center; gap: 18px; margin-bottom: 16px; }
.job-portraits { display: flex; flex: none; gap: 8px; }
.job-portraits img {
  width: 80px;
  height: 80px;
  border: 1px solid rgba(var(--c-rgb), 0.5);
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.job-head h3 { margin: 4px 0 0; font-size: clamp(28px, 3.6vw, 40px); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr)); gap: 10px; margin: 0 0 24px; }
.facts div { padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, 0.05); }
.facts dt { color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.facts dd { margin: 2px 0 0; font-weight: 800; }
.job-link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--c);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
/* Skills: kind filters, then cards that open to their description. */
.skills-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.skills-head h4 { margin: 0; font-size: 22px; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  padding: 6px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: none;
  color: var(--soft);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
.chip .n { opacity: 0.7; }
.chip[aria-pressed="true"] { border-color: var(--c); background: var(--c); color: #120f2a; }
.skills {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr));
  align-items: start;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.skill details { border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, 0.04); }
.skill details[open] { border-color: rgba(var(--c-rgb), 0.55); background: rgba(var(--c-rgb), 0.08); }
.skill summary { display: flex; align-items: center; gap: 12px; padding: 10px 12px; list-style: none; cursor: pointer; }
.skill summary::-webkit-details-marker { display: none; }
.skill-icon {
  display: block;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 9px;
  background: rgba(0, 0, 0, 0.35);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14);
}
.skill-text { min-width: 0; }
.skill-name { display: block; font-weight: 800; line-height: 1.25; }
.skill-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 3px; color: var(--muted); font-size: 12px; font-weight: 700; }
.skill-meta .levels { flex-basis: 100%; }
.kind { padding: 1px 8px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.kind.target { background: rgba(255, 126, 126, 0.16); color: #ffa3a3; }
.kind.area { background: rgba(143, 115, 255, 0.2); color: #c0b2ff; }
.kind.self { background: rgba(49, 227, 195, 0.15); color: #6eecd5; }
.kind.passive { background: rgba(255, 255, 255, 0.1); color: var(--soft); }
.chev { margin-left: auto; color: var(--muted); transition: transform 0.2s ease; }
.skill details[open] .chev { transform: rotate(180deg); }
.skill-body { padding: 0 14px 12px 64px; color: var(--soft); font-size: 14px; }
.skill-body p { margin: 0 0 6px; }
.skill-stats { color: var(--muted); font-size: 12px; font-weight: 800; }
.more { display: flex; margin: 14px auto 0; }
.none { margin: 0; color: var(--muted); }
/* The skills every class learns. */
.common {
  margin-top: 28px;
  padding: clamp(14px, 2.4vw, 24px);
  border: 1px dashed var(--line-2);
  border-radius: 22px;
  background: rgba(16, 13, 40, 0.45);
}
.common h3 { margin: 0 0 4px; font-size: 24px; }
.common > p { margin: 0 0 14px; color: var(--muted); }

/* ------------------------------------------------------------ community and footer */
.community {
  padding: clamp(44px, 7vw, 80px) 0;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(79, 216, 255, 0), rgba(79, 216, 255, 0.07));
  text-align: center;
}
.social-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 18px; }
.footer { padding: 36px 0 44px; border-top: 1px solid var(--line); background: #08071a; text-align: center; }
.footer-logo { width: 150px; height: auto; }
.about { max-width: 640px; margin: 10px auto; color: var(--soft); white-space: pre-line; }
.legal { margin: 10px 0 0; color: var(--muted); font-size: 13px; }

/* ------------------------------------------------------------ the owner's login (/login only) */
.login-layer {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(5, 4, 14, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.login {
  display: grid;
  gap: 10px;
  width: min(320px, 100%);
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  background: rgba(16, 13, 40, 0.92);
}
.login input,
.login button {
  padding: 11px 14px;
  border-radius: 10px;
  font: inherit;
  font-size: 15px;
}
.login input { border: 1px solid rgba(255, 255, 255, 0.22); background: rgba(0, 0, 0, 0.35); color: #fff; }
.login button {
  border: 0;
  background: linear-gradient(180deg, #ffd45a, #f2a63a);
  color: #2a1a00;
  font-weight: 800;
  cursor: pointer;
}
.login button:disabled { opacity: 0.6; cursor: default; }
.login .error { min-height: 1em; margin: 0; color: #ff9db4; font-size: 13px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slide, .classes::before, .dots button::before { transition: none; }
  .btn, .class-tab, .job-node { transition: none; }
}
@media (max-width: 1100px) {
  .class-intro { grid-template-columns: minmax(0, 1fr); }
}
/* Short screens (a laptop's browser): smaller units, so the picture keeps its size. */
@media (max-height: 820px) and (min-width: 761px) {
  :root { --reserve: 360px; }
  .stage { gap: 12px; }
  .launch { gap: 8px; }
  .unit { min-width: 96px; padding: 8px 12px; }
  .unit b { font-size: 44px; }
  .unit span { margin-top: 4px; }
}
@media (max-width: 900px) {
  .class-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Phones: the tree as a column, each line's two jobs side by side. */
@media (max-width: 760px) {
  :root { --top: 58px; }
  .hero { min-height: 0; place-items: start center; padding-top: 20px; }
  .brand img { height: 44px; }
  .top-socials { display: none; }
  .job-tree { flex-direction: column; align-items: stretch; gap: 10px; }
  .stem, .branch::before, .branch::after { display: none; }
  .branches { gap: 10px; }
  .branch { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); padding-left: 0; }
  .job-node { flex-direction: column; justify-content: center; gap: 6px; padding: 10px 8px; text-align: center; }
  .root .job-node { flex-direction: row; text-align: left; }
  .link-arrow { width: 14px; margin: 0 8px 0 2px; }
  .job-head { gap: 12px; }
  .job-portraits img { width: 64px; height: 64px; }
  .skill-body { padding-left: 14px; }
}
@media (max-width: 520px) {
  .nav a { padding: 8px 9px; font-size: 12px; letter-spacing: 0.04em; }
  .count { width: 100%; }
  .unit { flex: 1 1 0; min-width: 0; }
  .class-tab { gap: 8px; padding: 8px; }
  .class-tab img { width: 40px; height: 40px; }
  .tab-name { font-size: 17px; }
  .job-portraits img + img { display: none; }
  .class-hero img + img { display: none; }
}
