@font-face {
  font-family: Outfit;
  src: url("/assets/Outfit.ttf") format("truetype");
  font-display: swap;
  font-weight: 100 900;
}
:root {
  --ink: #352218;
  --choc: #251713;
  --cocoa: #482b1f;
  --caramel: #a96737;
  --gold: #f2b65f;
  --cream: #fff0d5;
  --butter: #fff8eb;
  --line: #dac6a4;
  --muted: #806850;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 95px;
}
body {
  margin: 0;
  background: var(--butter);
  color: var(--ink);
  font:
    17px/1.6 Outfit,
    Arial,
    sans-serif;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
summary {
  touch-action: manipulation;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #b9632d;
  outline-offset: 5px;
}
img,
svg {
  max-width: 100%;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.04;
  letter-spacing: -0.045em;
}
h1 {
  font-size: clamp(45px, 5.2vw, 78px);
  font-weight: 900;
}
h2 {
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 850;
}
h3 {
  font-size: 25px;
}
p + p {
  margin-top: 15px;
}
small {
  font-size: 13px;
}
button {
  border: 0;
}
.header {
  height: 88px;
  max-width: 1440px;
  padding: 0 5%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  border-bottom: 1px solid var(--line);
}
.brand {
  font-weight: 900;
  font-size: 26px;
  letter-spacing: -1.3px;
  display: flex;
  gap: 9px;
  align-items: center;
}
.brand span {
  font-size: 9px;
  letter-spacing: 2px;
  writing-mode: vertical-rl;
  font-weight: 650;
}
.header nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  font-weight: 600;
}
.header nav a:hover {
  color: var(--caramel);
}
.nav-login {
  border: 1.5px solid var(--ink);
  padding: 11px 19px;
  border-radius: 12px;
  box-shadow: 0 3px 0 var(--ink);
}
.menu-toggle {
  display: none;
}
.skip {
  position: absolute;
  top: -70px;
  z-index: 20;
  background: var(--gold);
  padding: 10px;
}
.skip:focus {
  top: 0;
}
.hero {
  max-width: 1440px;
  margin: auto;
  position: relative;
  min-height: 715px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  padding: 80px 6% 90px;
  align-items: center;
  overflow: hidden;
}
.eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2.3px;
  font-weight: 750;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 25px;
}
.eyebrow:before {
  content: "";
  width: 24px;
  height: 2px;
  background: currentColor;
}
.hero h1 {
  max-width: 650px;
  position: relative;
  z-index: 2;
}
.hero h1 em {
  font-style: normal;
  color: var(--caramel);
  position: relative;
  white-space: nowrap;
}
.hero h1 em:after {
  content: "";
  height: 6px;
  background: var(--gold);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  border-radius: 80%;
  transform: rotate(-3deg);
}
.hero-copy > p {
  color: var(--muted);
  max-width: 440px;
  font-size: 19px;
  margin: 30px 0;
}
.actions {
  display: flex;
  gap: 17px;
  align-items: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
  font-weight: 750;
  font-size: 15px;
  padding: 14px 23px;
  border: 2px solid var(--ink);
  border-radius: 13px;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 5px 0 var(--ink);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 0 var(--ink);
}
.btn:active {
  transform: translateY(4px);
  box-shadow: 0 1px 0 var(--ink);
}
.btn.secondary {
  background: transparent;
  box-shadow: none;
}
.btn.small {
  padding: 8px 15px;
  font-size: 13px;
  box-shadow: 0 3px 0 var(--ink);
}
.hero .tiny-note {
  margin: 26px 0 0;
  font-size: 12px;
  color: var(--muted);
  display: flex;
  gap: 18px;
}
.tiny-note span:before {
  content: "✓";
  margin-right: 7px;
  color: var(--caramel);
}
.mascot-scene {
  position: relative;
  min-height: 500px;
  margin-left: 15px;
  isolation: isolate;
}
.scene-disc {
  position: absolute;
  inset: 20px 0 10px;
  background: #f6d89c;
  border-radius: 48% 52% 57% 43% / 48% 45% 55% 52%;
  transform: rotate(-11deg);
  z-index: -2;
}
.scene-disc:after {
  content: "";
  position: absolute;
  inset: 19px;
  border: 1px dashed #d7a760;
  border-radius: inherit;
}
.mascot-button {
  padding: 0;
  background: none;
  width: 100%;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}
.mascot-button img {
  width: 445px;
  height: 480px;
  object-fit: contain;
  filter: drop-shadow(0 20px 7px #56351f1a);
  transition: transform 0.3s;
}
.mascot-button:hover img {
  transform: rotate(-3deg) translateY(-7px);
}
.mascot-button.jump img {
  animation: hop 0.5s;
}
.speech {
  position: absolute;
  left: 10%;
  top: 5%;
  background: var(--butter);
  border: 2px solid var(--ink);
  padding: 7px 16px;
  border-radius: 12px;
  box-shadow: 3px 4px 0 #b27447;
  font-size: 13px;
  font-weight: 700;
  transform: rotate(-7deg);
  z-index: 4;
}
.scene-cookie {
  position: absolute;
  width: 60px;
  transform: rotate(17deg);
  right: -5%;
  top: 13%;
  z-index: 3;
  filter: drop-shadow(3px 5px 0 #35221815);
}
.scene-cookie.two {
  left: -4%;
  top: auto;
  bottom: 14%;
  width: 40px;
  transform: rotate(-20deg);
}
.scene-star {
  position: absolute;
  right: 12%;
  bottom: 6%;
  font-size: 45px;
  color: var(--caramel);
}
.scene-sticker {
  position: absolute;
  right: -3%;
  bottom: 20%;
  background: var(--cocoa);
  color: var(--cream);
  padding: 12px 17px;
  border-radius: 14px;
  transform: rotate(7deg);
  font-size: 13px;
  line-height: 1.4;
  z-index: 3;
  box-shadow: 0 5px 0 #b88c5f;
}
.scene-sticker b {
  display: block;
  color: var(--gold);
  font-size: 21px;
}
.ticker {
  --ticker-gap: clamp(24px, 3.4vw, 45px);
  overflow: hidden;
  background: var(--cocoa);
  padding: 20px 0;
  color: var(--cream);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 1.3px;
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 28s linear infinite;
}
.ticker-group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-around;
  gap: var(--ticker-gap);
  min-width: 100vw;
  padding-right: var(--ticker-gap);
}
.ticker span {
  display: flex;
  align-items: center;
  gap: var(--ticker-gap);
  flex-shrink: 0;
  white-space: nowrap;
}
.ticker span:after {
  content: "✦";
  color: var(--gold);
}
@keyframes ticker-scroll {
  to {
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track {
    animation: none;
    width: 100%;
  }
  .ticker-group {
    min-width: 0;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 20px;
  }
  .ticker-group[aria-hidden="true"] {
    display: none;
  }
}
.section {
  max-width: 1300px;
  padding: 90px 5%;
  margin: auto;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 35px;
  margin-bottom: 35px;
}
.section-heading p {
  color: var(--muted);
  max-width: 340px;
}
.section .eyebrow {
  color: var(--caramel);
  margin-bottom: 17px;
}
.map {
  position: relative;
  background: #f4e7c9;
  border: 2px solid #d9c3a0;
  border-radius: 40% 36% 30% 35% / 9% 10% 11% 11%;
  height: 650px;
  margin: 30px -10px 10px;
  overflow: hidden;
  background-image: radial-gradient(#b49a602e 1px, transparent 1px);
  background-size: 17px 17px;
}
.map:before {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: 31%;
  bottom: 21%;
  border: 15px solid #e2cda3;
  border-radius: 50%;
  transform: rotate(-10deg);
}
.map:after {
  content: "TOQUE EM UM LUGAR PARA EXPLORAR";
  position: absolute;
  bottom: 22px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--muted);
}
.map-stop {
  position: absolute;
  width: 24%;
  max-width: 220px;
  transform: translate(-50%, -50%);
  background: none;
  z-index: 1;
  padding: 0;
  border-radius: 25px;
}
.map-stop svg {
  height: 145px;
  filter: drop-shadow(0 5px 0 #4a30230b);
  transition: transform 0.2s;
}
.map-stop:hover svg {
  transform: translateY(-10px) rotate(-3deg);
}
.map-stop b {
  display: block;
  font-size: 15px;
  background: var(--butter);
  border: 1px solid var(--line);
  border-radius: 40px;
  padding: 6px 10px;
  box-shadow: 0 3px 0 #c4a980;
}
.map-stop .number {
  font-size: 10px;
  position: absolute;
  top: 22px;
  left: 22px;
  border-radius: 50%;
  background: var(--butter);
  width: 25px;
  height: 25px;
  line-height: 25px;
  font-weight: 800;
}
.future-note {
  display: flex;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  padding: 16px;
}
.future-note strong {
  font-weight: 700;
  color: var(--ink);
}
.factory-band {
  background: var(--cocoa);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.factory {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
  max-width: 1150px;
  margin: auto;
  padding: 75px 5%;
}
.factory .eyebrow {
  color: var(--gold);
}
.factory h2 {
  font-size: clamp(40px, 4vw, 60px);
  margin: 15px 0 25px;
}
.factory p {
  color: #ddc3a4;
}
.demo-label {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 1.8px;
  background: #ffffff0d;
  border: 1px solid #b88957;
  padding: 5px 11px;
  border-radius: 5px;
  font-weight: 750;
}
.cookie-machine {
  text-align: center;
  position: relative;
}
.cookie-click {
  display: block;
  background: none;
  width: 245px;
  height: 245px;
  margin: 0 auto 20px;
  filter: drop-shadow(0 12px 0 #1d110c);
  transition: transform 0.1s;
}
.cookie-click:hover {
  transform: rotate(-4deg) scale(1.03);
}
.cookie-click:active {
  transform: scale(0.94);
}
.cookie-count {
  font-size: 45px;
  font-weight: 900;
  line-height: 1;
}
.cookie-machine small {
  color: #d3b38d;
  display: block;
  margin-top: 10px;
}
.float-number {
  position: absolute;
  top: 20%;
  left: 50%;
  pointer-events: none;
  font-size: 28px;
  font-weight: 900;
  color: var(--gold);
  animation: crumb 0.6s forwards;
}
.preview {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 40px;
  margin-top: 30px;
  align-items: start;
}
.command-tabs {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.command-tabs button {
  background: transparent;
  color: var(--muted);
  padding: 13px 17px;
  text-align: left;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 16px;
  font-weight: 700;
}
.command-tabs button.active {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--line);
  box-shadow: 0 3px 0 var(--line);
}
.conversation {
  background: #f0e4ce;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  min-height: 290px;
}
.conversation-bar {
  padding: 12px 22px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.conversation-body {
  padding: 25px;
}
.conversation-body h3 {
  font-size: 16px;
  margin-bottom: 12px;
  letter-spacing: 0;
}
.conversation-body > p {
  font-size: 14px;
  color: var(--muted);
}
.conversation .command-demo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  margin-top: 17px;
  border-radius: 12px;
}
.message-bubble {
  border-left: 4px solid var(--caramel);
  background: var(--butter);
  padding: 20px;
  border-radius: 4px 12px 12px 4px;
  margin-top: 15px;
  font-size: 16px;
}
.conversation .mini-avatar {
  display: inline-block;
  width: 34px;
  height: 34px;
  object-fit: contain;
  vertical-align: middle;
  margin: 0 7px 0 0;
}
.season-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  background: #edd8b6;
  border: 2px solid var(--ink);
  border-radius: 25px;
  padding: 34px 40px;
  box-shadow: 0 7px 0 var(--ink);
  margin-top: 50px;
}
.season-banner .illustration {
  width: 110px;
  flex-shrink: 0;
}
.season-banner h3 {
  margin-bottom: 10px;
}
.season-banner p {
  font-size: 14px;
  color: var(--muted);
}
.closing {
  text-align: center;
  padding: 85px 5%;
  background: #f2e1c2;
  border-top: 1px solid var(--line);
}
.closing h2 {
  margin-bottom: 28px;
}
.closing p {
  margin-bottom: 25px;
  color: var(--muted);
}
footer {
  max-width: 1300px;
  margin: auto;
  padding: 45px 5% 35px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
footer p {
  color: var(--muted);
  font-size: 14px;
}
footer nav {
  grid-column: 2;
  grid-row: 1/3;
  display: flex;
  gap: 18px;
  justify-content: flex-end;
  flex-wrap: wrap;
  align-content: start;
  font-size: 13px;
}
footer small {
  grid-column: 1/-1;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 20px;
}
.page {
  max-width: 1190px;
  margin: auto;
  padding: 65px 5% 90px;
  min-height: 65vh;
}
.page > h1 {
  font-size: clamp(40px, 4.5vw, 62px);
  margin: 10px 0 20px;
}
.page-intro {
  max-width: 670px;
  color: var(--muted);
  margin-bottom: 35px;
}
.tools {
  display: flex;
  gap: 12px;
  margin: 25px 0;
  flex-wrap: wrap;
}
input,
select {
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--butter);
  padding: 11px 14px;
  color: var(--ink);
  min-height: 47px;
  max-width: 100%;
}
input[type="search"] {
  flex: 1;
  min-width: 170px;
}
input[type="checkbox"] {
  width: 22px;
  height: 22px;
  min-height: 0;
  accent-color: var(--caramel);
  flex-shrink: 0;
}
.commands-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.command-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 23px;
}
.command-card h3 {
  font-size: 21px;
  letter-spacing: -0.02em;
}
.command-card p {
  font-size: 14px;
  color: var(--muted);
  margin: 8px 0;
}
.command-card details {
  font-size: 13px;
  margin-top: 12px;
}
.command-card summary {
  cursor: pointer;
  font-weight: 650;
}
.command-card code {
  overflow-wrap: anywhere;
  font-size: 12px;
}
.command-card .tag {
  float: right;
}
.tag {
  font-size: 10px;
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.empty {
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: 25px;
  padding: 45px 20px;
  margin: 25px 0;
}
.empty img {
  width: 150px;
  height: 155px;
  object-fit: contain;
  margin-bottom: 10px;
}
.empty p {
  color: var(--muted);
  max-width: 470px;
  margin: 15px auto 25px;
}
.loading {
  text-align: center;
  padding: 100px 20px;
  font-size: 22px;
  color: var(--caramel);
}
.loading--mascot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.loading--mascot > img {
  display: block;
  flex-shrink: 0;
  object-fit: contain;
}
.loading.loading--mascot::before {
  display: none;
}
.loading:before {
  content: "";
  display: block;
  border: 3px solid var(--line);
  border-top-color: var(--caramel);
  border-radius: 50%;
  width: 27px;
  height: 27px;
  margin: 0 auto 20px;
  animation: spin 0.8s linear infinite;
}
.guild-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 25px;
}
.guild {
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--cream);
}
.guild-icon {
  width: 55px;
  height: 55px;
  border-radius: 15px;
  background: #e3c9a2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 850;
  margin-bottom: 15px;
  object-fit: cover;
}
.guild h3 {
  font-size: 23px;
  margin-bottom: 10px;
  overflow-wrap: anywhere;
}
.guild p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
}
.user-greeting {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 25px 0;
}
.user-greeting img {
  width: 55px;
  height: 55px;
  border-radius: 50%;
}
.player-nav {
  display: flex;
  gap: 8px;
  margin: 25px 0;
  flex-wrap: wrap;
}
.player-nav a {
  padding: 9px 15px;
  border-radius: 10px;
  font-size: 14px;
  border: 1px solid var(--line);
}
.player-nav a.active {
  background: var(--cocoa);
  color: var(--cream);
}
.player-card {
  background: var(--cocoa);
  border-radius: 23px;
  color: var(--cream);
  padding: 35px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 25px;
}
.player-card h2 {
  font-size: 40px;
  color: var(--cream);
}
.player-card .avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  grid-column: 2;
  grid-row: 1/3;
}
.player-card p {
  color: #d9b98e;
}
.xp-track {
  height: 13px;
  background: #ffffff22;
  border-radius: 10px;
  overflow: hidden;
  grid-column: 1/-1;
}
.xp-fill {
  height: 100%;
  background: var(--gold);
  border-radius: 10px;
  transition: width 0.8s;
}
.stats {
  display: flex;
  gap: 40px;
  padding: 25px 0;
  flex-wrap: wrap;
}
.stat b {
  display: block;
  font-size: 30px;
  font-weight: 850;
  line-height: 1.2;
}
.stat small {
  color: var(--muted);
}
.official-card {
  width: 100%;
  height: auto;
  border-radius: 17px;
  display: block;
  margin-top: 25px;
}
.item-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
}
.item-card {
  border: 1px solid var(--line);
  background: var(--cream);
  border-radius: 18px;
  padding: 22px;
  position: relative;
}
.item-card .illustration {
  height: 105px;
  display: block;
  margin: auto;
}
.item-card h3 {
  font-size: 20px;
  letter-spacing: -0.02em;
  margin: 15px 0 10px;
}
.item-card p {
  font-size: 13px;
  color: var(--muted);
}
.item-card button {
  margin-top: 17px;
}
.item-card .tag {
  position: absolute;
  right: 13px;
  top: 12px;
}
.locked {
  opacity: 0.6;
}
.podium {
  display: flex;
  justify-content: center;
  align-items: end;
  gap: 16px;
  margin: 40px 0 30px;
}
.podium-item {
  width: 29%;
  max-width: 270px;
  text-align: center;
  padding: 22px 14px;
  border: 2px solid #c9a373;
  border-radius: 20px 20px 5px 5px;
  background: #ead7b4;
}
.podium-item:first-child {
  order: 2;
  min-height: 220px;
  background: #f9dc9d;
  border-color: #a96737;
}
.podium-item:nth-child(2) {
  order: 1;
  min-height: 175px;
}
.podium-item:nth-child(3) {
  order: 3;
  min-height: 150px;
}
.podium-item .place {
  font-weight: 900;
  font-size: 40px;
  color: var(--caramel);
}
.podium-item h3 {
  font-size: 20px;
  overflow-wrap: anywhere;
  margin: 10px 0;
}
.rank-row {
  display: grid;
  grid-template-columns: 50px 1fr auto;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.rank-row strong {
  overflow-wrap: anywhere;
}
.pagination {
  display: flex;
  justify-content: center;
  gap: 20px;
  align-items: center;
  margin: 30px 0;
}
.settings-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
}
.settings-tabs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.settings-tabs button {
  text-align: left;
  padding: 12px 15px;
  background: none;
  border-radius: 10px;
  color: var(--muted);
}
.settings-tabs button.active {
  background: var(--cream);
  color: var(--ink);
  font-weight: 750;
}
.settings-panel {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px;
}
.settings-panel h2 {
  font-size: 32px;
  margin-bottom: 20px;
}
.settings-panel .field {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.settings-panel label {
  font-size: 15px;
}
.settings-panel small {
  color: var(--muted);
  display: block;
}
.settings-panel .btn {
  margin-top: 25px;
}
.settings-panel .notice {
  margin-top: 20px;
}
.field input[type="number"] {
  width: 105px;
}
.field select {
  width: 230px;
}
.notice {
  padding: 15px 18px;
  background: #f4e4c7;
  border-left: 3px solid var(--caramel);
  font-size: 13px;
  color: var(--muted);
  border-radius: 0 10px 10px 0;
}
.prose {
  max-width: 800px;
}
.prose h2 {
  font-size: 28px;
  margin: 35px 0 15px;
}
.prose p,
.prose li {
  color: var(--muted);
  line-height: 1.8;
}
.prose details {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.prose summary {
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
}
.prose details p {
  margin: 14px 0;
}
.prose a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
dialog {
  background: var(--butter);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 25px;
  max-width: 540px;
  width: calc(100% - 35px);
  padding: 35px;
  box-shadow: 9px 10px 0 #25171355;
}
dialog::backdrop {
  background: #251713b3;
  backdrop-filter: blur(3px);
}
dialog .illustration {
  height: 130px;
  display: block;
  margin: auto;
}
dialog h2 {
  font-size: 35px;
  margin: 10px 0 20px;
}
dialog p {
  color: var(--muted);
  margin: 15px 0;
}
.dialog-close {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 28px;
  background: none;
  color: var(--ink);
}
dialog .command-ref {
  background: var(--cream);
  border-radius: 10px;
  padding: 12px;
  font-size: 13px;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  opacity: 0;
  z-index: 40;
  max-width: min(530px, 90vw);
  padding: 15px 24px;
  background: var(--cocoa);
  border: 2px solid var(--gold);
  border-radius: 13px;
  color: var(--cream);
  box-shadow: 0 5px 20px #25171333;
  transition: 0.25s;
  pointer-events: none;
}
#toast.visible {
  transform: translateX(-50%);
  opacity: 1;
}
.about-mascot {
  float: right;
  width: 240px;
  margin: 0 0 25px 25px;
}
.entrance {
  animation: enter 0.6s both;
}
.count-status {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 15px;
}
.form-error {
  color: #9a351e;
  font-size: 14px;
}
.hidden,
[hidden] {
  display: none !important;
}
@keyframes hop {
  40% {
    transform: translateY(-28px) rotate(-4deg);
  }
  75% {
    transform: translateY(3px) rotate(2deg);
  }
}
@keyframes crumb {
  to {
    opacity: 0;
    transform: translateY(-65px) rotate(12deg);
  }
}
@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (min-width: 1600px) {
  .hero {
    padding-top: 90px;
    padding-bottom: 100px;
  }
}
@media (max-width: 1000px) {
  .header nav {
    gap: 17px;
  }
  .hero {
    padding: 60px 5%;
    min-height: 600px;
  }
  .hero h1 {
    font-size: 55px;
  }
  .mascot-scene {
    min-height: 420px;
    margin: 0;
  }
  .mascot-button {
    height: 420px;
  }
  .mascot-button img {
    height: 390px;
  }
  .speech {
    top: 0;
    left: 0;
  }
  .scene-sticker {
    right: 0;
  }
  .factory {
    gap: 40px;
  }
  .map-stop svg {
    height: 125px;
  }
  .map {
    height: 560px;
  }
  .settings-layout {
    grid-template-columns: 160px 1fr;
    gap: 25px;
  }
  .item-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 760px) {
  .header {
    height: 75px;
    padding: 0 6%;
    position: relative;
    z-index: 10;
  }
  .brand {
    font-size: 24px;
  }
  .menu-toggle {
    display: block;
    padding: 8px 13px;
    border: 1px solid var(--ink);
    border-radius: 8px;
    background: transparent;
    font-size: 13px;
  }
  .header nav {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: var(--butter);
    padding: 25px;
    border-bottom: 2px solid var(--ink);
    box-shadow: 0 10px 20px #2517131a;
    flex-direction: column;
    gap: 20px;
  }
  .header nav.open {
    display: flex;
  }
  .hero {
    display: flex;
    flex-direction: column;
    padding: 45px 6% 35px;
    text-align: center;
    gap: 30px;
    min-height: 0;
  }
  .hero h1 {
    font-size: clamp(42px, 9.5vw, 65px);
  }
  .eyebrow {
    font-size: 10px;
    letter-spacing: 1.7px;
    margin-bottom: 20px;
  }
  .hero .eyebrow {
    justify-content: center;
  }
  .hero-copy > p {
    font-size: 17px;
    margin: 25px auto;
    max-width: 430px;
  }
  .hero .actions {
    justify-content: center;
  }
  .hero .tiny-note {
    justify-content: center;
    font-size: 10px;
    gap: 12px;
  }
  .mascot-scene {
    width: min(380px, 100%);
    height: 340px;
    min-height: 340px;
  }
  .mascot-button {
    height: 340px;
  }
  .mascot-button img {
    height: 335px;
    width: 340px;
  }
  .scene-disc {
    inset: 5px 8px 0;
  }
  .speech {
    left: 0;
    top: 3px;
    font-size: 11px;
  }
  .scene-sticker {
    bottom: 18%;
    font-size: 10px;
    right: -2%;
    padding: 9px 12px;
  }
  .scene-sticker b {
    font-size: 16px;
  }
  .scene-cookie {
    width: 45px;
    right: 0;
  }
  .scene-cookie.two {
    left: -2%;
  }
  .ticker {
    padding: 17px 0;
    font-size: 11px;
    letter-spacing: 0.7px;
  }
  .section {
    padding: 60px 6%;
  }
  .section-heading {
    display: block;
  }
  .section-heading p {
    margin-top: 20px;
    max-width: 440px;
    font-size: 15px;
  }
  .map {
    height: 780px;
    border-radius: 35px;
    margin: 25px -7px 0;
  }
  .map:before {
    left: 22%;
    right: 22%;
    top: 14%;
    bottom: 15%;
    border-width: 12px;
  }
  .map-stop {
    width: 42%;
    max-width: 190px;
  }
  .map-stop:nth-of-type(1) {
    left: 25% !important;
    top: 18% !important;
  }
  .map-stop:nth-of-type(2) {
    left: 75% !important;
    top: 18% !important;
  }
  .map-stop:nth-of-type(3) {
    left: 25% !important;
    top: 49% !important;
  }
  .map-stop:nth-of-type(4) {
    left: 75% !important;
    top: 49% !important;
  }
  .map-stop:nth-of-type(5) {
    left: 25% !important;
    top: 78% !important;
  }
  .map-stop:nth-of-type(6) {
    left: 75% !important;
    top: 78% !important;
  }
  .map-stop b {
    font-size: 12px;
    padding: 7px;
  }
  .map-stop svg {
    height: 140px;
  }
  .map-stop .number {
    left: 8px;
    top: 12px;
  }
  .map:after {
    font-size: 8px;
    bottom: 17px;
  }
  .future-note {
    display: block;
    text-align: center;
    font-size: 12px;
  }
  .future-note strong {
    display: block;
  }
  .factory {
    display: flex;
    flex-direction: column;
    padding: 60px 8%;
    gap: 40px;
  }
  .factory h2 {
    font-size: 43px;
  }
  .factory .eyebrow {
    margin-bottom: 12px;
  }
  .cookie-click {
    width: 200px;
    height: 200px;
  }
  .cookie-count {
    font-size: 38px;
  }
  .preview {
    display: block;
  }
  .command-tabs {
    flex-direction: row;
    overflow: auto;
    margin-bottom: 20px;
    gap: 4px;
  }
  .command-tabs button {
    font-size: 13px;
    padding: 10px;
    white-space: nowrap;
  }
  .conversation-body {
    padding: 18px;
  }
  .season-banner {
    padding: 25px;
    display: block;
  }
  .season-banner .illustration {
    width: 85px;
    float: right;
  }
  .season-banner .btn {
    margin-top: 20px;
  }
  .closing {
    padding: 60px 6%;
  }
  .closing h2 {
    font-size: 40px;
  }
  footer {
    display: block;
    padding: 35px 6%;
  }
  footer p {
    margin: 15px 0;
  }
  footer nav {
    justify-content: flex-start;
    margin: 25px 0;
    gap: 15px;
  }
  footer small {
    display: block;
  }
  .page {
    padding: 40px 6% 65px;
  }
  .commands-list {
    grid-template-columns: 1fr;
  }
  .command-card {
    padding: 20px;
  }
  .settings-layout {
    display: block;
  }
  .settings-tabs {
    flex-direction: row;
    overflow: auto;
    margin-bottom: 25px;
    white-space: nowrap;
  }
  .settings-tabs button {
    padding: 9px 13px;
    font-size: 13px;
  }
  .settings-panel {
    padding: 20px;
  }
  .settings-panel .field {
    gap: 14px;
    flex-wrap: wrap;
  }
  .field select {
    width: 100%;
  }
  .item-grid {
    gap: 12px;
  }
  .item-card {
    padding: 17px;
  }
  .item-card .illustration {
    height: 80px;
  }
  .item-card h3 {
    font-size: 18px;
  }
  .item-card .tag {
    position: static;
  }
  .item-card p {
    font-size: 12px;
  }
  .btn.small {
    font-size: 12px;
    padding: 8px 11px;
  }
  .player-card {
    padding: 25px;
    gap: 15px;
  }
  .player-card h2 {
    font-size: 30px;
  }
  .player-card .avatar {
    width: 60px;
    height: 60px;
  }
  .stats {
    gap: 25px;
  }
  .stat b {
    font-size: 25px;
  }
  .podium {
    gap: 7px;
  }
  .podium-item {
    padding: 17px 9px;
    width: 33%;
  }
  .podium-item h3 {
    font-size: 15px;
  }
  .podium-item .place {
    font-size: 30px;
  }
  .podium-item p {
    font-size: 13px;
  }
  .rank-row {
    padding: 15px 8px;
    grid-template-columns: 27px 1fr auto;
    gap: 10px;
    font-size: 13px;
  }
  .about-mascot {
    float: none;
    display: block;
    width: 180px;
    margin: 0 auto 25px;
  }
  .prose h2 {
    font-size: 25px;
  }
}
@media (max-width: 390px) {
  .actions .btn {
    width: 100%;
  }
  .hero h1 {
    font-size: 41px;
  }
  .item-grid {
    grid-template-columns: 1fr;
  }
  .map-stop svg {
    height: 115px;
  }
  .map-stop b {
    font-size: 11px;
  }
  .map {
    height: 680px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
h1,
h2,
h3 {
  overflow-wrap: anywhere;
}
.player-card {
  grid-template-columns: minmax(0, 1fr) auto;
}
.player-card > div {
  min-width: 0;
}
@media (min-width: 761px) and (max-width: 900px) {
  .header {
    position: relative;
    z-index: 10;
  }
  .menu-toggle {
    display: block;
    padding: 8px 13px;
    border: 1px solid var(--ink);
    border-radius: 8px;
    background: transparent;
    font-size: 13px;
  }
  .header nav {
    display: none;
    position: absolute;
    top: 87px;
    left: 0;
    right: 0;
    background: var(--butter);
    padding: 25px;
    border-bottom: 2px solid var(--ink);
    flex-direction: column;
    gap: 20px;
  }
  .header nav.open {
    display: flex;
  }
}
.locked {
  opacity: 1;
  background: #f4e9d4;
}
.locked .illustration {
  opacity: 0.55;
}

/* Dashboard: identity above its account actions on every viewport. */
.account-summary {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin: 28px 0;
}
.account-identity {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  max-width: 100%;
}
.account-identity img {
  width: 55px;
  height: 55px;
  object-fit: cover;
  border-radius: 50%;
  flex-shrink: 0;
}
.account-identity b {
  overflow-wrap: anywhere;
  min-width: 0;
}
.account-options {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
}
.account-options .btn {
  min-height: 44px;
}
@media (max-width: 480px) {
  .account-options {
    align-items: stretch;
    flex-direction: column;
  }
  .account-options .btn {
    width: 100%;
    justify-content: center;
  }
}

.mascote-expressao {
  object-fit: contain;
  max-width: 100%;
}
.mascot-button .mascote-expressao {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.factory-mascot {
  float: right;
  margin: 0 0 8px 12px;
}
.item-card .achievement-mascot {
  display: block;
  margin: auto;
  object-fit: contain;
}
.inventory-hall .inv-empty > .mascote-expressao,
.ranking-hall .rank-empty > .mascote-expressao {
  display: block;
  margin: 0 auto 16px;
  object-fit: contain;
}
@media (max-width: 480px) {
  .factory-mascot {
    width: 65px;
    height: 70px;
  }
}

#toast {
  display: flex;
  align-items: center;
  gap: 12px;
}
#toast .mascote-expressao {
  flex-shrink: 0;
}
.dialog-mascot {
  display: block;
  margin: 0 auto 20px;
}
