/* Simon Systems look: flat zinc, cream windows, hard shadows, Chakra Petch. Fonts served with the page (SIL OFL). */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 500 900; font-display: swap; src: url(/fonts/montserrat-latin.woff2) format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/fonts/jetbrains-mono-latin.woff2) format("woff2"); }
@font-face { font-family: "Chakra Petch"; font-weight: 700; font-display: swap; src: url(/fonts/chakra-petch-700.ttf) format("truetype"); }
:root { --zinc: #292929; --well: #1D1C1C; --cream: #F2EEE9; --stone: #B5AEA6; --void: #050505; --rose: #F43F5E; --mari: #F8B82A; --line: #5C5650;
  --body: "Montserrat", "Segoe UI", system-ui, sans-serif; --head: "Chakra Petch", "Montserrat", sans-serif; --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  color-scheme: dark; }
html[data-lang="es"] [data-l="en"], html:not([data-lang="es"]) [data-l="es"] { display: none !important; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: var(--zinc); color: var(--cream); font: 500 16px/1.5 var(--body); -webkit-font-smoothing: antialiased;
  background-image: radial-gradient(rgba(242, 238, 233, .07) 1px, transparent 1.2px); background-size: 16px 16px; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--mari); outline-offset: 3px; }
::selection { background: var(--rose); color: var(--cream); }
.page { width: 100%; max-width: 520px; margin: 0 auto; padding: max(20px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) 40px max(16px, env(safe-area-inset-left)); }
.topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.tag { font: 700 11px/1 var(--mono); letter-spacing: .2em; color: var(--stone); }
.tag::before { content: ""; display: inline-block; width: 8px; height: 8px; background: var(--rose); margin-right: 8px; vertical-align: 0; }
.langs { display: flex; gap: 4px; padding: 3px; border: 1px solid var(--stone); }
.lang { background: transparent; border: 0; padding: 6px 11px; color: var(--stone); font: 800 12px/1 var(--body); letter-spacing: .06em; cursor: pointer; }
.lang[aria-pressed="true"] { background: var(--rose); color: var(--cream); }

.card { display: block; background: var(--cream); color: var(--well); border: 2px solid var(--void); box-shadow: 6px 6px 0 var(--void); text-decoration: none; }
.titlebar { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; background: var(--void); color: var(--cream); font: 600 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; background: var(--stone); }
.dots i:first-child { background: var(--rose); }
.me-body { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 24px 20px 26px; }
.avatar { position: relative; padding: 0; border: 2px solid var(--void); background: var(--well); cursor: pointer; line-height: 0;
  background-image: linear-gradient(45deg, #232222 25%, transparent 25%, transparent 75%, #232222 75%), linear-gradient(45deg, #232222 25%, transparent 25%, transparent 75%, #232222 75%);
  background-size: 22px 22px; background-position: 0 0, 11px 11px; box-shadow: 4px 4px 0 var(--rose); }
.avatar.still { cursor: default; }
.avatar img { display: block; width: 176px; height: 176px; image-rendering: pixelated; }
.avatar.hop { animation: hop .32s steps(4, end); }
@keyframes hop { 0%, 100% { transform: none; } 40% { transform: translateY(-10px); } }
.hint { margin: 10px 0 0; font: 600 10px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: #8a837c; }
h1 { margin: 14px 0 0; font: 700 34px/1 var(--head); text-transform: uppercase; letter-spacing: .01em; }
.handle { margin: 8px 0 0; font: 600 13px/1 var(--mono); color: var(--rose); }
.bio { margin: 12px 0 0; max-width: 360px; font-size: 15px; color: #3d3a38; }

.links { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; }
.link { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 12px 14px;
  background: var(--cream); color: var(--well); border: 2px solid var(--void); box-shadow: 4px 4px 0 var(--void); text-decoration: none;
  transition: transform .12s steps(2, end), box-shadow .12s steps(2, end); }
.link:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--brand); }
.link:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--void); }
.link-icon { grid-row: 1 / 3; display: grid; place-items: center; width: 46px; height: 46px; background: var(--brand); color: #fff; border: 2px solid var(--void); }
.link-icon svg { width: 24px; height: 24px; }
.link-text { display: flex; flex-direction: column; min-width: 0; }
.link-name { font: 700 19px/1.1 var(--head); text-transform: uppercase; }
.link-line { margin-top: 3px; font-size: 13.5px; line-height: 1.35; color: #4a4643; }
.link-handle { grid-column: 2; margin-top: 4px; font: 500 11px/1.2 var(--mono); color: #6f6863; overflow-wrap: anywhere; }

.made { position: relative; margin-top: 26px; padding: 16px 52px 16px 18px; background: var(--rose); color: var(--cream); }
.made:hover { box-shadow: 8px 8px 0 var(--void); }
.made-label { display: block; font: 700 10px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; opacity: .85; }
.made-name { display: block; margin-top: 8px; font: 700 24px/1 var(--head); text-transform: uppercase; }
.made-line { display: block; margin-top: 6px; font-size: 14px; }
.made-go { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font: 700 26px/1 var(--head); }
[hidden] { display: none !important; }
.link-stat { margin-left: 8px; white-space: nowrap; color: #2f7a4a; }
.link-stat::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 5px; background: #23a55a; vertical-align: 1px; }

.live-badge { display: inline-block; margin-left: 10px; padding: 3px 6px 2px; background: #EB0400; color: #fff; font: 800 10px/1 var(--body); letter-spacing: .12em; vertical-align: 3px; animation: live 1.2s steps(2, end) infinite; }
.live-badge::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 5px; background: #fff; vertical-align: 1px; }
@keyframes live { 50% { opacity: .55; } }
.link.is-live { box-shadow: 4px 4px 0 var(--brand); border-color: var(--brand); }
.live-line { color: var(--well); font-weight: 700; }

.next { position: relative; margin-top: 14px; padding: 12px 40px 12px 14px; box-shadow: 4px 4px 0 var(--void); border-left: 8px solid #9146FF; }
.next:hover { box-shadow: 6px 6px 0 #9146FF; }
.next-label { display: block; font: 700 10px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: #6b2fd6; }
.next-when { display: block; margin-top: 6px; font: 700 16px/1.25 var(--head); }
.next-what { display: block; margin-top: 4px; font-size: 13.5px; color: #4a4643; }
.next-foot { display: block; margin-top: 6px; font: 500 11px/1.2 var(--mono); color: #6f6863; }

.video { display: grid; grid-template-columns: 148px 1fr; margin-top: 26px; box-shadow: 4px 4px 0 var(--void); transition: transform .12s steps(2, end), box-shadow .12s steps(2, end); }
.video:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--brand, #FF0033); }
.video-thumb { line-height: 0; border-right: 2px solid var(--void); background: var(--well); }
.video-thumb img { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.video-text { display: flex; flex-direction: column; min-width: 0; padding: 10px 12px; }
.video-label { font: 700 10px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--brand, #FF0033); }
.video-title { margin-top: 6px; font: 700 15px/1.25 var(--body); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.video-meta { display: flex; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 6px; font: 500 11px/1.2 var(--mono); color: #6f6863; }
.video-go { font-weight: 700; color: var(--well); white-space: nowrap; }

.qr { width: 100%; max-width: 320px; height: auto; border: 2px solid var(--void); box-shadow: 4px 4px 0 var(--rose); image-rendering: pixelated; }
.qr-downloads { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 16px; }
.qr-dl { padding: 10px 14px; background: var(--void); color: var(--cream); border: 2px solid var(--void); font: 800 13px/1 var(--body); text-decoration: none; letter-spacing: .03em; }
.qr-dl:hover { background: var(--rose); }
.qr-note { margin: 12px 0 0; font: 500 11px/1.5 var(--mono); color: #6f6863; max-width: 340px; }

.foot { margin-top: 30px; text-align: center; font: 500 11px/1.6 var(--mono); color: var(--stone); letter-spacing: .04em; }
.foot p { margin: 4px 0 0; }
.foot a { color: var(--stone); text-decoration-color: var(--rose); text-underline-offset: 3px; }
.foot a:hover { color: var(--cream); }
[data-brand="twitch"] { --brand: #9146FF; } [data-brand="youtube"] { --brand: #FF0033; } [data-brand="tiktok"] { --brand: #FE2C55; } [data-brand="instagram"] { --brand: #E4405F; } [data-brand="discord"] { --brand: #5865F2; } [data-brand="kofi"] { --brand: #FF6433; }
/* Media kit */
.kit-tools { display: flex; gap: 8px; align-items: center; }
.kit-print { background: transparent; border: 1px solid var(--stone); padding: 9px 11px; color: var(--cream); font: 800 12px/1 var(--body); letter-spacing: .04em; cursor: pointer; }
.kit-print:hover { background: var(--rose); border-color: var(--rose); }
.kit-kicker { margin: 14px 0 0; font: 700 11px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--rose); }
.kit-page h1 { margin-top: 8px; }
.kit-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 14px 0 0; }
.kit-badge { padding: 5px 8px; background: var(--void); color: var(--cream); font: 600 11px/1 var(--mono); letter-spacing: .06em; }
.kit-badge.twitch { background: #9146FF; color: #fff; }
.kit-h { margin: 30px 0 12px; font: 700 20px/1 var(--head); text-transform: uppercase; color: var(--cream); }
.kit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.kit-tile { display: flex; flex-direction: column; padding: 12px 14px 14px; background: var(--cream); color: var(--well); border: 2px solid var(--void); border-top: 6px solid var(--brand, var(--void)); box-shadow: 4px 4px 0 var(--void); }
.kit-num { font: 700 32px/1 var(--head); }
.kit-label { margin-top: 6px; font: 600 10.5px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #6f6863; }
.kit-note { margin: 12px 0 0; font: 500 11px/1.5 var(--mono); color: var(--stone); }
.kit-card { margin-top: 26px; padding: 16px 18px 18px; }
.kit-card h2 { margin: 0; font: 700 20px/1 var(--head); text-transform: uppercase; }
.kit-card h3 { margin: 16px 0 8px; font: 700 10px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: #6b2fd6; }
.kit-big { margin: 10px 0 0; font: 700 16px/1.35 var(--body); }
.kit-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.kit-list li { display: flex; flex-direction: column; padding-left: 10px; border-left: 4px solid #9146FF; }
.kit-when { font: 700 14px/1.3 var(--body); }
.kit-what { font-size: 13px; color: #4a4643; }
.kit-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.kit-chips li { padding: 5px 9px; border: 2px solid var(--void); background: #fff; font: 600 12.5px/1.2 var(--body); }
.kit-videos { display: grid; gap: 12px; }
.kit-videos .video { margin-top: 0; }
.kit-tiktoks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tiktok { display: flex; flex-direction: column; box-shadow: 4px 4px 0 var(--void); transition: transform .12s steps(2, end), box-shadow .12s steps(2, end); }
.tiktok:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--brand); }
.tiktok img { width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-bottom: 2px solid var(--void); background: var(--well); }
.tiktok-meta { padding: 6px 8px; font: 500 11px/1.3 var(--mono); color: #6f6863; }
.kit-contact p { margin: 8px 0 0; font-size: 14.5px; }
.kit-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
@media (max-width: 380px) { .kit-num { font-size: 27px; } }
/* Save as PDF: same look, no controls, sections kept whole. */
@media print {
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  @page { margin: 0; }
  html, body { min-height: 0; height: auto; background-image: none; }
  .page { max-width: 760px; padding: 12mm 14mm 0; }
  .foot { margin: 16px 0 0; }
  .topbar .kit-tools, .foot a { display: none; }
  .kit-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kit-page .avatar, .kit-page .avatar img { width: 112px; height: 112px; }
  .kit-tiktoks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tiktok { flex-direction: row; align-items: center; }
  .tiktok img { width: 60px; flex: none; border-bottom: 0; border-right: 2px solid var(--void); }
  .card, .kit-tile, .kit-section, .kit-list li { break-inside: avoid; }
  .kit-page .made { display: none; } /* the PDF is for brands: keeps it to two pages */
  .kit-h { margin: 20px 0 10px; }
  .kit-card { margin-top: 20px; }
  .kit-videos, .kit-grid { gap: 10px; }
  .video:hover, .made:hover, .tiktok:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) { .link, .link:hover, .link:active, .video, .video:hover, .tiktok, .tiktok:hover { transition: none; transform: none; } .live-badge { animation: none; } }
@media (max-width: 400px) { .video { grid-template-columns: 1fr; } .video-thumb { border-right: 0; border-bottom: 2px solid var(--void); } }
@media (max-width: 380px) { h1 { font-size: 29px; } .avatar img { width: 152px; height: 152px; } }
