/* PrinterTok — brainrot-feed era. Phone frame + scroll-snap videos + fake parkour. */
:root {
  --cyan: #25F4EE;
  --red: #FE2C55;
  --yel: #ffe600;
  --cap: "Montserrat", "Arial Black", Impact, sans-serif;
  --slop-font: "Montserrat", Arial, sans-serif;
  --slop-win-bg: #161823;
  --slop-win-fg: #fff;
  --slop-title-bg: linear-gradient(90deg, #FE2C55, #8f5bff 55%, #25F4EE);
  --slop-title-fg: #fff;
  --slop-border: 0 0 0 1px #ffffff22;
  --slop-radius: 14px;
  --slop-shadow: -4px 0 0 #25F4EE, 4px 0 0 #FE2C55, 0 20px 50px #000;
  --slop-btn-bg: #FE2C55;
  --slop-btn-fg: #fff;
  --slop-accent: #FE2C55;
  --slop-toast-bg: #fff;
  --slop-toast-fg: #000;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: #000; color: #fff; font-family: var(--slop-font); overflow: hidden;
  background-image: radial-gradient(circle at 20% 10%, #25f4ee18, transparent 40%), radial-gradient(circle at 80% 90%, #fe2c5518, transparent 40%);
}
button { font: inherit; color: inherit; }
a { color: var(--cyan); }
.slop-btn { font-weight: 700; }
.slop-x { border-radius: 8px; }
.slop-toast { border-radius: 999px; border-width: 2px; font-weight: 700; font-size: .85rem; bottom: 6.5rem; }
.slop-cookie { font-size: .8rem; border-radius: 16px; }
.slop-proof { left: 12px; top: 60px; background: #161823ee; color: #fff; border: 1px solid #ffffff33; box-shadow: -3px 0 0 var(--cyan), 3px 0 0 var(--red); border-radius: 12px; font-weight: 700; font-size: .78rem; transform: translateX(calc(-100% - 40px)); }
.slop-proof.show { animation-name: proofTT; }
@keyframes proofTT { 8%, 85% { transform: none; } 100% { transform: translateX(calc(-100% - 40px)); } }

/* ---------- stage ---------- */
.stage { display: grid; grid-template-columns: 1fr auto 1fr; gap: 28px; height: 100dvh; padding: 14px; align-items: center; }
.phone {
  position: relative; justify-self: center;
  height: min(calc(100dvh - 28px), 860px); width: min(420px, calc((100dvh - 28px) * 9 / 16));
  border: 9px solid #111; border-radius: 38px; overflow: hidden; background: #000;
  box-shadow: 0 0 0 2px #2a2a2a, -8px 0 40px #25F4EE44, 8px 0 40px #FE2C5544;
}
.side { align-self: stretch; overflow: auto; padding: 8px; max-width: 320px; scrollbar-width: none; }
.side-left { justify-self: end; }
.side-right { justify-self: start; }

.glitch { font-family: var(--cap); font-weight: 900; text-transform: uppercase; text-shadow: -2px 0 var(--cyan), 2px 0 var(--red); letter-spacing: -.02em; }
.side h2 { font-size: 1.4rem; margin: .6rem 0; }
.back { font-size: .75rem; font-weight: 700; text-decoration: none; color: #fff; opacity: .8; }
.back:hover { opacity: 1; text-decoration: underline; }

.fyp { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.fyp li { display: grid; grid-template-columns: 52px 1fr; grid-template-rows: auto auto; column-gap: 10px; cursor: pointer; padding: 6px; border-radius: 10px; animation: jitter 3s infinite steps(2); }
.fyp li:nth-child(2n) { animation-delay: -1.3s; }
.fyp li:hover { background: #ffffff14; }
.fyp .thumb { grid-row: span 2; width: 52px; height: 70px; border-radius: 6px; display: grid; place-items: center; font-size: 1.6rem; background: linear-gradient(160deg, var(--c), #000); }
.fyp b { font-size: .78rem; line-height: 1.2; }
.fyp small { font-size: .7rem; color: #aaa; }
@keyframes jitter { 50% { transform: translateX(1px); } }
.side-note { font-size: .72rem; color: #999; }
.side-note a { color: var(--cyan); }

.meter { position: relative; width: 100%; height: 26px; border-radius: 99px; background: #222; overflow: hidden; border: 2px solid #fff3; }
.meter-fill { position: absolute; inset: 0 auto 0 0; width: 50%; background: linear-gradient(90deg, var(--red), var(--yel), var(--cyan)); transition: width .4s; }
.meter-num { position: relative; display: block; text-align: center; font: 900 .9rem/22px var(--cap); -webkit-text-stroke: 1px #000; }
.aura-log { list-style: none; padding: 0; font-size: .75rem; display: grid; gap: 4px; min-height: 140px; }
.aura-log li { background: #ffffff10; padding: 4px 8px; border-radius: 6px; animation: pop .3s; }
.aura-log li.neg { color: #ff8da1; }
.aura-log li.pos { color: #8dfff9; }
.steve-status { background: #fff; color: #000; padding: 8px; border: 2px solid #000; font-family: "Comic Sans MS", "Comic Neue", cursive; font-size: .8rem; }
.steve-status p { margin: 0 0 6px; }
.sbar { height: 12px; border: 1px solid #000; background: #fff; }
.sbar i { display: block; height: 100%; width: 37%; background: #3f48cc; transition: width .5s; }

/* ---------- topbar / overlays ---------- */
.topbar {
  position: absolute; z-index: 5; top: 0; left: 0; right: 0; height: 46px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 10px; background: linear-gradient(#000c, transparent); pointer-events: none;
}
.topbar > * { pointer-events: auto; }
.topbar .back { font-size: .65rem; }
.tabs { display: flex; gap: 12px; font-size: .85rem; font-weight: 700; }
.tabs span { opacity: .6; }
.tabs b { border-bottom: 2px solid #fff; padding-bottom: 2px; }
.aura-pill { border: 0; border-radius: 99px; padding: 4px 10px; font-size: .72rem; font-weight: 900; background: #ffffff22; cursor: pointer; min-width: 64px; }
.aura-pill.neg { background: #fe2c5588; }
.aura-pill.pos { background: #25f4ee55; }
.aura-pop { position: absolute; z-index: 20; right: 10px; top: 44px; font: 900 .9rem var(--cap); -webkit-text-stroke: 1px #000; color: var(--yel); pointer-events: none; animation: rise 1.4s ease-out forwards; text-align: right; max-width: 70%; }
.aura-pop.neg { color: var(--red); }
@keyframes rise { to { transform: translateY(-30px); opacity: 0; } }

.feed { height: 100%; overflow-y: auto; scroll-snap-type: y mandatory; scrollbar-width: none; overscroll-behavior: contain; outline: none; }
.feed::-webkit-scrollbar { display: none; }

.rail { position: absolute; z-index: 6; right: 4px; bottom: 58px; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.rail button { background: none; border: 0; padding: 0; cursor: pointer; display: flex; flex-direction: column; align-items: center; width: 52px; }
.rail .ri { font-size: 1.3rem; filter: drop-shadow(0 1px 2px #000); transition: transform .15s; }
.rail button:active .ri { transform: scale(1.3); }
.rail small { font-size: .62rem; font-weight: 700; text-shadow: 0 1px 2px #000; }
.rail .liked .ri { animation: pop .35s; }
.r-av { position: relative; margin-bottom: 6px; }
.r-av .avi { width: 34px; height: 34px; border-radius: 50%; border: 2px solid #fff; background: #fff; display: grid; place-items: center; font-size: 1.3rem; }
.r-av i { position: absolute; bottom: -7px; left: 50%; transform: translateX(-50%); width: 18px; height: 18px; border-radius: 50%; background: var(--red); font-style: normal; font-weight: 900; font-size: .75rem; line-height: 18px; }
.r-av.done i { background: #fff; color: var(--red); }
.disc span { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 1rem; background: radial-gradient(#444 0 30%, #111 31% 100%); border: 6px solid #222; animation: spin 3s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pop { 50% { transform: scale(1.4); } }

.meta { position: absolute; z-index: 5; left: 10px; right: 66px; bottom: 8px; font-size: .74rem; text-shadow: 0 1px 3px #000; pointer-events: none; }
.meta p { margin: 2px 0 0; }
.meta .sound { overflow: hidden; white-space: nowrap; }
.marquee { display: inline-block; animation: marq 9s linear infinite; }
@keyframes marq { to { transform: translateX(-50%); } }

.livechat { position: absolute; z-index: 4; left: 8px; bottom: 64px; width: 62%; display: flex; flex-direction: column; gap: 3px; pointer-events: none; }
.livechat div { font-size: .68rem; background: #0008; border-radius: 10px; padding: 2px 8px; width: fit-content; max-width: 100%; animation: chatIn .3s ease-out; }
.livechat div b { color: #ffd3dc; margin-right: 4px; }
.livechat div.old { opacity: .45; }
@keyframes chatIn { from { transform: translateY(8px); opacity: 0; } }

/* ---------- slides ---------- */
.slide { height: 100%; scroll-snap-align: start; scroll-snap-stop: always; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.top {
  flex: 0 0 var(--split, 50%); overflow-y: auto; scrollbar-width: thin; padding: 48px 12px 8px; position: relative;
  background: #0b0b10;
  background-image: radial-gradient(circle at 90% 0, #fe2c5530, transparent 50%), radial-gradient(circle at 0 100%, #25f4ee26, transparent 50%);
}
.part { font: 900 .62rem var(--cap); letter-spacing: .08em; color: var(--cyan); margin: 0 0 6px; text-transform: uppercase; }
.tiny { font-size: .66rem; opacity: .75; }
.center { text-align: center; }

.title-slide { text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.big { font-size: clamp(1.6rem, 8.5vw, 2.3rem); line-height: .95; margin: 0; }
.mascot-hero { font-size: 3.6rem; animation: printerShake .25s steps(2) infinite; filter: drop-shadow(-3px 0 var(--cyan)) drop-shadow(3px 0 var(--red)); }
@keyframes printerShake { 50% { transform: translate(1px, -1px) rotate(-2deg); } }
.byline { font-size: .78rem; margin: 4px 0; }
.stickers { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.sticker { font: 900 .65rem var(--cap); background: #fff; color: #000; padding: 3px 8px; border-radius: 4px; transform: rotate(-3deg); }
.sticker.red { background: var(--red); color: #fff; transform: rotate(2deg); }
.swipe { font-size: .72rem; font-weight: 700; animation: bob 1s ease-in-out infinite alternate; margin: 8px 0 0; }
@keyframes bob { to { transform: translateY(-5px); } }

/* dad's document (school-project look inside the brainrot) */
.doc { background: #fffdf5; color: #111; border-radius: 6px; padding: 10px 12px; font-family: Calibri, "Segoe UI", Arial, sans-serif; font-size: .8rem; line-height: 1.35; box-shadow: -3px 3px 0 var(--cyan), 3px -3px 0 var(--red); }
.doc p { margin: 0 0 6px; }
.doc-h { margin: 0 0 6px; font-family: "Comic Sans MS", "Comic Neue", cursive; font-size: 1.05rem; background: linear-gradient(90deg, #d40000, #ff8a00, #2a5bd7); -webkit-background-clip: text; background-clip: text; color: transparent; }
.doc-h3 { margin: 6px 0 4px; font-size: .78rem; text-transform: uppercase; color: #2a5bd7; }
.agenda, .timeline { margin: 0; padding-left: 18px; }
.timeline { list-style: none; padding: 0; display: grid; gap: 5px; }
.timeline li { border-left: 3px solid var(--red); padding-left: 7px; }
.timeline b { color: #d40000; }
.sig { text-align: right; font-style: italic; color: #666; }
.err-line { font: 900 .9rem "Courier New", monospace; color: #d40000; background: #ffe; border: 1px dashed #d40000; padding: 2px 6px; display: inline-block; }
.feats { margin: 4px 0 0; }
.feats dt { font-weight: 700; color: #2a5bd7; }
.feats dd { margin: 0 0 4px 0; }

.fig { margin: 4px 0 0; }
.mspaint { width: 100%; height: auto; display: block; border: 2px solid #808080; image-rendering: pixelated; shape-rendering: crispEdges; }
.fig figcaption { font-size: .68rem; color: #444; margin-top: 3px; }

/* demo */
.printform label { display: block; font-size: .72rem; font-weight: 700; margin-bottom: 5px; }
.printform input, .printform select { display: block; width: 100%; font: inherit; font-weight: 400; font-size: .8rem; padding: 4px 6px; border: 1px solid #999; border-radius: 3px; background: #fff; color: #000; }
.printrow { display: flex; align-items: center; gap: 10px; font-size: .72rem; }
.cta { font: 900 .85rem var(--cap); text-transform: uppercase; border: 0; border-radius: 6px; padding: 9px 14px; color: #fff; background: var(--red); box-shadow: -3px 0 0 var(--cyan); cursor: pointer; }
.cta.small { padding: 6px 10px; font-size: .7rem; }
.cta:active { transform: translate(1px, 1px); }
.ghost { background: #ddd; border: 1px solid #888; border-radius: 4px; font-size: .7rem; padding: 5px 8px; cursor: pointer; color: #000; }
.printout { margin-top: 8px; background: #fff; color: #000; border-radius: 6px; padding: 8px; font-size: .75rem; }
.printout .slop-bar { margin: 6px 0; }
.page { position: relative; background: #fff; border: 1px solid #ccc; box-shadow: 2px 2px 0 #0003; height: 120px; overflow: hidden; padding: 8px; font-family: "Times New Roman", serif; transform: rotate(-1.5deg); }
.page::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, transparent 0 7px, #fff 7px 10px), linear-gradient(transparent 55%, #fff 55%); pointer-events: none; }
.page h4 { margin: 0; font-size: 1rem; color: #e000e0; letter-spacing: .02em; text-shadow: 2px 0 #ffde00; }
.page p { margin: 4px 0; font-size: .65rem; color: #6a6; }
.page .jam { position: absolute; right: 6px; bottom: 6px; z-index: 1; font: 900 .7rem "Courier New", monospace; color: #d40000; transform: rotate(-8deg); border: 2px solid #d40000; padding: 1px 4px; background: #fff; }
.page.steve { font-family: "Comic Sans MS", "Comic Neue", cursive; }
.page.steve h4 { color: #3f48cc; text-shadow: none; }
.page.steve::after { background: none; }
.page.pdf::after { background: #fff; }
.page.pdf .jam { color: #555; border-color: #555; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.plan { border: 2px solid #111; border-radius: 6px; padding: 6px 5px; font-size: .64rem; position: relative; background: #fff; }
.plan h4 { margin: 0; font-size: .74rem; }
.plan p { margin: 2px 0; }
.plan .price { font: 900 .9rem var(--cap); color: #d40000; }
.plan .price small { font-size: .55rem; color: #555; }
.plan.hot { border-color: var(--red); background: #fff0f3; transform: scale(1.04); }
.ribbon { position: absolute; top: -9px; right: -4px; background: var(--red); color: #fff; font: 900 .52rem var(--cap); padding: 1px 5px; border-radius: 3px; transform: rotate(6deg); }
.cyan-line { margin-top: 8px !important; font-size: .78rem; background: #e8fffe; border: 1px dashed #0aa; padding: 4px 6px; border-radius: 4px; }
.cyan-line b { color: #077; }

/* ms paint */
.paint { background: #c0c0c0; color: #000; border: 2px solid; border-color: #fff #404040 #404040 #fff; font: 11px Tahoma, "MS Sans Serif", sans-serif; }
.paint-title { display: flex; justify-content: space-between; background: linear-gradient(90deg, #000080, #1084d0); color: #fff; font-weight: 700; padding: 2px 4px; white-space: nowrap; overflow: hidden; }
.paint-wb { letter-spacing: 3px; }
.paint-menu { padding: 1px 4px; word-spacing: 6px; }
.paint-body { display: flex; gap: 3px; padding: 3px; background: #808080; }
.paint-tools { display: grid; grid-template-columns: 1fr; gap: 2px; align-content: start; }
.paint-tools button { width: 28px; height: 28px; padding: 0; background: #c0c0c0; border: 2px solid; border-color: #fff #404040 #404040 #fff; cursor: pointer; font-size: .85rem; }
.paint-tools button.on { border-color: #404040 #fff #fff #404040; background: #dcdcdc; }
#paintCv { flex: 1; min-width: 0; height: 150px; background: #fff; cursor: crosshair; touch-action: none; display: block; }
.paint-palette { display: grid; grid-template-columns: repeat(14, 1fr); gap: 1px; padding: 3px; }
.paint-palette button { aspect-ratio: 1; border: 1px solid #404040; padding: 0; cursor: pointer; max-height: 18px; }
.paint-palette button.on { outline: 2px solid #000; outline-offset: -4px; }
.paint-actions { display: flex; gap: 6px; padding: 3px 4px 5px; align-items: center; }

/* faq comments */
.comments { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: .76rem; }
.comments li { background: #ffffff0d; padding: 6px 8px; border-radius: 10px; }
.comments li > b { color: #aaa; font-size: .68rem; display: block; }
.reply { margin: 4px 0 0 14px; padding-left: 8px; border-left: 2px solid #444; font-weight: 900; font-size: .9rem; }
.reply b { font-size: .66rem; color: #aaa; font-weight: 700; }
.creator { font-size: .55rem; background: var(--red); padding: 0 4px; border-radius: 3px; font-weight: 700; vertical-align: middle; }
.ask { display: flex; gap: 6px; margin-top: 8px; }
.ask input { flex: 1; min-width: 0; border-radius: 99px; border: 1px solid #444; background: #1c1c24; color: #fff; padding: 6px 12px; font: inherit; font-size: .78rem; }

/* cast */
.cast { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.castcard { background: #ffffff0f; border: 1px solid #ffffff22; border-radius: 10px; padding: 6px; display: grid; grid-template-columns: auto 1fr; column-gap: 6px; align-items: center; }
.castcard .av { grid-row: span 2; font-size: 1.3rem; }
.castcard b { font-size: .7rem; line-height: 1.1; }
.castcard small { font-size: .58rem; color: #bbb; }
.castcard.star { grid-column: span 2; border-color: var(--yel); background: linear-gradient(90deg, #ffe60022, #fe2c5522); }
.castcard.star b { font: 900 .9rem var(--cap); text-transform: uppercase; color: var(--yel); }
.castcard.star .av { font-size: 2rem; animation: printerShake .3s steps(2) infinite; }

/* bibliography */
.cite { padding-left: 2em; text-indent: -2em; }
.receipt { font-family: "Courier New", monospace; background: #fff; border: 1px dashed #333; padding: 6px 8px; font-size: .7rem; margin: 6px 0; transform: rotate(.6deg); }
.receipt p { display: flex; justify-content: space-between; margin: 0; gap: 8px; }
.rc-h { justify-content: center !important; font-weight: 700; border-bottom: 1px dashed #333; margin-bottom: 3px !important; }
.rc-total { border-top: 1px dashed #333; margin-top: 3px !important; font-weight: 700; color: #d40000; }
.grade { font: 900 .8rem var(--cap); color: #d40000; }
.grade span { font-family: "Comic Sans MS", "Comic Neue", cursive; font-weight: 400; color: #3f48cc; }
.disclaimer { font-size: .6rem; color: #777; margin-top: 6px !important; }
.credit { font: 900 .66rem var(--cap); text-align: center; background: #000; color: #fff; padding: 5px; border-radius: 6px; margin-top: 6px !important; text-shadow: -1px 0 var(--cyan), 1px 0 var(--red); }
.credit a { color: var(--yel); }

/* ---------- caption ---------- */
.cap {
  position: absolute; z-index: 3; left: 8px; right: 62px; top: 16%; text-align: center; pointer-events: none;
  font: 900 1.45rem/1.05 var(--cap); text-transform: uppercase; color: #fff; -webkit-text-stroke: 2px #000; paint-order: stroke fill;
  text-shadow: 0 3px 0 #000;
}
.cap span { display: inline-block; margin: 0 .12em; }
.cap span.on { color: var(--yel); transform: scale(1.12) rotate(-2deg); }
.mewing .cap span.on { color: var(--cyan); }

/* ---------- gameplay: subway ---------- */
.game { flex: 1; position: relative; overflow: hidden; border-top: 2px solid #000; }
.hud { position: absolute; z-index: 2; left: 8px; top: 6px; font: 900 .62rem var(--cap); -webkit-text-stroke: .5px #000; background: #0006; padding: 2px 6px; border-radius: 4px; }
.subway { background: linear-gradient(#78cfff 0 34%, #7b6a58 34%); }
.subway .city { position: absolute; left: 0; right: 0; top: 6%; height: 28%;
  background: repeating-linear-gradient(90deg, #4b5a75 0 26px, #6d7fa0 26px 30px, #3c4860 30px 52px, transparent 52px 58px);
  clip-path: polygon(0 45%, 9% 45%, 9% 12%, 21% 12%, 21% 55%, 34% 55%, 34% 0, 47% 0, 47% 38%, 60% 38%, 60% 18%, 74% 18%, 74% 52%, 87% 52%, 87% 22%, 100% 22%, 100% 100%, 0 100%); }
.subway .ground {
  position: absolute; left: 0; right: 0; top: 34%; bottom: 0;
  clip-path: polygon(44% 0, 56% 0, 100% 100%, 0 100%);
  background: repeating-linear-gradient(180deg, #6b4423 0 9px, #9a8a78 9px 34px);
  animation: sleepers .32s linear infinite;
}
.subway .rails { position: absolute; left: 0; right: 0; top: 34%; bottom: 0; width: 100%; height: 66%; }
.subway .rails line { vector-effect: non-scaling-stroke; stroke-width: 3px; }
.subway .rails g + g line { stroke-width: 5px; }
@keyframes sleepers { to { background-position: 0 34px; } }
.runner { position: absolute; z-index: 2; left: 50%; bottom: 16%; margin-left: -24px; animation: lanes 4.2s infinite; }
.runner span { display: block; font-size: 46px; transform: scaleX(-1); animation: hop 1.4s infinite; filter: drop-shadow(0 6px 3px #0006); }
@keyframes lanes { 0%, 20% { left: 50%; } 25%, 45% { left: 24%; } 50%, 70% { left: 50%; } 75%, 95% { left: 76%; } }
@keyframes hop { 0%, 60%, 100% { transform: scaleX(-1) translateY(0); } 75% { transform: scaleX(-1) translateY(-34px); } }
.cop { position: absolute; z-index: 2; bottom: 2%; left: 50%; margin-left: -80px; font-size: 38px; animation: chase 2s ease-in-out infinite; }
@keyframes chase { 50% { transform: translateX(30px); } }
.obs { position: absolute; z-index: 1; top: 32%; left: 50%; font-size: 30px; opacity: 0; animation: incoming 2.4s linear infinite; }
.obs.l { --x: -130px; } .obs.m { --x: -15px; } .obs.r { --x: 110px; }
.obs.d1 { animation-delay: -.8s; } .obs.d2 { animation-delay: -1.6s; } .obs.d3 { animation-delay: -.3s; animation-duration: 1.9s; }
@keyframes incoming { 0% { opacity: 0; transform: translate(calc(var(--x) * .1), 0) scale(.15); } 10% { opacity: 1; } 100% { opacity: 1; transform: translate(var(--x), 230%) scale(2.3); } }

/* ---------- gameplay: minecraft parkour ---------- */
.minecraft { background: linear-gradient(#7aa9ff, #b8d4ff 40%); }
.minecraft .ground {
  position: absolute; left: 0; right: 0; top: 40%; bottom: 0;
  clip-path: polygon(46% 0, 50% 0, 50% 22%, 53% 22%, 53% 30%, 49% 30%, 52% 45%, 58% 45%, 62% 70%, 72% 70%, 80% 100%, 22% 100%, 34% 70%, 40% 70%, 43% 45%, 44% 30%, 45% 22%);
  background: repeating-conic-gradient(#5f9e2f 0 25%, #4f8a26 0 50%) 0 0 / 28px 28px;
  border-top: 0; animation: blocks .5s linear infinite;
}
.minecraft .void { position: absolute; left: 0; right: 0; bottom: 0; height: 66%; background: linear-gradient(transparent, #1b1030); }
@keyframes blocks { to { background-position: 0 28px; } }
.mc-sun { position: absolute; right: 22%; top: 8%; width: 26px; height: 26px; background: #fff7a0; box-shadow: 0 0 0 4px #fff17055; }
.mc-cloud { position: absolute; top: 14%; left: -30%; width: 70px; height: 14px; background: #fff; box-shadow: 30px -10px 0 #fff, 60px 0 0 #fff; animation: cloud 14s linear infinite; }
@keyframes cloud { to { transform: translateX(560px); } }
.blk { position: absolute; z-index: 1; top: 34%; left: 50%; width: 30px; height: 30px; background: linear-gradient(#5f9e2f 0 30%, #8b5a2b 30%); box-shadow: inset 0 0 0 2px #0003; opacity: 0; animation: incoming 2.6s linear infinite; }
.blk.l { --x: -100px; } .blk.m { --x: -15px; } .blk.r { --x: 75px; }
.blk.d1 { animation-delay: -.9s; } .blk.d2 { animation-delay: -1.7s; }
.blk.gold { background: linear-gradient(#ffe066, #e0a800); }
.cross { position: absolute; z-index: 2; left: 50%; top: 55%; transform: translate(-50%, -50%); font: 700 22px monospace; color: #fff; mix-blend-mode: difference; }
.arm { position: absolute; z-index: 2; right: 16%; bottom: -10px; width: 34px; height: 90px; background: #e0ac7d; box-shadow: inset -6px 0 0 #c48a5c, inset 0 -40px 0 #2c8bd8; transform: rotate(-24deg); transform-origin: bottom; animation: swing .5s ease-in-out infinite alternate; }
@keyframes swing { to { transform: rotate(-16deg) translateY(-6px); } }
.xp { position: absolute; z-index: 2; left: 20%; right: 20%; bottom: 3px; height: 5px; background: #222; border: 1px solid #000; }
.xp i { display: block; height: 100%; width: 67%; background: #80ff20; }

/* pause gameplay off-screen */
.slide:not(.on) .game *, .slide:not(.on) .game { animation-play-state: paused !important; }

/* ---------- konami / mewing ---------- */
.mewing .phone { box-shadow: 0 0 0 2px var(--yel), 0 0 60px var(--yel); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) { .side { display: none; } .stage { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .stage { padding: 0; display: block; }
  .phone { width: 100vw; height: 100dvh; border: 0; border-radius: 0; box-shadow: none; }
  .slop-chat { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .game *, .game, .mascot-hero, .marquee, .disc span, .fyp li, .swipe { animation: none !important; }
  .obs, .blk { opacity: 1; transform: translate(var(--x), 120%) scale(1.2); }
}
