/* WoofyMC - The Doghouse */
:root {
  --ink: #0d0a14;
  --panel: #221c2e;
  --panel2: #2c2539;
  --text: #ffffff;
  --muted: #d3cbe0;
  --faint: #a59bb8;
  --gold: #ffcf4d;
  --green: #5ecf4a;
  --red: #e5413b;
  --xp: #80ff20;
  --font: "Nunito", "Segoe UI", system-ui, sans-serif;
  --pixel: "Jersey 15", "Nunito", "Segoe UI", sans-serif;
  --wrap: 1180px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; font-synthesis: none; background: var(--ink); color: var(--text); font: 600 16px/1.55 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.noscroll { overflow: hidden; }
img { max-width: 100%; }
a { color: var(--gold); }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { line-height: 1.15; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: #fff; color: #000; padding: 8px 12px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; position: relative; }

/* ------------------------------------------------------------------ Minecraft-style buttons */
.mc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 10px 22px;
  font-family: var(--pixel); font-weight: 400; font-size: 22px; letter-spacing: .4px; color: #fff; text-decoration: none;
  background: #6d6d6d; border: 3px solid #000; cursor: pointer;
  box-shadow: inset 3px 3px 0 rgba(255, 255, 255, .32), inset -3px -4px 0 rgba(0, 0, 0, .36);
  text-shadow: 2px 2px 0 rgba(0, 0, 0, .45);
  transition: filter .12s, transform .06s;
}
.mc-btn svg { width: 20px; height: 20px; flex: none; }
.mc-btn:hover { filter: brightness(1.15); }
.mc-btn:active { transform: translateY(2px); box-shadow: inset 3px 3px 0 rgba(0, 0, 0, .3); }
.mc-btn.green { background: #3d9a33; }
.mc-btn.red { background: #d3332c; }
.mc-btn.small { min-height: 40px; padding: 6px 14px; font-size: 19px; }
.mc-btn.square { width: 42px; padding: 0; font-size: 24px; }
.mc-btn.on { background: #3f6fc4; }

/* ------------------------------------------------------------------ top bar */
.topbar { position: fixed; top: 0; left: 0; right: 0; z-index: 40; height: 66px; display: flex; align-items: center; gap: 22px; padding: 0 22px;
  transition: background .2s, border-color .2s; border-bottom: 3px solid transparent; }
.topbar.solid { background: rgba(13, 10, 22, .92); border-bottom-color: #000; backdrop-filter: blur(6px); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.brand img { image-rendering: pixelated; }
.brand .wordmark { height: 24px; width: auto; }
.toplinks { display: flex; gap: 4px; margin-left: 8px; }
.toplinks a { color: #fff; text-decoration: none; font-weight: 800; padding: 6px 12px; border-radius: 4px; text-shadow: 1px 1px 0 rgba(0, 0, 0, .5); }
.toplinks a:hover { background: rgba(255, 255, 255, .12); }
.sub-btn { margin-left: auto; }
.sub-count { font-family: var(--font); font-weight: 900; font-size: 13px; background: rgba(0, 0, 0, .3); padding: 1px 7px; border-radius: 3px; margin-left: 2px; }
.sub-count:empty { display: none; }

/* ------------------------------------------------------------------ hero (title screen) */
.hero { position: relative; min-height: max(640px, 100vh); display: flex; flex-direction: column; overflow: hidden; padding-top: 86px; }
.sky { position: absolute; inset: 0; background: linear-gradient(180deg, #120d26 0%, #24184a 36%, #57325f 62%, #b8604f 84%, #f0a05b 100%); }
.stars { position: absolute; inset: 0 0 35% 0; }
.stars i { position: absolute; width: 3px; height: 3px; background: #fff; opacity: .8; animation: twinkle 3s ease-in-out infinite; }
.stars i.big { width: 5px; height: 5px; }
@keyframes twinkle { 50% { opacity: .2; } }
.sun { position: absolute; right: 9%; top: 16%; width: 84px; height: 84px; background: #ffc56b;
  box-shadow: 0 0 0 12px rgba(255, 197, 107, .22), 0 0 0 26px rgba(255, 170, 90, .12), 0 0 110px 30px rgba(255, 150, 70, .35); }
.cloud { position: absolute; height: 26px; background: rgba(255, 236, 246, .9); box-shadow: 26px -18px 0 rgba(255, 236, 246, .9), 52px 0 0 rgba(255, 236, 246, .9);
  width: 104px; animation: drift 140s linear infinite; }
.cloud.c1 { top: 14%; left: -10%; }
.cloud.c2 { top: 30%; left: -40%; transform: scale(1.4); animation-duration: 190s; opacity: .7; }
.cloud.c3 { top: 8%; left: -70%; transform: scale(.8); animation-duration: 120s; opacity: .8; }
@keyframes drift { to { left: 120%; } }
.hero-inner { position: relative; z-index: 1; flex: 1; width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1.12fr .88fr; gap: 20px; align-items: end; }
.hero-copy { padding: 30px 0 70px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; font-family: var(--pixel); font-size: 21px; color: #ffe4b8;
  background: rgba(0, 0, 0, .35); border: 3px solid #000; padding: 4px 12px 4px 8px; }
.eyebrow img { image-rendering: pixelated; }
.logo-wrap { position: relative; display: block; max-width: 640px; }
.logo { margin: 0; line-height: 0; }
.logo img { display: block; width: 100%; height: auto; filter: drop-shadow(0 10px 0 rgba(0, 0, 0, .32)); }
.splash { position: absolute; right: -24px; bottom: -14px; border: 0; background: none; padding: 0; cursor: pointer; white-space: nowrap;
  font-family: var(--pixel); font-weight: 700; font-size: clamp(20px, 2.4vw, 30px); color: #ffff55; text-shadow: 3px 3px 0 #3f3f15;
  animation: splash .42s ease-in-out infinite alternate; transform-origin: center; }
@keyframes splash { from { transform: rotate(-17deg) scale(.94); } to { transform: rotate(-17deg) scale(1.08); } }
.tagline { max-width: 560px; font-size: clamp(17px, 1.6vw, 20px); font-weight: 800; color: #fff; text-shadow: 2px 2px 0 rgba(0, 0, 0, .45); margin: 34px 0 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.xp { margin-top: 28px; max-width: 520px; }
.xp-level { text-align: center; font-family: var(--pixel); font-size: 32px; line-height: 1; color: var(--xp); margin-bottom: 4px;
  text-shadow: 2px 0 0 #000, -2px 0 0 #000, 0 2px 0 #000, 0 -2px 0 #000; }
.xp-bar { position: relative; height: 16px; background: #1c1c1c; border: 3px solid #000; overflow: hidden; }
.xp-bar::after { content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, transparent 0 calc(100% / 18 - 3px), rgba(0, 0, 0, .55) calc(100% / 18 - 3px) calc(100% / 18)); }
.xp-fill { height: 100%; width: 0; background: linear-gradient(#c3ff6e, #62cf12); transition: width 1.6s cubic-bezier(.2, .8, .2, 1); }
.xp-label { text-align: center; color: #fff; font-weight: 800; font-size: 14.5px; margin-top: 7px; text-shadow: 1px 1px 0 rgba(0, 0, 0, .6); }
.hero-art { position: relative; align-self: stretch; display: flex; align-items: flex-end; justify-content: center; min-height: 440px; }
.hero-art .house { position: absolute; bottom: -6px; right: 0; width: clamp(150px, 17vw, 230px); image-rendering: pixelated; }
.woofy-btn { position: relative; z-index: 1; border: 0; background: none; padding: 0; cursor: pointer; margin-bottom: -10px; margin-right: 18%; }
.woofy { display: block; height: min(56vh, 470px); width: auto; filter: drop-shadow(0 12px 0 rgba(0, 0, 0, .2)); animation: bob 3.4s ease-in-out infinite; }
.woofy-btn.jump .woofy { animation: jump .45s ease-out; }
@keyframes bob { 50% { transform: translateY(-8px); } }
@keyframes jump { 40% { transform: translateY(-46px); } }
.woof-bubble { position: absolute; z-index: 2; top: 6%; left: 2%; background: #fff; color: #111; border: 3px solid #000; padding: 8px 14px;
  font-family: var(--pixel); font-size: 26px; box-shadow: 4px 4px 0 rgba(0, 0, 0, .35); }
.woof-bubble::after { content: ""; position: absolute; right: 26px; bottom: -14px; width: 14px; height: 14px; background: #fff; border-right: 3px solid #000;
  border-bottom: 3px solid #000; transform: skewY(40deg); }
.ground { position: relative; z-index: 2; height: 100px; image-rendering: pixelated;
  background: url(img/grass-side.png) repeat-x 0 0 / 64px 64px, url(img/dirt.png) repeat 0 64px / 64px 64px; border-bottom: 4px solid #000; }

/* ------------------------------------------------------------------ bands (sections) */
.band { position: relative; padding: 84px 0; image-rendering: pixelated; }
.band > * { image-rendering: auto; }
.band-dirt { background: linear-gradient(rgba(26, 16, 10, .86), rgba(26, 16, 10, .86)), url(img/dirt.png) 0 0 / 64px 64px; }
.band-stone { background: linear-gradient(rgba(14, 14, 18, .88), rgba(14, 14, 18, .88)), url(img/stone.png) 0 0 / 64px 64px; border-top: 4px solid #000; border-bottom: 4px solid #000; }
.band-night { background: radial-gradient(ellipse at 50% 0%, #34245e 0%, #17112c 55%, #0d0a14 100%); }
.section-head { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 26px; }
.section-head h2 { margin: 0; display: flex; align-items: center; gap: 14px; font-family: var(--pixel); font-size: clamp(40px, 4.8vw, 56px);
  text-shadow: 3px 3px 0 rgba(0, 0, 0, .5); }
.section-head p { margin: 0 0 6px; flex: 1; min-width: 220px; color: var(--muted); font-weight: 800; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.section-head.center p { flex: none; }
.block-ico { width: 42px; height: 42px; image-rendering: pixelated; border: 3px solid #000; flex: none; }
.row-arrows { display: flex; gap: 8px; }
.live-dot { display: inline-block; width: 10px; height: 10px; background: #ff3b3b; box-shadow: 0 0 0 3px rgba(255, 59, 59, .3); margin: 0 4px 1px; animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(255, 59, 59, 0); } }
.pill { display: inline-block; font-family: var(--pixel); font-size: 18px; letter-spacing: 1px; text-transform: uppercase; padding: 2px 10px;
  border: 3px solid #000; background: var(--gold); color: #2b1505; }

/* ------------------------------------------------------------------ newest video */
.featured { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.feat-media { position: relative; }
.facade { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 4px solid #000; background: #000; cursor: pointer;
  box-shadow: 9px 9px 0 rgba(0, 0, 0, .45); overflow: hidden; }
.facade img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.facade:hover img { transform: scale(1.03); }
.big-play { position: absolute; inset: 0; margin: auto; width: 98px; height: 70px; display: flex; align-items: center; justify-content: center; background: var(--red);
  border: 4px solid #000; box-shadow: inset 4px 4px 0 rgba(255, 255, 255, .3), inset -4px -5px 0 rgba(0, 0, 0, .3); transition: transform .15s; }
.big-play svg { width: 42px; height: 42px; fill: #fff; }
.facade:hover .big-play { transform: scale(1.1); }
.feat-woofy { position: absolute; left: -96px; bottom: -64px; height: 250px; width: auto; pointer-events: none; z-index: 1; filter: drop-shadow(0 8px 0 rgba(0, 0, 0, .3)); }
.feat-info h2 { font-family: var(--pixel); font-size: clamp(36px, 3.9vw, 54px); line-height: 1; margin: 14px 0 10px; text-shadow: 3px 3px 0 rgba(0, 0, 0, .5); }
.meta { color: var(--muted); font-weight: 800; margin: 0 0 22px; }
.feat-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ------------------------------------------------------------------ video grid */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.chip { font-family: var(--pixel); font-size: 20px; padding: 5px 14px; background: #3b3b3b; color: #e8e8e8; border: 3px solid #000; cursor: pointer;
  box-shadow: inset 2px 2px 0 rgba(255, 255, 255, .2), inset -2px -3px 0 rgba(0, 0, 0, .35); }
.chip:hover { filter: brightness(1.15); }
.chip[aria-selected="true"] { background: #3f6fc4; color: #fff; }
.chip small { font-family: var(--font); font-weight: 900; font-size: 12px; opacity: .8; margin-left: 6px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.vcard { display: flex; flex-direction: column; text-align: left; padding: 0; background: var(--panel); border: 3px solid #000; cursor: pointer;
  box-shadow: 5px 5px 0 rgba(0, 0, 0, .45); transition: transform .12s, box-shadow .12s; }
.vcard:hover, .vcard:focus-visible { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 rgba(0, 0, 0, .5); }
.thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; border-bottom: 3px solid #000; }
.thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.vcard:hover .thumb img { transform: scale(1.06); }
.badge { position: absolute; top: 8px; font-family: var(--pixel); font-size: 16px; letter-spacing: .5px; padding: 0 8px; border: 2px solid #000; }
.badge.new { left: 8px; background: var(--red); color: #fff; }
.badge.part { right: 8px; background: rgba(0, 0, 0, .78); color: #fff; }
.vinfo { padding: 12px 14px 14px; }
.vinfo h3 { margin: 0 0 6px; font-size: 16.5px; font-weight: 900; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vinfo p { margin: 0; color: var(--faint); font-weight: 800; font-size: 13.5px; }
.empty { color: var(--muted); font-weight: 800; padding: 30px; text-align: center; border: 3px dashed rgba(255, 255, 255, .25); }

/* ------------------------------------------------------------------ shorts */
.shorts-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(168px, 196px); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px 8px 20px 4px; scrollbar-color: #6b6b6b transparent; }
.scard { position: relative; aspect-ratio: 9 / 16; padding: 0; border: 3px solid #000; background: #000; cursor: pointer; overflow: hidden; scroll-snap-align: start;
  box-shadow: 5px 5px 0 rgba(0, 0, 0, .45); text-align: left; transition: transform .12s; }
.scard:hover, .scard:focus-visible { transform: translateY(-4px); }
.scard img { display: block; width: 100%; height: 100%; object-fit: cover; }
.s-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 46px 10px 10px; background: linear-gradient(transparent, rgba(0, 0, 0, .9)); }
.s-info h3 { margin: 0 0 3px; font-size: 14.5px; font-weight: 900; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.s-info p { margin: 0; font-size: 12.5px; font-weight: 800; color: #ddd; }
.s-views { position: absolute; top: 8px; right: 8px; background: rgba(0, 0, 0, .75); border: 2px solid #000; padding: 0 7px; font-size: 12.5px; font-weight: 900; }

/* ------------------------------------------------------------------ hall of fame */
.podium { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: end; max-width: 920px; margin: 10px auto 0; }
.place { display: flex; flex-direction: column; text-align: center; min-width: 0; }
.place .pthumb { position: relative; display: block; padding: 0; aspect-ratio: 16 / 9; border: 3px solid #000; background: #000; cursor: pointer; overflow: hidden;
  box-shadow: 5px 5px 0 rgba(0, 0, 0, .45); }
.place .pthumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.place.p1 .pthumb { outline: 3px solid var(--gold); outline-offset: 3px; }
.crown { position: absolute; left: 50%; top: -42px; transform: translateX(-50%); font-size: 30px; filter: drop-shadow(2px 2px 0 rgba(0, 0, 0, .5)); }
.place.p1 { position: relative; }
.place .pt { margin: 10px 0 2px; font-weight: 900; font-size: 14.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.place .pv { font-family: var(--pixel); font-size: 23px; color: var(--gold); }
.place .kind { font-size: 12px; font-weight: 900; color: var(--faint); text-transform: uppercase; letter-spacing: 1px; }
.pillar { margin-top: 10px; border: 3px solid #000; background: 0 0 / 48px 48px; image-rendering: pixelated; display: flex; align-items: center; justify-content: center;
  font-family: var(--pixel); font-size: 54px; color: #fff; text-shadow: 3px 3px 0 rgba(0, 0, 0, .55);
  box-shadow: inset 0 -8px 0 rgba(0, 0, 0, .18); }
.p1 .pillar { height: 150px; background-image: url(img/gold.png); }
.p2 .pillar { height: 108px; background-image: url(img/iron.png); }
.p3 .pillar { height: 78px; background-image: url(img/copper.png); }
.runners { list-style: none; margin: 28px auto 0; padding: 0; max-width: 920px; display: grid; gap: 10px; }
.runner { display: grid; grid-template-columns: 46px 132px 1fr auto; gap: 14px; align-items: center; width: 100%; padding: 8px 16px 8px 8px; text-align: left;
  background: rgba(0, 0, 0, .38); border: 3px solid #000; cursor: pointer; }
.runner:hover { background: rgba(255, 255, 255, .08); }
.runner .rank { font-family: var(--pixel); font-size: 32px; text-align: center; color: var(--faint); }
.runner img { width: 132px; aspect-ratio: 16 / 9; object-fit: cover; border: 2px solid #000; display: block; }
.runner .rt { font-weight: 900; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.runner .rv { font-family: var(--pixel); color: var(--gold); font-size: 21px; white-space: nowrap; }

/* ------------------------------------------------------------------ meet woofy */
.meet { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center; }
.meet-art { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.meet-art img { height: 390px; width: auto; filter: drop-shadow(0 12px 0 rgba(0, 0, 0, .3)); transition: opacity .15s; }
.pose-picker { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.tooltip-card { max-width: 480px; padding: 14px 20px; background: rgba(16, 2, 18, .95); border: 3px solid #2a0f63; outline: 3px solid #050207;
  font-family: var(--pixel); font-size: 23px; line-height: 1.35; box-shadow: 8px 8px 0 rgba(0, 0, 0, .45); }
.tooltip-card p { margin: 0; }
.tt-name { color: #ffff55; font-size: 28px; }
.tt-grey { color: #aaaaaa; }
.tt-blue { color: #7f7fff; }
.tooltip-card a { color: #55ffff; }
.adv-title { font-family: var(--pixel); font-weight: 400; font-size: 40px; margin: 34px 0 4px; text-shadow: 3px 3px 0 rgba(0, 0, 0, .5); }
.adv-sub { margin: 0 0 16px; color: var(--muted); font-weight: 800; }
.advancements { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.adv { display: grid; grid-template-columns: 54px 1fr; gap: 12px; align-items: center; padding: 10px; background: #202020; border: 3px solid #000;
  box-shadow: inset 2px 2px 0 #545454, inset -2px -2px 0 #0e0e0e; }
.adv .icon { width: 54px; height: 54px; display: flex; align-items: center; justify-content: center; background: #5f5f5f; border: 3px solid #000;
  box-shadow: inset 2px 2px 0 rgba(255, 255, 255, .25), inset -2px -2px 0 rgba(0, 0, 0, .3); }
.adv .icon img { width: 30px; height: 30px; image-rendering: pixelated; }
.adv.done .icon { background: #c99a2e; }
.adv h4 { margin: 0; font-family: var(--pixel); font-weight: 400; font-size: 21px; color: #fff; }
.adv.done h4 { color: #ffff55; }
.adv p { margin: 1px 0 0; font-size: 13px; font-weight: 700; color: var(--muted); }
.adv .prog { height: 9px; margin-top: 6px; background: #111; border: 2px solid #000; }
.adv .prog i { display: block; height: 100%; background: linear-gradient(#c3ff6e, #62cf12); }
.adv:not(.done) .icon img { filter: grayscale(1) brightness(.75); }

/* ------------------------------------------------------------------ footer */
.footer { position: relative; padding-bottom: 120px; background: linear-gradient(rgba(22, 13, 8, .9), rgba(22, 13, 8, .9)), url(img/dirt.png) 0 0 / 64px 64px; image-rendering: pixelated; }
.footer > * { image-rendering: auto; }
.footer .ground.thin { height: 64px; background: url(img/grass-side.png) repeat-x 0 0 / 64px 64px; image-rendering: pixelated; border-bottom: 0; }
.foot-inner { text-align: center; padding-top: 34px; color: var(--muted); font-weight: 700; }
.foot-brand { display: inline-flex; align-items: center; gap: 12px; text-align: left; margin-bottom: 10px; }
.foot-brand img { image-rendering: pixelated; }
.foot-brand b { display: block; font-family: var(--pixel); font-weight: 400; font-size: 28px; color: #fff; }
.foot-brand span { font-size: 14px; }
.foot-inner p { margin: 6px 0; }
.legal { font-size: 13px; color: var(--faint); }

/* ------------------------------------------------------------------ hotbar */
.hotbar { position: fixed; left: 50%; bottom: 12px; z-index: 50; transform: translateX(-50%); display: flex; padding: 3px; background: rgba(18, 18, 18, .78);
  border: 3px solid #000; box-shadow: 0 8px 24px rgba(0, 0, 0, .45); backdrop-filter: blur(4px); }
.slot { position: relative; width: 58px; height: 58px; display: flex; align-items: center; justify-content: center; text-decoration: none;
  background: rgba(139, 139, 139, .22); border: 3px solid; border-color: #373737 #8b8b8b #8b8b8b #373737; }
.slot img { width: 34px; height: 34px; object-fit: contain; }
.slot img.px { image-rendering: pixelated; }
.slot img.tall { width: auto; height: 46px; }
.slot::before { content: attr(data-key); position: absolute; top: 0; left: 4px; font-family: var(--pixel); font-size: 14px; color: rgba(255, 255, 255, .75);
  text-shadow: 1px 1px 0 #000; }
.slot.on::after { content: ""; position: absolute; inset: -7px; z-index: 1; border: 4px solid #fff; box-shadow: 0 0 0 2px #000, inset 0 0 0 2px #000; pointer-events: none; }
.slot:hover { background: rgba(255, 255, 255, .2); }
.hotbar-name { position: absolute; bottom: calc(100% + 12px); left: 50%; transform: translateX(-50%); white-space: nowrap; pointer-events: none;
  font-family: var(--pixel); font-size: 24px; color: #fff; text-shadow: 2px 2px 0 #3f3f3f; opacity: 0; transition: opacity .35s; }
.hotbar-name.show { opacity: 1; }

/* ------------------------------------------------------------------ video player + toasts */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 26px; background: rgba(6, 3, 12, .84); }
.modal[hidden] { display: none; }
.modal-box { position: relative; width: min(1120px, 100%); background: #1b1624; border: 4px solid #000; box-shadow: 0 24px 60px rgba(0, 0, 0, .6); }
.frame { aspect-ratio: 16 / 9; background: #000; }
.frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.modal-box.vertical { width: auto; }
.modal-box.vertical .frame { aspect-ratio: 9 / 16; height: min(74vh, 760px); width: auto; }
.modal-meta { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 16px; flex-wrap: wrap; }
.modal-meta h3 { margin: 0; font-size: 16px; font-weight: 900; max-width: 760px; }
.modal-box.vertical .modal-meta h3 { max-width: 300px; }
.modal-meta a { font-weight: 900; white-space: nowrap; }
.modal-close { position: absolute; top: -20px; right: -20px; z-index: 2; }
.toasts { position: fixed; top: 80px; right: 16px; z-index: 90; display: flex; flex-direction: column; gap: 10px; }
.toast { width: min(340px, calc(100vw - 32px)); display: grid; grid-template-columns: 46px 1fr; gap: 12px; align-items: center; padding: 10px 12px;
  background: #202020; border: 3px solid #000; box-shadow: inset 2px 2px 0 #545454, inset -2px -2px 0 #0e0e0e, 0 10px 26px rgba(0, 0, 0, .45);
  animation: toastIn .35s ease-out; cursor: pointer; text-align: left; }
.toast img { width: 46px; height: 46px; object-fit: cover; border: 2px solid #000; }
.toast b { display: block; font-family: var(--pixel); font-size: 20px; color: #ffff55; }
.toast span { font-size: 14px; font-weight: 800; color: #fff; }
@keyframes toastIn { from { transform: translateX(120%); } }
.noscript { position: fixed; left: 0; right: 0; bottom: 0; z-index: 300; margin: 0; padding: 14px; background: #000; text-align: center; }

/* ------------------------------------------------------------------ smaller screens */
@media (max-width: 960px) {
  .toplinks { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 0; }
  .hero-art { order: -1; min-height: 0; height: 300px; }
  .woofy { height: 290px; }
  .woofy-btn { margin-right: 26%; }
  .hero-art .house { width: 150px; right: 12%; }
  .hero-copy { padding: 34px 0 54px; }
  .featured { grid-template-columns: 1fr; gap: 26px; }
  .feat-woofy { display: none; }
  .meet { grid-template-columns: 1fr; gap: 26px; }
  .meet-art img { height: 300px; }
}
@media (max-width: 600px) {
  .topbar { padding: 0 14px; gap: 10px; }
  .brand span { font-size: 22px; }
  .wrap, .hero-inner { padding: 0 16px; }
  .hero { padding-top: 76px; }
  .splash { right: -6px; bottom: -20px; }
  .tagline { margin-top: 30px; }
  .hero-actions .mc-btn { width: 100%; }
  .band { padding: 64px 0; }
  .podium { gap: 10px; }
  .place .pt { font-size: 12.5px; }
  .pillar { font-size: 32px; }
  .p1 .pillar { height: 110px; } .p2 .pillar { height: 80px; } .p3 .pillar { height: 58px; }
  .runner { grid-template-columns: 34px 92px 1fr; }
  .runner img { width: 92px; }
  .runner .rv { grid-column: 3; font-size: 15px; }
  .runner .rt { white-space: normal; }
  .slot { width: 48px; height: 48px; }
  .slot img { width: 28px; height: 28px; }
  .slot img.tall { height: 38px; }
  .modal { padding: 14px; }
  .modal-close { top: -14px; right: -6px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
