/* The lobby: every game in one place, laid out like a newspaper games page. */
.lobby { background: var(--white); color: var(--ink); }

.lobby-bar {
  padding: 12px max(20px, calc((100% - 1120px) / 2)); border-bottom: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
}
.lobby-bar::before { content: ""; }
.lobby-brand { justify-self: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.lobby-brand .lockup { --lh: 42px; }
.lobby-tagline { font-size: 17px; font-weight: 600; color: var(--muted); }
.lobby-bar .lobby-link { justify-self: end; }
.lobby-link { font-weight: 800; font-size: 15px; line-height: 1; text-decoration: none; padding: 8px 15px; border-radius: 999px; border: 2px solid var(--ink); }
.lobby-link:hover { background: var(--ink); color: var(--white); }

.lobby-hero { max-width: 1160px; margin: 0 auto; padding: 30px 20px 44px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.lobby-hero h1 { font-family: var(--display); font-weight: 400; font-size: clamp(28px, calc((100vw - 40px) / 9.65), 112px); line-height: 1; letter-spacing: .01em; text-transform: uppercase; max-width: 1100px; text-wrap: balance; }
.lobby-hero p { font-size: clamp(18px, 2.2vw, 22px); line-height: 1.5; font-weight: 500; color: #3A3F47; max-width: 760px; text-wrap: balance; }

.lobby-hero h1 span { display: block; }
.lobby-sub { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lobby-hero p b { font-weight: 800; color: var(--ink); }
.lobby-hero p a { color: var(--ink); font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.lobby-hero p a:hover { color: var(--blue); }

.lobby-games {
  max-width: 1160px; margin: 0 auto; padding: 0 20px 64px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px;
}
.card {
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: 24px; border: 2px solid #E3E3E1; background: var(--white);
  text-decoration: none; color: inherit;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
a.card:hover { transform: translateY(-3px); border-color: var(--ink); box-shadow: 0 10px 0 -4px rgba(21, 24, 29, .08); }
.card-art { height: 230px; display: flex; align-items: center; justify-content: center; }
.card-art img { width: 150px; height: 150px; }
.card-body { padding: 24px 26px 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; flex: 1; }
.card-body h2, .card-body h3 { font-size: 56px; line-height: 1; letter-spacing: .02em; }
.card-body p { font-size: 19px; line-height: 1.4; font-weight: 600; color: #3A3F47; }
.card-btn { margin-top: auto; min-height: 58px; min-width: 150px; font-size: 19px; }
.card-soon { margin-top: auto; font-size: 15px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--paper); padding: 10px 16px; border-radius: 999px; }
.card.is-soon .card-art img { opacity: .92; }

.lobby-block { max-width: 1120px; margin: 0 auto 22px; background: var(--paper); border-radius: 24px; padding: 40px; display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 1200px) { .lobby-block { margin-left: auto; margin-right: auto; } }
.lobby-block h2 { font-family: var(--display); font-weight: 400; font-size: clamp(34px, 5vw, 50px); line-height: 1.05; letter-spacing: .01em; max-width: 760px; }
.lobby-block .muted { font-size: 19px; color: var(--muted); max-width: 680px; }
.lobby-block .eyebrow { font-size: 15px; }
.lobby-block .form { max-width: 680px; }
.lobby-block .form input[type=email] { min-height: 64px; font-size: 19px; padding: 0 24px; }
.lobby-block .form .btn { min-height: 64px; font-size: 19px; padding: 0 28px; }
.lobby-block .form-msg { font-size: 17px; }
.lobby-teams { background: var(--ink); color: var(--white); }
.lobby-teams .eyebrow { color: var(--muted-dark); }
.lobby-teams .ticks li { font-size: 19px; }
.lobby-teams .ticks li::before { width: 16px; height: 16px; margin-top: 9px; }
.lobby-teams .form input[type=email] { border-color: var(--ink-3); }
.lobby-teams .form-msg.ok { color: #34C9BE; }
.lobby-teams .form-msg.err { color: #FF7A62; }

.lobby-foot { max-width: 1160px; margin: 0 auto; padding: 40px 20px 64px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; color: var(--muted); }
.lobby-foot .tagline { color: var(--ink); font-weight: 800; font-size: 22px; }
.lobby-foot .fine { font-size: 15px; }

@media (max-width: 960px) {
  .lobby-games { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .lobby-bar { padding: 10px 16px; }
  .lobby-brand { gap: 8px; }
  .lobby-brand .lockup { --lh: 34px; }
  .lobby-tagline { font-size: 15px; }
  .lobby-link { font-size: 13px; padding: 6px 11px; white-space: nowrap; }   /* the only way to the teams page, so it stays on phones */
  .lobby-hero { padding: 24px 16px 32px; }
  .lobby-games { grid-template-columns: minmax(0, 1fr); padding: 0 16px 48px; gap: 16px; }
  .card-art { height: 190px; }
  .card-art img { width: 130px; height: 130px; }
  .card-body h2, .card-body h3 { font-size: 48px; }
  .lobby-block { margin: 0 16px 16px; padding: 26px; }
  .lobby-block .form .btn { width: 100%; }
}

/* Shuffle is a way to play every game, so it's a link under the cards, not a card of its own */
.lobby-shuffle { display: flex; justify-content: center; padding: 0 20px 64px; margin-top: -30px; }
.lobby-shuffle a {
  display: inline-flex; align-items: center; gap: 14px; padding: 10px 26px 10px 10px; border-radius: 999px;
  border: 2px solid var(--ink); color: var(--ink); text-decoration: none; font-size: 19px; font-weight: 600;
  transition: background-color .15s ease, transform .15s ease;
}
.lobby-shuffle a:hover { background: var(--paper); transform: translateY(-2px); }
.lobby-shuffle img { width: 44px; height: 44px; border-radius: 12px; }
.lobby-shuffle b { font-weight: 800; }
.lobby-shuffle a { white-space: nowrap; }
@media (max-width: 560px) {
  .lobby-shuffle { margin-top: -40px; }
  .lobby-shuffle a { font-size: 17px; gap: 12px; padding: 8px 20px 8px 8px; }
  .lobby-shuffle img { width: 40px; height: 40px; }
}

/* teams: a light block with one button; the only form lives on /teams/ */
.lobby-teams { background: var(--white); color: var(--ink); border: 2px solid #E3E3E1; }
.lobby-teams .eyebrow { color: var(--muted); }
.lobby-teams .ticks li::before, .teams-join .ticks li::before { background: var(--ink); box-shadow: none; }
.teams-btn { align-self: flex-start; min-height: 60px; font-size: 19px; padding: 0 28px; margin-top: 6px; }
.teams-hero .eyebrow { font-size: 15px; margin-bottom: -6px; }
.teams-join { gap: 18px; }
.teams-join h2 { margin-top: 10px; }
.teams-join .ticks li { font-size: 19px; }
@media (max-width: 560px) { .teams-btn { align-self: stretch; } }

/* footer links: the pages that aren't games */
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot-links a { color: var(--ink); font-weight: 700; font-size: 17px; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.foot-links a:hover { color: var(--blue); }

/* the homepage in sections: the games on a full width band of paper, then Scam radar on white */
.lobby-band { padding-top: 52px; }
.band-games { background: var(--paper); }
.band-games .lobby-shuffle a:hover { background: var(--white); }
.band-head {
  max-width: 1160px; margin: 0 auto 26px; padding: 0 20px; font-family: var(--display); font-weight: 400;
  font-size: clamp(34px, 4.4vw, 52px); line-height: 1; letter-spacing: .02em; text-transform: uppercase;
}
.band-radar .card-body h3 { font-size: 44px; line-height: 1.02; }
.art-live { background: var(--ink); color: var(--white); gap: 16px; }
.art-live b, .art-az b { font-family: var(--display); font-weight: 400; line-height: 1; letter-spacing: .04em; }
.art-live b { font-size: 72px; }
.art-live .live-dot { width: 20px; height: 20px; }
.art-report { background: #FFE27A; }
.art-az { background: #E2559C; color: var(--ink); }
.art-az b { font-size: 96px; }
@media (max-width: 640px) {
  .lobby-band { padding-top: 36px; }
  .band-head { padding: 0 16px; margin-bottom: 18px; font-size: 36px; }
  .band-radar .card-body h3 { font-size: 40px; }
  .art-live b { font-size: 60px; }
  .art-az b { font-size: 80px; }
}

/* free tools: compact cards, a coloured tile with a word on it, then the name and one line */
.band-tools { padding-bottom: 56px; }
.tool-grid { max-width: 1160px; margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.tool-card {
  display: flex; align-items: center; gap: 16px; padding: 14px; border-radius: 20px; border: 2px solid #E3E3E1; background: var(--white);
  text-decoration: none; color: inherit; transition: transform .15s ease, border-color .15s ease;
}
.tool-card:hover { transform: translateY(-2px); border-color: var(--ink); }
.tool-tile {
  flex: none; width: 76px; height: 76px; border-radius: 18px; display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-size: 28px; line-height: 1; letter-spacing: .02em; color: var(--ink);
}
.tool-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.tool-name { margin: 0; font-family: var(--display); font-weight: 400; font-size: 26px; line-height: 1.05; letter-spacing: .01em; }
.tool-line { font-size: 15px; line-height: 1.35; font-weight: 600; color: #3A3F47; }
.tools-page { padding-bottom: 48px; }
.tools-page .tool-tile { width: 92px; height: 92px; font-size: 34px; }
.tools-page .tool-name { font-size: 30px; }
.tools-h1 { font-size: clamp(36px, 7.6vw, 84px); }
/* nine tools: three across on a wide screen (three rows of three), as tall cards (tile on top), like iLoveIMG's tool grid */
@media (min-width: 961px) {
  .tool-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tool-card { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 960px) { .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .tool-grid { grid-template-columns: minmax(0, 1fr); padding: 0 16px; gap: 10px; }
  .tool-tile { width: 64px; height: 64px; font-size: 24px; border-radius: 16px; }
  .tool-name { font-size: 23px; }
  .tools-page .tool-tile { width: 72px; height: 72px; font-size: 26px; }
  .tools-page .tool-name { font-size: 25px; }
}

/* Hack radar sits on paper like the games, so the bands alternate */
.band-hack { background: var(--paper); }
.band-radar .card-body h3, .band-hack .card-body h3 { font-size: 44px; line-height: 1.02; }
.art-update { background: #DCE3EC; }
.art-update svg { width: 120px; height: 120px; fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.art-pass { background: #E2A62B; color: var(--ink); }
.art-pass b { font-family: var(--display); font-weight: 400; font-size: 96px; line-height: 1; letter-spacing: .06em; }
@media (max-width: 640px) {
  .band-hack .card-body h3 { font-size: 40px; }
  .art-update svg { width: 96px; height: 96px; }
  .art-pass b { font-size: 80px; }
}

/* Bank scams tile, and the True stories band (paper again, after the white tools band) */
.art-bank { background: #FFE27A; }
.art-bank svg { width: 120px; height: 120px; fill: none; stroke: var(--ink); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.band-stories { background: var(--paper); padding-bottom: 10px; }
.stories-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.art-story { flex-direction: column; gap: 6px; color: var(--white); }
.art-story b { font-family: var(--display); font-weight: 400; font-size: 84px; line-height: .9; letter-spacing: .02em; }
.art-story span { font-size: 16px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.band-stories .card-body h3 { font-size: 40px; line-height: 1.02; }
@media (max-width: 640px) {
  .stories-grid { grid-template-columns: minmax(0, 1fr); }
  .art-bank svg { width: 96px; height: 96px; }
  .art-story b { font-size: 68px; }
  .band-stories .card-body h3 { font-size: 36px; }
}

/* the Chrome extension, coming soon: a strip under the tools */
.ext-strip { max-width: 1120px; margin: 16px auto 0; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 14px 18px; border-radius: 18px; background: var(--ink); color: var(--white); text-decoration: none; font-size: 16px; }
.tools-page .ext-strip { margin-top: 18px; }
.ext-strip-tag { background: var(--white); color: var(--ink); border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.ext-strip-go { margin-left: auto; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1160px) { .ext-strip { margin-left: 20px; margin-right: 20px; } }
@media (max-width: 640px) { .ext-strip { margin-left: 16px; margin-right: 16px; } .ext-strip-go { margin-left: 0; } }
/* a line under a homepage section heading */
.band-sub { max-width: 1160px; margin: -12px auto 24px; padding: 0 20px; font-size: clamp(17px, 2vw, 20px); line-height: 1.45; font-weight: 500; color: var(--muted); text-wrap: balance; }
@media (max-width: 640px) { .band-sub { padding: 0 16px; margin: -8px auto 18px; } }

/* Scam radar's tile: scam messages landing on a phone. Hack radar's tile: a hacker's terminal.
   Both are live, but they shouldn't look the same (Jamey). */
.art-scams { position: relative; background: #F0644A; flex-direction: column; align-items: stretch; justify-content: center; gap: 8px; padding: 34px 18px 16px; }
.art-scams .feed-live, .art-term .t-live { display: inline-flex; align-items: center; gap: 7px; font: 800 12px/1 var(--body); letter-spacing: .14em; }
.art-scams .feed-live { position: absolute; top: 14px; left: 18px; color: var(--white); }
.art-scams .live-dot, .art-term .live-dot { width: 10px; height: 10px; }
.art-scams .note { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 9px 12px; border-radius: 14px; background: rgba(255, 255, 255, .96); box-shadow: 0 3px 10px rgba(21, 24, 29, .14); color: var(--ink); font: 500 14px/1.25 var(--body); text-align: left; animation: notein .5s cubic-bezier(.2, .8, .2, 1) both; }
.art-scams .note:nth-of-type(2) { animation-delay: .25s; }
.art-scams .note:nth-of-type(3) { animation-delay: .5s; }
.art-scams .note svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; }
.art-scams .note > span { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.art-scams .note b { font-weight: 800; margin-right: 4px; }
@keyframes notein { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
.art-term { background: #0E1116; color: #C9DBFF; flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; padding: 0 22px; font: 600 15px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; text-align: left; }
.art-term .t-line { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; animation: notein .4s ease both; }
.art-term .t-line:nth-child(2) { animation-delay: .2s; }
.art-term .t-line:nth-child(3) { animation-delay: .4s; }
.art-term .t-line:nth-child(4) { animation-delay: .6s; }
.art-term .t-line:nth-child(5) { animation-delay: .8s; }
.art-term .t-live { color: #FFFFFF; margin-right: 6px; }
.art-term .t-tag { display: inline-block; min-width: 72px; color: #7FB0FA; font-weight: 800; }
.art-term .t-red { color: #FF8A80; }
.art-term .t-cursor { display: inline-block; width: 9px; height: 16px; vertical-align: -2px; background: #C9DBFF; animation: tblink 1s steps(1) infinite; }
@keyframes tblink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .art-scams .note, .art-term .t-line, .art-term .t-cursor { animation: none; } }
@media (max-width: 640px) { .art-scams { padding: 32px 14px 12px; gap: 7px; } .art-scams .note { font-size: 13px; padding: 8px 10px; } .art-term { font-size: 14px; padding: 0 18px; } }
.art-scams .live-dot { background: #FFFFFF; box-shadow: 0 0 0 0 rgba(255, 255, 255, .6); }

/* the homepage hero: the line, six game faces with their names (each opens its game), and one big Play button */
.hero-faces { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; margin: 26px 0 0; }
.hero-faces a { display: flex; flex-direction: column; align-items: center; gap: 7px; color: var(--ink); text-decoration: none; font-family: var(--display); font-size: 16px; line-height: 1; letter-spacing: .06em; }
.hero-faces img { width: 64px; height: 64px; border-radius: 16px; display: block; animation: facepop .5s cubic-bezier(.3, 1.5, .5, 1) both; }
.hero-faces a { transition: transform .15s ease; }
@media (hover: hover) { .hero-faces a:hover { transform: translateY(-3px) rotate(-4deg); } }
.hero-faces a:nth-child(2) img { animation-delay: .07s; } .hero-faces a:nth-child(3) img { animation-delay: .14s; }
.hero-faces a:nth-child(4) img { animation-delay: .21s; } .hero-faces a:nth-child(5) img { animation-delay: .28s; }
.hero-faces a:nth-child(6) img { animation-delay: .35s; }
@keyframes facepop { from { opacity: 0; transform: translateY(10px) scale(.8); } to { opacity: 1; transform: none; } }
.hero-play { display: flex; width: max-content; max-width: 100%; margin: 26px auto 0; min-height: 66px; padding: 0 40px; font-size: 21px; }
@media (prefers-reduced-motion: reduce) { .hero-faces img { animation: none; } }
@media (max-width: 640px) {
  .hero-faces { gap: 10px; margin-top: 20px; }
  .hero-faces a { font-size: 13px; gap: 6px; }
  .hero-faces img { width: 48px; height: 48px; border-radius: 12px; }
  .hero-play { width: 100%; max-width: 420px; margin-top: 22px; min-height: 62px; font-size: 20px; }
}

/* AI radar: its own look, so it never reads as a copy of the scam and hack radars */
.band-ai { background: #F4F0FF; padding-bottom: 8px; }
.art-ai { background: #8B5CF0; color: var(--white); flex-direction: column; gap: 14px; }
.ai-chip { padding: 6px 11px; border-radius: 999px; background: rgba(255, 255, 255, .18); font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.ai-wave { display: flex; align-items: center; gap: 6px; height: 66px; }
.ai-wave i { width: 7px; height: var(--h); border-radius: 4px; background: var(--white); animation: aiwave 1.3s ease-in-out var(--d) infinite; transform-origin: center; }
.ai-quote { font-size: 17px; font-weight: 700; }
@keyframes aiwave { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.45); } }
.art-agent { background: #DDD3FF; padding: 0 22px; }
.ag-win { position: relative; width: 100%; max-width: 300px; background: var(--white); border-radius: 14px; box-shadow: 0 10px 24px rgba(21, 24, 29, .14); padding: 0 0 16px; display: flex; flex-direction: column; gap: 9px; text-align: left; }
.ag-bar { display: flex; align-items: center; gap: 5px; padding: 9px 12px; border-bottom: 1px solid #ECE8F5; }
.ag-bar i { width: 8px; height: 8px; border-radius: 50%; background: #D5CFE3; }
.ag-bar b { margin-left: 6px; font-size: 12px; font-weight: 800; color: var(--muted); }
.ag-line { padding: 0 14px; font-size: 14px; font-weight: 700; line-height: 1.35; }
.ag-hid { margin: 0 10px; padding: 7px 10px; border-radius: 8px; background: #FFF1D6; color: #7A4B00; font-size: 12.5px; font-weight: 700; }
.ag-stop { position: absolute; right: -10px; bottom: -14px; padding: 7px 12px; border-radius: 999px; background: var(--ink); color: var(--white); font-size: 12px; font-weight: 800; transform: rotate(-4deg); box-shadow: 0 6px 14px rgba(21, 24, 29, .25); }
.art-check { background: #F0644A; color: var(--white); }
.art-check b { font-family: var(--display); font-weight: 400; font-size: 104px; line-height: 1; letter-spacing: .04em; }
@media (max-width: 640px) { .art-check b { font-size: 84px; } .ai-wave { height: 56px; } }
@media (prefers-reduced-motion: reduce) { .ai-wave i { animation: none; } }
