@font-face { font-family: "Fredoka"; src: url("../fonts/Fredoka.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
/* Noodle Pop page: same build as the Clover Case site, in Noodle Pop's own colours (plum night, warm cream, candy pink). Loads after ../site.css. */
body.np { --night: #150a1f; --felt: #20112e; --felt2: #2c1840; --cream: #fff3e8; --paper: #f6e3d6; --ink: #2a1436; --gold: #ff9cc2; --gold2: #ffd3e4; --mute-d: #b6a3c4; --mute-l: #6d5a78; --line-d: rgba(255,156,194,.3); --line-l: rgba(42,20,54,.16); }
body.np, html:has(body.np) { background: var(--night); }
.np .on-cream .eyebrow { color: #b8336f; } .np .on-cream .d em, .np .creed em { color: #c2417f; }
.np .on-cream .text-link:hover { color: #c2417f; border-color: #c2417f; } .np .on-cream .btn:hover { background: #47235b; }
.np .nav.solid { background: rgba(21,10,31,.74); border-color: rgba(255,156,194,.18); }
.np .foot { border-color: rgba(255,156,194,.16); color: #9c8aa9; } .np .foot a { color: #d3c3de; }
.np .big-n { background: linear-gradient(165deg, #fff0c9 6%, #ffb46b 34%, #ff7fb0 66%, #b765e8 98%); -webkit-background-clip: text; background-clip: text; }
.np .btn { box-shadow: 0 0 0 1px rgba(255,255,255,.2) inset, 0 18px 40px -18px rgba(255,127,176,.8); }
.np .btn.soon { background: transparent; color: var(--gold2); box-shadow: 0 0 0 1px var(--line-d) inset; cursor: default; } .np .btn.soon:hover { transform: none; background: transparent; }
.np .phone { background: linear-gradient(145deg, #5a4168, #1c0f27 40%, #3d2a4b); }

/* hero */
.np-hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; padding: 110px 0 70px;
  background: radial-gradient(80% 70% at 72% 58%, #5a2d77 0%, #33184a 34%, var(--night) 78%); }
.np-hero .wrap { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 3vw; position: relative; }
.np-hero .logo { width: min(100%, 430px); margin: 0 0 clamp(18px, 3vh, 34px) -14px; filter: drop-shadow(0 26px 30px rgba(0,0,0,.45)); }
.np-hero .cat { position: relative; justify-self: center; width: min(100%, 78vh, 640px); }
.np-hero .cat > img:not(.orb) { position: relative; z-index: 2; width: 100%; filter: drop-shadow(0 50px 50px rgba(0,0,0,.5)); }
.np-hero .cat::before { content: ""; position: absolute; inset: 4% -6% -2% -6%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,170,205,.4), rgba(190,110,255,.14) 55%, transparent 74%); }
.np-hero .row { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: clamp(26px, 4.4vh, 46px); }
.orb { position: absolute; z-index: 1; width: var(--s, 90px); filter: drop-shadow(0 18px 18px rgba(0,0,0,.4)); animation: bob 7s ease-in-out infinite; animation-delay: var(--d, 0s); }
.orb.front { z-index: 3; } @keyframes bob { 50% { transform: translateY(-16px) rotate(8deg); } }

.np-balls { display: flex; justify-content: center; gap: clamp(8px, 1.6vw, 26px); margin-top: clamp(40px, 7vh, 80px); flex-wrap: wrap; }
.np-balls img { width: clamp(46px, 6.4vw, 104px); filter: drop-shadow(0 16px 14px rgba(42,20,54,.25)); transition: transform .7s var(--ease); } .np-balls img:hover { transform: translateY(-14px) scale(1.08); }
.np-duo-phone { width: min(100%, 340px); margin: 0 auto; }
.np video { display: block; width: 100%; border-radius: 11.5% / 5.4%; }
.np-cat { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 100px); align-items: center; } .np-cat img { width: min(100%, 460px); margin: 0 auto; filter: drop-shadow(0 40px 40px rgba(42,20,54,.25)); }

@media (max-width: 899px), (max-aspect-ratio: 1/1) {
  .np-hero .wrap { grid-template-columns: 1fr; text-align: center; } .np-hero .logo { margin: 0 auto 20px; width: min(78%, 340px); } .np-hero .row { justify-content: center; } .np-hero .eyebrow { justify-content: center; }
  .np-hero .p { margin-left: auto; margin-right: auto; } .np-hero .eyebrow::before { display: none; } .np-hero .cat { width: min(78%, 46vh); margin-top: 20px; } .np-cat { grid-template-columns: 1fr; text-align: center; } .np-cat .eyebrow { justify-content: center; } .np-cat .p { margin-left: auto; margin-right: auto; }
}
@media (prefers-reduced-motion: reduce) { .orb { animation: none; } }

/* ---- Noodle Pop type: the game's own font (Fredoka) everywhere; no italic, emphasis is colour only ---- */
body.np { --serif: "Fredoka", system-ui, sans-serif; --sans: "Fredoka", system-ui, sans-serif; }
.np .d { font-weight: 700; letter-spacing: -.012em; line-height: 1.02; font-size: clamp(44px, 6.4vw, 112px); } .np .d.m { font-size: clamp(36px, 4.7vw, 80px); } .np .d.s { font-size: clamp(27px, 3vw, 48px); font-weight: 600; }
.np .d em, .np .creed em { font-style: normal; letter-spacing: inherit; }
.np .creed { font-weight: 600; letter-spacing: -.01em; line-height: 1.14; font-size: clamp(28px, 3.9vw, 64px); }
.np .big-n { font-weight: 700; letter-spacing: -.03em; line-height: .86; }
.np .p { font-weight: 400; font-size: clamp(17px, 1.3vw, 21px); line-height: 1.5; } .np .eyebrow { font-weight: 600; font-size: 12.5px; letter-spacing: .2em; }
.np .btn, .np .text-link { font-weight: 600; font-size: 15.5px; } .np .brand { font-weight: 700; font-size: 23px; } .np .nav a.l, .np .nav .get { font-weight: 600; font-size: 12.5px; }
.np .facts b { font-weight: 700; } .np .facts span, .np .phones figcaption { font-weight: 600; font-size: 12px; } .np .qa h3 { font-weight: 600; font-size: clamp(22px, 1.9vw, 28px); } .np .qa p { font-size: 17px; }

/* ---- daily web puzzle (np-play.js) ---- */
.npd-p, .npd-board { --c: clamp(46px, 11.8vw, 78px); --pad: 14px; }
.npd { display: flex; flex-direction: column; align-items: center; gap: 22px; margin-top: clamp(28px, 5vh, 52px); user-select: none; -webkit-user-select: none; }
.npd-date { display: inline-block; margin-top: 14px; padding: .55em 1.1em; border-radius: 99px; background: rgba(255,156,194,.14); color: var(--gold2); font: 600 14px/1 var(--sans); }
.npd-board { position: relative; display: grid; grid-template-columns: repeat(5, var(--c)); padding: var(--pad); border-radius: 30px; background: linear-gradient(160deg, #ffd9e8, #f7b6d1); box-shadow: 0 0 0 4px #fff3e8, 0 0 0 9px #c2417f, 0 44px 70px -26px rgba(0,0,0,.8); }
.npd-h { width: var(--c); height: var(--c); position: relative; } .npd-h::after { content: ""; position: absolute; inset: 20%; border-radius: 50%; background: #d88aad; box-shadow: inset 0 4px 6px rgba(90,20,60,.45); }
.npd-tray { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 24px; max-width: 760px; min-height: 90px; }
.npd-tray .npd-p { --c: clamp(28px, 6.6vw, 46px); }
.npd-p { position: relative; width: calc(var(--w) * var(--c)); height: calc(var(--h) * var(--c)); cursor: grab; touch-action: none; border-radius: 12px; }
.npd-p.on { position: absolute; } .npd-p.drag { position: fixed; z-index: 99; cursor: grabbing; --c: clamp(46px, 11.8vw, 78px); filter: drop-shadow(0 20px 16px rgba(0,0,0,.45)); }
.npd-p.sel { outline: 3px dashed var(--gold); outline-offset: 6px; }
.npd-p b { position: absolute; width: var(--c); height: var(--c); padding: 3%; } .npd-p b::before { content: ""; display: block; width: 100%; height: 100%; background: var(--img) center / contain no-repeat; filter: drop-shadow(0 3px 3px rgba(60,10,40,.35)); }
.npd-tools { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.npd-tools button { font: 600 16px/1 var(--sans); color: var(--cream); background: rgba(255,255,255,.06); border: 2px solid var(--line-d); border-radius: 99px; padding: .8em 1.4em; cursor: pointer; } .npd-tools button:hover { border-color: var(--gold); color: var(--gold2); }
.npd-msg { min-height: 1.6em; margin: 0; max-width: 34em; font: 500 clamp(16px, 1.3vw, 19px)/1.5 var(--sans); color: var(--mute-d); }
#np-daily.won .npd-msg { color: var(--gold2); font-weight: 600; }
#np-daily.won .npd-board { animation: npdwin .9s var(--ease); } @keyframes npdwin { 40% { transform: scale(1.06) rotate(-1.5deg); } }
#np-daily.won .btn.npgiant { animation: npdpulse 1.4s ease-in-out infinite; } @keyframes npdpulse { 50% { transform: scale(1.04); } }

/* ---- the giant App Store button ---- */
.np .btn.npgiant { display: flex; justify-content: center; align-items: center; gap: .7em; width: min(100%, 860px); margin: clamp(30px, 5vh, 60px) auto 0; padding: .9em 1em .85em; border-radius: 28px; font: 700 clamp(26px, 4vw, 52px)/1.05 var(--sans); letter-spacing: -.01em; background: linear-gradient(180deg, #ff9cc2, #ff6fa8); color: #2a1436; box-shadow: 0 9px 0 #a52a63, 0 44px 90px -26px rgba(255,111,168,.95); text-align: left; }
.np .btn.npgiant svg { width: 1.5em; height: 1.5em; flex: none; } .np .btn.npgiant small { display: block; font-size: .36em; font-weight: 600; letter-spacing: .02em; opacity: .75; margin-top: .3em; }
.np .btn.npgiant:hover { background: linear-gradient(180deg, #ffc0d8, #ff86b6); transform: translateY(-3px); box-shadow: 0 12px 0 #a52a63, 0 50px 100px -26px rgba(255,111,168,1); } .np .btn.npgiant:active { transform: translateY(6px); box-shadow: 0 3px 0 #a52a63; }
