/* $FUGGLER fan layer on top of the original Webflow styles. Same fonts, textures and button shapes. */
:root {
  --fg-ink: #111;
  --fg-pink: #ea5f9d;
  --fg-red: #d71920;
  --fg-yellow: #fdd800;
  --fg-paper: url(/_ext/cdn.prod.website-files.com/6855609c8648bea413b92e37/685958eb4c2f5c551384bf1d_adopt_main_bg_box.webp);
  --fg-cardboard: url(/_ext/cdn.prod.website-files.com/6855609c8648bea413b92e37/69b289e72d49bc1f6b6a74a9_bg-middle.avif);
  --fg-head: "Cat Comic", Impact, sans-serif;
  --fg-body: "Susu Jahe", Arial, sans-serif;
}

/* ---------- buttons: the site's black brush shape, plus a splat on hover like the nav ---------- */
.fan-btn:disabled { cursor: not-allowed; opacity: .45; }
.fan-btn:disabled .navsplat { display: none; }
.fan-btn:disabled:active .navlinkwrapper { transform: none; }
.fan-btn { cursor: pointer; border: 0; background: none; padding: 0; font: inherit; }
.fan-btn .navsplat { opacity: 0; transform: scale(.55) rotate(-8deg); transition: opacity .18s, transform .25s cubic-bezier(.3, 1.6, .5, 1); pointer-events: none; }
.fan-btn:hover .navsplat, .fan-btn:focus-visible .navsplat { opacity: 1; transform: scale(1) rotate(0); }
.fan-btn .navlinkwrapper { margin-left: 0; padding-left: 14px; padding-right: 14px; transition: transform .12s; }
.fan-btn:active .navlinkwrapper { transform: translateY(2px) scale(.97); }
.fan-btn .nav-link { white-space: nowrap; display: block; }
.fan-btn[aria-disabled="true"] { cursor: not-allowed; }
.fan-btn[aria-disabled="true"] .navlinkwrapper { background: #6d6d6d; }
.fan-btn[aria-disabled="true"] .navsplat { display: none; }
.fan-btn .fan-soon { position: absolute; top: -12px; right: -10px; z-index: 3; background: var(--fg-yellow); color: #000; font: 12px/1 var(--fg-head); letter-spacing: 1px; padding: 4px 6px; transform: rotate(8deg); border: 2px solid #000; }
.fan-btn:focus-visible { outline: 3px solid var(--fg-pink); outline-offset: 4px; }

/* ---------- $FUGGLER coin card ---------- */
.fan-coin .card-content { max-width: 680px; }
.fan-coin h1 .fan-tick { color: var(--fg-red); }
.fan-coin .fan-lede { margin-bottom: 18px; }
.fan-ca { position: relative; width: 100%; max-width: 560px; margin: 6px auto 22px; padding: 16px 16px 14px; background: var(--fg-paper) center / cover, #efe7d6; box-shadow: 3px 4px 0 rgba(0, 0, 0, .35); transform: rotate(-1.2deg); }
.fan-ca::before, .fan-ca::after { content: ""; position: absolute; top: -18px; width: 96px; height: 34px; background: url(/_ext/cdn.prod.website-files.com/6855609c8648bea413b92e37/685a9a56b778209cae2d972e_tape-2.webp) center / 100% 100% no-repeat; opacity: .9; }
.fan-ca::before { left: 18px; transform: rotate(-6deg); }
.fan-ca::after { right: 18px; transform: rotate(5deg); }
.fan-ca-label { font: 14px/1 var(--fg-head); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 8px; }
.fan-ca-row { display: flex; gap: 10px; align-items: center; }
.fan-ca-value { flex: 1; min-width: 0; font: 600 15px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; background: #fff; border: 2px dashed #000; padding: 10px; text-align: left; word-break: break-all; user-select: all; }
.fan-ca-value[data-empty] { font: 20px/1.2 var(--fg-body); text-align: center; user-select: text; word-break: normal; overflow-wrap: anywhere; }
.fan-ca .fan-btn .navlinkwrapper { padding-top: 10px; padding-bottom: 10px; }
#fan-ca-copy { flex: none; align-self: center; }
.fan-buttons { display: flex; flex-wrap: wrap; gap: 14px 6px; justify-content: center; margin: 4px 0 10px; }
.fan-buttons .fan-btn { position: relative; }
.fan-group-label { font: 14px/1 var(--fg-head); letter-spacing: 2px; text-transform: uppercase; margin: 14px 0 10px; }
.fan-disclaimer { font-size: 15px; line-height: 20px; opacity: .8; margin-top: 14px; }
.fan-peeker { position: absolute; z-index: 1; width: 210px; bottom: 0; pointer-events: none; animation: fan-bob 4.5s ease-in-out infinite; transform-origin: 50% 100%; }
.fan-peeker.l { left: 4%; }
.fan-peeker.r { right: 4%; animation-delay: -2.2s; }
@keyframes fan-bob { 0%, 100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-10px) rotate(1.5deg); } }

/* ---------- Your Fugg: the PFP lab's Fuggler moves into the coin section ---------- */
.yf { position: relative; z-index: 2; display: flex; justify-content: center; margin: 34px auto 0; }
.yf-box { position: relative; max-width: 460px; padding: 26px 26px 22px; text-align: center; color: #000; background: var(--fg-cardboard) center / 320px, #c69c6d; box-shadow: 0 14px 28px rgba(0, 0, 0, .4); transform: rotate(1deg); }
.yf-box::before { content: ""; position: absolute; left: 50%; top: -18px; width: 180px; height: 60px; margin-left: -90px; background: url(/_ext/cdn.prod.website-files.com/6855609c8648bea413b92e37/68596f5e4928720673ffc933_tag.webp) center / contain no-repeat; }
.yf-box::after { content: "FRAGILE (ITS TEETH)"; position: absolute; right: -16px; bottom: 16px; padding: 4px 8px; border: 3px solid #c0161c; color: #c0161c; font: 13px/1 var(--fg-head); letter-spacing: 1px; transform: rotate(-12deg); background: rgba(255, 255, 255, .25); }
.yf-box-text { margin: 0 0 16px; }
.yf-box.rattle { animation: yf-rattle .5s ease-in-out 2; }
@keyframes yf-rattle { 20% { transform: rotate(-2deg) translateX(-4px); } 40% { transform: rotate(3deg) translateX(4px); } 60% { transform: rotate(-2deg); } 80% { transform: rotate(2deg); } }
.yf-stage { position: relative; display: flex; flex-direction: column; align-items: center; }
.yf-stage[hidden] { display: none; }
.yf-fugg { position: relative; display: block; padding: 0; border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; transform-origin: 50% 100%; animation: yf-idle 3.6s ease-in-out infinite; }
.yf-fugg img { display: block; height: 340px; width: auto; max-width: 80vw; object-fit: contain; filter: drop-shadow(0 14px 10px rgba(0, 0, 0, .35)); pointer-events: none; }
.yf-fugg::after { content: ""; position: absolute; left: 10%; right: 10%; bottom: -10px; height: 22px; background: radial-gradient(ellipse at center, rgba(0, 0, 0, .45), transparent 70%); z-index: -1; }
.yf-fugg:focus-visible { outline: 4px solid var(--fg-pink); outline-offset: 8px; border-radius: 12px; }
.yf-fugg.flip img { transform: scaleX(-1); }
.yf-fugg.arrive { animation: yf-arrive .7s cubic-bezier(.3, 1.6, .5, 1) both, yf-idle 3.6s ease-in-out .7s infinite; }
@keyframes yf-arrive { from { transform: translateY(120px) scale(.3); opacity: 0; } }
@keyframes yf-idle { 0%, 100% { transform: scale(1, 1); } 50% { transform: scale(1.015, .985) translateY(1px); } }
.yf-fugg.fart { animation: yf-fart .55s cubic-bezier(.3, 1.4, .5, 1); }
.yf-fugg.burp { animation: yf-burp .6s cubic-bezier(.3, 1.4, .5, 1); }
@keyframes yf-fart { 0% { transform: scale(1); } 18% { transform: scale(1.12, .84) rotate(-3deg); } 40% { transform: scale(.94, 1.1) rotate(2deg) translateY(-14px); } 65% { transform: scale(1.04, .97) rotate(-1deg); } 100% { transform: scale(1); } }
@keyframes yf-burp { 0% { transform: scale(1); } 22% { transform: scale(.92, 1.12) rotate(-4deg) translateY(-8px); } 45% { transform: scale(1.1, .9) rotate(3deg); } 70% { transform: scale(.98, 1.03); } 100% { transform: scale(1); } }
.yf-fugg { isolation: isolate; }
.yf-gas { position: absolute; z-index: -1; left: 50%; bottom: 22%; width: 10px; height: 10px; pointer-events: none; }
.yf-gas i { position: absolute; left: 0; bottom: 0; width: 46px; height: 46px; margin: -23px; border-radius: 50%; background: radial-gradient(circle at 40% 40%, rgba(176, 222, 82, .85), rgba(120, 176, 40, .35) 60%, transparent 72%); animation: yf-puff 1s ease-out forwards; }
@keyframes yf-puff { from { transform: translate(0, 0) scale(.4); opacity: .95; } to { transform: translate(var(--dx), var(--dy)) scale(var(--s)); opacity: 0; } }
.yf-bubble { position: absolute; z-index: 3; top: -6px; left: calc(50% + 70px); padding: 10px 16px; background: #fff; border: 4px solid #000; box-shadow: 4px 4px 0 #000; font: 26px/1 var(--fg-head); letter-spacing: 1px; text-transform: uppercase; color: #000; white-space: nowrap; opacity: 0; transform: scale(.4) rotate(-6deg); transform-origin: 0 100%; transition: opacity .12s, transform .25s cubic-bezier(.3, 1.8, .5, 1); pointer-events: none; }
.yf-bubble::after { content: ""; position: absolute; left: 18px; bottom: -18px; border: 9px solid transparent; border-top: 12px solid #000; border-left-color: #000; }
.yf-bubble.show { opacity: 1; transform: scale(1) rotate(-4deg); }
.yf-plate { margin-top: 18px; padding: 8px 16px 10px; background: #000; color: #fff; text-align: center; clip-path: polygon(0% 0%, 99% 6%, 100% 71%, 74% 96%, 0% 100%); }
.yf-plate-label { font: 13px/1 var(--fg-head); letter-spacing: 2px; text-transform: uppercase; color: var(--fg-yellow); }
#yf-name { font: 22px/1.1 var(--fg-head); text-transform: uppercase; }
.yf-hint { display: block; font-size: 15px; line-height: 19px; opacity: .85; margin-top: 2px; }
@media screen and (max-width: 767px) {
  .yf-fugg img { height: 250px; }
  .yf-bubble { left: auto; right: 2%; top: -24px; font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) { .yf-fugg, .yf-fugg.fart, .yf-fugg.burp, .yf-fugg.arrive, .yf-box.rattle { animation: none; } }

/* ---------- PFP lab ---------- */
.fan-pfp .hero-wrapper-two { max-width: 820px; }
.fan-pfp .hero-wrapper-two p { background: var(--fg-paper) center / cover, #efe7d6; color: #000; padding: 12px 20px; box-shadow: 3px 4px 0 rgba(0, 0, 0, .35); transform: rotate(-.8deg); }
.pfp-lab { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); grid-template-areas: "stage panel" "case panel"; grid-template-rows: auto 1fr; gap: 34px; align-items: start; width: 100%; max-width: 1180px; margin: 0 auto; position: relative; z-index: 2; }
.pfp-stage { grid-area: stage; }
.pfp-panel { grid-area: panel; }
#pfp-case { grid-area: case; }
.pfp-stage { position: relative; background: var(--fg-cardboard) center / 360px, #c69c6d; padding: 18px; box-shadow: 0 14px 30px rgba(0, 0, 0, .35); transform: rotate(-.6deg); }
.pfp-stage::before { content: ""; position: absolute; z-index: 3; top: -26px; left: 50%; width: 170px; height: 64px; margin-left: -85px; background: url(/_ext/cdn.prod.website-files.com/6855609c8648bea413b92e37/68596f5e4928720673ffc933_tag.webp) center / contain no-repeat; transform: rotate(-3deg); pointer-events: none; }
#pfp-canvas { display: block; width: 100%; height: auto; aspect-ratio: 1; background: #fff url(/_ext/cdn.prod.website-files.com/6855609c8648bea413b92e37/685a7448d1a4fcc820e93977_concreate-bg.webp); touch-action: none; outline: none; }
#pfp-canvas:focus-visible { box-shadow: 0 0 0 4px var(--fg-pink); }
.pfp-stage .pfp-loading { position: absolute; inset: 18px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 20px; font: 22px/1.3 var(--fg-head); letter-spacing: 1px; text-transform: uppercase; color: #000; background: rgba(255, 255, 255, .8); }
.pfp-ready .pfp-loading { display: none; }
.pfp-failed .pfp-loading { display: flex; }
.pfp-hint { font-size: 16px; line-height: 21px; margin: 12px 0 0; color: #1d1209; text-align: center; }
.pfp-actions { display: flex; flex-wrap: wrap; gap: 14px 4px; justify-content: center; margin-top: 16px; }

.pfp-panel { background: var(--fg-paper) center / cover, #efe7d6; padding: 18px 18px 20px; box-shadow: 0 10px 24px rgba(0, 0, 0, .3); color: #000; text-align: left; }
.pfp-panel h2 { margin: 0 0 10px; font-size: 22px; }
.pfp-step { margin-bottom: 18px; }
.pfp-step:last-child { margin-bottom: 0; }
.pfp-find { display: flex; gap: 8px; margin-bottom: 8px; }
.pfp-find input, .pfp-find select, .pfp-text input { min-width: 0; flex: 1; font: 18px var(--fg-body); padding: 7px 10px; border: 2px solid #000; background: #fff; color: #000; border-radius: 0; }
.pfp-find select { flex: 0 1 46%; }
.pfp-count { font-size: 15px; line-height: 18px; margin: 0 0 6px; opacity: .75; }
#pfp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 4px; max-height: 268px; overflow-y: auto; padding: 4px; background: rgba(255, 255, 255, .55); border: 2px solid #000; scrollbar-color: var(--fg-pink) #f2f2f2; }
.pfp-thumb { --t: 76px; width: var(--t); height: var(--t); justify-self: center; border: 2px solid transparent; background-color: transparent; background-image: url(/fan-assets/fugglers/thumbs.webp); background-repeat: no-repeat; background-size: calc(var(--cols) * var(--t)) calc(var(--rows) * var(--t)); background-position: calc(var(--i) * var(--t) * -1) calc(var(--j) * var(--t) * -1); cursor: pointer; padding: 0; border-radius: 8px; transition: transform .12s, background-color .12s; }
.pfp-thumb:hover { transform: scale(1.12) rotate(-3deg); background-color: rgba(234, 95, 157, .15); }
.pfp-thumb[aria-pressed="true"] { border-color: #000; background-color: rgba(253, 216, 0, .5); }
.pfp-thumb:focus-visible { outline: 3px solid var(--fg-pink); outline-offset: 1px; }
.pfp-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pfp-chip { display: inline-flex; align-items: center; gap: 6px; font: 13px/1 var(--fg-head); letter-spacing: .5px; text-transform: uppercase; padding: 7px 9px; color: #000; background: #fff; border: 2px solid #000; cursor: pointer; transition: transform .1s; }
.pfp-chip:hover { transform: rotate(-2deg) scale(1.04); }
.pfp-chip[aria-pressed="true"] { background: #000; color: #fff; }
.pfp-chip:focus-visible { outline: 3px solid var(--fg-pink); outline-offset: 2px; }
.pfp-swatch { width: 18px; height: 18px; border: 1px solid #000; background-size: cover; background-position: center; flex: none; }
.pfp-stickers { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 6px; }
.pfp-sticker { height: 64px; border: 2px solid #000; background: #cdb48f var(--fg-cardboard) center / 200px; cursor: pointer; font: 11px/1.1 var(--fg-head); text-transform: uppercase; color: #000; padding: 4px; display: flex; align-items: flex-end; justify-content: center; text-align: center; transition: transform .1s; }
.pfp-sticker[data-sticker] { background-size: 80%, 200px; background-position: center; background-repeat: no-repeat, repeat; }
.pfp-sticker:hover { transform: rotate(3deg) scale(1.06); }
.pfp-sticker:focus-visible { outline: 3px solid var(--fg-pink); outline-offset: 2px; }
.pfp-sticker.text { align-items: center; background: var(--fg-yellow); font-size: 12px; }
#pfp-inspector { margin-top: 16px; padding: 10px 12px; background: #000; color: #fff; }
#pfp-inspector[hidden] { display: none; }
.pfp-ins-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font: 14px var(--fg-head); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 8px; }
.pfp-ins-name { color: var(--fg-yellow); }
.pfp-ins-tools { display: flex; flex-wrap: wrap; gap: 6px; }
.pfp-ins-tools button { font: 13px/1 var(--fg-head); text-transform: uppercase; padding: 7px 9px; color: #000; background: #fff; border: 0; cursor: pointer; }
.pfp-ins-tools button:disabled { opacity: .35; cursor: not-allowed; }
.pfp-ins-tools button:focus-visible { outline: 3px solid var(--fg-pink); }
.pfp-text { display: flex; margin-top: 8px; }
.pfp-text[hidden] { display: none; }

#pfp-case { position: relative; padding: 14px 16px 12px; background: #fff; border: 2px solid #000; box-shadow: 4px 4px 0 #000; transform: rotate(.4deg); }
#pfp-case::before { content: "CASE FILE"; position: absolute; top: -12px; right: 12px; background: var(--fg-red); color: #fff; font: 12px/1 var(--fg-head); letter-spacing: 2px; padding: 5px 8px; transform: rotate(3deg); }
#pfp-case h3 { font: 24px/1.1 var(--fg-head); text-transform: uppercase; margin: 0; }
.pfp-case-coll { font-size: 15px; line-height: 18px; margin: 2px 0 8px; opacity: .7; }
#pfp-case dl { display: grid; grid-template-columns: max-content 1fr; gap: 2px 12px; margin: 0 0 8px; font-size: 16px; line-height: 20px; }
#pfp-case dt { font-family: var(--fg-head); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; padding-top: 3px; }
#pfp-case dd { margin: 0; }
.pfp-case-desc { font-size: 16px; line-height: 21px; margin: 0; }

/* hero slider dots: the stock 40% white vanishes on the pink slides */
.slide-nav .w-slider-dot { background: rgba(255, 255, 255, .9); border: 2px solid #000; box-shadow: 2px 2px 0 rgba(0, 0, 0, .55); transition: background-color .15s, transform .15s; }
.slide-nav .w-slider-dot:hover { background: #fff; transform: scale(1.12); }
.slide-nav .w-slider-dot.w-active { background: var(--fg-pink); transform: scale(1.25); }
.slide-nav .w-slider-dot:focus { box-shadow: 2px 2px 0 rgba(0, 0, 0, .55); }
.slide-nav .w-slider-dot:focus-visible { outline: 3px solid #000; outline-offset: 3px; }

#pfp-save { position: fixed; inset: 0; z-index: 2000; display: flex; flex-direction: column; gap: 12px; align-items: center; justify-content: center; background: rgba(0, 0, 0, .8); padding: 20px; }
#pfp-save[hidden] { display: none; }
#pfp-save img { max-width: min(88vw, 560px); max-height: 74vh; box-shadow: 0 10px 40px rgba(0, 0, 0, .6); background: #fff; }
#pfp-save p { color: #fff; font: 18px/1.3 var(--fg-body); text-align: center; margin: 0; }

/* ---------- Fugg TV feed (official posts) ---------- */
.fan-feed .hero-wrapper-two { max-width: 820px; }
.fan-feed-grid { columns: 4 240px; column-gap: 26px; width: 100%; max-width: 1180px; margin: 10px auto 0; position: relative; z-index: 2; }
.fan-post { break-inside: avoid; display: block; position: relative; margin: 0 0 30px; padding: 12px 12px 14px; background: #fff; color: #000; text-decoration: none; box-shadow: 0 8px 18px rgba(0, 0, 0, .35); transition: transform .18s; }
.fan-post:nth-child(3n+1) { transform: rotate(-1.6deg); }
.fan-post:nth-child(3n+2) { transform: rotate(1.2deg); }
.fan-post:nth-child(3n) { transform: rotate(-.4deg); }
.fan-post:hover, .fan-post:focus-visible { transform: rotate(0) scale(1.03); z-index: 3; }
.fan-post::before { content: ""; position: absolute; z-index: 2; top: -16px; left: 50%; width: 110px; height: 40px; margin-left: -55px; background: url(/_ext/cdn.prod.website-files.com/6855609c8648bea413b92e37/685a9a56b778209cae2d972e_tape-2.webp) center / 100% 100% no-repeat; transform: rotate(-4deg); opacity: .92; }
.fan-post img { display: block; width: 100%; height: auto; background: #eee; }
.fan-post .fan-play { position: absolute; left: 50%; top: 40%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgba(0, 0, 0, .7); border: 3px solid #fff; }
.fan-post .fan-play::after { content: ""; position: absolute; left: 24px; top: 17px; border-left: 22px solid #fff; border-top: 14px solid transparent; border-bottom: 14px solid transparent; }
.fan-post-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-top: 10px; font: 12px/1 var(--fg-head); letter-spacing: 1px; text-transform: uppercase; }
.fan-post-meta .p { background: #000; color: #fff; padding: 4px 6px; }
.fan-post p { font-size: 17px; line-height: 22px; margin: 8px 0 0; }
.fan-post-stats { font-size: 14px; line-height: 18px; opacity: .65; margin-top: 6px; }
.fan-feed-note { position: relative; z-index: 2; text-align: center; margin-top: 4px; }
.fan-feed-grid.is-collapsed .fan-post:nth-child(n+9) { display: none; }
.fan-feed-more { position: relative; z-index: 2; display: flex; justify-content: center; margin-top: 4px; }

.fan-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* ---------- Flappy Fugg cabinet ---------- */
.fan-play .hero-wrapper-two p { background: var(--fg-paper) center / cover, #efe7d6; color: #000; padding: 12px 20px; box-shadow: 3px 4px 0 rgba(0, 0, 0, .35); transform: rotate(.6deg); }
.game-cab { position: relative; z-index: 2; width: fit-content; max-width: 100%; margin: 0 auto; padding: 16px 16px 12px; background: var(--fg-cardboard) center / 360px, #c69c6d; box-shadow: 0 16px 34px rgba(0, 0, 0, .45); transform: rotate(-.4deg); }
.game-cab::before, .game-cab::after { content: ""; position: absolute; z-index: 3; top: -22px; width: 130px; height: 56px; background: url(/_ext/cdn.prod.website-files.com/6855609c8648bea413b92e37/68596f5e4928720673ffc933_tag.webp) center / contain no-repeat; pointer-events: none; }
.game-cab::before { left: -30px; transform: rotate(-28deg); }
.game-cab::after { right: -30px; transform: rotate(28deg) scaleX(-1); }
#game-canvas { display: block; height: min(720px, calc(100vh - 190px)); min-height: 420px; width: auto; max-width: 100%; aspect-ratio: 9 / 16; border: 4px solid #000; background: #555; touch-action: none; cursor: pointer; outline: none; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
#game-canvas:focus-visible { box-shadow: 0 0 0 4px var(--fg-pink); }
.game-bar { display: flex; flex-wrap: wrap; gap: 12px 4px; justify-content: center; margin-top: 14px; }
.game-pilot { margin: 10px 0 0; text-align: center; font-size: 16px; line-height: 20px; color: #1d1209; max-width: 420px; margin-left: auto; margin-right: auto; }
@media screen and (max-width: 767px) {
  .game-cab { width: 100%; padding: 10px 10px 8px; }
  #game-canvas { width: 100%; height: auto; min-height: 0; }
  .game-cab::before, .game-cab::after { width: 90px; height: 40px; top: -16px; }
  .game-cab::before { left: -10px; }
  .game-cab::after { right: -10px; }
  section.fan-play { overflow-x: clip; }
}

/* ---------- toast + eggs ---------- */
.fan-toast { position: fixed; left: 50%; bottom: 26px; z-index: 3000; transform: translateX(-50%) rotate(-1deg); max-width: min(92vw, 560px); padding: 12px 18px; background: #000; color: #fff; font: 17px/1.25 var(--fg-head); letter-spacing: 1px; text-transform: uppercase; text-align: center; clip-path: polygon(0% 0%, 99% 6%, 100% 71%, 74% 96%, 0% 100%); box-shadow: 0 8px 20px rgba(0, 0, 0, .4); }
.fan-toast[hidden] { display: none; }
.fan-btn[hidden] { display: none; }
.fan-peek { position: fixed; z-index: 2500; bottom: -320px; width: 220px; pointer-events: none; transition: bottom .5s cubic-bezier(.3, 1.5, .55, 1); }
.fan-peek.show { bottom: -40px; }
.fan-peek img { width: 100%; display: block; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .35)); }
.fan-peek span { position: absolute; top: 10px; right: -150px; width: 160px; background: #fff; color: #000; border: 3px solid #000; padding: 6px 10px; font: 16px/1.2 var(--fg-head); text-transform: uppercase; transform: rotate(4deg); }
.fan-rain { position: fixed; inset: 0; z-index: 2400; pointer-events: none; }
.fan-fartnado { position: fixed; inset: 0; z-index: 2300; pointer-events: none; background: radial-gradient(ellipse at 30% 60%, rgba(156, 200, 60, .55), transparent 60%), radial-gradient(ellipse at 70% 40%, rgba(120, 170, 40, .5), transparent 55%); animation: fan-gas 3.2s ease-out forwards; }
@keyframes fan-gas { 0% { opacity: 0; transform: scale(.6) rotate(0); } 25% { opacity: 1; } 100% { opacity: 0; transform: scale(1.6) rotate(25deg); } }
body.fan-shake { animation: fan-shake .5s 4; }
@keyframes fan-shake { 25% { transform: translate(-5px, 2px) rotate(-.4deg); } 50% { transform: translate(4px, -3px) rotate(.3deg); } 75% { transform: translate(-3px, 3px); } }
.fan-buttonhole { cursor: pointer; border-bottom: 2px dotted currentColor; }
.fan-buttonhole.boop { display: inline-block; animation: fan-boop .5s; }
@keyframes fan-boop { 30% { transform: scale(1.4) rotate(-8deg); } 60% { transform: scale(.9) rotate(5deg); } }

/* ---------- slimmer header (about 40% less tall), same cardboard look ---------- */
.navbar-logo-left-container { padding-top: 6px; padding-bottom: 6px; }
.nav-logo { width: 158px; margin-bottom: -32px; }
.navbar-wrapper .nav-list-item .navlinkwrapper { padding-top: 5px; padding-bottom: 5px; }
.navbar-logo-left .navrip { bottom: -26px; }
@media screen and (max-width: 991px) {
  .nav-logo { width: 132px; max-width: 70%; margin-bottom: -26px; }
  .menu-button { padding: 8px; }
}
.fan-terms-link { color: inherit; text-decoration: underline dotted; cursor: pointer; }
.fan-footer-note { text-align: center; font-size: 17px; line-height: 22px; margin: -20px 0 14px; }
.fan-our-socials { display: flex; flex-wrap: wrap; gap: 14px 6px; justify-content: center; margin: 0 0 40px; }
.hero-stack.footer .fan-btn .navlinkwrapper { background: #fff; }
.hero-stack.footer .fan-btn .nav-link { color: #000; }
.hero-stack.footer .fan-btn[aria-disabled="true"] .navlinkwrapper { background: #4a4a4a; }
.hero-stack.footer .fan-btn[aria-disabled="true"] .nav-link { color: #fff; }
.hero-stack.footer .fan-terms-link { color: #fff; }
.nav-logo.fan-chomp { animation: fan-chomp .12s 6 alternate; }
@keyframes fan-chomp { to { transform: scaleY(.86) translateY(4px); } }

@media screen and (max-width: 991px) {
  .pfp-lab { grid-template-columns: 1fr; grid-template-areas: "stage" "panel" "case"; grid-template-rows: auto; gap: 26px; }
  .fan-peeker { width: 150px; }
}
@media screen and (max-width: 767px) {
  .fan-peeker { display: none; }
  .fan-ca-row { flex-direction: column; align-items: stretch; }
  .fan-ca .fan-btn { align-self: center; }
  #pfp-grid { max-height: 230px; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); }
  .pfp-thumb { --t: 64px; }
  .pfp-find { flex-direction: column; }
  .pfp-find select { flex-basis: auto; }
  .fan-peek span { right: -130px; width: 140px; }
}
@media (prefers-reduced-motion: reduce) {
  .fan-peeker, body.fan-shake, .fan-buttonhole.boop, .fan-fartnado, .nav-logo.fan-chomp { animation: none; }
  .fan-peek { transition: none; }
  .fan-post, .pfp-thumb, .pfp-chip, .pfp-sticker { transition: none; }
}
