/* Smack Talk — sticker look taken from the logo: black shapes, cyan inner outline, magenta outer outline, on deep navy. */
:root {
  --bg: #0a0824;
  --panel: #05040f;
  --ink: #ffffff;
  --muted: #b9b6d8;
  --cyan: #00dcff;
  --magenta: #ff00d0;
  --blue: #1a1aff;
  --navy: #000066;
  --display: "Poppins", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --body: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); }
body { font-family: var(--body); font-size: 17px; line-height: 1.5; }
img { max-width: 100%; }
a { color: var(--cyan); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

.wrap { max-width: 1060px; margin: 0 auto; padding: 0 20px; }

/* Top bar */
.bar { display: flex; align-items: center; gap: 14px; padding: 10px 20px; background: var(--panel); border-bottom: 3px solid var(--cyan); }
.bar .home { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--display); font-weight: 900; font-size: 16px; letter-spacing: .02em; }
.bar .home img { height: 34px; width: auto; display: block; }
.bar .where { color: var(--muted); font-size: 14px; margin-left: auto; text-align: right; }
.bar nav { display: flex; gap: 16px; margin-left: auto; flex-wrap: wrap; }
.bar nav a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 15px; }
.bar nav a:hover { color: var(--cyan); }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 36px; align-items: center; padding: 36px 0 28px; }
.hero img { width: 100%; height: auto; display: block; }
.hero h1 { font-family: var(--display); font-weight: 900; font-size: clamp(34px, 6vw, 58px); line-height: 1.02; margin: 0 0 14px; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--cyan); }
.hero p { margin: 0; color: var(--muted); font-size: 19px; max-width: 34em; }

h2.sec { font-family: var(--display); font-weight: 900; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: var(--magenta); margin: 26px 0 16px; }

/* Game tiles */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 24px; padding-bottom: 12px; }
.tile { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 20px; background: var(--panel); color: var(--ink); text-decoration: none; border: 3px solid var(--cyan); border-radius: 18px; box-shadow: 7px 7px 0 var(--magenta); transition: transform .12s ease, box-shadow .12s ease; }
a.tile:hover { transform: translate(-2px, -2px); box-shadow: 10px 10px 0 var(--magenta); }
a.tile:active { transform: translate(4px, 4px); box-shadow: 3px 3px 0 var(--magenta); }
.tile .art { height: 120px; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 10px; background: var(--navy); overflow: hidden; }
.tile .art img { max-height: 100px; width: auto; }
.tile .art.light { background: #fff; }
.tile .art.light img { max-height: 112px; }
.tile .art.words { font-family: var(--display); font-weight: 900; font-size: 30px; line-height: 1; text-align: center; padding: 0 10px; }
.tile .art.words span { color: var(--cyan); }
.tile h3 { font-family: var(--display); font-weight: 900; font-size: 24px; line-height: 1.1; margin: 4px 0 0; }
.tile p { margin: 0; color: var(--muted); font-size: 16px; }
.tile .meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 8px; font-size: 14px; color: var(--muted); }
.pill { display: inline-block; padding: 5px 12px; border-radius: 999px; font-family: var(--display); font-weight: 800; font-size: 13px; letter-spacing: .04em; background: var(--cyan); color: #000; white-space: nowrap; }
.pill.soon { background: transparent; color: var(--magenta); border: 2px solid var(--magenta); }
.tile.soon { border-style: dashed; box-shadow: none; }

/* Page intro (menus, coming soon) */
.intro { padding: 30px 0 6px; }
.intro h1 { font-family: var(--display); font-weight: 900; font-size: clamp(34px, 6vw, 54px); line-height: 1.02; margin: 0 0 10px; }
.intro h1 span { color: var(--cyan); }
.intro p { margin: 0; color: var(--muted); max-width: 38em; }

.lineup { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; padding: 26px 20px; margin: 24px 0; background: var(--navy); border: 3px solid var(--cyan); border-radius: 18px; box-shadow: 7px 7px 0 var(--magenta); }
.lineup img { height: clamp(70px, 14vw, 132px); width: auto; }
.cards { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0; }
.cards img { height: 150px; width: auto; border-radius: 8px; border: 2px solid #26244a; }
.facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; }
.facts li { padding: 6px 14px; border: 2px solid var(--cyan); border-radius: 999px; font-weight: 700; font-size: 15px; }

footer { margin-top: 40px; padding: 22px 0 34px; border-top: 2px solid #26244a; color: var(--muted); font-size: 14px; }

/* Game shell: bar on top, game fills the rest */
html.shell, html.shell body { height: 100%; }
html.shell body { display: flex; flex-direction: column; }
html.shell iframe { flex: 1 1 auto; width: 100%; border: 0; background: #fff; min-height: 0; }

@media (max-width: 700px) {
  .hero { grid-template-columns: 1fr; gap: 18px; padding-top: 22px; }
  .hero img { max-width: 250px; }
  .bar { padding: 8px 14px; }
  .bar .home span { display: none; }
}
@media (prefers-reduced-motion: reduce) { .tile { transition: none; } }

/* Obliterate title, same as in the game: marker lettering, blood-red drop, slight tilt */
.obl-logo, .intro h1.obl-logo { font: 400 64px/1 "Permanent Marker", "Marker Felt", "Comic Sans MS", cursive; color: #fff; letter-spacing: .02em; text-transform: uppercase; text-shadow: 3px 3px 0 #e23b4e, 0 0 28px rgba(226, 59, 78, .55); transform: rotate(-3deg); display: inline-block; margin: 0; }
.tile .art.obl { background: #23070c; flex-direction: column; gap: 0; }
.tile .art.obl .obl-logo { font-size: 34px; text-shadow: 2px 2px 0 #e23b4e, 0 0 18px rgba(226, 59, 78, .55); }
.tile .art.obl .row { display: flex; gap: 6px; margin-top: 4px; }
.tile .art.obl img { max-height: 54px; }
.obl-page { background: #23070c; }
.obl-page .lineup { background: #3b0d15; border-color: #57212c; box-shadow: 7px 7px 0 #e23b4e; }
.obl-page .tag { font-size: 20px; color: #f7ede7; margin-top: 18px; max-width: 30em; }
.obl-page h2.sec { color: #e23b4e; }
@media (max-width: 700px) { .obl-logo { font-size: 44px; } }

.tile .art.he { font: 400 44px/.86 "Rubik Glitch", Impact, sans-serif; color: #121212; text-align: center; }
.tile .art.he div { transform: rotate(-4deg); }
.hero p.lead { font-family: var(--display); font-weight: 800; font-size: clamp(24px, 3.6vw, 34px); line-height: 1.15; color: var(--ink); margin-bottom: 12px; }

/* Each tile wears its own game's colors */
.tile { --tb: var(--panel); --tl: var(--cyan); --ts: var(--magenta); --tt: var(--ink); --tm: var(--muted); --pb: var(--cyan); --pt: #000;
  background: var(--tb); border-color: var(--tl); box-shadow: 7px 7px 0 var(--ts); color: var(--tt); }
a.tile:hover { box-shadow: 10px 10px 0 var(--ts); }
a.tile:active { box-shadow: 3px 3px 0 var(--ts); }
.tile p, .tile .meta { color: var(--tm); }
.tile .pill { background: var(--pb); color: var(--pt); }
.tile.soon { border-style: solid; box-shadow: 7px 7px 0 var(--ts); }
.tile .pill.soon { background: transparent; color: var(--pb); border-color: var(--pb); }

.t-ml { --tb: #050506; --tl: #19b9e6; --ts: #0c5d73; --tm: #b9babe; --pb: #19b9e6; }
.t-beat { --tb: #070708; --tl: #f5c518; --ts: #7a620c; --tm: #b9babe; --pb: #f5c518; }
.tile .art.mark { background: #111214; font: 400 38px/1 "Anton", Impact, "Arial Narrow", sans-serif; letter-spacing: .5px; color: #fff; text-align: center; }
.t-ml .art.mark span { color: #19b9e6; }
.t-beat .art.mark span { color: #f5c518; }
.tile .art.mark.rungs { border-top: 10px solid #f5c518; border-bottom: 10px solid #f5c518; border-radius: 0; }

.t-lmam { --tb: #3d1014; --tl: #d6a24a; --ts: #1c0608; --tm: #f3d9db; --pb: #d6a24a; }
.t-lmam .art { background: radial-gradient(ellipse at 50% 30%, #5b1a1f, #3d1014 80%); }
.t-lmam .art img { max-height: 104px; }

.t-he { --tb: #ffffff; --tl: #121212; --ts: #b5b5b5; --tt: #121212; --tm: #5a5a5a; --pb: #121212; --pt: #fff; }
.t-he .art.he { background: radial-gradient(#121212 30%, transparent 33%) 0 0/9px 9px, #fff; }
.t-he .art.he div { background: #fff; box-shadow: 0 0 18px 16px #fff; }

.t-pb { --tb: #f4f1ea; --tl: #2254a4; --ts: #ff7828; --tt: #1d2433; --tm: #6b7385; --pb: #2254a4; --pt: #fff; }
.t-pb .art { position: relative; background: #2254a4; border: 3px solid #f3ead8; font: 800 30px/1 var(--display); color: #fff; letter-spacing: .04em; }
.t-pb .art::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 3px dashed #f3ead8; opacity: .6; }
.t-pb .art span { position: relative; background: #2254a4; padding: 0 10px; }
.t-pb .art i { position: absolute; right: 16%; top: 18%; width: 20px; height: 20px; border-radius: 50%; background: #d3e52b; }

.t-obl { --tb: #23070c; --tl: #e23b4e; --ts: #57212c; --tm: #c9a9a4; --pb: #e23b4e; }
.t-obl .art.obl { background: #3b0d15; }

.hero.solo { display: flex; justify-content: center; padding: 34px 0 10px; }
.hero.solo img { width: min(440px, 78vw); }

.obl-page .bar { background: #1a090d; border-color: #e23b4e; }
.obl-page .pill.soon { color: #e23b4e; border-color: #e23b4e; }
.obl-page .facts li { border-color: #e23b4e; }
.obl-page a { color: #5cc8ff; }
.obl-page footer { border-color: #57212c; }

/* Let's Make A Movie: charcoal, gold and cream from the sell sheet */
.t-lmam { --tb: #1a1a21; --tl: #d6aa52; --ts: #7a5f2a; --tt: #f3ecdc; --tm: #cfc6b2; --pb: #d6aa52; }
.t-lmam .art { background: #1a1a21; height: 150px; border-bottom: 3px solid #b8892f; border-radius: 10px 10px 0 0; }
.t-lmam .art img { max-height: 142px; }

/* Every tile keeps the Smack Talk frame (cyan edge, magenta drop); the game's own colors live inside its window */
.t-ml, .t-beat, .t-lmam, .t-he, .t-pb, .t-obl { --tb: var(--panel); --tl: var(--cyan); --ts: var(--magenta); --tt: var(--ink); --tm: var(--muted); --pb: var(--cyan); --pt: #000; }
.t-obl { --pb: var(--magenta); }
.t-lmam .art { border-bottom: 0; border-radius: 10px; }
