/* Facecard: Makeup Showdown  -  site styles (plum glass, chrome, gel) */

:root {
  --plum-1: #4A1259;
  --plum-2: #1F0727;
  --plum-deep: #16041d;
  --pink: #FF2D95;
  --pink-dark: #7E0044;
  --cyan: #19D3F3;
  --cyan-dark: #054D6B;
  --gold: #FFC107;
  --gold-dark: #8A3D00;
  --chrome: #9FA7BC;
  --ink: #F6ECFA;
  --ink-soft: #D9C3E4;
  --ink-dim: #B79CC6;
  --display: "Fredoka", "Fredoka One", "Baloo 2", "Trebuchet MS", system-ui, sans-serif;
  --body: "Montserrat", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --spark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M12 0C12.7 8.2 15.8 11.3 24 12 15.8 12.7 12.7 15.8 12 24 11.3 15.8 8.2 12.7 0 12 8.2 11.3 11.3 8.2 12 0Z'/%3E%3C/svg%3E");
  --wrap: 1120px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--body);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--plum-deep);
  overflow-x: hidden;
}

/* ---------- the loading-screen backdrop ---------- */
.sky {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    linear-gradient(104deg, transparent 54%, rgba(196, 120, 255, 0.10) 60%, rgba(196, 120, 255, 0.16) 63%, transparent 69%),
    linear-gradient(104deg, transparent 72%, rgba(255, 120, 200, 0.07) 78%, transparent 86%),
    linear-gradient(104deg, transparent 8%, rgba(255, 45, 149, 0.10) 17%, transparent 27%),
    radial-gradient(ellipse 70% 55% at 36% 32%, rgba(140, 22, 110, 0.85), transparent 70%),
    radial-gradient(ellipse 60% 50% at 82% 86%, rgba(74, 18, 110, 0.6), transparent 70%),
    linear-gradient(180deg, #2b0a3a 0%, #1c0626 55%, #14031b 100%);
}
.sky i {
  position: absolute;
  width: var(--s, 18px);
  height: var(--s, 18px);
  background: var(--spark) center / contain no-repeat;
  opacity: var(--o, 0.8);
  filter: drop-shadow(0 0 6px rgba(255, 200, 240, 0.95)) drop-shadow(0 0 2px #fff);
  animation: twinkle var(--t, 4s) ease-in-out infinite;
  animation-delay: var(--d, 0s);
}
@keyframes twinkle {
  0%, 100% { transform: scale(1); opacity: var(--o, 0.8); }
  50% { transform: scale(0.55); opacity: 0.25; }
}

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }

a { color: #FF9DD0; }
a:hover { color: #fff; }
:focus-visible { outline: 3px solid #fff; outline-offset: 3px; border-radius: 8px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: #fff; color: #3b0b47; padding: 10px 16px; border-radius: 12px; font-weight: 700;
}
.skip:focus { top: 12px; }

/* ---------- chrome lettering ---------- */
.chrome {
  position: relative;
  display: inline-block;
  font-family: var(--display);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  color: #fff;
  -webkit-text-stroke: 0.16em var(--pink);
  paint-order: stroke fill;
  text-shadow: 0 0.1em 0 var(--pink-dark), 0 0.16em 0.3em rgba(0, 0, 0, 0.45);
}
.chrome::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  -webkit-text-stroke: 0;
  text-shadow: none;
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 40%, #b4bcd2 52%, #dfe3ee 60%, #ffffff 78%, #eef0f7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  pointer-events: none;
}
.chrome.plum { -webkit-text-stroke-color: #2A0530; text-shadow: 0 0.1em 0 rgba(0, 0, 0, 0.5); }

/* ---------- gel buttons ---------- */
.gel {
  --g: linear-gradient(180deg, #ffc1e2 0%, #ff78bf 20%, #ff2d95 52%, #f31689 81%, #96005a 81.5%, #b9056e 100%);
  --stroke: var(--pink-dark);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.62em 1.5em 0.8em;
  border: 3px solid #fff;
  border-radius: 999px;
  background: var(--g);
  box-shadow: 0 0 0 2px rgba(42, 5, 48, 0.85), 0 8px 18px rgba(0, 0, 0, 0.4);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  -webkit-text-stroke: 4px var(--stroke);
  paint-order: stroke fill;
  cursor: pointer;
  transition: transform 0.12s ease, filter 0.12s ease, box-shadow 0.12s ease;
  -webkit-tap-highlight-color: transparent;
}
.gel > * { position: relative; z-index: 1; }
.gel::before {
  content: "";
  position: absolute;
  left: 3.5%; right: 3.5%; top: 7%;
  height: 36%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.14));
  pointer-events: none;
}
.gel::after {
  content: "";
  position: absolute;
  right: -10px; top: -14px;
  width: 30px; height: 30px;
  background: var(--spark) center / contain no-repeat;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.9));
  transform: scale(0) rotate(-40deg);
  transition: transform 0.25s cubic-bezier(0.2, 1.6, 0.4, 1);
  pointer-events: none;
}
.gel:hover, .gel:focus-visible { color: #fff; filter: brightness(1.07) saturate(1.05); transform: translateY(-2px); }
.gel:hover::after, .gel:focus-visible::after { transform: scale(1) rotate(0deg); }
.gel:active { transform: translateY(3px) scale(0.98); filter: brightness(0.96); box-shadow: 0 0 0 2px rgba(42, 5, 48, 0.85), 0 2px 6px rgba(0, 0, 0, 0.4); }
.gel svg { width: 1.1em; height: 1.1em; flex: none; fill: #fff; stroke: var(--stroke); stroke-width: 3px; paint-order: stroke fill; stroke-linejoin: round; }

.gel.cyan {
  --g: linear-gradient(180deg, #d6fcff 0%, #7deeff 20%, #24d8f6 52%, #12bfe2 81%, #08748f 81.5%, #0b8fac 100%);
  --stroke: var(--cyan-dark);
}
.gel.gold {
  --g: linear-gradient(180deg, #fffbd0 0%, #ffe44a 22%, #ffc107 50%, #ff9500 80%, #c65a00 81%, #e88a12 92%, #ffc23a 100%);
  --stroke: var(--gold-dark);
}
.gel.big { font-size: clamp(1.5rem, 4.4vw, 2rem); padding: 0.55em 1.6em 0.75em; -webkit-text-stroke-width: 7px; }
.gel.small { font-size: 0.95rem; padding: 0.5em 1.1em 0.66em; border-width: 2px; -webkit-text-stroke-width: 4px; }
.gel.block { display: flex; width: 100%; }

/* ---------- glass panels ---------- */
.glass {
  position: relative;
  border: 3px solid transparent;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(86, 24, 104, 0.94), rgba(34, 8, 43, 0.96)) padding-box,
    linear-gradient(180deg, #ffffff 0%, #c9cfdf 30%, #8d96ad 52%, #f4f5fa 64%, #9fa7bc 100%) border-box;
  box-shadow: 0 0 0 2px rgba(42, 5, 48, 0.9), 0 18px 40px rgba(0, 0, 0, 0.45);
}
.glass::before {
  content: "";
  position: absolute;
  left: 5px; right: 5px; top: 5px;
  height: min(42%, 90px);
  border-radius: 19px 19px 60% 60% / 19px 19px 26px 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0));
  pointer-events: none;
}
.glass > * { position: relative; }

/* ---------- top bar ---------- */
.top {
  position: sticky; top: 0; z-index: 20;
  background: linear-gradient(180deg, rgba(31, 7, 39, 0.92), rgba(31, 7, 39, 0.72));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.top .wrap { display: flex; align-items: center; gap: 14px; min-height: 64px; padding-block: 8px; }
.brand { text-decoration: none; margin-right: auto; display: inline-flex; align-items: center; gap: 10px; }
.brand img { width: 40px; height: 40px; border-radius: 11px; border: 2px solid #fff; box-shadow: 0 0 0 2px rgba(42, 5, 48, 0.9); }
.brand .chrome { font-size: 1.45rem; -webkit-text-stroke-width: 5px; }
.top nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.top nav a.link {
  font-family: var(--display); font-weight: 600; font-size: 1.02rem; letter-spacing: 0.02em;
  color: var(--ink); text-decoration: none; padding: 8px 12px; border-radius: 999px;
}
.top nav a.link:hover, .top nav a.link[aria-current="page"] { background: rgba(255, 45, 149, 0.22); color: #fff; }

/* ---------- home: hero ---------- */
.hero { padding: clamp(28px, 6vw, 64px) 0 20px; }
.hero .wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.lockup { text-align: center; }
.lockup h1 { margin: 0; font-size: 1px; line-height: 1; }
.lockup .word { font-size: clamp(3.2rem, 9.6vw, 6.6rem); transform: rotate(-4deg); -webkit-text-stroke-width: 0.15em; }
.lockup .tag {
  display: inline-block; margin-top: 0.1em; transform: rotate(-4deg) translateX(8%);
  font-size: clamp(1.1rem, 3.2vw, 2rem); pointer-events: none;
  padding: 0.35em 1.2em 0.5em; -webkit-text-stroke-width: 6px;
}
.lockup .tag::after { display: none; }
.lockup p.lead { margin: 30px auto 0; max-width: 30ch; font-size: clamp(1.05rem, 2.2vw, 1.25rem); font-weight: 600; color: var(--ink-soft); }
.motto {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 16px;
  font-family: var(--display); font-weight: 700; letter-spacing: 0.12em; font-size: 0.95rem; color: #FFD23F;
}
.motto::before, .motto::after { content: ""; width: 16px; height: 16px; background: var(--spark) center / contain no-repeat; }

/* the Roblox-style game card */
.game { padding: 14px; max-width: 560px; margin-inline: auto; width: 100%; }
.game .thumb {
  position: relative; display: block; border-radius: 16px; overflow: hidden;
  aspect-ratio: 16 / 9; background: #2a0b36; border: 2px solid rgba(255, 255, 255, 0.85);
}
.game .thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.game .thumb:hover img { transform: scale(1.04); }
.game .thumb .go {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: radial-gradient(circle, rgba(31, 7, 39, 0.1), rgba(31, 7, 39, 0.5)); opacity: 0; transition: opacity 0.2s;
}
.game .thumb:hover .go, .game .thumb:focus-visible .go { opacity: 1; }
.game .thumb .go span {
  width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(180deg, #ff78bf, #ff2d95 60%, #b9056e); border: 3px solid #fff;
}
.game .thumb .go svg { width: 36px; height: 36px; fill: #fff; margin-left: 6px; }
.game .meta { display: flex; align-items: center; gap: 12px; padding: 14px 4px 12px; }
.game .meta img { width: 60px; height: 60px; border-radius: 14px; border: 2px solid #fff; flex: none; }
.game .meta h2 { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(1.15rem, 3.4vw, 1.45rem); line-height: 1.15; color: #fff; }
.game .meta p { margin: 2px 0 0; font-size: 0.86rem; color: var(--ink-dim); font-weight: 600; }
.game .actions { display: grid; gap: 14px; }
.game .gel.big svg { width: 0.9em; height: 0.9em; stroke-width: 4px; }

/* ---------- sections ---------- */
section.band { padding: clamp(28px, 5vw, 56px) 0; }
.band-title { text-align: center; margin: 0 0 clamp(20px, 4vw, 34px); font-size: 1px; }
.band-title .chrome { font-size: clamp(1.8rem, 5.4vw, 3rem); }

.steps { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 12px; align-items: stretch; }
.step { padding: 26px 18px 22px; text-align: center; }
.step .pill {
  display: inline-block; font-family: var(--display); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.08em;
  padding: 0.25em 1em 0.4em; border-radius: 999px; border: 2px solid #fff; color: #fff;
  background: linear-gradient(180deg, #ffc1e2, #ff2d95 55%, #f31689 80%, #96005a 81%);
  -webkit-text-stroke: 3px var(--pink-dark); paint-order: stroke fill;
}
.step h3 { margin: 14px 0 8px; font-size: 1px; }
.step h3 .chrome { font-size: clamp(2rem, 5vw, 2.9rem); transform: rotate(-3deg); }
.step p { margin: 0 auto; max-width: 26ch; color: var(--ink-soft); font-weight: 600; font-size: 0.98rem; }
.arrow { align-self: center; width: 44px; height: 44px; }
.arrow svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 3px 0 rgba(0, 0, 0, 0.35)); }

.helpcta { display: grid; grid-template-columns: auto 1fr; gap: clamp(18px, 4vw, 40px); align-items: center; padding: clamp(20px, 4vw, 36px); }
.helpcta img { width: clamp(150px, 26vw, 250px); height: auto; filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.45)); }
.helpcta h2 { margin: 0 0 8px; font-size: 1px; }
.helpcta h2 .chrome { font-size: clamp(1.6rem, 4.6vw, 2.4rem); }
.helpcta p { margin: 0 0 18px; color: var(--ink-soft); font-weight: 600; max-width: 46ch; }
.helpcta .row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- help centre ---------- */
.help-head { padding: clamp(26px, 5vw, 48px) 0 8px; text-align: center; }
.help-head h1 { margin: 0; font-size: 1px; }
.help-head h1 .chrome { font-size: clamp(2.3rem, 7vw, 4rem); transform: rotate(-2deg); }
.help-head p { margin: 16px auto 0; max-width: 52ch; color: var(--ink-soft); font-weight: 600; }
.crumbs { font-size: 0.9rem; font-weight: 700; color: var(--ink-dim); margin-bottom: 14px; }
.crumbs a { color: #FF9DD0; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

.search { position: relative; max-width: 620px; margin: 24px auto 0; }
.search input {
  width: 100%; font: 600 1.05rem var(--body); color: #fff;
  padding: 15px 20px 15px 54px; border-radius: 999px; border: 3px solid transparent;
  background:
    linear-gradient(180deg, rgba(40, 9, 50, 0.96), rgba(64, 16, 78, 0.96)) padding-box,
    linear-gradient(180deg, #ffffff, #9fa7bc 55%, #f4f5fa 66%, #9fa7bc) border-box;
  box-shadow: 0 0 0 2px rgba(42, 5, 48, 0.9), 0 10px 24px rgba(0, 0, 0, 0.35);
}
.search input::placeholder { color: var(--ink-dim); }
.search input:focus { outline: none; box-shadow: 0 0 0 2px rgba(42, 5, 48, 0.9), 0 0 0 5px rgba(255, 45, 149, 0.7), 0 10px 24px rgba(0, 0, 0, 0.35); }
.search svg { position: absolute; left: 20px; top: 50%; width: 22px; height: 22px; transform: translateY(-50%); stroke: #FF7CC2; fill: none; stroke-width: 3; stroke-linecap: round; pointer-events: none; }
.search label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

.results { max-width: 760px; margin: 22px auto 0; padding: 0; list-style: none; display: grid; gap: 12px; text-align: left; }
.results a { display: block; padding: 14px 18px 15px; border-radius: 18px; text-decoration: none; color: var(--ink); }
.results a:hover, .results a:focus-visible { filter: brightness(1.15); }
.results .cat { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #FFD23F; }
.results b { display: block; font-family: var(--display); font-weight: 600; font-size: 1.15rem; color: #fff; }
.results span.snip { display: block; font-size: 0.92rem; color: var(--ink-soft); }
.results mark { background: rgba(255, 45, 149, 0.45); color: #fff; border-radius: 4px; padding: 0 2px; }
.noresults { text-align: center; color: var(--ink-soft); font-weight: 600; margin-top: 22px; }
[hidden] { display: none !important; }

.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 30px 0 10px; }
.cat-card { display: flex; flex-direction: column; padding: 22px 20px 20px; text-decoration: none; color: var(--ink); transition: transform 0.15s ease, filter 0.15s ease; }
.cat-card:hover, .cat-card:focus-visible { transform: translateY(-4px); filter: brightness(1.1); color: var(--ink); }
.cat-card .ico {
  width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 14px;
  border: 3px solid #fff; box-shadow: 0 0 0 2px rgba(42, 5, 48, 0.85);
  background: linear-gradient(180deg, #ffc1e2 0%, #ff78bf 20%, #ff2d95 55%, #f31689 80%, #96005a 81%, #b9056e 100%);
}
.cat-card:nth-child(3n+2) .ico { background: linear-gradient(180deg, #d6fcff 0%, #7deeff 20%, #24d8f6 55%, #12bfe2 80%, #08748f 81%, #0b8fac 100%); }
.cat-card:nth-child(3n) .ico { background: linear-gradient(180deg, #fffbd0 0%, #ffe44a 22%, #ffc107 50%, #ff9500 80%, #c65a00 81%, #ffc23a 100%); }
.ico svg { width: 30px; height: 30px; fill: #fff; stroke: rgba(42, 5, 48, 0.75); stroke-width: 1.6; stroke-linejoin: round; paint-order: stroke fill; }
.cat-card h2 { margin: 0 0 6px; font-family: var(--display); font-weight: 700; font-size: 1.35rem; color: #fff; line-height: 1.15; }
.cat-card p { margin: 0 0 14px; color: var(--ink-soft); font-size: 0.95rem; font-weight: 500; flex: 1; }
.cat-card .count { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #FF9DD0; }

.layout { display: grid; grid-template-columns: 250px 1fr; gap: 28px; align-items: start; padding: 26px 0 10px; }
.toc { position: sticky; top: 84px; padding: 18px 16px; max-height: calc(100vh - 110px); overflow: auto; }
.toc h2 { margin: 0 0 8px; font-family: var(--display); font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: #FFD23F; }
.toc ol { margin: 0; padding: 0; list-style: none; }
.toc a { display: block; padding: 6px 8px; border-radius: 10px; color: var(--ink-soft); text-decoration: none; font-size: 0.9rem; font-weight: 600; line-height: 1.3; }
.toc a:hover { background: rgba(255, 45, 149, 0.2); color: #fff; }
.articles { display: grid; gap: 20px; min-width: 0; }
.article { padding: 22px 24px 20px; scroll-margin-top: 90px; }
.article:target { box-shadow: 0 0 0 2px rgba(42, 5, 48, 0.9), 0 0 0 6px rgba(255, 45, 149, 0.75), 0 18px 40px rgba(0, 0, 0, 0.45); }
.article h2 { margin: 0 0 10px; font-family: var(--display); font-weight: 700; font-size: clamp(1.2rem, 3.4vw, 1.5rem); color: #fff; line-height: 1.2; }
.article h2 a { color: inherit; text-decoration: none; }
.article h2 a:hover { color: #FF9DD0; }
.article ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.article li { position: relative; padding-left: 26px; color: var(--ink); }
.article li::before { content: ""; position: absolute; left: 2px; top: 0.36em; width: 14px; height: 14px; background: var(--spark) center / contain no-repeat; opacity: 0.95; filter: drop-shadow(0 0 3px rgba(255, 45, 149, 0.9)); }
.article b, .article strong { color: #fff; font-weight: 700; }
.article .art { display: block; max-width: min(260px, 70%); height: auto; margin: 16px auto 2px; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.4)); }

/* picture slots */
.shot { margin: 18px 0 2px; }
.shot-frame {
  position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden;
  border: 3px solid transparent;
  background:
    linear-gradient(135deg, #3a0f48, #1b0623) padding-box,
    linear-gradient(180deg, #ffffff, #9fa7bc 55%, #f4f5fa 66%, #9fa7bc) border-box;
  box-shadow: 0 0 0 2px rgba(42, 5, 48, 0.9);
}
.shot-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.shot-ph {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 6px; text-align: center; padding: 12px;
  background:
    linear-gradient(104deg, transparent 40%, rgba(255, 45, 149, 0.12) 50%, transparent 60%),
    radial-gradient(circle at 50% 40%, rgba(255, 45, 149, 0.22), transparent 60%);
}
.shot-ph::before { content: ""; width: 34px; height: 34px; background: var(--spark) center / contain no-repeat; filter: drop-shadow(0 0 8px rgba(255, 120, 200, 0.9)); }
.shot-ph b { font-family: var(--display); font-weight: 700; font-size: 1.1rem; letter-spacing: 0.04em; color: #fff; }
.shot-ph span { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-dim); }
.shot figcaption { margin-top: 8px; font-size: 0.86rem; color: var(--ink-dim); font-weight: 600; text-align: center; }

.pager { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 26px 0 0; }
.stuck { margin-top: 30px; padding: 24px; text-align: center; }
.stuck h2 { margin: 0 0 6px; font-family: var(--display); font-size: 1.4rem; color: #fff; }
.stuck p { margin: 0 0 16px; color: var(--ink-soft); font-weight: 600; }

/* ---------- footer ---------- */
footer { margin-top: clamp(30px, 6vw, 70px); padding: 26px 0 34px; border-top: 2px solid rgba(255, 45, 149, 0.35); background: rgba(20, 3, 27, 0.6); text-align: center; }
footer .links { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 22px; margin-bottom: 12px; font-family: var(--display); font-weight: 600; }
footer .links a { color: var(--ink); text-decoration: none; }
footer .links a:hover { color: #FF9DD0; }
footer p { margin: 0 auto; max-width: 70ch; font-size: 0.8rem; color: var(--ink-dim); }

/* ---------- smaller screens ---------- */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .layout { grid-template-columns: 1fr; }
  .toc { position: static; max-height: none; }
  .toc ol { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 10px; }
}
@media (max-width: 640px) {
  .steps { grid-template-columns: 1fr; }
  .arrow { justify-self: center; transform: rotate(90deg); width: 36px; height: 36px; }
  .helpcta { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .helpcta .row { justify-content: center; }
  .cats { grid-template-columns: 1fr; gap: 16px; }
  .toc ol { grid-template-columns: 1fr; }
  .article { padding: 18px 16px 16px; }
  .top .wrap { gap: 6px; }
  .brand .chrome { font-size: 1.15rem; }
  .brand img { width: 34px; height: 34px; }
  .top nav a.link { padding: 8px 8px; font-size: 0.95rem; }
  .top nav .gel.small { font-size: 0.85rem; padding: 0.45em 0.9em 0.6em; }
  .pager .gel { flex: 1 1 100%; }
}
@media (max-width: 420px) {
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .gel:hover, .gel:focus-visible, .cat-card:hover, .cat-card:focus-visible { transform: none; }
  .game .thumb:hover img { transform: none; }
}
