/* Home and round pages. Tiles, buttons, fonts and category colours come from the game. */
@import url(/play/style.css);

html, body { height: auto; }
body {
  min-height: 100vh;
  background: radial-gradient(120% 60% at 50% 0%, #2a2133 0%, #120d18 55%, #050308 100%) fixed;
  -webkit-user-select: auto; user-select: auto;
  overscroll-behavior: auto;
}
a { color: var(--cyan); }

.top {
  display: flex; justify-content: space-between; align-items: center;
  max-width: 1160px; margin: 0 auto; padding: 14px 16px;
}
.brand { font-family: var(--display); font-size: 30px; color: #fff; text-decoration: none; text-shadow: 3px 3px 0 #000; }
.brand span { color: var(--yellow); }
.top-play { font-family: var(--display); font-size: 20px; color: #000; background: var(--yellow); padding: 8px 16px; border-radius: 12px; text-decoration: none; box-shadow: 0 0 12px var(--yellow); }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px 24px; }
.wrap.has-side { display: grid; gap: 24px; }
@media (min-width: 1100px) {
  .wrap.has-side { grid-template-columns: minmax(0, 1fr) 300px; }
  .side { position: sticky; top: 16px; align-self: start; }
}
@media (max-width: 1099px) { .side { display: none; } }

.hero { text-align: center; padding: 28px 12px 8px; }
.hero h1 {
  margin: 0 0 8px; font-family: var(--display); font-weight: 400;
  font-size: clamp(40px, 9vw, 76px); line-height: 1;
  color: var(--yellow); -webkit-text-stroke: 8px #000; paint-order: stroke fill;
  text-shadow: 4px 5px 0 #000, 0 0 30px var(--pink);
}
.hero .facts { margin: 0 0 20px; color: #c9b8ff; font-size: 17px; }
.hero .big { width: min(100%, 360px); margin: 0 auto; }
.crumb { margin: 0 0 10px; font-size: 15px; }

h2 { font-family: var(--display); font-weight: 400; font-size: 30px; margin: 28px 0 14px; text-shadow: 3px 3px 0 #000; }

.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
a.tile { text-decoration: none; }
.tiles .tile .name { font-size: clamp(18px, 2.2vw, 24px); }
.tiles .tile .icon { font-size: 46px; }

.chips { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.chips li { padding: 6px 12px; border-radius: 999px; border: 2px solid var(--a, var(--cyan)); font-size: 15px; }

.samples { display: grid; gap: 10px; }
.sample { border: 2px solid rgba(255,255,255,.18); border-radius: 14px; background: rgba(0,0,0,.3); padding: 14px 16px; }
.sample summary { cursor: pointer; font-size: 18px; line-height: 1.35; }
.sample .ans { margin: 10px 0 0; color: var(--yellow); font-family: var(--display); font-size: 22px; }

.foot { text-align: center; padding: 24px 16px 32px; color: #c9b8ff; font-size: 14px; }
.foot a { color: #fff; }

.prose { max-width: 680px; margin: 0 auto; padding: 24px 4px 8px; font: 18px/1.6 system-ui, sans-serif; }
.prose h1 { font-family: var(--display); font-weight: 400; font-size: clamp(38px, 7vw, 56px); line-height: 1.05; color: var(--yellow);
  -webkit-text-stroke: 7px #000; paint-order: stroke fill; text-shadow: 4px 5px 0 #000; margin: 0 0 18px; }
.prose h2 { font-size: 24px; margin: 26px 0 6px; }
.prose p { margin: 0 0 14px; color: #ece6ff; }

:focus-visible { outline: 3px solid #19e3ff; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; } }
