/* Chicken Nugget Tycoon: the game's own look on top of the shared Caffeine Media stylesheet.
   Flat, chunky, rounded, cream and sky blue, ink-purple outlines, no drop shadows on controls. */
.cnt {
  --ink: #2B1B4A; --paper: #FFF3D6; --field: #FFC82C; --red: #FF4D4D; --dim: #5B4A7A;
  --sky: #3C9DFF; --green: #3DCC5A; --orange: #FF8A00; --purple: #9B5DE5;
  --rule: 4px solid var(--ink);
  --r: 22px;
  font-family: ui-rounded, "SF Pro Rounded", "Nunito", "Varela Round", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 700; background: var(--paper);
}
.cnt h1, .cnt h2, .cnt h3, .cnt .store__text span, .cnt .nav__brand {
  font-family: inherit; font-stretch: 100%; font-weight: 900; text-transform: none; letter-spacing: -.01em;
}
.cnt .nav__links a, .cnt .nav__back { font-family: inherit; font-stretch: 100%; text-transform: none; letter-spacing: 0; font-weight: 800; }
.cnt .nav { background: var(--ink); }
.cnt .nav__links a { border-radius: 999px; }
.cnt .nav__back { border-radius: 999px; border-color: var(--paper); }
.cnt .nav__brand img { border-radius: 10px; }

/* hero: sunburst sky like the app icon */
.cnt.app .hero {
  background:
    repeating-conic-gradient(from 0deg at 70% 85%, rgba(255,255,255,.17) 0 7deg, transparent 7deg 20deg),
    linear-gradient(#3C9DFF, #9ED7FF 70%, #CDEBFF);
  box-shadow: 0 0 0 100vmax #6DB9FF; clip-path: inset(0 -100vmax);
}
.cnt.app .hero::after { background: var(--paper); height: 26px; border-radius: 26px 26px 0 0; }
.cnt.app .hero h1 { font-size: clamp(2.9rem, 8vw, 6rem); line-height: .95; color: #fff;
  -webkit-text-stroke: 10px var(--ink); paint-order: stroke fill; text-wrap: balance; }
.cnt.app .hero h1 em { background: none; color: var(--gold, #FFC82C); padding: 0; }
.cnt .hero__icon { border-radius: 22px; border: 5px solid var(--ink); width: 96px; height: 96px; }
.cnt .hero__sub { color: var(--ink); font-weight: 800; }
.cnt .hero__free { color: var(--ink); }
.cnt .hero__hearts { color: var(--ink); }
.cnt .hero__shot { border: 8px solid var(--ink); border-radius: 44px; background: var(--ink); }

/* buttons: flat chunky pills */
.cnt .store { border-radius: 16px; background: var(--green); color: #fff; border: 0; }
.cnt a.store:hover { background: var(--ink); color: #fff; }
.cnt span.store, .cnt .store--soon { background: var(--ink); color: #fff; border: 0; }

/* sections */
.cnt .section .head h2, .cnt.app .section .head h2 { font-size: clamp(2.2rem, 5.6vw, 4.2rem); line-height: 1; }
.cnt .section--tint { background: var(--sky); color: #fff; background-image: repeating-conic-gradient(from 0deg at 50% 120%, rgba(255,255,255,.12) 0 7deg, transparent 7deg 20deg); }
.cnt .section--tint .head h2 { color: #fff; -webkit-text-stroke: 8px var(--ink); paint-order: stroke fill; }
.cnt .section--tint .head > p, .cnt .section--tint .tile__body, .cnt .section--tint .rule p,
.cnt .section--tint .plan__note, .cnt .section--tint .iap-note { color: var(--ink); }
.cnt .section--tint .prose p { color: var(--ink); background: #fff; border-radius: var(--r); padding: 18px 22px; }

.cnt .rules { border-top: 0; gap: 16px; }
.cnt .rule, .cnt .rule + .rule { background: #fff; border: 4px solid var(--ink); border-radius: var(--r); padding: 22px; }
.cnt .rule__no { color: #fff; background: var(--orange); width: 64px; height: 64px; border-radius: 18px; font-size: 2.4rem; line-height: 64px; text-align: center; border: 4px solid var(--ink); }
.cnt .section:not(.section--tint) .rule__no { color: #fff; }
.cnt .rule p, .cnt .plan__note { color: var(--dim); }

.cnt .controls span { border: 4px solid var(--ink); border-radius: 999px; background: #fff; }

.cnt .bento { border: 0; gap: 16px; }
.cnt .tile { border: 4px solid var(--ink); border-radius: var(--r); background: #fff; color: var(--ink); }
.cnt .tile__body { color: var(--dim); }
.cnt .tile--dark { background: var(--field); }
.cnt .tile--dark .tile__body { color: var(--ink); }
.cnt .tile--p1 { background: #FFE0E0; } .cnt .tile--p2 { background: #DDEEFF; }
.cnt .tile--p3 { background: #FFEBC8; } .cnt .tile--p4 { background: #E6D9FF; }

.cnt .pricing { border-top: 0; gap: 16px; }
.cnt .plan, .cnt .plan + .plan { background: #fff; border: 4px solid var(--ink); border-radius: var(--r); padding: 24px; }
.cnt .plan--lit { background: var(--field); }
.cnt .plan--lit .plan__note { color: var(--ink); }
.cnt .plan__tag { border-radius: 999px; border-width: 3px; font-weight: 900; }
.cnt .plan li::before { border-radius: 50%; background: var(--green); }
.cnt .iap-note { font-weight: 700; }

.cnt .gallery { gap: 20px; padding: 6px 4px 18px; }
.cnt .gallery img { border: 6px solid var(--ink); border-radius: 34px; background: var(--ink); aspect-ratio: 416 / 904; }

.machines { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.machines li { display: grid; grid-template-columns: 52px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center;
  background: #fff; border: 4px solid var(--ink); border-radius: 18px; padding: 10px 12px; }
.machines li span { grid-row: span 2; font-size: 2rem; text-align: center; background: var(--paper); border-radius: 12px; line-height: 52px; }
.machines li b { font-weight: 900; line-height: 1.15; }
.machines li small { color: var(--dim); font-weight: 700; line-height: 1.2; }

.prose { display: grid; gap: 14px; max-width: 72ch; }

/* FAQ */
.cnt .faqlist { display: grid; gap: 12px; }
.cnt .faqlist__item { border: 4px solid var(--ink); border-radius: 18px; background: #fff; padding: 0; overflow: hidden; }
.cnt .faqlist__item summary { cursor: pointer; padding: 16px 20px; font-weight: 900; font-size: 1.125rem; list-style: none; }
.cnt .faqlist__item summary::-webkit-details-marker { display: none; }
.cnt .faqlist__item summary::after { content: "+"; float: right; font-size: 1.4rem; line-height: 1; }
.cnt .faqlist__item[open] summary::after { content: "–"; }
.cnt .faqlist__item p { padding: 0 20px 18px; color: var(--dim); }

/* support / privacy */
.cnt .doc__header img { border-radius: 18px; border: 4px solid var(--ink); }
.cnt .doc h1 { font-size: clamp(2.4rem, 7vw, 4rem); }
.cnt .doc h2 { font-weight: 900; }
.cnt .faq-item { border: 4px solid var(--ink); border-radius: 18px; background: #fff; padding: 14px 18px; margin-top: 10px; }
.cnt .faq-item h3 { font-family: inherit; font-stretch: 100%; font-weight: 900; }
.cnt .mailbox { border-radius: 18px; background: var(--ink); }
.cnt .mailbox:hover { background: var(--green); color: #fff; }
.cnt .mailbox__label { color: var(--field); }
.cnt .mailbox:hover .mailbox__label { color: #fff; }

/* footer */
.cnt.app .foot { background: var(--ink); border-radius: 26px 26px 0 0; }
.cnt .foot a:hover { color: var(--field); }
.cnt :focus-visible { outline: 4px solid var(--orange); outline-offset: 3px; border-radius: 8px; }

/* base stylesheet sets hero/section headings condensed + uppercase; use the game's rounded type instead */
.cnt.app .hero h1, .cnt.app .section .head h2, .cnt .doc h1, .cnt .doc h2, .cnt .tile h3, .cnt .rule h3, .cnt .plan h3 {
  font-family: inherit; font-stretch: 100%; text-transform: none; letter-spacing: -.01em; }
.cnt .controls span, .cnt .plan__tag, .cnt .spec__tag { text-transform: none; letter-spacing: 0; font-weight: 900; font-stretch: 100%; font-family: inherit; }
.cnt.app .hero h1 { -webkit-text-stroke: 9px var(--ink); }
.cnt .section--tint .head h2 { -webkit-text-stroke: 7px var(--ink); }

/* contrast: ink on orange (white on #FF8A00 is only 2.4:1) */
.cnt .rule__no, .cnt .section:not(.section--tint) .rule__no { color: var(--ink); }
.cnt .row .btn, .cnt .btn--orange { color: var(--ink); }

/* full-bleed hero: paint the sky on a viewport-wide layer instead of the base stylesheet's flat box-shadow bleed (which showed as side bars) */
.cnt.app .hero { background: none; box-shadow: none; clip-path: none; isolation: isolate; }
.cnt.app .hero::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%); z-index: -1;
  background:
    repeating-conic-gradient(from 0deg at 70% 85%, rgba(255,255,255,.17) 0 7deg, transparent 7deg 20deg),
    linear-gradient(#3C9DFF, #9ED7FF 70%, #CDEBFF);
}
