/* FURIOUSPOTATO — "ICARUS-6" (app/Views/creators/furiouspotato.php).
   A cyberpunk HUD in his burnt orange and ember on near black: a grid
   underfoot, scanlines over everything, clipped-corner panels with corner
   brackets. Chakra Petch for titles, Share Tech Mono for the terminal and
   HUD read-outs, Barlow Condensed for chips, Nunito for reading. Glows are
   static shadows; the glitch, the scanner and the REC light are transform
   and opacity only, paused off screen by site.js and stopped for reduced
   motion and lite mode (docs/MOTION.md, the mobile-performance rules). */

@font-face { font-family: 'Chakra Petch'; src: url('/assets/fonts/chakra-petch-700-latin.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Chakra Petch'; src: url('/assets/fonts/chakra-petch-600-latin.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Share Tech Mono'; src: url('/assets/fonts/share-tech-mono-400-latin.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('/assets/fonts/barlow-condensed-700-latin.woff2') format('woff2'); font-weight: 700; font-display: swap; }

body.cp-theme-furiouspotato {
  --fpt-ink: #080605; --fpt-night: #0e0907; --fpt-panel: #140d09; --fpt-panel2: #1d130c; --fpt-line: rgba(255, 106, 19, .3);
  --fpt-orange: #ff6a13; --fpt-orange-l: #ffa45c; --fpt-ember: #e21a1a; --fpt-amber: #ffb547; --fpt-steel: #cfd4d8;
  --fpt-tx: #f4ece6; --fpt-tx2: #c9bdb3; --fpt-tx3: #8a7d72;
  --fpt-head: 'Chakra Petch', system-ui, sans-serif;
  --fpt-mono: 'Share Tech Mono', ui-monospace, monospace;
  --fpt-cond: 'Barlow Condensed', system-ui, sans-serif;
  --fpt-body: 'Nunito', system-ui, sans-serif;
  --fpt-cut: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px);
  --scroll-acc: #ff6a13;
  background: var(--fpt-ink);
}
html:has(> body.cp-theme-furiouspotato) { --scroll-acc: #ff6a13; }

.fpt { position: relative; overflow-x: clip; padding: 0 0 40px; color: var(--fpt-tx); font-family: var(--fpt-body); font-weight: 600; background:
  radial-gradient(ellipse 60% 40% at 50% 0%, rgba(255, 106, 19, .2), transparent 70%),
  radial-gradient(ellipse 50% 40% at 0% 60%, rgba(226, 26, 26, .1), transparent 70%),
  linear-gradient(180deg, #120a06 0%, var(--fpt-ink) 40%, #050403 100%); }
.fpt img { display: block; max-width: 100%; }
.fpt-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- the grid underfoot and the scanlines over everything (static) ---- */
.fpt-grid { position: fixed; inset: 0; z-index: 0; pointer-events: none; background:
  linear-gradient(rgba(255, 106, 19, .07) 1px, transparent 1px) 0 0 / 48px 48px,
  linear-gradient(90deg, rgba(255, 106, 19, .07) 1px, transparent 1px) 0 0 / 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 30%, transparent 85%); mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 30%, transparent 85%); }
.fpt-scan { position: fixed; inset: 0; z-index: 60; pointer-events: none; background: repeating-linear-gradient(180deg, rgba(0, 0, 0, .14) 0 1px, transparent 1px 3px); }

/* ---- type ---- */
.fpt-kick { margin: 0 0 8px; font-family: var(--fpt-mono); font-size: 15px; letter-spacing: .06em; color: var(--fpt-orange-l); }
.fpt-kick span { color: var(--fpt-orange); }
.fpt-title { margin: 0; text-transform: uppercase; font-family: var(--fpt-head); font-weight: 700; font-size: clamp(32px, 4vw, 54px); line-height: 1.02; letter-spacing: .04em; color: var(--fpt-tx); text-shadow: 0 0 22px rgba(255, 106, 19, .35); }
.fpt-title em { font-style: normal; color: var(--fpt-orange); }
.fpt-text { margin: 12px 0 0; font-size: 17px; font-weight: 600; line-height: 1.7; color: var(--fpt-tx2); }
.fpt-text a { color: var(--fpt-orange-l); border-bottom: 1px solid currentColor; }

/* ---- panels: clipped corners, a thin orange edge, corner brackets ---- */
.fpt-panel { position: relative; clip-path: var(--fpt-cut); background:
  linear-gradient(var(--fpt-panel2), var(--fpt-panel2)) padding-box,
  linear-gradient(135deg, rgba(255, 106, 19, .8), rgba(255, 106, 19, .15) 40%, rgba(255, 106, 19, .15) 60%, rgba(255, 106, 19, .8)) border-box;
  border: 1.5px solid transparent; }
.fpt-panel::before { content: ""; position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(ellipse 70% 60% at 100% 0%, rgba(255, 106, 19, .12), transparent 70%),
  linear-gradient(160deg, transparent 50%, rgba(0, 0, 0, .35)); }

/* ---- hero ---- */
.fpt-hero { position: relative; z-index: 1; display: grid; justify-items: center; align-content: center; gap: 8px; min-height: min(100vh, 900px); margin: 0 auto; padding: 110px 24px 50px; text-align: center; }
.fpt-hero-back { position: absolute; inset: 0; z-index: -1; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 40%, transparent 98%); mask-image: linear-gradient(180deg, #000 40%, transparent 98%); }
.fpt-hero-back img { width: 100%; height: 100%; object-fit: cover; opacity: .22; filter: saturate(.6); }
/* His sleeve strips on both edges, sticky as the page scrolls: a page-high
   rail holds them, so they stop where the page ends, before the footer.
   Sized to the margin beside the content. */
.fpt-rails { position: absolute; top: 96px; bottom: 60px; left: 0; right: 0; z-index: 0; display: flex; justify-content: space-between; align-items: flex-start; padding: 0 clamp(8px, 1.2vw, 22px); pointer-events: none; }
.fpt-strip { position: sticky; top: 96px; width: clamp(46px, calc((100vw - 1240px) / 2 - 24px), 110px); height: auto; opacity: .9; filter: drop-shadow(0 0 18px rgba(255, 106, 19, .35)); }
.fpt-boot { margin: 0 0 10px; padding: 10px 16px; list-style: none; text-align: left; font-family: var(--fpt-mono); font-size: 14px; line-height: 1.7; color: var(--fpt-tx3); background: rgba(8, 6, 5, .7); border-left: 2px solid var(--fpt-orange); }
.fpt-boot b { font-weight: 400; color: var(--fpt-orange-l); }
.fpt-boot.is-typing li { opacity: 0; }
.fpt-boot.is-typing li.is-on { opacity: 1; }
.fpt-boot li:last-child::after { content: "_"; margin-left: 4px; color: var(--fpt-orange); animation: fpt-blink 1s steps(1) infinite; }
@keyframes fpt-blink { 50% { opacity: 0; } }
/* The logo, glitching now and then: two tinted copies slip sideways. */
.fpt-logo { position: relative; width: min(980px, 94vw); aspect-ratio: 2000 / 530; }
.fpt-logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.fpt-logo .is-main { filter: drop-shadow(0 0 26px rgba(255, 106, 19, .45)); }
.fpt-logo .is-ghost { opacity: 0; mix-blend-mode: screen; }
.fpt-logo .is-a { filter: sepia(1) saturate(6) hue-rotate(-30deg); animation: fpt-glitch-a 5.5s steps(1) infinite; }
.fpt-logo .is-b { filter: sepia(1) saturate(4) hue-rotate(150deg); animation: fpt-glitch-b 5.5s steps(1) infinite; }
@keyframes fpt-glitch-a {
  0%, 82%, 100% { opacity: 0; transform: translate(0, 0); }
  83% { opacity: .8; transform: translate(-7px, 1px); } 84.5% { opacity: .6; transform: translate(5px, -2px); } 86% { opacity: .8; transform: translate(-3px, 0); } 87% { opacity: 0; }
  94% { opacity: .7; transform: translate(9px, 0) skewX(-6deg); } 95% { opacity: 0; }
}
@keyframes fpt-glitch-b {
  0%, 82%, 100% { opacity: 0; transform: translate(0, 0); }
  83% { opacity: .7; transform: translate(7px, -1px); } 84.5% { opacity: .5; transform: translate(-5px, 2px); } 86% { opacity: .7; transform: translate(3px, 0); } 87% { opacity: 0; }
  94% { opacity: .6; transform: translate(-9px, 0) skewX(6deg); } 95% { opacity: 0; }
}
.fpt-name { margin: 0; font-family: var(--fpt-head); font-weight: 700; font-size: clamp(44px, 8vw, 110px); text-transform: uppercase; color: var(--fpt-orange); }
.fpt-hero-copy { display: grid; justify-items: center; max-width: 720px; margin-top: 6px; }
.fpt-tagline { margin: 0; font-family: var(--fpt-mono); font-size: 16px; letter-spacing: .3em; text-transform: uppercase; color: var(--fpt-orange); }
.fpt-summary { max-width: 620px; margin: 10px 0 0; font-family: var(--fpt-head); font-weight: 600; font-size: clamp(18px, 1.8vw, 23px); line-height: 1.45; color: var(--fpt-tx); }
.fpt-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.fpt-tags li { padding: 4px 14px; clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); background: rgba(255, 106, 19, .14); border-top: 1px solid var(--fpt-line); color: var(--fpt-orange-l); font-family: var(--fpt-cond); font-weight: 700; font-size: 15px; letter-spacing: .12em; text-transform: uppercase; }
.fpt-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }
.fpt-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 26px; clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px); background: rgba(255, 106, 19, .12); color: var(--fpt-orange-l); font-family: var(--fpt-cond); font-weight: 700; font-size: 17px; letter-spacing: .14em; text-transform: uppercase; box-shadow: inset 0 0 0 1.5px rgba(255, 106, 19, .7); cursor: pointer; transition: transform .18s cubic-bezier(.3, 1.6, .5, 1), background-color .18s, color .18s; }
.fpt-btn svg { width: 17px; height: 17px; fill: currentColor; }
.fpt-btn:hover { transform: translateY(-3px); background: var(--fpt-orange-l); color: #1a0b02; }
.fpt-btn.is-hot { background: var(--fpt-orange); color: #140700; box-shadow: none; }
.fpt-btn.is-hot:hover { background: #ffd0a3; color: #140700; }
.fpt-socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 20px; }
.fpt-socials a { display: grid; place-items: center; width: 44px; height: 44px; clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); background: rgba(255, 106, 19, .1); color: var(--fpt-orange-l); box-shadow: inset 0 0 0 1.5px var(--fpt-line); transition: background-color .15s, color .15s, transform .18s cubic-bezier(.3, 1.6, .5, 1); }
.fpt-socials a:hover { background: var(--fpt-orange); color: #140700; transform: translateY(-3px); }
.fpt-socials svg { width: 19px; height: 19px; fill: currentColor; }

/* ---- sections ---- */
.fpt-sec { position: relative; z-index: 1; max-width: 1240px; margin: 0 auto; padding: 60px 32px 40px; }
.fpt-sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; padding-bottom: 14px; border-bottom: 1px solid var(--fpt-line); }
.fpt-more { flex: none; padding: 7px 16px; clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); background: rgba(255, 106, 19, .12); font-family: var(--fpt-cond); font-weight: 700; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; color: var(--fpt-orange-l); transition: background-color .15s, color .15s; }
.fpt-more:hover { background: var(--fpt-orange); color: #140700; }

/* About */
.fpt-about-card { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 34px; align-items: center; padding: 34px; }
.fpt-about-card > * { position: relative; }
.fpt-scanner { position: relative; overflow: hidden; clip-path: var(--fpt-cut); box-shadow: inset 0 0 0 1.5px rgba(255, 106, 19, .6); }
.fpt-scanner img { width: 100%; height: auto; }
.fpt-scanner-line { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--fpt-orange); box-shadow: 0 0 16px 4px rgba(255, 106, 19, .55); opacity: .8; animation: fpt-scanline 4.5s linear infinite; }
@keyframes fpt-scanline { 0% { transform: translateY(0); } 100% { transform: translateY(600px); } }
.fpt-scanner-tag { position: absolute; left: 12px; bottom: 12px; padding: 3px 10px; background: rgba(8, 6, 5, .85); font-family: var(--fpt-mono); font-size: 12px; letter-spacing: .08em; color: var(--fpt-orange-l); }
.fpt-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1px; margin: 22px 0 0; background: var(--fpt-line); border: 1px solid var(--fpt-line); }
.fpt-facts div { padding: 9px 14px; background: var(--fpt-night); }
.fpt-facts dt { font-family: var(--fpt-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--fpt-tx3); }
.fpt-facts dd { margin: 2px 0 0; font-family: var(--fpt-head); font-weight: 700; font-size: 16px; color: var(--fpt-orange-l); }
.fpt-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.fpt-links a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); background: rgba(255, 106, 19, .1); box-shadow: inset 0 0 0 1px var(--fpt-line); font-weight: 800; font-size: 14px; transition: background-color .15s, color .15s, transform .18s cubic-bezier(.3, 1.6, .5, 1); }
.fpt-links a:hover { background: var(--fpt-orange); color: #140700; transform: translateY(-2px); }
.fpt-links svg { width: 16px; height: 16px; fill: currentColor; }
.fpt-discord, .fpt-business { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; font-size: 15px; color: var(--fpt-tx2); }
.fpt-discord svg { width: 18px; height: 18px; fill: var(--fpt-orange); }
.fpt-business a { color: var(--fpt-orange-l); border-bottom: 1px solid currentColor; }

/* ---- the media terminal (creators/furiouspotato.js) ---- */
.fpt-terminal { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.fpt-screen { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; clip-path: var(--fpt-cut); box-shadow: inset 0 0 0 1.5px rgba(255, 106, 19, .65); }
.fpt-screen > a { position: absolute; inset: 0; display: block; }
.fpt-screen img { width: 100%; height: 100%; object-fit: cover; transition: opacity .25s ease; }
.fpt-screen.is-switching img { opacity: 0; }
.fpt-screen::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(180deg, rgba(0, 0, 0, .18) 0 1px, transparent 1px 3px), radial-gradient(ellipse at 50% 50%, transparent 55%, rgba(0, 0, 0, .55)); }
.fpt-play { position: absolute; left: 50%; top: 50%; z-index: 2; display: grid; place-items: center; width: 76px; height: 76px; margin: -38px 0 0 -38px; clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px); background: var(--fpt-orange); transition: transform .22s cubic-bezier(.3, 1.6, .5, 1), background-color .18s; }
.fpt-play svg { width: 34px; height: 34px; margin-left: 4px; fill: #140700; }
.fpt-screen:hover .fpt-play { transform: scale(1.1); background: #ffd0a3; }
.fpt-hud { position: absolute; z-index: 3; margin: 0; padding: 3px 10px; background: rgba(8, 6, 5, .8); font-family: var(--fpt-mono); font-size: 13px; letter-spacing: .08em; color: var(--fpt-tx); pointer-events: none; }
.fpt-hud b { font-weight: 400; color: var(--fpt-orange-l); }
.fpt-hud.is-tl { left: 22px; top: 18px; display: flex; align-items: center; gap: 6px; }
.fpt-hud.is-tr { right: 22px; top: 18px; color: var(--fpt-orange-l); }
.fpt-hud.is-tr:empty { display: none; }
.fpt-hud.is-bl { left: 22px; right: 22px; bottom: 18px; font-family: var(--fpt-head); font-weight: 700; font-size: 18px; letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fpt-rec { width: 9px; height: 9px; border-radius: 50%; background: var(--fpt-ember); box-shadow: 0 0 8px var(--fpt-ember); animation: fpt-blink 1.4s steps(1) infinite; }
.fpt-bracket { position: absolute; z-index: 3; width: 26px; height: 26px; border: 2px solid var(--fpt-orange); pointer-events: none; }
.fpt-bracket.is-1 { left: 10px; top: 10px; border-right: 0; border-bottom: 0; }
.fpt-bracket.is-2 { right: 10px; top: 10px; border-left: 0; border-bottom: 0; }
.fpt-bracket.is-3 { left: 10px; bottom: 10px; border-right: 0; border-top: 0; }
.fpt-bracket.is-4 { right: 10px; bottom: 10px; border-left: 0; border-top: 0; }
.fpt-log { max-height: min(520px, 60vh); margin: 0; padding: 0 6px 0 0; overflow-y: auto; list-style: none; overscroll-behavior: contain; }
.fpt-log::-webkit-scrollbar { width: 6px; }
.fpt-log::-webkit-scrollbar-thumb { background: var(--fpt-orange); }
.fpt-log-item { display: grid; grid-template-columns: auto 96px minmax(0, 1fr); gap: 10px; align-items: center; width: 100%; margin: 0 0 8px; padding: 8px 10px; border: 0; border-left: 2px solid transparent; background: rgba(20, 13, 9, .9); color: var(--fpt-tx); text-align: left; cursor: pointer; transition: background-color .15s, border-color .15s; }
.fpt-log-item img { width: 96px; height: 54px; object-fit: cover; }
.fpt-log-n { font-family: var(--fpt-mono); font-size: 13px; color: var(--fpt-tx3); }
.fpt-log-t b { display: block; font-family: var(--fpt-head); font-weight: 700; font-size: 15px; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fpt-log-t small { display: block; margin-top: 3px; font-family: var(--fpt-mono); font-size: 12px; letter-spacing: .06em; color: var(--fpt-tx3); }
.fpt-log-item:hover { background: rgba(255, 106, 19, .12); }
.fpt-log-item.is-on { border-left-color: var(--fpt-orange); background: rgba(255, 106, 19, .18); }
.fpt-log-item.is-on .fpt-log-n { color: var(--fpt-orange); }
.fpt-empty { max-width: 620px; padding: 20px 24px; }

/* ---- his ICARUS-6 gear ---- */
.fpt-gear { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.fpt-gear .is-wide { grid-column: span 2; }
.fpt-gear .is-tall { grid-column: span 1; }
.fpt-gear a { position: relative; display: block; height: 340px; background: radial-gradient(ellipse at 50% 40%, rgba(255, 106, 19, .14), transparent 70%), var(--fpt-night); clip-path: var(--fpt-cut); box-shadow: inset 0 0 0 1px var(--fpt-line); transition: box-shadow .18s, transform .22s cubic-bezier(.3, 1.6, .5, 1); }
/* Each piece fits inside the frame, above its label. */
.fpt .fpt-gear img { position: absolute; left: 18px; right: 18px; top: 22px; bottom: 46px; width: calc(100% - 36px); height: calc(100% - 68px); max-width: none; object-fit: contain; filter: drop-shadow(0 0 16px rgba(255, 106, 19, .3)); }
.fpt-gear-tag { position: absolute; left: 16px; bottom: 12px; font-family: var(--fpt-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--fpt-orange-l); }
.fpt-gear a:hover { box-shadow: inset 0 0 0 1.5px var(--fpt-orange); transform: translateY(-4px); }

/* ---- gallery ---- */
.fpt-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.fpt-gallery a { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 5; clip-path: var(--fpt-cut); background: var(--fpt-panel); box-shadow: inset 0 0 0 1px var(--fpt-line); transition: transform .22s cubic-bezier(.3, 1.6, .5, 1); }
.fpt-gallery img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; transition: transform .45s ease; }
.fpt-gallery-n { position: absolute; left: 0; bottom: 0; padding: 3px 12px 3px 14px; background: var(--fpt-orange); font-family: var(--fpt-mono); font-size: 12px; color: #140700; }
.fpt-gallery a:hover { transform: translateY(-5px); }
.fpt-gallery a:hover img { transform: scale(1.05); }

/* ---- the viewer (creators/furiouspotato.js) ---- */
.fpt-zoom { position: fixed; inset: 0; z-index: 220; display: grid; place-items: center; padding: clamp(14px, 4vmin, 44px); background: rgba(5, 3, 2, .95); opacity: 0; transition: opacity .22s ease; }
.fpt-zoom[hidden] { display: none; }
.fpt-zoom.is-open { opacity: 1; }
.fpt-zoom-win { position: relative; max-width: min(92vw, 1100px); padding: 6px; clip-path: var(--fpt-cut); background: var(--fpt-orange); transform: scale(.94); transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.fpt-zoom.is-open .fpt-zoom-win { transform: none; }
.fpt-zoom-img { display: block; max-width: min(88vw, 1080px); max-height: calc(86vh - 20px); width: auto; height: auto; margin: 0 auto; background: #000; }
.fpt-zoom-x, .fpt-zoom-nav { display: grid; place-items: center; border: 0; background: var(--fpt-orange); color: #140700; font-family: var(--fpt-head); font-weight: 700; cursor: pointer; transition: transform .18s cubic-bezier(.3, 1.6, .5, 1), background-color .15s; }
.fpt-zoom-x { position: fixed; top: 18px; right: 18px; z-index: 2; width: 44px; height: 44px; font-size: 22px; line-height: 1; }
.fpt-zoom-x:hover, .fpt-zoom-nav:hover { background: #ffd0a3; transform: scale(1.08); }
.fpt-zoom-nav { position: absolute; top: 50%; width: 52px; height: 52px; margin-top: -26px; font-size: 22px; }
.fpt-zoom-nav.is-prev { left: 18px; }
.fpt-zoom-nav.is-next { right: 18px; }
.fpt-zoom-nav[hidden] { display: none; }
@media (max-width: 700px) { .fpt-zoom-nav { top: auto; bottom: 18px; margin-top: 0; } }
@media (prefers-reduced-motion: reduce) { .fpt-zoom, .fpt-zoom-win { transition: none; } }

/* ---- loadout codes ---- */
.fpt-codes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.fpt-codes li { display: grid; gap: 12px; justify-items: start; padding: 22px; }
.fpt-codes li > * { position: relative; }
.fpt-code-brand { font-family: var(--fpt-head); font-weight: 700; font-size: 19px; color: var(--fpt-tx); }
.fpt-code { display: inline-flex; align-items: baseline; gap: 12px; padding: 8px 16px; border: 1.5px dashed var(--fpt-orange); background: rgba(255, 106, 19, .1); color: var(--fpt-orange-l); font-family: var(--fpt-mono); font-size: 22px; letter-spacing: .14em; cursor: pointer; transition: background-color .15s, color .15s; }
.fpt-code small { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--fpt-tx3); }
.fpt-code:hover { background: var(--fpt-orange); color: #140700; }
.fpt-code:hover small { color: #3a1a05; }
.fpt-code.is-copied { background: var(--fpt-orange); color: #140700; }
.fpt-code.is-copied small { color: #3a1a05; }

/* ---- shop ---- */
.fpt-soon { display: flex; align-items: center; gap: 24px; max-width: 820px; padding: 22px 28px; }
.fpt-soon > * { position: relative; }
.fpt-soon-art { flex: none; width: 110px; height: auto; filter: drop-shadow(0 0 16px rgba(255, 106, 19, .4)); }
.fpt-soon .fpt-text { margin: 6px 0 0; }
.fpt-soon-status { display: flex; align-items: center; gap: 8px; margin: 0; font-family: var(--fpt-mono); font-size: 14px; letter-spacing: .2em; text-transform: uppercase; color: var(--fpt-orange); }
.fpt-soon-status i { width: 9px; height: 9px; border-radius: 50%; background: var(--fpt-amber); box-shadow: 0 0 8px var(--fpt-amber); animation: fpt-blink 1.2s steps(1) infinite; }

/* ---- join ---- */
.fpt-join-card { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 36px; align-items: center; padding: 36px 34px; }
.fpt-join-card > * { position: relative; }
.fpt-join .fpt-title { margin: 6px 0 6px; }
.fpt-join .fpt-actions { justify-content: flex-start; }
.fpt-nums { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 0; padding: 0; list-style: none; background: var(--fpt-line); border: 1px solid var(--fpt-line); }
.fpt-nums li { padding: 16px; background: var(--fpt-night); }
.fpt-nums b { display: block; font-family: var(--fpt-head); font-weight: 700; font-size: 32px; line-height: 1; color: var(--fpt-orange); }
.fpt-nums span { display: block; margin-top: 8px; font-size: 13px; line-height: 1.4; color: var(--fpt-tx3); }

/* ---- end (a div: the site's footer styles would pull a <footer> left) ---- */
.fpt-end { position: relative; z-index: 1; max-width: 1240px; margin: 50px auto 0; padding: 0 32px 60px; text-align: center; }
.fpt-end-stage { position: relative; padding: 560px 0 300px; }
/* His splash art, large and centred behind the closing section. */
.fpt-end-back { position: absolute; left: 50%; top: 0; bottom: 0; z-index: -1; width: min(980px, 100vw); transform: translateX(-50%); pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 10%, #000 78%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 10%, #000 78%, transparent 100%); }
.fpt-end-back img { width: 100%; height: 100%; object-fit: contain; object-position: 50% 0; opacity: .8; filter: drop-shadow(0 0 60px rgba(255, 106, 19, .3)); }
.fpt-cta { max-width: 760px; margin: 0 auto; padding: 28px 34px; text-align: center; }
.fpt-cta > * { position: relative; }
.fpt .fpt-credits-h { margin: 20px 0 0; font-family: var(--fpt-mono); font-size: 14px; color: var(--fpt-tx3); }
.fpt-credits-h span { color: var(--fpt-orange); }
.fpt-credits { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; max-width: 900px; margin: 12px auto 0; padding: 0; list-style: none; font-family: var(--fpt-head); font-weight: 700; font-size: 16px; color: var(--fpt-orange-l); }
.fpt-credits li::before { content: "▸ "; color: var(--fpt-tx3); }
.fpt .fpt-end-line { margin: 30px 0 0; font-family: var(--fpt-mono); font-size: 16px; letter-spacing: .1em; color: var(--fpt-tx3); }

/* The menu bar, in his colours. */
body.cp-theme-furiouspotato .cpnav-in { background: rgba(14, 9, 7, .95); border-color: var(--fpt-line); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .8); }
body.cp-theme-furiouspotato .cpnav-who { color: var(--fpt-tx); border-left-color: var(--fpt-line); font-family: var(--fpt-head); font-weight: 700; letter-spacing: .06em; }
body.cp-theme-furiouspotato .cpnav-av { border-color: var(--fpt-orange); }
body.cp-theme-furiouspotato .cpnav-links a { color: var(--fpt-tx2); font-family: var(--fpt-cond); font-weight: 700; font-size: 1.05em; letter-spacing: .08em; text-transform: uppercase; }
body.cp-theme-furiouspotato .cpnav-links a:hover { color: #fff; background: rgba(255, 106, 19, .22); }
body.cp-theme-furiouspotato .cpnav-links a[aria-current="true"] { background: var(--fpt-orange); color: #140700; box-shadow: none; }
body.cp-theme-furiouspotato :is(.cpnav-burger, .cpnav-account) { background: var(--fpt-panel2); color: var(--fpt-tx); }
body.cp-theme-furiouspotato .cpnav-burger span { background: var(--fpt-orange); }
body.cp-theme-furiouspotato .cpnav-cart { background: var(--fpt-orange); color: #140700; box-shadow: none; font-family: var(--fpt-cond); font-weight: 700; letter-spacing: .06em; }
body.cp-theme-furiouspotato .cpnav-cart:hover { background: #ffd0a3; }
/* The video player, in his colours. */
body.cp-theme-furiouspotato .cp-player { background: rgba(5, 3, 2, .95); -webkit-backdrop-filter: none; backdrop-filter: none; }
body.cp-theme-furiouspotato .cp-player-frame { border: 2px solid var(--fpt-orange); border-radius: 0; box-shadow: 0 0 40px rgba(255, 106, 19, .35); }
body.cp-theme-furiouspotato .cp-player-caption { font-family: var(--fpt-mono); letter-spacing: .06em; color: var(--fpt-orange-l); }
body.cp-theme-furiouspotato .cp-player-close { background: var(--fpt-orange); color: #140700; border: 0; border-radius: 0; }

/* ---- small screens ---- */
@media (max-width: 1180px) { .fpt-strip { opacity: .35; } }
@media (max-width: 900px) {
  .fpt-hero { padding: 140px 16px 34px; min-height: 0; }
  .fpt-rails { display: none; }
  .fpt-boot { font-size: 12px; }
  .fpt-sec { padding: 40px 18px 26px; }
  .fpt-sec-head { flex-wrap: wrap; }
  .fpt-about-card { grid-template-columns: 1fr; gap: 22px; padding: 22px 18px; }
  .fpt-scanner { max-width: 320px; margin: 0 auto; }
  .fpt-terminal { grid-template-columns: 1fr; }
  .fpt-log { max-height: 340px; }
  .fpt-hud.is-bl { font-size: 15px; }
  .fpt-gear { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fpt-gear .is-wide { grid-column: span 2; }
  .fpt-gear a { height: 240px; }
  .fpt-codes { grid-template-columns: 1fr; }
  .fpt-join-card { grid-template-columns: 1fr; gap: 24px; padding: 26px 20px; }
  .fpt-cta { padding: 24px 18px; }
  .fpt-end-stage { padding: 360px 0 200px; }
}
@media (max-width: 560px) {
  .fpt-facts { grid-template-columns: 1fr; }
  .fpt-gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .fpt-soon { flex-direction: column; text-align: center; }
  .fpt-soon-status { justify-content: center; }
  .fpt-log-item { grid-template-columns: auto 72px minmax(0, 1fr); }
  .fpt-log-item img { width: 72px; height: 40px; }
}

/* ---- calmer when asked ---- */
@media (prefers-reduced-motion: reduce) {
  .fpt-logo .is-ghost, .fpt-scanner-line, .fpt-rec, .fpt-soon-status i, .fpt-boot li:last-child::after { animation: none; }
  .fpt-scanner-line { display: none; }
}
.perf-lite :is(.fpt-logo .is-ghost, .fpt-scanner-line, .fpt-rec, .fpt-soon-status i) { animation: none; }
.perf-lite .fpt-scanner-line { display: none; }
.perf-lite .fpt-scan { display: none; }
