@font-face {
  font-family: 'Lilita One';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/LilitaOne.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Rubik';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/Rubik-italic.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/Rubik.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/Rubik.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/Rubik.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Newp Games. Sticker look borrowed from the logo: fat black outlines, hard shadows, newt orange. */
:root {
  --paper: #fffaf1;
  --white: #ffffff;
  --ink: #15171c;
  --ink-2: #4a4f5c;
  --orange: #ff8a1f;
  --orange-d: #b3540a;
  --belly: #ffd77a;
  --spot: #d9361e;
  --line: 3px solid var(--ink);
  --shadow: 5px 5px 0 var(--ink);
  --display: "Lilita One", "Arial Black", Impact, sans-serif;
  --body: "Rubik", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--ink); font: 400 17px/1.6 var(--body); overflow-x: hidden;
  background: var(--paper) radial-gradient(rgba(21, 23, 28, .07) 1px, transparent 1.4px) 0 0 / 22px 22px;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration-color: var(--orange); text-decoration-thickness: 3px; text-underline-offset: 3px; }
a:hover { color: var(--orange-d); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.08; margin: 0 0 .45em; letter-spacing: .005em; }
h1 { font-size: clamp(2.2rem, 6vw, 4rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
strong { font-weight: 700; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }
.narrow { max-width: 820px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 10; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

/* header */
.top { background: var(--white); border-bottom: var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 76px; }
.brand img { height: 58px; width: auto; }
.top ul { list-style: none; display: flex; gap: 22px; margin: 0; padding: 0; }
.top nav a { font: 400 1.2rem/1 var(--display); text-decoration: none; padding: 6px 0; }
.top nav a:hover { color: var(--orange-d); }
.top nav a[aria-current="page"] { text-decoration: underline wavy var(--orange); text-decoration-thickness: 2px; text-underline-offset: 7px; }
@media (max-width: 560px) {
  .top-in { flex-direction: column; gap: 2px; padding-top: 10px; padding-bottom: 10px; }
  .brand img { height: 48px; }
  .top ul { gap: 20px; }
  .top nav a { font-size: 1.1rem; }
}

/* buttons */
.btns { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin: 20px 0 8px; }
.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 10px 20px; border: var(--line); border-radius: 12px; box-shadow: 4px 4px 0 var(--ink); font: 400 1.1rem/1.1 var(--display); text-decoration: none; color: var(--ink); background: var(--white); transition: transform .08s, box-shadow .08s; }
.btn:hover { color: var(--ink); transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn-play { background: var(--g-accent, var(--orange)); }
.btn-store { background: var(--ink); color: #fff; }
.btn-store:hover { color: #fff; }
.soon { font: 500 14px/1.2 var(--body); color: var(--g-muted, var(--ink-2)); padding: 6px 10px; border: 2px dashed currentColor; border-radius: 8px; }

/* home hero */
.hero { border-bottom: var(--line); background: var(--belly); overflow: hidden; }
.hero-in { display: grid; gap: 28px; align-items: center; padding-top: 40px; padding-bottom: 44px; }
@media (min-width: 900px) { .hero-in { grid-template-columns: 1.15fr .85fr; padding-top: 60px; padding-bottom: 64px; } }
.hero h1 { max-width: 15ch; }
.lead { font-size: 1.16rem; max-width: 60ch; }
.hero .lead { color: #3a3123; }
.hero-art { position: relative; height: 420px; max-width: 470px; width: 100%; margin: 0 auto; }
.hero-art .device { position: absolute; width: 40%; }
.hero-art .h0 { left: 0; top: 46px; transform: rotate(-6deg); z-index: 1; }
.hero-art .h1 { left: 30%; top: 0; transform: rotate(1deg); z-index: 2; }
.hero-art .h2 { right: 0; top: 58px; transform: rotate(6deg); z-index: 1; }
@media (max-width: 560px) { .hero-art { height: 320px; } .hero-art .device { width: 35%; } .hero-art .h0 { left: 4%; } .hero-art .h2 { right: 4%; } .hero-art .h1 { left: 32.5%; } }

/* sections */
.sec { padding-top: 56px; padding-bottom: 56px; }
.page-head { padding-bottom: 12px; }
.crumbs { font-size: 15px; margin-bottom: 18px; color: var(--g-muted, var(--ink-2)); }
.crumbs a { color: inherit; }
.updated { font-size: 14px; color: var(--g-muted, var(--ink-2)); margin-top: 28px; }
.small { font-size: 15px; color: var(--ink-2); }

/* game rows */
.grows { display: grid; gap: 40px; margin-top: 24px; }
.grow { display: grid; gap: 0; background: var(--g-bg); color: var(--g-text); border: var(--line); border-radius: 22px; box-shadow: 8px 8px 0 var(--ink); overflow: hidden; }
@media (min-width: 860px) { .grow { grid-template-columns: 44% 1fr; } .grow.flip { grid-template-columns: 1fr 44%; } .grow.flip .grow-art { order: 2; } }
.grow-art { position: relative; display: block; min-height: 300px; background: var(--g-panel); background-image: repeating-linear-gradient(45deg, transparent 0 14px, rgba(255,255,255,.035) 14px 28px); overflow: hidden; }
.grow-art .device { position: absolute; width: 36%; transition: transform .25s; }
.grow-art .s1 { left: 12%; top: 30px; transform: rotate(-5deg); z-index: 2; }
.grow-art .s2 { right: 12%; top: 54px; transform: rotate(5deg); }
.grow-art:hover .s1 { transform: rotate(-7deg) translateY(-6px); }
.grow-art:hover .s2 { transform: rotate(7deg) translateY(-4px); }
@media (min-width: 860px) { .grow-art { min-height: 440px; } .grow-art .device { width: 38%; } }
@media (max-width: 859px) { .grow-art { height: 340px; } .grow-art .device { width: 32%; } .grow-art .s1 { left: 14%; } .grow-art .s2 { right: 14%; } }
.grow-text { padding: 26px 22px 24px; }
@media (min-width: 860px) { .grow-text { padding: 40px 40px 34px; } }
.grow-kicker { display: flex; align-items: center; gap: 10px; font: 500 13px/1.2 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--g-muted); }
.grow-kicker img { border-radius: 9px; border: 2px solid #000; }
.grow h2, .grow h3 { font-size: clamp(2rem, 4.4vw, 2.9rem); margin-bottom: .1em; }
.grow h2 a, .grow h3 a { color: var(--g-text); text-decoration: none; }
.grow h2 a:hover, .grow h3 a:hover { color: var(--g-accent); }
.grow-tag { font: 400 1.2rem/1.3 var(--display); color: var(--g-accent); }
.grow p { color: var(--g-text); }
.grow-meta { font-size: 14px; color: var(--g-muted) !important; }
.grow .btn-line { background: transparent; color: var(--g-text); border-color: var(--g-text); box-shadow: 4px 4px 0 rgba(0,0,0,.6); }
.grow .btn { box-shadow: 4px 4px 0 #000; border-color: #000; }
.grow .btn-line { border-color: var(--g-muted); }

/* clips band */
.band { background: var(--ink); color: #f1efe9; border-top: var(--line); border-bottom: var(--line); padding: 56px 0; }
.band a { color: #fff; }
.band > .wrap > p { color: #b9b6ad; }
.clips { display: grid; gap: 30px; grid-template-columns: 1fr; margin-top: 18px; }
@media (min-width: 760px) { .clips { grid-template-columns: repeat(3, 1fr); align-items: start; } }
.clips h3 a { text-decoration-color: var(--orange); }
.phone { margin: 0; }
.phone .device { width: 100%; max-width: 270px; margin: 0 auto; }
.phone figcaption { text-align: center; font-size: 13px; margin-top: 14px; color: var(--g-muted, #b9b6ad); }
@media (max-width: 759px) { .phone .device { max-width: 250px; } }

/* the phone mockup: proportions of a current iPhone (screen 9:19.5). Sizes use cqw = 1% of the phone's width. */
.device { position: relative; display: block; aspect-ratio: 9 / 19.5; container-type: inline-size; filter: drop-shadow(0 22px 26px rgba(0,0,0,.38)) drop-shadow(0 6px 8px rgba(0,0,0,.25)); }
.device-body { position: absolute; inset: 0; border-radius: 15.5cqw; padding: 1.15cqw;
  background: linear-gradient(155deg, #73767d 0%, #3b3d42 14%, #232427 40%, #1c1d20 62%, #3e4045 86%, #7b7e85 100%);
  box-shadow: inset 0 0 0 .3cqw rgba(255,255,255,.28), inset 0 0 0 .75cqw rgba(0,0,0,.55); }
.device-bezel { display: block; height: 100%; border-radius: 14.4cqw; padding: 2.3cqw; background: #030303; box-shadow: inset 0 0 0 .25cqw #1a1a1a; }
.device-screen { position: relative; display: block; width: 100%; height: 100%; border-radius: 12.2cqw; overflow: hidden; background: #000; }
.device-screen img, .device-screen video { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.device-screen::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(118deg, rgba(255,255,255,.13) 0%, rgba(255,255,255,.04) 26%, rgba(255,255,255,0) 40%); }
.device-island { position: absolute; top: 2.6cqw; left: 50%; width: 31cqw; height: 9cqw; transform: translateX(-50%); background: #000; border-radius: 5cqw; pointer-events: none; z-index: 2; }
.device-island::after { content: ""; position: absolute; right: 7%; top: 50%; width: 4.4cqw; height: 4.4cqw; transform: translateY(-50%); border-radius: 50%;
  background: radial-gradient(circle at 38% 36%, #4b5f86 0 12%, #18223a 30%, #050608 70%); }
.btn-power, .btn-action, .btn-vol1, .btn-vol2 { position: absolute; width: 1.1cqw; border-radius: .6cqw; background: linear-gradient(90deg, #2a2b2f, #8a8d94 45%, #3a3c40); }
.btn-power { right: -.75cqw; top: 51cqw; height: 22cqw; }
.btn-action { left: -.75cqw; top: 35cqw; height: 7.5cqw; }
.btn-vol1 { left: -.75cqw; top: 50cqw; height: 14cqw; }
.btn-vol2 { left: -.75cqw; top: 68cqw; height: 14cqw; }
.sound-tip { white-space: nowrap; }

/* where table */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: var(--line); border-radius: 16px; background: var(--white); box-shadow: var(--shadow); margin-top: 18px; }
.where-t { width: 100%; border-collapse: collapse; min-width: 600px; font-size: 16px; }
.where-t th, .where-t td { text-align: left; padding: 13px 16px; border-bottom: 2px solid #eadfcb; vertical-align: top; }
.where-t thead th { font: 400 1.1rem/1.2 var(--display); background: var(--belly); border-bottom: var(--line); }
.where-t tbody th { font-weight: 700; }
.where-t tr:last-child > * { border-bottom: 0; }

/* note from Nathan */
.note-sec { padding-top: 24px; }
.note { position: relative; background: var(--white); border: var(--line); border-radius: 6px; box-shadow: var(--shadow); padding: 28px 26px 22px; max-width: 760px; transform: rotate(-.6deg); }
.note::before { content: ""; position: absolute; top: -14px; left: 50%; width: 110px; height: 28px; transform: translateX(-50%) rotate(2deg); background: rgba(255, 138, 31, .55); border: 2px solid rgba(21,23,28,.15); }
.note-tight { transform: none; padding: 16px 18px; margin-top: 18px; }
.note-tight::before { display: none; }
.note-tight p:last-child { margin: 0; }
.sig { font: 400 1.7rem/1 var(--display); color: var(--orange-d); transform: rotate(-3deg); display: inline-block; margin: 4px 0 0; }

/* FAQ: plain Q and A */
.faq-list { display: grid; gap: 4px 44px; }
@media (min-width: 860px) { .faq-list { grid-template-columns: 1fr 1fr; } }
.qa { padding: 16px 0; border-top: 2px dashed rgba(21,23,28,.25); }
.qa h3 { font-size: 1.2rem; margin-bottom: .35em; }
.qa p { margin: 0; color: var(--ink-2); }

/* prose pages */
.prose { padding-bottom: 64px; }
.prose h2 { margin-top: 1.5em; display: flex; align-items: center; gap: 12px; scroll-margin-top: 20px; }
.prose h2 img { border-radius: 8px; border: 2px solid var(--ink); }
.prose h3 { margin-top: 1.3em; scroll-margin-top: 20px; }
.prose ul { padding-left: 1.2em; }
.prose li { margin: .4em 0; }
.prose li::marker { color: var(--orange-d); }
.jump { font-size: 15px; margin-top: 18px; }
.help { margin: 0; }
.help div { padding: 12px 0; border-bottom: 2px dashed rgba(21,23,28,.2); }
.help dt { font: 400 1.15rem/1.3 var(--display); margin-bottom: 4px; }
.help dd { margin: 0; color: var(--ink-2); }
.spec { width: 100%; border-collapse: collapse; font-size: 16px; }
.spec th, .spec td { text-align: left; padding: 10px 0; border-bottom: 2px dashed var(--g-line, rgba(21,23,28,.2)); vertical-align: top; }
.spec th { width: 40%; font-weight: 500; color: var(--g-muted, var(--ink-2)); padding-right: 14px; }
.spec-light { margin-top: 6px; }

/* small game links */
.minis { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .minis { grid-template-columns: 1fr 1fr; } }
.minis-col { grid-template-columns: 1fr !important; margin: 18px 0; }
.mini { display: flex; gap: 14px; align-items: center; padding: 14px; background: var(--g-bg); color: var(--g-muted); border: var(--line); border-radius: 16px; box-shadow: 4px 4px 0 var(--ink); text-decoration: none; transition: transform .08s, box-shadow .08s; }
.mini:hover { color: var(--g-muted); transform: translate(-1px, -1px); box-shadow: 6px 6px 0 var(--ink); }
.mini img { border-radius: 12px; border: 2px solid #000; flex: none; }
.mini strong { display: block; color: var(--g-text); font: 400 1.3rem/1.2 var(--display); }
.mini span { font-size: 15px; line-height: 1.45; }

/* game pages */
body.game { background: var(--g-bg); background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1.4px); background-size: 22px 22px; color: var(--g-text); }
body.game main a:not(.btn):not(.mini) { color: var(--g-text); text-decoration-color: var(--g-accent); }
body.game main a:not(.btn):not(.mini):hover { color: var(--g-accent); }
.ghero { padding: 28px 0 44px; }
.ghero-in { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) { .ghero-in { grid-template-columns: 1.2fr .8fr; gap: 48px; } }
.gtitle { display: flex; align-items: center; gap: 18px; }
.gtitle img { border-radius: 18px; border: 3px solid #000; box-shadow: 4px 4px 0 #000; flex: none; }
.gtitle h1 { margin: 0; }
.gtag { font: 400 1.35rem/1.25 var(--display); color: var(--g-accent); margin: 14px 0 16px; }
.answer { font-size: 1.12rem; max-width: 62ch; }
.gstatus { font-size: 14px; color: var(--g-muted); }
body.game .btn { border-color: #000; box-shadow: 4px 4px 0 #000; }
.gsec { padding: 44px 0; border-top: 2px dashed var(--g-line); }
.gcols { display: grid; gap: 40px; }
@media (min-width: 900px) { .gcols { grid-template-columns: 1.1fr .9fr; } }
.how { counter-reset: h; list-style: none; padding: 0; margin: 0; }
.how li { counter-increment: h; position: relative; padding: 0 0 18px 50px; }
.how li::before { content: counter(h); position: absolute; left: 0; top: -2px; width: 34px; height: 34px; display: grid; place-items: center; font: 400 1.15rem/1 var(--display); color: var(--g-accent-ink); background: var(--g-accent); border: 2px solid #000; border-radius: 50%; }
.shots { list-style: none; margin: 0; padding: 12px 4px 16px; display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.shots li { flex: 0 0 auto; width: 200px; scroll-snap-align: start; }
@media (min-width: 720px) { .shots li { width: 230px; } }
.shots img { width: 100%; border-radius: 16px; border: 3px solid #000; box-shadow: 5px 5px 0 rgba(0,0,0,.55); }
.shots li:nth-child(odd) img { transform: rotate(-1.2deg); }
.shots li:nth-child(even) img { transform: rotate(1.2deg); }
.shots p { font-size: 13px; color: var(--g-muted); margin: 12px 0 0; line-height: 1.4; }
.feats { margin: 0; display: grid; gap: 4px 40px; }
@media (min-width: 760px) { .feats { grid-template-columns: 1fr 1fr; } }
.feats div { padding: 14px 0; border-top: 2px dashed var(--g-line); }
.feats dt { font: 400 1.25rem/1.25 var(--display); color: var(--g-accent); margin-bottom: 4px; }
.feats dd { margin: 0; color: var(--g-muted); }
.where { padding-left: 1.2em; }
.where li { margin: .55em 0; }
.where li::marker { color: var(--g-accent); }
body.game .qa { border-top-color: var(--g-line); }
body.game .qa p { color: var(--g-muted); }
.help-line { color: var(--g-muted); margin-top: 24px; }
.more { background: var(--paper); color: var(--ink); border-top: var(--line); padding: 48px 0; }

/* footer */
.foot { background: var(--orange); border-top: var(--line); padding: 30px 0 22px; font-size: 15px; color: var(--ink); }
.foot a { color: var(--ink); text-decoration-color: var(--ink); text-decoration-thickness: 2px; }
.foot-in { display: grid; gap: 14px; }
.foot-note { display: flex; gap: 12px; align-items: center; max-width: 70ch; margin: 0; }
.foot-note img { flex: none; border-radius: 50%; border: 2px solid var(--ink); background: #fff; }
.foot ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 20px; padding: 0; margin: 0; font: 400 1.05rem/1.4 var(--display); }
.foot ul a { text-decoration: none; }
.foot ul a:hover { text-decoration: underline; }
.foot-legal { font-size: 13px; margin: 0; opacity: .8; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* round play button over a paused clip */
.device-screen:has(video.clip) { cursor: pointer; }
.play-badge { position: absolute; left: 50%; top: 50%; width: 22cqw; height: 22cqw; transform: translate(-50%, -50%); border: 0; border-radius: 50%; padding: 0; cursor: pointer; z-index: 3;
  background: rgba(20, 22, 26, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: 0 0 0 .5cqw rgba(255,255,255,.75), 0 6px 18px rgba(0,0,0,.35); transition: opacity .2s, transform .2s; }
.play-badge::before { content: ""; position: absolute; left: 39%; top: 29%; border-style: solid; border-width: 5.4cqw 0 5.4cqw 9cqw; border-color: transparent transparent transparent #fff; }
.play-badge:hover { transform: translate(-50%, -50%) scale(1.06); }
.is-playing .play-badge { opacity: 0; pointer-events: none; }
