/* Throw a Plate at the Wall!!! – website styles.
   Colors and type follow the app: deep blue wall, chunky rounded black type (SF Rounded on Apple devices),
   and the app's button colors. */
:root {
  --navy: #0A1A4F;
  --navy-2: #060F33;
  --blue: #1E44B8;
  --cobalt: #2F6BEA;
  --glaze: #F7F4EC;
  --yellow: #FFD633;
  --pink: #FF4A8C;
  --cyan: #40D9F2;
  --green: #66E673;
  --orange: #FF8C26;
  --purple: #9966FF;
  --ink: #14121F;
  --ink-2: #4B4860;
  --soft: #CFDBFF;
  --round: ui-rounded, "SF Pro Rounded", "Arial Rounded MT Bold", "Nunito", "Varela Round", system-ui, sans-serif;
  --text: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --side: clamp(16px, 4vw, 40px);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--navy); color: #fff; font: 500 17px/1.55 var(--text); overflow-x: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--side); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 14px; border-radius: 12px; background: var(--yellow); color: var(--navy); font: 900 15px/1 var(--round); }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* header */
.top { position: absolute; inset: 0 0 auto; z-index: 10; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 900 19px/1 var(--round); letter-spacing: -.01em; white-space: nowrap; }
.brand img { flex: none; width: 40px; height: 40px; border-radius: 10px; box-shadow: 0 3px 0 rgba(0,0,0,.3); }
.top nav { display: flex; gap: 2px; }
.top nav a { text-decoration: none; font: 800 15px/1 var(--round); padding: 11px 12px; border-radius: 12px; white-space: nowrap; }
.top nav a:hover { background: rgba(255,255,255,.12); }
.top nav a[aria-current="page"] { background: rgba(255,255,255,.14); }
.top nav .lang { border: 2px solid rgba(255,255,255,.35); padding: 9px 11px; }
@media (max-width: 600px) { .top nav .wide { display: none; } .top nav a { padding: 10px 9px; } .brand span { display: none; } }

/* hero */
.hero { position: relative; overflow: hidden; padding: 108px 0 72px;
  background: radial-gradient(120% 90% at 72% 46%, #3D7BF2 0%, var(--cobalt) 14%, var(--blue) 44%, var(--navy) 100%); }
.cracks { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(24px, 4vw, 56px); align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

.logo { margin: 0 0 22px; font: 900 clamp(40px, 5.6vw, 82px)/.92 var(--round); letter-spacing: -.01em;
  transform: rotate(-4deg); transform-origin: left center; filter: drop-shadow(0 .07em 0 rgba(0,0,0,.42)); }
.logo span, .sign span { display: block; white-space: nowrap; text-shadow:
  .07em 0 0 var(--navy), -.07em 0 0 var(--navy), 0 .07em 0 var(--navy), 0 -.07em 0 var(--navy),
  .05em .05em 0 var(--navy), -.05em .05em 0 var(--navy), .05em -.05em 0 var(--navy), -.05em -.05em 0 var(--navy),
  .065em .03em 0 var(--navy), -.065em .03em 0 var(--navy), .065em -.03em 0 var(--navy), -.065em -.03em 0 var(--navy),
  .03em .065em 0 var(--navy), -.03em .065em 0 var(--navy), .03em -.065em 0 var(--navy), -.03em -.065em 0 var(--navy); }
.logo .l1 { color: #fff; font-size: .86em; }
.logo .l2 { color: var(--yellow); }
.lede { margin: 0 0 26px; max-width: 30em; font: 700 clamp(18px, 1.7vw, 21px)/1.45 var(--round); color: #E4EBFF; }
.chunky { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 60px; padding: 0 28px; border-radius: 18px;
  font: 900 clamp(18px, 2vw, 22px)/1.1 var(--round); color: #fff; text-align: center; text-decoration: none; text-shadow: 0 2px 0 rgba(0,0,0,.18); }
.orange { background: var(--orange); box-shadow: 0 6px 0 #C2560B, 0 14px 28px rgba(5,10,40,.4); }
.soon::before { content: ""; width: 24px; height: 24px; flex: none; border-radius: 50%;
  background: radial-gradient(circle, #fff 0 38%, var(--cobalt) 39% 46%, #fff 47% 100%); box-shadow: 0 0 0 2px rgba(0,0,0,.15); }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; list-style: none; }
.facts li { padding: 7px 12px; border-radius: 999px; background: rgba(10,26,79,.45); font: 800 14px/1 var(--round); color: var(--soft); }
.try { margin: 34px 0 0; font: 900 20px/1.2 var(--round); color: var(--yellow); }
.try small { display: block; margin-top: 4px; font: 700 14px/1.5 var(--round); color: var(--soft); }
@media (max-width: 900px) { .try { display: none; } }

/* the phone with the mini game, and the receipt beside it */
.play { display: flex; align-items: center; justify-content: center; }
.phone { position: relative; flex: none; width: min(360px, 100%, calc((100vh - 150px) * 9 / 18.6)); min-width: 300px; aspect-ratio: 9 / 18.6; padding: 11px; border-radius: 56px;
  background: linear-gradient(145deg, #2B2E3B, #0B0C12 40%, #1A1C26); transform: rotate(2deg); z-index: 1;
  box-shadow: 0 0 0 1.5px rgba(255,255,255,.14) inset, 0 50px 90px rgba(3,8,40,.6), 0 18px 30px rgba(3,8,40,.35); }
@media (max-width: 900px) { .phone { transform: none; width: min(380px, 100%); min-width: 0; } }
.screen { position: relative; height: 100%; border-radius: 46px; overflow: hidden; background: #EDE4D3; isolation: isolate; }
.game { position: absolute; inset: 0; }
.game:focus-visible { outline: none; box-shadow: inset 0 0 0 4px var(--yellow); }
.status { position: absolute; top: 0; left: 0; right: 0; height: 46px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 30px 0 34px; color: #1a1a1a; font: 700 15px/1 var(--text); pointer-events: none; z-index: 6; }
.island { position: absolute; left: 50%; top: 11px; width: 104px; height: 30px; margin-left: -52px; border-radius: 20px; background: #000; }
.bars { display: flex; gap: 2px; align-items: flex-end; height: 11px; }
.bars i { width: 3px; background: #1a1a1a; border-radius: 1px; }
.bars i:nth-child(1) { height: 4px; } .bars i:nth-child(2) { height: 6px; } .bars i:nth-child(3) { height: 8px; } .bars i:nth-child(4) { height: 11px; }
.hud { position: absolute; top: 50px; left: 14px; right: 14px; display: flex; gap: 8px; align-items: flex-start; z-index: 6; pointer-events: none; }
.pill { padding: 6px 11px 7px; border-radius: 12px; background: rgba(20,18,31,.82); color: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.pill small { display: block; font: 900 9px/1.1 var(--round); letter-spacing: .06em; color: #B9B6CC; text-transform: uppercase; }
.pill b { display: block; font: 900 19px/1.15 var(--round); font-variant-numeric: tabular-nums; }
.round { margin-left: auto; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(20,18,31,.82); color: #fff;
  display: grid; place-items: center; cursor: pointer; pointer-events: auto; }
.round svg { width: 22px; height: 22px; }
.round .cross { display: none; }
.round[aria-pressed="true"] .wave { display: none; }
.round[aria-pressed="true"] .cross { display: inline; }
.tray { position: absolute; left: 0; right: 0; bottom: 0; z-index: 6; display: flex; gap: 6px; justify-content: center;
  padding: 10px 10px 22px; background: linear-gradient(rgba(20,18,31,0), rgba(20,18,31,.75) 30%); }
.slot { position: relative; width: 66px; padding: 6px 0 5px; border: 0; border-radius: 14px; background: rgba(20,18,31,.78);
  color: #fff; font: 900 11px/1.2 var(--round); cursor: pointer; box-shadow: 0 0 0 2px rgba(255,255,255,.08) inset; }
.slot img { width: 40px; height: 40px; margin: 0 auto 2px; }
.slot[aria-pressed="true"] { background: var(--cobalt); box-shadow: 0 0 0 2px #fff inset, 0 4px 0 #0E2F86; }
.slot .stars { display: block; color: var(--yellow); font-size: 9px; letter-spacing: 1px; }
.hint { position: absolute; left: 50%; bottom: 210px; z-index: 6; transform: translateX(-50%); pointer-events: none;
  display: flex; flex-direction: column; align-items: center; gap: 4px; transition: opacity .3s; }
.hint span { padding: 8px 13px; border-radius: 14px; background: #fff; color: var(--navy); font: 900 15px/1 var(--round); box-shadow: 0 4px 0 rgba(10,26,79,.25); white-space: nowrap; }
.hint i { width: 0; height: 0; border: 12px solid transparent; border-bottom: 18px solid #fff; border-top: 0; animation: nudge 1.1s ease-in-out infinite; }
.hint.gone { opacity: 0; }
@keyframes nudge { 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .hint i { animation: none; } }

.receipt { position: relative; flex: none; width: 236px; margin: 120px 0 0 -22px; padding: 18px 18px 26px; background: #fff; color: #222;
  font: 500 12px/1.45 var(--mono); transform: rotate(3deg); z-index: 2; pointer-events: none; box-shadow: 0 22px 38px rgba(3,8,40,.45), 0 2px 4px rgba(0,0,0,.2);
  -webkit-mask: radial-gradient(circle 6px at 50% 100%, transparent 97%, #000 100%) 0 0 / 14px 100% repeat-x;
  mask: radial-gradient(circle 6px at 50% 100%, transparent 97%, #000 100%) 0 0 / 14px 100% repeat-x; }
@media (max-width: 1180px) { .play { flex-direction: column; } .receipt { width: min(340px, 100%); margin: 30px 0 0; transform: rotate(-1.5deg); } }
.r-head { margin: 2px 0 0; text-align: center; font: 900 22px/1 var(--round); color: var(--navy); letter-spacing: .02em; }
.r-sub { margin: 5px 0 12px; padding-bottom: 10px; text-align: center; color: #777; font-size: 11px; border-bottom: 1.5px dashed #999; }
.r-lines { margin: 0; padding: 0; list-style: none; min-height: 118px; }
.r-lines li { display: flex; gap: 6px; }
.r-lines li span { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.r-lines li b { font-weight: 700; white-space: nowrap; }
.r-lines li.bonus { color: #777; padding-left: 12px; font-size: 11px; }
.r-lines li.new { animation: print .35s ease-out; }
@keyframes print { from { transform: translateY(-6px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .r-lines li.new { animation: none; } }
.r-empty { color: #999; font-style: italic; }
.r-total { display: flex; justify-content: space-between; align-items: baseline; margin: 10px 0 0; padding-top: 8px; border-top: 1.5px dashed #999; font: 900 19px/1 var(--round); color: var(--navy); }
.r-total b { font-variant-numeric: tabular-nums; }
.r-bars { height: 34px; margin: 14px 0 6px; background: repeating-linear-gradient(90deg, #222 0 2px, transparent 2px 4px, #222 4px 5px, transparent 5px 8px, #222 8px 11px, transparent 11px 12px); }
.r-foot { margin: 0; text-align: center; font-size: 11px; color: #666; }

/* sections */
.shout { margin: 0 0 14px; font: 900 clamp(36px, 6vw, 68px)/1 var(--round); letter-spacing: -.015em; }
.shout em { font-style: normal; color: var(--yellow); }
.sub { margin: 0; max-width: 38em; font: 700 18px/1.5 var(--round); color: var(--soft); }
.band { padding: clamp(64px, 9vw, 120px) 0; }
.how { background: var(--blue); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 36px 0 0; padding: 0; list-style: none; counter-reset: c; }
@media (max-width: 760px) { .cards { grid-template-columns: 1fr; } }
.card { position: relative; padding: 28px 24px 26px; border-radius: 26px; color: var(--navy); counter-increment: c; box-shadow: 0 8px 0 rgba(0,0,0,.25); }
.cards .card:nth-child(1) { transform: rotate(-1.5deg); } .cards .card:nth-child(2) { transform: rotate(1deg); } .cards .card:nth-child(3) { transform: rotate(-.7deg); }
.cards .card::before { content: counter(c); position: absolute; top: 18px; right: 22px; font: 900 56px/1 var(--round); opacity: .2; }
.card svg { width: 76px; height: 76px; margin-bottom: 8px; }
.card h3 { margin: 0 0 6px; font: 900 26px/1.1 var(--round); }
.card p { margin: 0; font: 700 16px/1.45 var(--round); }
.yellow { background: var(--yellow); } .cyan { background: var(--cyan); } .pink { background: var(--pink); color: #fff; } .green { background: var(--green); } .lilac { background: #C9B6FF; }

.shots { padding-bottom: clamp(40px, 6vw, 72px); background: radial-gradient(90% 70% at 50% 0%, var(--blue), var(--navy)); }
.rail { display: flex; gap: 18px; margin: 36px 0 0; padding: 4px max(var(--side), calc((100vw - 1200px) / 2 + var(--side))) 24px;
  list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.3) transparent; }
.rail li { flex: none; width: clamp(200px, 22vw, 260px); scroll-snap-align: center; }
.rail img { border-radius: 22px; box-shadow: 0 16px 34px rgba(0,0,0,.4); }
.rail:focus-visible { outline-offset: -3px; }
.breaks { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.breaks li { padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.1); font: 800 15px/1.2 var(--round); }
.breaks b { color: var(--yellow); }

.goals { background: var(--navy); }
.quad { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 36px 0 0; padding: 0; list-style: none; }
@media (max-width: 980px) { .quad { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .quad { grid-template-columns: 1fr; } }
.quad .card { padding: 22px 20px; border-radius: 22px; }
.quad .card svg { width: 56px; height: 56px; }
.quad .card h3 { font-size: 22px; }
.quad .card p { font-size: 15px; }

.rooms { background: radial-gradient(80% 90% at 50% 0%, #12296E, var(--navy)); }
.stickers { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 0; padding: 0; list-style: none; }
.stickers li { padding: 12px 16px 13px; border-radius: 16px; color: var(--navy); box-shadow: 0 5px 0 rgba(0,0,0,.3); }
.stickers li:nth-child(odd) { transform: rotate(-1.2deg); } .stickers li:nth-child(even) { transform: rotate(1deg); }
.stickers b { display: block; font: 900 19px/1.15 var(--round); }
.stickers span { display: block; font: 700 14px/1.35 var(--round); opacity: .8; }
.s1 { background: var(--yellow); } .s2 { background: var(--cyan); } .s3 { background: var(--green); } .s4 { background: #FFB3CF; } .s5 { background: #C9B6FF; }
.yours { margin: 34px 0 0; max-width: 40em; font: 700 18px/1.5 var(--round); color: var(--soft); }
.yours b { color: #fff; }

.chaos { background: var(--blue); }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 36px 0 0; padding: 0; list-style: none; }
@media (max-width: 980px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .tiles { grid-template-columns: 1fr; } }
.tiles li { padding: 20px; border-radius: 22px; background: rgba(10,26,79,.55); box-shadow: inset 0 0 0 2px rgba(255,255,255,.08); }
.tiles svg { width: 40px; height: 40px; margin-bottom: 10px; color: var(--yellow); }
.tiles h3 { margin: 0 0 4px; font: 900 20px/1.15 var(--round); }
.tiles p { margin: 0; font: 600 15px/1.45 var(--round); color: var(--soft); }

.end { padding: clamp(64px, 9vw, 112px) 0; text-align: center; background: radial-gradient(80% 100% at 50% 100%, var(--cobalt), var(--blue) 50%, var(--navy)); }
.sign { margin: 0 0 22px; font: 900 clamp(32px, 5.6vw, 62px)/.95 var(--round); transform: rotate(-3deg); filter: drop-shadow(0 .07em 0 rgba(0,0,0,.42)); }
.sign span + span { color: var(--yellow); }
@media (max-width: 600px) { .sign span { white-space: normal; } }
.end p.more { margin: 0 auto; max-width: 34em; font: 700 18px/1.5 var(--round); color: var(--soft); }

/* footer */
.foot { padding: 30px 0 40px; background: var(--navy-2); color: #93A3D6; font: 700 14px/1.4 var(--round); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 14px 24px; justify-content: space-between; align-items: center; }
.foot p { margin: 0; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.foot a { text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }

/* inner pages (support, privacy, impressum) */
.page-hero { position: relative; overflow: hidden; padding: 130px 0 54px; background: radial-gradient(110% 120% at 80% 0%, var(--cobalt), var(--blue) 45%, var(--navy)); }
.page-hero h1 { margin: 0 0 12px; font: 900 clamp(40px, 7vw, 76px)/1 var(--round); letter-spacing: -.015em; }
.page-hero p { margin: 0; max-width: 36em; font: 700 19px/1.5 var(--round); color: #E4EBFF; }
.page-hero .mail { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; }
.mail svg { width: 22px; height: 22px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; }
.toc a { padding: 8px 14px; border-radius: 999px; background: rgba(10,26,79,.45); font: 800 14px/1 var(--round); text-decoration: none; color: var(--soft); }
.toc a:hover { color: #fff; }
.doc { padding-top: 34px; padding-bottom: clamp(56px, 8vw, 96px); }
.doc > * { max-width: 860px; }
.sheet { margin: 0 0 20px; padding: clamp(22px, 4vw, 36px); border-radius: 26px; background: var(--glaze); color: var(--ink); box-shadow: 0 8px 0 rgba(0,0,0,.25); }
.sheet h2 { margin: 0 0 12px; font: 900 clamp(26px, 3.6vw, 34px)/1.1 var(--round); color: var(--navy); }
.sheet h3 { margin: 22px 0 6px; font: 900 19px/1.25 var(--round); color: var(--navy); }
.sheet p, .sheet li { color: #2E2B3D; }
.sheet p { margin: 0 0 12px; }
.sheet ul, .sheet ol { margin: 0 0 12px; padding-left: 22px; }
.sheet li { margin-bottom: 6px; }
.sheet a { color: #1F4E9C; text-decoration-thickness: 1.5px; text-underline-offset: 2px; }
.sheet a.chunky { color: #fff; text-decoration: none; }
.sheet strong { color: var(--ink); }
.sheet .meta { color: #6B6880; font-size: 15px; }
.rings { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 14px; padding: 0; list-style: none; }
.rings li { margin: 0; padding: 6px 12px; border-radius: 999px; font: 900 15px/1.2 var(--round); color: #fff; }
.rings li:nth-child(1) { background: #E23B3B; } .rings li:nth-child(2) { background: var(--cobalt); } .rings li:nth-child(3) { background: #fff; color: var(--navy); box-shadow: inset 0 0 0 2px #C9C3B5; } .rings li:nth-child(4) { background: var(--blue); } .rings li:nth-child(5) { background: #8A8799; }
.faq details { border-top: 1.5px solid #E2DCCD; }
.faq details:last-of-type { border-bottom: 1.5px solid #E2DCCD; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 2px; cursor: pointer; list-style: none;
  font: 900 18px/1.3 var(--round); color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font: 900 20px/1 var(--round); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 2px 8px; }
.address { font-style: normal; }

/* 404 */
.lost { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; text-align: center; }
.lost .wrap { width: 100%; }
.lost p { margin: 0 auto 28px; max-width: 30em; font: 700 19px/1.5 var(--round); color: var(--soft); }
.lost .sign { margin: 0 0 30px; max-width: none; font: 900 clamp(34px, 8vw, 84px)/.95 var(--round); color: #fff; }
.lost .links { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.ghost { background: rgba(10,26,79,.55); box-shadow: inset 0 0 0 2px rgba(255,255,255,.3); }

/* makohippo badge in the header: back to all games on makohippo.com */
.top nav a.studio { padding: 0; width: 44px; height: 44px; min-height: 44px; margin-left: 6px; display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 50%; background: #FAF8F3; box-shadow: 0 2px 8px rgba(31, 45, 74, .25); transition: transform .2s; }
.top nav a.studio:hover { background: #FAF8F3; transform: scale(1.08) rotate(-5deg); }
.top nav a.studio img { width: 34px; height: 34px; display: block; }
@media (prefers-reduced-motion: reduce) { .top nav a.studio { transition: none; } .top nav a.studio:hover { transform: none; } }

/* Safari paints the strip behind the clock in the theme colour (--blue, #1E44B8), so the top of the page fades into it */
.hero::after, .page-hero::after { content: ""; position: absolute; inset: 0 0 auto; height: 110px; pointer-events: none;
  background: linear-gradient(var(--blue), rgb(30 68 184 / 0)); }

/* Phones: the menu needs room for SF Rounded (wider than the fallback fonts) plus the makohippo badge */
@media (max-width: 440px) {
  .top nav a { padding: 10px 6px; font-size: 14px; }
  .top nav .lang { padding: 8px 8px; }
  .top nav a.studio { width: 38px; height: 38px; min-height: 38px; margin-left: 4px; }
  .top nav a.studio img { width: 30px; height: 30px; }
}
