/* Self-hosted Google Fonts (latin + latin-ext), swap so text never hides. */
/* latin-ext */
@font-face {
  font-family: 'Anton';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/anton-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Anton';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/anton-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/barlow-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/barlow-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/barlow-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/barlow-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/barlow-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/barlow-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/barlow-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/barlow-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/dm-mono-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/dm-mono-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/dm-mono-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/dm-mono-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Neonderthaw';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/neonderthaw-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Neonderthaw';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/neonderthaw-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin */
@font-face {
  font-family: 'Permanent Marker';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/permanent-marker-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --night: #0d0a12;
  --night-2: #16101d;
  --brick: #1d1420;
  --mortar: #0a070d;
  --pink: #ff3d8b;
  --pink-soft: #ff8fbf;
  --orange: #ff9a3c;
  --teal: #2de2e6;
  --in: #39ff8f;
  --squeeze: #ffc23d;
  --out: #ff4040;
  --paper: #f3ecdb;
  --paper-line: #d9cfb6;
  --ink: #1c1a24;
  --ink-soft: #5d5666;
  --text: #efe8f5;
  --muted: #a99db5;
  --line: #2c2234;
  --radius: 14px;
  --display: 'Anton', Impact, sans-serif;
  --script: 'Neonderthaw', cursive;
  --hand: 'Permanent Marker', 'Comic Sans MS', cursive;
  --mono: 'DM Mono', ui-monospace, monospace;
  --body: 'Barlow', system-ui, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  font: 500 16px/1.5 var(--body);
  color: var(--text);
  background-color: var(--night);
  /* brick wall under a sodium-pink haze */
  background-image:
    radial-gradient(ellipse 80% 50% at 70% 0%, rgba(255, 61, 139, .22), transparent 70%),
    radial-gradient(ellipse 60% 40% at 0% 30%, rgba(255, 154, 60, .10), transparent 70%),
    linear-gradient(180deg, rgba(13, 10, 18, .2), var(--night) 92%),
    repeating-linear-gradient(0deg, transparent 0 34px, var(--mortar) 34px 37px),
    repeating-linear-gradient(90deg, var(--brick) 0 86px, var(--mortar) 86px 89px);
  background-attachment: fixed;
  overflow-x: hidden;
}
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 50; opacity: .09; mix-blend-mode: overlay;
  background-image: url("/img/grain.png"); background-size: 128px;
}
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: #fff; }
.mono { font-family: var(--mono); }
.small { font-size: 13px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

/* ---------- Neon marquee ---------- */
.marquee { text-align: center; padding: 44px 16px 8px; position: relative; }
.sign-script {
  font: 400 clamp(38px, 7vw, 64px)/1 var(--script);
  margin: 0 0 -10px; color: #fff4fa; transform: rotate(-4deg);
  text-shadow: 0 0 4px #fff, 0 0 12px var(--teal), 0 0 28px var(--teal), 0 0 60px rgba(45, 226, 230, .6);
}
.sign {
  margin: 0; font: 400 clamp(54px, 12vw, 132px)/.95 var(--display); letter-spacing: .01em; text-transform: uppercase;
  color: #fff0f6;
  text-shadow: 0 0 2px #fff, 0 0 10px var(--pink), 0 0 26px var(--pink), 0 0 60px rgba(255, 61, 139, .7), 0 0 110px rgba(255, 61, 139, .4);
}
.sign .vi {
  color: #fff3e6;
  text-shadow: 0 0 2px #fff, 0 0 10px var(--orange), 0 0 30px var(--orange), 0 0 70px rgba(255, 154, 60, .8);
}
.flick { animation: flicker 6s infinite steps(1); }
@keyframes flicker {
  0%, 18%, 22%, 62%, 64%, 100% { opacity: 1; }
  20%, 63% { opacity: .35; text-shadow: none; }
}
.tagline { max-width: 560px; margin: 18px auto 0; color: var(--muted); font-size: 17px; }
.tagline b { color: var(--text); font-weight: 600; }

/* ---------- Layout ---------- */
.club {
  max-width: 1120px; margin: 28px auto 0; padding: 0 16px;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; align-items: start;
}

/* ---------- Clipboard ---------- */
.clipboard {
  position: relative; background: var(--paper); color: var(--ink); border-radius: 10px;
  padding: 46px 26px 24px; transform: rotate(-1.2deg);
  box-shadow: 0 0 0 10px #6b4a2f, 0 0 0 11px #3b2716, 0 30px 60px rgba(0, 0, 0, .6);
  background-image: repeating-linear-gradient(180deg, transparent 0 31px, var(--paper-line) 31px 32px);
  background-position: 0 14px;
  animation: in-left .7s cubic-bezier(.2, .8, .2, 1) both;
}
.clip {
  position: absolute; top: -24px; left: 50%; width: 140px; height: 46px; transform: translateX(-50%);
  background: linear-gradient(180deg, #d8d8de, #8d8d96 60%, #6c6c75);
  border-radius: 10px 10px 6px 6px; box-shadow: 0 6px 10px rgba(0, 0, 0, .45), inset 0 2px 0 rgba(255, 255, 255, .6);
}
.clip::after { content: ''; position: absolute; left: 50%; top: 9px; width: 44px; height: 12px; transform: translateX(-50%); border-radius: 8px; background: var(--paper); box-shadow: inset 0 2px 3px rgba(0, 0, 0, .4); }
.list-title { margin: 0 0 12px; font: 400 30px/1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.list-title span { font: 400 20px var(--hand); text-transform: none; color: var(--ink-soft); letter-spacing: 0; }

.paste textarea {
  width: 100%; resize: vertical; min-height: 92px; border: 0; background: transparent; color: #1d2a8a;
  font: 400 22px/32px var(--hand); padding: 0 2px; outline: none; caret-color: var(--pink);
}
.paste textarea::placeholder { color: #9d95a8; }
.paste { display: block; border-left: 2px solid rgba(255, 61, 139, .55); padding-left: 10px; margin-left: -12px; }

.btn-post {
  margin-top: 24px; width: 100%; border: 0; border-radius: 999px; cursor: pointer;
  padding: 14px 20px; font: 400 22px/1 var(--display); letter-spacing: .06em; text-transform: uppercase;
  color: #fff; background: linear-gradient(90deg, var(--pink), var(--orange));
  box-shadow: 0 8px 0 #8a1d4b, 0 14px 30px rgba(255, 61, 139, .35);
  transition: transform .12s, box-shadow .12s;
}
.btn-post:hover { transform: translateY(-2px); box-shadow: 0 10px 0 #8a1d4b, 0 18px 36px rgba(255, 61, 139, .45); }
.btn-post:active { transform: translateY(6px); box-shadow: 0 2px 0 #8a1d4b, 0 6px 14px rgba(255, 61, 139, .35); }

.fields { display: grid; grid-template-columns: 1fr 110px; gap: 14px 14px; }
.fields.settings { margin-top: 22px; padding-top: 18px; border-top: 2px dashed var(--paper-line); }
.step { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin: 0 0 8px; font: 700 15px/1.3 var(--body); color: var(--ink); }
.step b { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--pink); color: #fff; font: 400 14px/1 var(--display); transform: translateY(-1px); }
.step small { font: 400 15px var(--hand); color: var(--ink-soft); }
.or { display: flex; align-items: center; gap: 14px; margin: 18px 0 16px; font: 400 26px/1 var(--hand); color: var(--pink); }
.or::before, .or::after { content: ''; flex: 1; height: 2px; background: repeating-linear-gradient(90deg, var(--paper-line) 0 8px, transparent 8px 14px); }
.f .filled { animation: filled 1.4s ease; }
@keyframes filled { 0%, 30% { background: #ffe58a; border-color: var(--orange); } }
.f { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.f span, .seg legend { font: 600 12px/1 var(--body); text-transform: uppercase; letter-spacing: .12em; color: var(--ink-soft); }
.f input, .f select {
  font: 500 16px var(--mono); color: var(--ink); background: rgba(255, 255, 255, .55);
  border: 1.5px solid #c9bea3; border-radius: 8px; padding: 9px 10px; width: 100%; min-width: 0;
}
.f input:focus, .f select:focus { border-color: var(--pink); outline: none; background: #fff; }
.f input.unknown { border-color: var(--out); background: #fff1f1; }
.f-full { grid-column: 1 / -1; }
.seg { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.seg legend { margin-bottom: 6px; padding: 0; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg label span {
  display: block; padding: 7px 12px; border-radius: 8px; border: 1.5px solid #c9bea3; font: 600 14px/1.15 var(--body); color: var(--ink-soft);
  background: rgba(255, 255, 255, .4); cursor: pointer; transition: all .12s;
}
.seg label span small { display: block; font: 400 11px var(--mono); opacity: .8; }
.seg input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.seg input:focus-visible + span { outline: 2px solid var(--pink); outline-offset: 2px; }
#res { display: grid; grid-template-columns: repeat(3, 1fr); }
#os, #rt-set { grid-column: span 1; }
.fields > #os { grid-column: 1; }
.hint { min-height: 1.5em; margin: 14px 0 0; font: 400 17px/1.35 var(--hand); color: #b0164f; }

/* ---------- The door ---------- */
.door { position: relative; display: flex; flex-direction: column; align-items: center; animation: in-right .8s .1s cubic-bezier(.2, .8, .2, 1) both; }
.spot {
  position: absolute; top: -90px; left: 50%; width: min(520px, 100vw); height: 640px; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(ellipse 50% 45% at 50% 45%, rgba(255, 235, 200, .16), transparent 70%);
}
.photo {
  position: relative; margin: 0; width: min(100%, 360px); aspect-ratio: 3 / 4; background: #111; padding: 12px 12px 46px;
  background: #f6f1e7; box-shadow: 0 30px 60px rgba(0, 0, 0, .7); transform: rotate(2deg); transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; filter: contrast(1.05) saturate(.9); transition: filter .4s; }
.photo[data-tier="idle"] img { filter: grayscale(.3) brightness(.85); }
.photo.swap img { animation: swap .45s ease; }
@keyframes swap { 0% { filter: brightness(2.2) blur(3px); } 100% { filter: none; } }
.photo[data-tier="out"] { animation: shake .5s cubic-bezier(.36, .07, .19, .97); }
@keyframes shake { 10%, 90% { transform: rotate(2deg) translateX(-2px); } 20%, 80% { transform: rotate(2deg) translateX(4px); } 30%, 50%, 70% { transform: rotate(2deg) translateX(-8px); } 40%, 60% { transform: rotate(2deg) translateX(8px); } }

.stamp {
  position: absolute; left: 50%; bottom: 72px; transform: translateX(-50%) rotate(-14deg) scale(2.4); opacity: 0;
  padding: 6px 16px 2px; border: 5px solid currentColor; border-radius: 8px; white-space: nowrap;
  font: 400 clamp(30px, 5vw, 44px)/1.1 var(--display); letter-spacing: .06em; text-transform: uppercase;
  mix-blend-mode: normal; background: rgba(10, 6, 14, .25);
  text-shadow: 0 0 18px currentColor; box-shadow: 0 0 22px -4px currentColor, inset 0 0 18px -6px currentColor;
}
.stamp.on { animation: stamp .42s cubic-bezier(.2, 1.4, .4, 1) forwards; }
@keyframes stamp { to { opacity: .95; transform: translateX(-50%) rotate(-14deg) scale(1); } }
.photo[data-tier="in"] .stamp { color: var(--in); }
.photo[data-tier="squeeze"] .stamp { color: var(--squeeze); }
.photo[data-tier="out"] .stamp { color: var(--out); }

.bubble {
  position: relative; margin-top: -26px; z-index: 2; max-width: 420px; width: calc(100% - 20px);
  background: #fff; color: var(--ink); border-radius: 18px; padding: 16px 20px; transform: rotate(-1deg);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .55);
}
.bubble::before { content: ''; position: absolute; top: -14px; left: 58%; border: 14px solid transparent; border-top: 0; border-bottom-color: #fff; }
.bubble p { margin: 0; font: 400 21px/1.32 var(--hand); }

/* wristband */
.wristband {
  width: 100%; max-width: 460px; margin-top: 22px; border-radius: var(--radius); padding: 16px 18px 14px;
  background: linear-gradient(135deg, rgba(255, 61, 139, .14), rgba(45, 226, 230, .08)), var(--night-2);
  border: 1px solid var(--line); box-shadow: 0 20px 40px rgba(0, 0, 0, .45);
  animation: rise .5s cubic-bezier(.2, .8, .2, 1) both;
}
.band-row { display: flex; justify-content: space-between; gap: 14px; align-items: end; }
.k { display: block; font: 600 11px/1 var(--body); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: 6px; }
.wristband .v { font: 400 30px/1 var(--display); color: #fff; text-decoration: none; letter-spacing: .01em; word-break: break-word; }
.wristband a.v:hover { color: var(--teal); }
.fps { text-align: right; flex-shrink: 0; }
.fps .v { font: 500 32px/1 var(--mono); }
.meter { position: relative; height: 10px; margin: 16px 0 22px; border-radius: 99px; background: #2a2131; }
.meter-fill { height: 100%; border-radius: inherit; width: 0; transition: width .8s cubic-bezier(.2, .8, .2, 1), background .3s; }
.meter i { position: absolute; top: -4px; bottom: -4px; width: 2px; background: rgba(255, 255, 255, .5); }
.meter i b { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); font: 400 11px var(--mono); color: var(--muted); }
.facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.facts li { font: 500 13px/1 var(--mono); padding: 7px 9px; border-radius: 7px; background: rgba(255, 255, 255, .06); color: var(--muted); }
.facts li.bad { color: #ffd0d0; background: rgba(255, 64, 64, .16); }
.facts li.warn { color: #ffe9b8; background: rgba(255, 194, 61, .14); }
.facts li.good { color: #c9ffe0; background: rgba(57, 255, 143, .11); }
.btn-share {
  margin-top: 14px; background: none; border: 1px dashed #4a3c55; color: var(--muted); border-radius: 8px; padding: 8px 12px;
  font: 500 13px var(--mono); cursor: pointer; width: 100%;
}
.btn-share:hover { color: #fff; border-color: var(--teal); }

[data-tier="in"] ~ .wristband .meter-fill, .meter-fill.in { background: var(--in); box-shadow: 0 0 14px var(--in); }
.meter-fill.squeeze { background: var(--squeeze); box-shadow: 0 0 14px var(--squeeze); }
.meter-fill.out { background: var(--out); box-shadow: 0 0 14px var(--out); }

/* ---------- Line-up ---------- */
.lineup { max-width: 1120px; margin: 80px auto 0; padding: 0 16px; }
.lineup-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.lineup h2 { margin: 0; font: 400 clamp(36px, 6vw, 56px)/1 var(--display); text-transform: uppercase; color: #fff; text-shadow: 0 0 22px rgba(255, 154, 60, .35); }
.lineup-head p { margin: 0; color: var(--muted); max-width: 460px; }
.builds { list-style: none; margin: 0; padding: 0; counter-reset: b; }
.b {
  display: grid; grid-template-columns: 38px minmax(0, 1.2fr) minmax(0, 1.6fr) 92px; gap: 18px; align-items: center;
  padding: 16px 4px; border-bottom: 1px solid var(--line); counter-increment: b;
  animation: rise .45s cubic-bezier(.2, .8, .2, 1) both;
}
.b::before { content: counter(b, decimal-leading-zero); font: 400 22px var(--display); color: #5a4b66; }
.b-name a { font: 600 19px/1.2 var(--body); color: #fff; text-decoration: none; }
.b-name a:hover { color: var(--teal); }
.b-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.tag { font: 500 11px/1 var(--mono); padding: 4px 6px; border-radius: 5px; background: rgba(255, 255, 255, .06); color: var(--muted); white-space: nowrap; }
.tag.ok { color: var(--teal); background: rgba(45, 226, 230, .09); }
.tag.bad { color: #ffb3b3; background: rgba(255, 64, 64, .13); }
.tag.warn { color: #ffe2a3; background: rgba(255, 194, 61, .12); }
.bar { position: relative; height: 12px; background: #221a29; border-radius: 99px; }
.bar > span { position: absolute; inset: 0 auto 0 0; border-radius: inherit; }
.bar > i { position: absolute; top: -3px; bottom: -3px; width: 1px; background: rgba(255, 255, 255, .35); }
.bar-cap { display: flex; justify-content: space-between; margin-top: 7px; font: 400 12px var(--mono); color: var(--muted); gap: 10px; }
.bar-cap .need-bad { color: #ffb3b3; }
.bar-cap .need-warn { color: #ffe2a3; }
.b-fps { text-align: right; font: 500 26px/1 var(--mono); }
.b-fps small { display: block; font: 400 11px var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.b.in .bar > span { background: var(--in); } .b.in .b-fps { color: var(--in); }
.b.squeeze .bar > span { background: var(--squeeze); } .b.squeeze .b-fps { color: var(--squeeze); }
.b.out .bar > span { background: var(--out); } .b.out .b-fps { color: #ff8a8a; }
.b.mine { background: linear-gradient(90deg, rgba(255, 61, 139, .12), transparent 70%); border-radius: 10px; }
.empty { padding: 30px 4px; color: var(--muted); font: 400 20px var(--hand); }

/* ---------- Footer ---------- */
.credits { max-width: 1120px; margin: 80px auto 0; padding: 30px 16px 60px; display: grid; grid-template-columns: minmax(0, 760px); gap: 40px; color: var(--muted); border-top: 1px solid var(--line); font-size: 15px; }
.credits h3 { margin: 0 0 8px; font: 400 22px var(--display); text-transform: uppercase; color: var(--text); letter-spacing: .03em; }
.credits p { margin: 0 0 10px; }
.credits b { color: var(--text); font-weight: 600; }

@keyframes in-left { from { opacity: 0; transform: translateX(-30px) rotate(-3deg); } }
@keyframes in-right { from { opacity: 0; transform: translateX(30px); } }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }

@media (max-width: 880px) {
  .club { grid-template-columns: 1fr; gap: 56px; }
  .credits { grid-template-columns: 1fr; gap: 20px; }
  .b { grid-template-columns: 28px minmax(0, 1fr) 72px; }
  .b .b-bar { grid-column: 2 / -1; }
  .b-fps { grid-row: 1; grid-column: 3; }
}
@media (max-width: 520px) {
  .clipboard { padding: 42px 16px 20px; transform: none; box-shadow: 0 0 0 7px #6b4a2f, 0 0 0 8px #3b2716, 0 20px 40px rgba(0, 0, 0, .6); }
  .fields { grid-template-columns: 1fr 86px; }
  #res { grid-template-columns: 1fr; }
  .photo { width: min(86%, 320px); }
  .fps .v { font-size: 26px; }
  .wristband .v { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
