/* GTA 6 cheat codes: the Citadel page structure (lists.css) in a night look with one neon sunset accent. */
:root {
  --font: 'Host Grotesk', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Consolas, monospace;
  --h-weight: 800;
  --h-track: -0.05em;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --sun: linear-gradient(90deg, #ff2e7e 0%, #ff5a5f 45%, #ff9a3c 100%);
  --sun-pink: #ff3d84;
  --sun-orange: #ff9a3c;
  --page-base: #08060e;
  --page: linear-gradient(180deg, #0d0817 0%, #08060e 48%, #07060b 100%);
  --ink: #f6f2ff;
  --ink-2: #c4bdd6;
  --grey: #948ca9;
  --grey-h: #6f6884;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.22);
  --glass: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.09);
  --blur: blur(18px) saturate(1.3);
  --shadow: 0 22px 50px -26px rgba(0, 0, 0, 0.9);
  --shadow-hover: 0 0 0 1px rgba(255, 92, 120, 0.28), 0 26px 60px -24px rgba(0, 0, 0, 0.95), 0 0 40px -18px rgba(255, 70, 120, 0.45);
  --card: rgba(19, 14, 29, 0.86);
  --card-solid: #16111f;
  --chip: rgba(255, 255, 255, 0.04);
  --input: rgba(255, 255, 255, 0.05);
  --ring: rgba(255, 70, 125, 0.3);
  --seg: rgba(255, 255, 255, 0.06);
  --seg-on: rgba(255, 255, 255, 0.14);
  --seg-shadow: none;
  --on: #f6f2ff;
  --on-ink: #0b0712;
  --btn-glow: 0 8px 24px -10px rgba(255, 255, 255, 0.3);
  --badge: rgba(255, 255, 255, 0.07);
  --tint-bg: rgba(255, 70, 125, 0.16);
  --tint-ink: #ffb8cc;
  --track: rgba(255, 255, 255, 0.08);
  --fitbox: rgba(255, 255, 255, 0.05);
  --ok-bg: rgba(16, 185, 129, 0.16);
  --ok-ink: #6ee7b7;
  --code: rgba(0, 0, 0, 0.35);
  --dot: #ff4d86;
  --dot-ring: rgba(255, 77, 134, 0.28);
  --win-sheen: radial-gradient(120% 90% at 85% -20%, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0) 55%), linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0) 40%);
  --r-pill: 999px;
  --r-lg: 24px;
  --r-card: 24px;
  --r-sm: 14px;
  --r-av: 9px;
  --keep: #120c1c;
  --keep-ink: #f6f2ff;
  --keep-grey: #b3abc6;
  --keep-line: rgba(255, 255, 255, 0.16);
  --keep-glow: radial-gradient(70% 110% at 100% 0%, rgba(255, 61, 132, 0.34), rgba(255, 61, 132, 0) 62%), radial-gradient(60% 90% at 0% 100%, rgba(255, 154, 60, 0.22), rgba(255, 154, 60, 0) 60%);
  --keep-btn-glow: 0 0 0 4px rgba(255, 61, 132, 0.14), 0 10px 30px -10px rgba(255, 61, 132, 0.6);
  --pop-bg: rgba(20, 13, 30, 0.9);
  --pop-bg-solid: #140d1e;
  --pop-ink: #ffffff;
  --pop-edge: rgba(255, 255, 255, 0.14);
  --pop-glow: 0 30px 70px -22px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 0 0 1px rgba(255, 70, 125, 0.32), 0 0 48px -10px rgba(255, 70, 125, 0.55);
  --pop-tint: #ffb8cc;
  --pop-grey: #b3abc6;
  --pop-chip: rgba(255, 255, 255, 0.1);
  --fol-bg: #ffffff;
  --fol-ink: #0b0712;
  --fol-edge: #ffffff;
  --fol-glow: 0 0 0 4px rgba(255, 61, 132, 0.2), 0 8px 30px -6px rgba(255, 61, 132, 0.75);
  --r-pop: 30px;
  --r-pav: 16px;
}
/* window bands of the cards: the sunset for codes found in 2+ guides, dusk for 1 guide, night for "not found yet" */
.pal-0 { --win-bg: linear-gradient(115deg, #ff2e7e 0%, #ff5a5f 52%, #ff9a3c 100%); }
.pal-5 { --win-bg: linear-gradient(115deg, #3a1450 0%, #7a2667 60%, #b8456e 100%); }
.pal-2 { --win-bg: linear-gradient(115deg, #120d1c 0%, #221831 60%, #33264a 100%); }
.wrap { position: relative; z-index: 1; }
@media (max-width: 759px) { .win { height: 70px; } .arrow { top: 54px; } }

/* the dusk behind the hero: a low sunset glow on the horizon, then night */
.dusk { position: absolute; left: 0; right: 0; top: 0; height: 760px; z-index: 0; pointer-events: none; overflow: hidden;
  background:
    radial-gradient(60% 40% at 50% 100%, rgba(255, 90, 95, 0.42), rgba(255, 90, 95, 0) 70%),
    radial-gradient(90% 30% at 50% 100%, rgba(255, 154, 60, 0.28), rgba(255, 154, 60, 0) 70%),
    radial-gradient(50% 45% at 15% 0%, rgba(110, 50, 190, 0.32), rgba(110, 50, 190, 0) 70%),
    radial-gradient(45% 40% at 90% 10%, rgba(255, 46, 126, 0.2), rgba(255, 46, 126, 0) 70%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 55%, rgba(0, 0, 0, 0) 100%); mask-image: linear-gradient(180deg, #000 0%, #000 55%, rgba(0, 0, 0, 0) 100%); }
/* (no horizon line: it crossed the steps on phones) */

/* hero: one big bold headline */
.hero h1 { font-size: clamp(46px, 13.2vw, 112px); line-height: .9; font-weight: 800; letter-spacing: -0.055em; text-wrap: balance; }
.hero .lede { max-width: 560px; }
.eyebrow i { background: var(--sun); box-shadow: 0 0 0 4px rgba(255, 61, 132, 0.18), 0 0 14px rgba(255, 61, 132, 0.8); }
.hero .search { display: block; margin-top: 22px; max-width: 560px; }
.hero .search input { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04), 0 12px 32px -18px rgba(255, 61, 132, 0.45); }
@media (min-width: 760px) { .hero .search { margin-top: 26px; } }

/* how to enter */
.howto { margin: 6px 0 18px; padding: 16px; border-radius: 22px; background: var(--glass); border: 1px solid var(--glass-border); }
.howto-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.howto h2 { margin: 0; font-size: 17px; line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; }
.howto .seg { margin: 0; display: inline-flex; flex: none; }
.howto .seg button { flex: none; height: 32px; padding: 0 14px; font-size: 13px; }
.steps3 { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.steps3 li { display: flex; align-items: center; gap: 12px; font-size: 15px; line-height: 1.4; color: var(--ink-2); }
.steps3 .n { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; color: #fff; background: var(--sun); box-shadow: 0 0 16px -4px rgba(255, 61, 132, 0.8); }
.steps3 b { color: var(--ink); font-weight: 700; }
.warn { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line); display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
.warn svg { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--sun-orange); }
@media (min-width: 760px) {
  .howto { padding: 18px 22px; margin: 8px 0 20px; }
  .steps3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .steps3 li { align-items: flex-start; font-size: 14.5px; }
}

/* the D-pad keycaps: raised, pressable, bright */
.keys { display: grid; grid-template-columns: repeat(5, 46px); gap: 8px; } /* five per row: long codes read in chunks */
.key { position: relative; width: 46px; height: 46px; flex: none; border-radius: 13px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(180deg, #2c2240 0%, #1b1428 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), inset 0 -2px 0 rgba(0, 0, 0, 0.35), 0 3px 0 #07050c, 0 6px 14px -4px rgba(0, 0, 0, 0.7);
  transition: transform .12s var(--ease), box-shadow .12s var(--ease), background .25s ease-out, color .25s ease-out; }
.key svg { width: 21px; height: 21px; fill: currentColor; }
.k-down svg { transform: rotate(180deg); }
.k-left svg { transform: rotate(-90deg); }
.k-right svg { transform: rotate(90deg); }
.key:active { transform: translateY(2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 1px 0 #07050c, 0 2px 6px -2px rgba(0, 0, 0, 0.7); }
.key.mini { display: inline-grid; vertical-align: -6px; width: 26px; height: 26px; border-radius: 8px; margin: 0 2px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 2px 0 #07050c; }
.key.mini svg { width: 14px; height: 14px; }
@media (hover: hover) and (pointer: fine) { .key:hover { color: #fff; background: linear-gradient(180deg, #392b52 0%, #221934 100%); } }
/* after Copy, the keys light up one by one in the sunset */
.card.lit .key { animation: key-lit .7s var(--ease) both; animation-delay: calc(var(--i) * 45ms); }
@keyframes key-lit {
  0% { transform: none; }
  25% { transform: translateY(2px); background: var(--sun); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 1px 0 #5c1631, 0 0 22px -2px rgba(255, 70, 125, 0.85); }
  100% { transform: none; }
}
.keys.is-fake .key { color: var(--grey); background: #15101e; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06); }

/* cheat cards */
.card .face { gap: 12px; }
.card .rtitle { padding-right: 34px; }
.copy-code { height: 44px; border-radius: var(--r-pill); border: 1px solid transparent; font-size: 14.5px; font-weight: 700; color: #fff; cursor: pointer;
  background: linear-gradient(var(--card-solid), var(--card-solid)) padding-box, var(--sun) border-box;
  transition: transform .15s var(--ease), background .25s ease-out, box-shadow .25s ease-out; }
.copy-code:hover { box-shadow: 0 0 24px -8px rgba(255, 70, 125, 0.8); }
.copy-code:active { transform: scale(.98); }
.copy-code.is-done { background: var(--sun) padding-box, var(--sun) border-box; color: #1a0710; }
.nocode { margin: 0; padding: 12px 14px; border-radius: var(--r-sm); border: 1px dashed rgba(255, 255, 255, 0.16); font-size: 13.5px; line-height: 1.45; color: var(--grey); }
.meta { margin: 0; display: grid; gap: 6px; }
.meta div { display: grid; grid-template-columns: 64px 1fr; gap: 10px; font-size: 13.5px; line-height: 1.45; }
.meta dt { color: var(--grey); }
.meta dd { margin: 0; color: var(--ink-2); }
.srcs { margin: 0; font-size: 12.5px; line-height: 1.6; color: var(--grey); }
.srcs span { margin-right: 6px; }
.srcs a { color: var(--ink-2); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.22); text-underline-offset: 3px; transition: color .2s, text-decoration-color .2s; }
.srcs a + a::before { content: "·"; display: inline-block; margin: 0 7px; color: var(--grey-h); text-decoration: none; }
.srcs a:hover { color: #fff; text-decoration-color: var(--sun-pink); }
.st-0 .face { gap: 10px; }
.st-0 .nocode { padding: 9px 12px; font-size: 13px; }
.st-0 .rtitle { color: var(--ink-2); }
.win-r .pill { font-weight: 700; }
.st-2 .win-r .pill { background: rgba(0, 0, 0, 0.18); border-color: rgba(255, 255, 255, 0.45); }

/* fakes */
.fakes { margin: 44px 0 10px; }
.fakes h2 { margin: 0; font-size: clamp(26px, 7vw, 40px); line-height: 1.05; font-weight: 800; letter-spacing: -0.04em; }
.fakes-lede { margin: 8px 0 16px; color: var(--grey); font-size: 15px; }
.fk-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.fk { padding: 14px 16px; border-radius: 18px; background: var(--glass); border: 1px solid var(--glass-border); display: grid; gap: 10px; }
.fk-h { display: flex; align-items: center; gap: 10px; }
.fk-h h3 { margin: 0; font-size: 16px; line-height: 1.25; font-weight: 700; text-decoration: line-through; text-decoration-color: rgba(255, 90, 95, 0.7); text-decoration-thickness: 2px; }
.fk-tag { flex: none; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; color: #ffb3a1; background: rgba(255, 90, 95, 0.14); border: 1px solid rgba(255, 90, 95, 0.35); }
.fk p { margin: 0; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.fk p b { color: var(--ink); }
@media (min-width: 760px) { .fk-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fakes { margin-top: 56px; } }

.keep-acts { flex-wrap: wrap; }
.foot a { color: inherit; }
@media (prefers-reduced-motion: reduce) { .card.lit .key { animation: none; } .key, .copy-code { transition: none; } }

/* @51bodila avatar: round, like on /citadel/ */
.brand img, .pop-top img { border-radius: 50%; }

/* cheats without a code: a compact list under the cards, one row each */
.soon { margin: 40px 0 0; }
.soon h2 { margin: 0; font-size: clamp(22px, 6vw, 32px); line-height: 1.1; font-weight: 800; letter-spacing: -0.035em; }
.soon-lede { margin: 8px 0 14px; color: var(--grey); font-size: 14.5px; line-height: 1.45; max-width: 620px; }
.soon-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.sn { padding: 11px 2px; border-bottom: 1px solid var(--line); display: grid; gap: 2px; }
.sn-t { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.sn-t b { font-size: 15px; font-weight: 650; color: var(--ink); }
.sn-t span { flex: none; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--grey-h); }
.sn p { margin: 0; font-size: 13.5px; line-height: 1.4; color: var(--grey); }
@media (min-width: 760px) { .soon-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; } }

/* "VI" behind the hero, like the Citadel logo on /citadel/: our own type in the sunset, faint, fading downward (no game logo) */
.mark-vi { position: absolute; left: 0; right: 0; top: 0; height: 640px; z-index: 0; overflow: hidden; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 42%, rgba(0, 0, 0, 0) 92%); mask-image: linear-gradient(180deg, #000 0%, #000 42%, rgba(0, 0, 0, 0) 92%); }
.mark-vi span { position: absolute; right: -5vw; top: 64px; display: block; font-family: var(--font); font-weight: 800; font-size: clamp(280px, 86vw, 720px); line-height: .78; letter-spacing: -0.07em; transform: skewX(-9deg);
  color: transparent; background: linear-gradient(165deg, rgba(255, 61, 132, 0.95) 0%, rgba(255, 90, 95, 0.8) 38%, rgba(255, 154, 60, 0.55) 70%, rgba(255, 154, 60, 0) 100%); -webkit-background-clip: text; background-clip: text;
  opacity: .24; filter: drop-shadow(0 0 40px rgba(255, 61, 132, 0.35)); }
.mark-vi span::after { content: "VI"; position: absolute; inset: 0; color: transparent; -webkit-text-stroke: 1.2px rgba(255, 170, 190, 0.55); background: none; }
@media (min-width: 760px) { .mark-vi span { right: 4vw; top: 30px; opacity: .18; } }
.soon-lede b { color: var(--ink); font-weight: 650; }
.soon-lede a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--sun-pink); text-underline-offset: 3px; }

/* the plugin behind this page: a slim pill under the search, a full block before the follow section */
.repo-pill { margin-top: 12px; max-width: 560px; display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 10px; border-radius: 18px; text-decoration: none; color: var(--ink);
  background: linear-gradient(var(--card-solid), var(--card-solid)) padding-box, linear-gradient(110deg, rgba(255, 61, 132, 0.55), rgba(255, 154, 60, 0.35) 45%, rgba(255, 255, 255, 0.08) 80%) border-box;
  border: 1px solid transparent; box-shadow: 0 14px 34px -22px rgba(255, 61, 132, 0.55); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.repo-pill:hover { transform: translateY(-1px); box-shadow: 0 18px 40px -20px rgba(255, 61, 132, 0.75); }
.rp-ic { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, #2a1f3b, #160f22); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14); }
.rp-ic svg { width: 20px; height: 20px; }
.rp-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.rp-t b { font-size: 14.5px; font-weight: 700; letter-spacing: -0.01em; font-family: var(--mono); }
.rp-t span { font-size: 13px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rp-go { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); background: var(--badge); border: 1px solid var(--line); transition: transform .25s var(--ease); }
.rp-go svg { width: 11px; height: 11px; }
.repo-pill:hover .rp-go { transform: translate(2px, -2px); }

.repo { margin: 48px 0 8px; padding: 22px 18px; border-radius: 26px; position: relative; overflow: hidden;
  background: radial-gradient(80% 120% at 100% 0%, rgba(255, 61, 132, 0.18), rgba(255, 61, 132, 0) 60%), radial-gradient(70% 90% at 0% 100%, rgba(255, 154, 60, 0.12), rgba(255, 154, 60, 0) 60%), var(--card);
  border: 1px solid var(--glass-border); display: grid; gap: 14px; }
.repo-top { display: flex; align-items: center; gap: 14px; }
.rp-ic.big { width: 52px; height: 52px; border-radius: 16px; }
.rp-ic.big svg { width: 26px; height: 26px; }
.repo-kicker { margin: 0 0 4px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--tint-ink); }
.repo h2 { margin: 0; font-size: clamp(22px, 6vw, 32px); line-height: 1.08; font-weight: 800; letter-spacing: -0.035em; }
.repo-d { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); max-width: 640px; }
.repo-d b { color: var(--ink); font-family: var(--mono); font-weight: 600; font-size: 14px; }
.repo-skills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.repo-skills li { font-family: var(--mono); font-size: 12.5px; padding: 5px 10px; border-radius: 999px; color: var(--ink-2); background: var(--badge); border: 1px solid var(--line); }
.repo-step { margin: 4px 0 -6px; font-size: 13px; color: var(--grey); }
.repo .cmd code { font-size: 12.5px; }
.repo-btn { justify-self: start; display: inline-flex; gap: 8px; }
.repo-btn .gh { width: 17px; height: 17px; }
@media (min-width: 760px) { .repo { padding: 28px 30px; gap: 16px; } .repo .cmd { max-width: 640px; } }
