@font-face {
  font-family: "Futura Medium";
  src: local("Futura Medium"), local("Futura-Medium"), local("Futura");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

:root {
  --paper: #f7f4ee;
  --white: #ffffff;
  --ink: #0b0b0a;
  --dark-gray: #242321;
  --muted: #6b655f;
  --red: #760c0c;
  --red-dark: #4b0707;
  --stone: #cbc3b4;
  --green: #163426;
  --line: rgba(11, 11, 10, 0.14);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --futura: "Futura Medium", Futura, "Century Gothic", Avenir, Montserrat, Arial, sans-serif;
  --serif: var(--futura);
  --sans: var(--futura);
}

* {
  box-sizing: border-box;
}

html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 500;
  overflow-x: clip;
  transition: background 1.8s var(--ease), color 1.8s var(--ease);
}

@supports not (overflow: clip) {
  body {
    overflow-x: hidden;
  }
}

button,
input,
textarea,
select {
  font-family: var(--sans);
}

body.is-loading {
  overflow: hidden;
}

body.access-locked {
  overflow: hidden;
}

body.has-modal {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    radial-gradient(circle at 18% 30%, rgba(255, 255, 255, 0.4) 0 1px, transparent 1px),
    radial-gradient(circle at 76% 68%, rgba(0, 0, 0, 0.18) 0 1px, transparent 1px);
  background-size: 4px 4px, 6px 6px;
  mix-blend-mode: multiply;
}

.scroll-meter {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 80;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--red);
}

.shooting-layer,
.led-frame {
  position: fixed;
  inset: 0;
  z-index: 66;
  pointer-events: none;
}

.shooting-star {
  position: absolute;
  left: var(--star-x);
  top: var(--star-y);
  width: clamp(130px, 20vw, 280px);
  height: 3px;
  opacity: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(118, 12, 12, 0.12), rgba(255, 255, 255, 0.86), var(--red));
  box-shadow:
    0 0 12px rgba(118, 12, 12, 0.72),
    0 0 26px rgba(118, 12, 12, 0.36);
  transform: rotate(var(--star-rotate)) translate3d(0, 0, 0);
  animation: shootingStar var(--star-speed) var(--ease) forwards;
}

.shooting-star::after {
  content: "";
  position: absolute;
  right: -2px;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff8f3;
  box-shadow:
    0 0 12px rgba(255, 255, 255, 0.8),
    0 0 26px rgba(118, 12, 12, 0.72);
  transform: translateY(-50%);
}

.led-frame {
  z-index: 95;
  opacity: 0.9;
}

.led {
  position: absolute;
  display: block;
  opacity: 0;
  filter: blur(0.1px);
  background: linear-gradient(90deg, transparent, rgba(118, 12, 12, 0.2), #ff2a2a, rgba(118, 12, 12, 0.2), transparent);
  box-shadow:
    0 0 9px rgba(118, 12, 12, 0.95),
    0 0 22px rgba(118, 12, 12, 0.52),
    0 0 44px rgba(118, 12, 12, 0.2);
}

.led--top,
.led--bottom {
  width: min(34vw, 420px);
  height: 5px;
  left: -40vw;
}

.led--top {
  top: 0;
  animation: ledTop 10s linear infinite;
}

.led--right,
.led--left {
  width: 5px;
  height: min(34vh, 360px);
  top: -40vh;
  background: linear-gradient(180deg, transparent, rgba(118, 12, 12, 0.2), #ff2a2a, rgba(118, 12, 12, 0.2), transparent);
}

.led--right {
  right: 0;
  animation: ledRight 10s linear infinite;
}

.led--bottom {
  right: -40vw;
  bottom: 0;
  left: auto;
  animation: ledBottom 10s linear infinite;
}

.led--left {
  left: 0;
  bottom: -40vh;
  top: auto;
  animation: ledLeft 10s linear infinite;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0;
  background: var(--paper);
  transition: opacity 0.8s var(--ease), visibility 0.8s var(--ease);
}

.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.loader__mark {
  color: var(--red);
  font-size: clamp(4.5rem, 18vw, 14rem);
  font-weight: 950;
  line-height: 0.78;
  letter-spacing: -0.08em;
  transform: translateY(8px);
  animation: loadMark 1.2s var(--ease) both;
}

.loader__mark span {
  display: inline-block;
  margin-right: -0.02em;
  animation: loaderLetterDance 1.35s var(--ease) infinite;
}

.loader__mark span:last-child {
  margin-right: 0;
}

.loader__mark span:nth-child(2) {
  animation-delay: 0.08s;
}

.loader__mark span:nth-child(3) {
  animation-delay: 0.16s;
}

.loader__mark span:nth-child(4) {
  animation-delay: 0.24s;
}

.loader__mark span:nth-child(5) {
  animation-delay: 0.32s;
}

.loader__hint {
  width: min(420px, calc(100vw - 48px));
  margin: clamp(1.7rem, 4.5vw, 3rem) 0 0;
  color: rgba(118, 12, 12, 0.72);
  font-size: clamp(0.92rem, 2.8vw, 1.08rem);
  font-weight: 950;
  line-height: 1.2;
  text-align: center;
  animation: loaderHintPulse 1.8s var(--ease) infinite;
}

.loader__line {
  position: absolute;
  bottom: 12vh;
  width: min(280px, 62vw);
  height: 1px;
  overflow: hidden;
  background: rgba(118, 12, 12, 0.18);
}

.access-gate {
  position: fixed;
  inset: 0;
  z-index: 98;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.82), rgba(247, 244, 238, 0.88) 34%, rgba(247, 244, 238, 0.96) 68%),
    var(--paper);
  transition: opacity 0.62s var(--ease), visibility 0.62s var(--ease), filter 0.62s var(--ease);
}

.access-gate.is-unlocking,
.access-gate.is-hidden {
  opacity: 0;
  visibility: hidden;
  filter: blur(10px);
  pointer-events: none;
}

.access-gate__cloud {
  position: absolute;
  inset: auto -12vw -8vw -12vw;
  height: min(310px, 34vh);
  opacity: 0.42;
  background: url("assets/nubes-nudo-line.png") center bottom / contain repeat-x;
  animation: gateCloudDrift 22s linear infinite;
}

.access-gate__panel {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(520px, 100%);
  gap: 1rem;
  text-align: center;
}

.access-gate__panel p,
.access-gate__panel h2,
.access-gate__panel label {
  margin: 0;
}

.access-gate__panel p,
.access-gate__panel label {
  color: rgba(11, 11, 10, 0.54);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.access-gate__panel h2 {
  color: var(--red);
  font-size: clamp(5rem, 20vw, 12rem);
  font-weight: 900;
  line-height: 0.74;
}

.access-gate__field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.55rem;
  width: min(420px, 100%);
  margin: 0.4rem auto 0;
}

.access-gate__field input,
.access-gate__field button {
  min-height: 52px;
  border-radius: 999px;
  font: 900 0.92rem var(--sans);
}

.access-gate__field input {
  width: 100%;
  border: 1px solid rgba(118, 12, 12, 0.22);
  background: rgba(255, 255, 255, 0.68);
  color: var(--ink);
  padding: 0.8rem 1.1rem;
  outline: none;
}

.access-gate__field input:focus {
  border-color: rgba(118, 12, 12, 0.72);
  box-shadow: 0 0 0 4px rgba(118, 12, 12, 0.08);
}

.access-gate__field button {
  border: 0;
  background: var(--red);
  color: var(--paper);
  cursor: pointer;
  padding: 0.8rem 1.25rem;
}

.access-gate__error {
  min-height: 1.1em;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 900;
}

.loader__line::after {
  content: "";
  display: block;
  width: 60%;
  height: 100%;
  background: var(--red);
  animation: loadingLine 1.15s var(--ease) infinite;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 70;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1rem clamp(1rem, 3vw, 2.4rem);
  color: var(--ink);
  transition: color 0.35s ease, background 0.35s ease, border 0.35s ease, transform 0.35s ease;
}

.site-header.is-scrolled {
  background: rgba(247, 244, 238, 0.76);
  border-bottom: 1px solid rgba(11, 11, 10, 0.08);
  backdrop-filter: blur(18px);
}

.site-header.is-dark {
  color: var(--paper);
}

.site-header.is-dark.is-scrolled {
  background: rgba(11, 11, 10, 0.72);
  border-color: rgba(255, 255, 255, 0.11);
}

.brand {
  color: var(--red);
  font-size: 1.55rem;
  font-weight: 950;
  letter-spacing: 0;
}

.site-header.is-dark .brand {
  color: var(--paper);
}

.nav {
  display: flex;
  gap: clamp(0.8rem, 2vw, 1.8rem);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.nav a,
.header-cta,
.language-toggle {
  position: relative;
  letter-spacing: 0.08em;
}

.nav a::after,
.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.35rem;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  background: currentColor;
  transition: transform 0.45s var(--ease);
}

.nav a:hover::after,
.text-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 0.72rem 1rem;
  font-size: 0.68rem;
  text-transform: uppercase;
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.nudo-games-entry {
  --games-glow: #ff2d2d;
  position: relative;
  isolation: isolate;
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1.5px solid rgba(255, 45, 45, 0.82);
  border-radius: 999px;
  padding: 0.76rem clamp(1rem, 1.7vw, 1.42rem);
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.34), transparent 24%),
    linear-gradient(135deg, rgba(118, 12, 12, 0.96), rgba(25, 4, 5, 0.92) 52%, rgba(255, 54, 42, 0.88));
  color: #fff7ef;
  font: 950 clamp(0.66rem, 0.82vw, 0.78rem) var(--sans);
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  text-shadow:
    0 0 12px rgba(255, 255, 255, 0.4),
    0 0 20px rgba(255, 45, 45, 0.6);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.2) inset,
    0 0 0 1px rgba(255, 45, 45, 0.24),
    0 0 22px rgba(255, 45, 45, 0.42),
    0 12px 34px rgba(118, 12, 12, 0.22);
  backdrop-filter: blur(18px);
  transition:
    transform 0.35s var(--ease),
    border-color 0.35s var(--ease),
    box-shadow 0.45s var(--ease);
  animation: nudoGamesButtonPulse 2.8s ease-in-out infinite;
}

.nudo-games-entry::before,
.nudo-games-entry::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: inherit;
}

.nudo-games-entry::before {
  inset: -2px;
  z-index: 0;
  background: conic-gradient(from 0deg, transparent 0 18%, rgba(255, 235, 193, 0.95), #ff2d2d, transparent 58% 100%);
  filter: blur(7px);
  opacity: 0.92;
  transform: rotate(0deg);
  animation: nudoGamesButtonRing 3.4s linear infinite;
}

.nudo-games-entry::after {
  inset: 1px;
  z-index: 0;
  background: linear-gradient(100deg, transparent 0 18%, rgba(255, 255, 255, 0.42) 34%, transparent 52%);
  opacity: 0.58;
  transform: translateX(-112%);
  animation: nudoGamesButtonSweep 2.9s var(--ease) infinite;
}

.nudo-games-entry span {
  position: relative;
  z-index: 1;
  white-space: nowrap;
}

.nudo-games-entry:hover {
  transform: translateY(-2px) scale(1.03);
  border-color: rgba(255, 241, 208, 0.96);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.28) inset,
    0 0 0 1px rgba(255, 45, 45, 0.38),
    0 0 30px rgba(255, 45, 45, 0.68),
    0 16px 42px rgba(118, 12, 12, 0.28);
}

.hero__games-entry {
  margin-top: clamp(0.78rem, 1.6vw, 1.15rem);
}

.language-toggle {
  appearance: none;
  border: 1px solid rgba(118, 12, 12, 0.28);
  border-radius: 999px;
  background: rgba(247, 244, 238, 0.72);
  color: inherit;
  cursor: pointer;
  padding: 0.72rem 1rem;
  font: 900 0.68rem var(--sans);
  text-transform: uppercase;
  backdrop-filter: blur(16px);
  transition: background 0.45s var(--ease), border-color 0.45s var(--ease), color 0.45s var(--ease), transform 0.35s var(--ease);
}

.language-toggle:hover {
  transform: translateY(-2px);
  background: var(--red);
  border-color: var(--red);
  color: var(--paper);
}

.site-header.is-dark .language-toggle,
body.weather-active .language-toggle {
  border-color: rgba(247, 244, 238, 0.28);
  background: rgba(7, 8, 10, 0.42);
}

.order-entry,
.cart-button {
  appearance: none;
  border: 1px solid rgba(118, 12, 12, 0.28);
  border-radius: 999px;
  background: rgba(247, 244, 238, 0.72);
  color: inherit;
  cursor: pointer;
  font: 900 0.68rem var(--sans);
  text-transform: uppercase;
  backdrop-filter: blur(16px);
  transition:
    background 0.45s var(--ease),
    border-color 0.45s var(--ease),
    color 0.45s var(--ease),
    transform 0.35s var(--ease),
    box-shadow 0.45s var(--ease);
}

.order-entry {
  min-height: 48px;
  padding: 0.82rem clamp(1.15rem, 2.3vw, 1.85rem);
  border-color: var(--red);
  color: var(--red);
  font-size: clamp(0.76rem, 0.95vw, 0.92rem);
  animation: orderButtonDance 3.8s ease-in-out infinite;
  transform-origin: center;
  box-shadow:
    0 0 0 1px rgba(118, 12, 12, 0.34),
    0 0 18px rgba(118, 12, 12, 0.16);
}

.cart-button {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 0;
}

.cart-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart-button__count {
  position: absolute;
  right: -0.22rem;
  top: -0.25rem;
  display: grid;
  min-width: 1.15rem;
  height: 1.15rem;
  place-items: center;
  border-radius: 999px;
  background: var(--red);
  color: var(--paper);
  font-size: 0.58rem;
  line-height: 1;
  opacity: 0;
  transform: scale(0.75);
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
}

.cart-button.has-items .cart-button__count {
  opacity: 1;
  transform: scale(1);
}

.cart-button__pulse {
  position: absolute;
  right: -0.35rem;
  top: 50%;
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 900;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, -50%, 0) scale(0.9);
}

.cart-button.is-pulsing .cart-button__pulse {
  animation: cartPulseFloat 0.76s var(--ease) both;
}

.order-entry:hover {
  animation: none;
}

.order-entry:hover,
.cart-button:hover {
  transform: translateY(-2px);
  background: var(--red);
  border-color: var(--red);
  color: var(--paper);
}

.site-header.is-dark .order-entry,
.site-header.is-dark .cart-button,
body.weather-active .order-entry,
body.weather-active .cart-button {
  border-color: rgba(247, 244, 238, 0.28);
  background: rgba(7, 8, 10, 0.42);
}

.site-header.is-dark .order-entry,
body.weather-active .order-entry {
  border-color: var(--red);
  box-shadow:
    0 0 0 1px rgba(118, 12, 12, 0.48),
    0 0 20px rgba(118, 12, 12, 0.22);
}

.panel {
  position: relative;
  min-height: 100vh;
  padding: clamp(5.5rem, 10vw, 9rem) clamp(1.1rem, 4vw, 4rem);
  overflow: hidden;
  transition: background 1.8s var(--ease), color 1.8s var(--ease);
}

.panel--light {
  background: var(--paper);
  color: var(--ink);
}

.panel--dark {
  background: var(--ink);
  color: var(--paper);
}

.panel--red {
  background: var(--red);
  color: var(--paper);
}

.story,
.community-gallery,
.visit {
  content-visibility: auto;
  contain-intrinsic-size: 980px;
}

.hero {
  display: grid;
  align-items: end;
  min-height: 100svh;
  padding-bottom: clamp(2rem, 6vw, 4.5rem);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(247, 244, 238, 0.1), rgba(247, 244, 238, 0.92) 84%),
    radial-gradient(circle at 72% 26%, rgba(118, 12, 12, 0.16), transparent 30%);
  z-index: 1;
  transition: background 2.2s var(--ease), opacity 2.2s var(--ease);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(circle at 73% 18%, rgba(225, 236, 255, 0.22), transparent 28%),
    linear-gradient(115deg, transparent 0 34%, rgba(225, 236, 255, 0.1) 45%, transparent 66%);
  mix-blend-mode: screen;
  transition: opacity 2s var(--ease);
}

.hero__cloud {
  position: absolute;
  pointer-events: none;
  user-select: none;
  mix-blend-mode: multiply;
  filter: saturate(0.9) contrast(1.02);
}

.hero__cloud--back {
  top: -20vw;
  right: -15vw;
  width: min(78rem, 118vw);
  opacity: 0.55;
  animation: cloudDrift 18s ease-in-out infinite alternate;
}

.hero__cloud--front {
  left: -28vw;
  bottom: -24vw;
  width: min(72rem, 128vw);
  opacity: 0.42;
  animation: cloudDriftAlt 22s ease-in-out infinite alternate;
}

.hero__copy {
  position: relative;
  z-index: 2;
  max-width: 1040px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 1.1rem;
  font-size: clamp(0.72rem, 1.1vw, 0.82rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero__title {
  margin: 0;
  color: var(--red);
}

.hero__title span,
.cta__logo {
  display: block;
  font-size: clamp(6.8rem, 24vw, 24rem);
  font-weight: 950;
  line-height: 0.74;
  letter-spacing: 0;
}

.hero__title small {
  display: block;
  margin-top: clamp(0.6rem, 1.4vw, 1.2rem);
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(2.6rem, 8vw, 8.8rem);
  font-weight: 400;
  line-height: 0.9;
}

.hero__text,
.section-copy,
.opening__copy {
  max-width: 680px;
  margin: clamp(1rem, 2vw, 1.5rem) 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.55vw, 1.32rem);
  line-height: 1.55;
}

.panel--dark .section-copy,
.panel--red .section-copy,
.cta p {
  color: rgba(247, 244, 238, 0.74);
}

.hero__badge {
  position: absolute;
  right: clamp(1.1rem, 4vw, 4rem);
  bottom: clamp(6.2rem, 7vw, 7.6rem);
  z-index: 2;
  display: grid;
  gap: 0.2rem;
  width: min(240px, 42vw);
  padding-left: 1rem;
  color: var(--red);
  font-size: 0.86rem;
  line-height: 1.35;
}

.scroll-cue {
  position: absolute;
  right: clamp(1.1rem, 4vw, 4rem);
  bottom: 1.5rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.scroll-cue span {
  width: 34px;
  height: 34px;
  border: 1px solid var(--red);
  border-radius: 50%;
}

.scroll-cue span::after {
  content: "";
  display: block;
  width: 7px;
  height: 7px;
  margin: 10px auto 0;
  border-right: 1px solid var(--red);
  border-bottom: 1px solid var(--red);
  transform: rotate(45deg);
  animation: cue 1.4s ease-in-out infinite;
}

.story {
  isolation: isolate;
  min-height: 92vh;
  display: grid;
  align-content: center;
  gap: clamp(3rem, 6vw, 5rem);
}

.story > *:not(.story__drawings) {
  position: relative;
  z-index: 2;
}

.story__drawings {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.story__drawing {
  position: absolute;
  width: min(760px, 78vw);
  max-width: none;
  opacity: 0;
  mix-blend-mode: screen;
  filter:
    invert(1)
    grayscale(1)
    contrast(1.12)
    brightness(1.04)
    drop-shadow(0 0 10px rgba(247, 244, 238, 0.18))
    drop-shadow(0 0 22px rgba(118, 12, 12, 0.18));
  -webkit-mask-image: linear-gradient(115deg, #000 0 42%, transparent 58% 100%);
  -webkit-mask-size: 240% 100%;
  mask-image: linear-gradient(115deg, #000 0 42%, transparent 58% 100%);
  mask-size: 240% 100%;
  animation: storySketchCycle 24s var(--ease) infinite;
}

.story__drawing--column {
  right: clamp(-12rem, -7vw, -3rem);
  bottom: clamp(-11rem, -14vh, -5rem);
}

.story__drawing--garden {
  right: clamp(-10rem, -6vw, -2rem);
  bottom: clamp(-9rem, -10vh, -3rem);
  width: min(650px, 66vw);
  animation-delay: 6s;
}

.story__drawing--face {
  right: clamp(-9rem, -5vw, -1.5rem);
  bottom: clamp(-8rem, -9vh, -2.5rem);
  width: min(630px, 64vw);
  animation-delay: 12s;
}

.story__drawing--patio {
  right: clamp(-12rem, -7vw, -2rem);
  bottom: clamp(-10rem, -12vh, -4rem);
  width: min(700px, 72vw);
  animation-delay: 18s;
}

.story__grid,
.garden,
.visit {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: center;
}

.display {
  max-width: 980px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3rem, 8.8vw, 9rem);
  font-weight: 400;
  line-height: 0.92;
}

.story__body {
  display: grid;
  gap: 1.2rem;
  max-width: 540px;
  color: rgba(247, 244, 238, 0.74);
  font-size: clamp(1rem, 1.45vw, 1.2rem);
  line-height: 1.58;
}

.story__body p {
  margin: 0;
}

.marquee {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: clamp(86px, 13vw, 154px);
  overflow: hidden;
  border-top: 1px solid rgba(247, 244, 238, 0.16);
  border-bottom: 1px solid rgba(247, 244, 238, 0.16);
  color: rgba(247, 244, 238, 0.84);
}

.marquee__track {
  display: grid;
  place-items: center;
  width: 100%;
}

.marquee span,
.marquee button {
  padding: 1.05rem 1.8rem;
  font-family: var(--serif);
  font-size: clamp(2.15rem, 7vw, 6rem);
  line-height: 0.9;
  white-space: nowrap;
  animation: marqueeWordSwap 1s var(--ease) both;
}

.marquee button {
  appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.marquee-word--white {
  color: var(--paper);
}

.marquee-word--red {
  color: var(--red);
}

.marquee-word--charcoal {
  color: #5b5750;
}

.marquee-word--dbz {
  color: #ff2323;
  filter: drop-shadow(0 0 12px rgba(255, 35, 35, 0.78));
  animation: dbzPulse 1.2s var(--ease) infinite;
}

.menu {
  min-height: 100vh;
}

.menu__intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: end;
}

.menu__intro .section-kicker {
  grid-column: 1 / -1;
}

.menu-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: clamp(2.2rem, 5vw, 4.5rem) 0 1rem;
}

.menu-tab {
  appearance: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  padding: 0.85rem 1.1rem;
  font: 800 0.76rem var(--sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), transform 0.35s var(--ease);
}

.menu-tab:hover,
.menu-tab.is-active {
  background: var(--red);
  color: var(--paper);
  transform: translateY(-2px);
}

.menu-showcase {
  position: relative;
  min-height: 530px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.menu-card {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(260px, 0.62fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  padding: clamp(1.6rem, 5vw, 4rem) 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(26px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

.menu-card.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.menu-card__tag {
  margin: 0 0 1rem;
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.menu-card h3 {
  margin: 0 0 2rem;
  font-family: var(--serif);
  font-size: clamp(3.3rem, 10vw, 10rem);
  font-weight: 400;
  line-height: 0.83;
}

.menu-card ul {
  display: grid;
  gap: 0;
  max-width: 660px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu-card li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding: 1rem 0;
  font-size: clamp(0.96rem, 1.45vw, 1.18rem);
}

.menu-card li span:first-child {
  font-weight: 800;
}

.menu-card li span:last-child {
  color: var(--muted);
  text-align: right;
}

.menu-card img {
  justify-self: center;
  width: min(440px, 100%);
  border-radius: 50%;
  filter: drop-shadow(0 24px 42px rgba(11, 11, 10, 0.12));
  transform: rotate(-3deg);
}

.oval-plate {
  position: relative;
  justify-self: center;
  width: min(460px, 88vw);
  aspect-ratio: 1.9;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 50% 45%, rgba(255, 255, 255, 0.72), transparent 28%),
    linear-gradient(135deg, #eec36a, #9c2f14 58%, #3b120b);
  box-shadow: 0 26px 60px rgba(11, 11, 10, 0.18);
  transform: rotate(-8deg);
}

.oval-plate span {
  position: absolute;
  border-radius: 999px;
  background: var(--paper);
}

.oval-plate span:nth-child(1) {
  left: 13%;
  top: 28%;
  width: 28%;
  height: 12%;
}

.oval-plate span:nth-child(2) {
  right: 14%;
  top: 34%;
  width: 20%;
  height: 10%;
}

.oval-plate span:nth-child(3) {
  left: 38%;
  bottom: 23%;
  width: 32%;
  height: 11%;
}

.cup-motion {
  position: relative;
  justify-self: center;
  width: min(360px, 76vw);
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.cup-motion::before {
  content: "";
  position: absolute;
  inset: 18%;
  border: 28px solid var(--red);
  border-radius: 50%;
}

.cup-motion span {
  position: absolute;
  top: 10%;
  left: 50%;
  width: 1px;
  height: 32%;
  background: linear-gradient(transparent, rgba(118, 12, 12, 0.75), transparent);
  animation: steam 2.8s ease-in-out infinite;
}

.text-link {
  position: relative;
  display: inline-block;
  margin-top: 1.4rem;
  color: var(--red);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.signatures {
  min-height: 96vh;
  display: grid;
  align-content: center;
}

.signature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: clamp(1rem, 4vw, 4rem);
}

.signature {
  display: grid;
  gap: 1.2rem;
  justify-items: center;
  text-align: center;
}

.signature img {
  width: min(310px, 100%);
  border-radius: 50%;
  transition: transform 0.8s var(--ease), filter 0.8s var(--ease);
}

.signature:hover img {
  transform: translateY(-12px) rotate(2deg);
  filter: drop-shadow(0 24px 38px rgba(0, 0, 0, 0.22));
}

.signature--large img {
  width: min(430px, 100%);
}

.signature p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.8rem);
}

.garden {
  min-height: 110vh;
}

.garden__image {
  align-self: stretch;
  min-height: 620px;
  overflow: hidden;
  border-radius: 0;
}

.garden__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.08) saturate(0.9);
  transform: scale(1.08);
}

.column-mark {
  position: absolute;
  right: clamp(1rem, 4vw, 4rem);
  bottom: 6rem;
  width: clamp(78px, 10vw, 132px);
  height: clamp(170px, 22vw, 290px);
  opacity: 0.36;
}

.column-mark span {
  position: absolute;
  left: 22%;
  right: 22%;
  border: 1px solid rgba(247, 244, 238, 0.62);
}

.column-mark span:nth-child(1) {
  top: 0;
  height: 18%;
  transform: rotate(-5deg);
}

.column-mark span:nth-child(2) {
  top: 18%;
  bottom: 14%;
  border-top: 0;
  border-bottom: 0;
}

.column-mark span:nth-child(3) {
  bottom: 0;
  height: 15%;
  transform: rotate(4deg);
}

.opening {
  min-height: 96vh;
  display: grid;
  align-content: center;
}

.opening__cloud {
  position: absolute;
  right: -18vw;
  bottom: -28vw;
  width: min(78rem, 130vw);
  opacity: 0.45;
  mix-blend-mode: multiply;
  animation: cloudDriftAlt 18s ease-in-out infinite alternate;
}

.opening__headline {
  position: relative;
  z-index: 1;
  max-width: 1050px;
  margin: 0;
  color: var(--red);
  font-size: clamp(5rem, 17vw, 17rem);
  font-weight: 950;
  line-height: 0.78;
}

.opening__copy {
  position: relative;
  z-index: 1;
}

.gallery {
  min-height: auto;
  padding-top: clamp(2rem, 5vw, 4rem);
  padding-bottom: clamp(2rem, 5vw, 4rem);
}

.gallery__track {
  display: grid;
  grid-template-columns: 1.2fr 0.72fr 0.86fr 0.72fr;
  gap: clamp(0.8rem, 2vw, 1.4rem);
  align-items: stretch;
}

.gallery img {
  width: 100%;
  height: clamp(320px, 42vw, 640px);
  object-fit: cover;
  transition: transform 1s var(--ease), filter 1s var(--ease);
}

.gallery img:nth-child(1),
.gallery img:nth-child(3),
.gallery img:nth-child(4) {
  background: var(--white);
  object-fit: contain;
}

.gallery img:hover {
  transform: scale(0.985);
  filter: saturate(0.84);
}

.visit {
  min-height: 80vh;
}

.visit > * {
  position: relative;
  z-index: 1;
}

.visit::before {
  content: "";
  position: absolute;
  left: -18vw;
  right: -18vw;
  bottom: -2.5rem;
  z-index: 0;
  height: min(26vh, 210px);
  background: url("assets/nubes-nudo-line.png") 0 100% / auto 100% repeat-x;
  opacity: 0.3;
  filter: saturate(0.82) contrast(0.95);
  transform: translate3d(0, 0, 0);
  animation: visitCloudDrift 88s linear infinite;
  pointer-events: none;
}

.visit::after {
  content: "";
  position: absolute;
  left: -22vw;
  right: -22vw;
  bottom: 3vh;
  z-index: 0;
  height: min(18vh, 150px);
  background: url("assets/nubes-nudo-main.png") 0 100% / auto 100% repeat-x;
  opacity: 0.12;
  filter: blur(0.2px) saturate(0.75);
  animation: visitCloudDriftReverse 122s linear infinite;
  pointer-events: none;
}

.visit__details {
  display: grid;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(247, 244, 238, 0.18);
  font-size: clamp(1.05rem, 1.7vw, 1.38rem);
}

.visit__details p {
  margin: 0;
  color: rgba(247, 244, 238, 0.78);
}

.visit__details a {
  width: fit-content;
  margin-top: 1rem;
  border: 1px solid rgba(247, 244, 238, 0.45);
  border-radius: 999px;
  padding: 0.95rem 1.2rem;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), transform 0.35s var(--ease);
}

.visit__details a:hover {
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-2px);
}

.cta {
  min-height: 86vh;
  display: grid;
  align-content: center;
  text-align: center;
}

.cta__logo {
  margin: 0;
  color: var(--paper);
}

.cta p:last-child {
  max-width: 620px;
  margin: 1rem auto 0;
  font-size: clamp(1rem, 1.6vw, 1.34rem);
  line-height: 1.5;
}

.footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.2rem clamp(1.1rem, 4vw, 4rem);
  background: var(--ink);
  color: rgba(247, 244, 238, 0.68);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer__right {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.85rem;
  text-align: right;
}

.footer a {
  color: var(--paper);
  font-size: 1.4rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: none;
}

.footer .language-toggle {
  border-color: rgba(247, 244, 238, 0.32);
  background: rgba(247, 244, 238, 0.08);
  color: var(--paper);
}

.footer .language-toggle:hover {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--red);
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes loadMark {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(8px) scale(1);
  }
}

@keyframes loadingLine {
  from {
    transform: translateX(-110%);
  }
  to {
    transform: translateX(190%);
  }
}

@keyframes loaderLetterDance {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  32% {
    transform: translateY(-8px) rotate(-2deg);
  }
  64% {
    transform: translateY(4px) rotate(2deg);
  }
}

@keyframes loaderHintPulse {
  0%,
  100% {
    opacity: 0.58;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-2px);
  }
}

@keyframes gateCloudDrift {
  from {
    background-position: 0 100%;
  }
  to {
    background-position: -620px 100%;
  }
}

@keyframes cloudDrift {
  from {
    transform: translate3d(-1.4rem, -0.6rem, 0) rotate(-2deg);
  }
  to {
    transform: translate3d(1.2rem, 1rem, 0) rotate(2deg);
  }
}

@keyframes cloudDriftAlt {
  from {
    transform: translate3d(1.2rem, 0.8rem, 0) rotate(2deg);
  }
  to {
    transform: translate3d(-1.4rem, -0.8rem, 0) rotate(-2deg);
  }
}

@keyframes cue {
  0%,
  100% {
    transform: translateY(0) rotate(45deg);
  }
  50% {
    transform: translateY(5px) rotate(45deg);
  }
}

@keyframes marqueeWordSwap {
  from {
    opacity: 0;
    transform: translate3d(0, 14px, 0) scale(0.98);
  }
  18%,
  82% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    opacity: 0;
    transform: translate3d(0, -12px, 0) scale(1.01);
  }
}

@keyframes dbzPulse {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-2px) scale(1.07);
  }
}

@keyframes steam {
  0%,
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(30px) scaleY(0.8);
  }
  45% {
    opacity: 1;
  }
  70% {
    opacity: 0.45;
    transform: translateX(-50%) translateY(-20px) scaleY(1.2);
  }
}

@keyframes shootingStar {
  0% {
    opacity: 0;
    transform: rotate(var(--star-rotate)) translate3d(0, 0, 0) scaleX(0.36);
  }
  12% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: rotate(var(--star-rotate)) translate3d(var(--star-distance), 0, 0) scaleX(1);
  }
}

@keyframes ledTop {
  0%,
  2% {
    opacity: 0;
    transform: translateX(0);
  }
  5%,
  20% {
    opacity: 1;
  }
  26%,
  100% {
    opacity: 0;
    transform: translateX(calc(140vw + 420px));
  }
}

@keyframes ledRight {
  0%,
  24% {
    opacity: 0;
    transform: translateY(0);
  }
  28%,
  43% {
    opacity: 1;
  }
  49%,
  100% {
    opacity: 0;
    transform: translateY(calc(140vh + 360px));
  }
}

@keyframes ledBottom {
  0%,
  48% {
    opacity: 0;
    transform: translateX(0);
  }
  52%,
  67% {
    opacity: 1;
  }
  73%,
  100% {
    opacity: 0;
    transform: translateX(calc(-140vw - 420px));
  }
}

@keyframes ledLeft {
  0%,
  72% {
    opacity: 0;
    transform: translateY(0);
  }
  76%,
  91% {
    opacity: 1;
  }
  97%,
  100% {
    opacity: 0;
    transform: translateY(calc(-140vh - 360px));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .shooting-layer,
  .led-frame {
    display: none;
  }
}

@media (min-width: 821px) and (max-width: 1180px) {
  .nudo-games-entry {
    min-height: 42px;
    padding: 0.68rem 1.08rem;
    font-size: 0.66rem;
  }

  .nudo-games-entry:hover {
    transform: translateY(-2px) scale(1.02);
  }
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .header-actions {
    gap: 0.4rem;
  }

  .nudo-games-entry {
    min-height: 42px;
    padding: 0.68rem 1.08rem;
    font-size: 0.66rem;
  }

  .nudo-games-entry:hover {
    transform: translateY(-2px) scale(1.02);
  }

  .header-cta,
  .language-toggle {
    padding: 0.65rem 0.82rem;
  }

  .panel {
    min-height: auto;
    padding: 5.8rem 1.1rem;
  }

  .hero {
    min-height: 100svh;
  }

  .hero__title span,
  .cta__logo {
    font-size: clamp(6rem, 28vw, 9rem);
  }

  .hero__title small {
    max-width: 10ch;
  }

  .hero__badge {
    position: relative;
    right: auto;
    bottom: auto;
    z-index: 2;
    width: auto;
    max-width: 260px;
    margin-top: 2rem;
  }

  .scroll-cue {
    left: 1.1rem;
    right: auto;
  }

  .story__grid,
  .garden,
  .visit,
  .menu__intro,
  .menu-card {
    grid-template-columns: 1fr;
  }

  .display {
    font-size: clamp(3rem, 14vw, 5.6rem);
  }

  .menu-showcase {
    min-height: 760px;
  }

  .menu-card {
    align-content: center;
  }

  .menu-card img,
  .oval-plate,
  .cup-motion {
    grid-row: 1;
    width: min(310px, 82vw);
  }

  .menu-card h3 {
    font-size: clamp(3.5rem, 18vw, 6.5rem);
  }

  .signature-row,
  .gallery__track {
    grid-template-columns: 1fr;
  }

  .signature--large img,
  .signature img {
    width: min(330px, 86vw);
  }

  .garden__image {
    min-height: 480px;
  }

  .column-mark {
    display: none;
  }

  .opening__headline {
    font-size: clamp(5rem, 22vw, 8rem);
  }

  .footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 460px) {
  .brand {
    font-size: 1.35rem;
  }

  .header-cta,
  .language-toggle {
    font-size: 0.62rem;
  }

  .menu-card li {
    display: grid;
    gap: 0.25rem;
  }

  .menu-card li span:last-child {
    text-align: left;
  }

  .menu-showcase {
    min-height: 820px;
  }
}

/* Nudo atmosphere v2 */
.hero {
  place-items: center;
  text-align: center;
}

.hero::before {
  background:
    linear-gradient(180deg, rgba(247, 244, 238, 0.18), rgba(247, 244, 238, 0.9) 92%),
    radial-gradient(circle at 50% 46%, rgba(118, 12, 12, 0.12), transparent 34%);
}

.weather-field {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  transition: filter 2s var(--ease), opacity 2s var(--ease);
}

.wind-clouds {
  position: absolute;
  inset: -16vh -45vw -10vh -45vw;
  z-index: 2;
  animation: none;
  transition: filter 2.1s var(--ease);
}

.wind-cloud {
  position: absolute;
  width: min(88rem, 148vw);
  max-width: none;
  opacity: 0.5;
  mix-blend-mode: normal;
  filter: saturate(0.88) contrast(1.04);
  animation: windCloud 42s linear infinite;
  transition: opacity 1.9s var(--ease), filter 1.9s var(--ease);
}

.wind-cloud--one {
  top: 1vh;
  --cloud-scale: 1;
  animation-delay: -14s;
}

.wind-cloud--two {
  top: 30vh;
  --cloud-scale: 0.82;
  opacity: 0.42;
  animation-duration: 54s;
  animation-delay: -31s;
}

.wind-cloud--three {
  top: 58vh;
  --cloud-scale: 0.68;
  opacity: 0.36;
  animation-duration: 48s;
  animation-delay: -5s;
}

.flying-torta-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  transition: opacity 1.1s var(--ease);
}

.flying-torta {
  position: absolute;
  top: var(--fly-y, 24vh);
  left: 0;
  z-index: var(--fly-z, 2);
  width: var(--fly-size, 58px);
  opacity: 0;
  filter:
    saturate(0.94)
    contrast(0.98)
    drop-shadow(0 6px 12px rgba(118, 12, 12, 0.08));
  mix-blend-mode: normal;
  transform: translate3d(var(--fly-from, -14vw), 0, 0) scale(var(--fly-scale, 1));
  animation: flyingTorta var(--fly-speed, 9s) cubic-bezier(0.42, 0, 0.18, 1) var(--fly-delay, 0ms) forwards;
}

.flying-torta img {
  width: 100%;
  height: auto;
  transform-origin: center;
  animation: flyingTortaFlutter 0.64s ease-in-out infinite alternate;
}

.rain-field {
  position: absolute;
  inset: 0;
  z-index: 3;
  opacity: 0;
  background-image: repeating-linear-gradient(
    112deg,
    rgba(118, 12, 12, 0) 0 16px,
    rgba(118, 12, 12, 0.28) 17px,
    rgba(118, 12, 12, 0) 19px
  );
  background-size: 180px 180px;
  animation: none;
  transition: opacity 1.8s var(--ease), background-image 1.8s var(--ease);
}

body.weather-active .flying-torta-layer {
  opacity: 0;
}

.moon-field {
  position: absolute;
  top: clamp(5.5rem, 9vh, 8rem);
  right: clamp(1rem, 8vw, 8rem);
  z-index: 1;
  width: clamp(92px, 16vw, 220px);
  height: clamp(92px, 16vw, 220px);
  aspect-ratio: 1 / 1;
  opacity: 0;
  transform: translate3d(18px, -12px, 0) scale(0.86);
  filter:
    drop-shadow(0 0 32px rgba(232, 241, 255, 0.22))
    drop-shadow(0 0 86px rgba(232, 241, 255, 0.18));
  transition: opacity 2.1s var(--ease), transform 2.1s var(--ease), filter 2.1s var(--ease);
}

.moon-field img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 50%;
  mix-blend-mode: normal;
  transition: opacity 1.4s var(--ease);
}

.moon-field::after {
  content: "";
  position: absolute;
  inset: -52%;
  z-index: 2;
  opacity: 0;
  background: url("assets/nubes-nudo-main.png") center / contain no-repeat;
  filter: brightness(0.48) saturate(0.72) contrast(1.18);
  transform: translate3d(120%, 6%, 0) scale(1.18);
  transition: opacity 1.4s var(--ease);
  pointer-events: none;
}

.lightning-layer {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}

.lightning-bolt {
  position: absolute;
  top: -5vh;
  left: var(--bolt-x);
  width: var(--bolt-width, 3px);
  height: var(--bolt-height, 42vh);
  opacity: 0;
  transform: rotate(var(--bolt-rotate, 7deg));
  transform-origin: top;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0),
    rgba(235, 244, 255, 0.94) 18%,
    rgba(167, 194, 255, 0.84) 46%,
    rgba(255, 255, 255, 0)
  );
  clip-path: polygon(45% 0, 100% 31%, 58% 31%, 92% 64%, 49% 54%, 66% 100%, 0 42%, 40% 44%);
  filter:
    drop-shadow(0 0 12px rgba(236, 244, 255, 0.8))
    drop-shadow(0 0 34px rgba(156, 190, 255, 0.52));
  animation: lightningStrike 0.64s ease-out forwards;
}

.lightning-bolt::before,
.lightning-bolt::after {
  content: "";
  position: absolute;
  top: 24%;
  width: 2px;
  height: 42%;
  background: inherit;
  opacity: 0.62;
}

.lightning-bolt::before {
  left: -18px;
  transform: rotate(-31deg);
}

.lightning-bolt::after {
  right: -22px;
  transform: rotate(28deg);
}

.thunder-flash {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at var(--flash-x, 70%) 18%, rgba(232, 242, 255, 0.36), transparent 34%),
    rgba(232, 242, 255, 0.12);
  opacity: 0;
  animation: thunderFlash 0.48s ease-out forwards;
}

.hero__copy--center {
  position: relative;
  z-index: 3;
  display: grid;
  justify-items: center;
  width: min(760px, 86vw);
  margin: 0 auto;
}

.hero__logo {
  position: relative;
  margin: 0;
  width: min(520px, 72vw);
  aspect-ratio: 1;
  pointer-events: none;
  filter: drop-shadow(0 26px 60px rgba(118, 12, 12, 0.16));
}

.hero__logo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 1.4s var(--ease), transform 1.4s var(--ease), filter 1.4s var(--ease);
}

.hero__logo-night {
  opacity: 0;
  visibility: hidden;
  transform: scale(0.94);
}

.hero__copy--center .hero__text {
  max-width: 520px;
  margin-inline: auto;
  color: rgba(11, 11, 10, 0.72);
}

.hero__actions {
  position: relative;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  margin-top: clamp(1.2rem, 3vw, 2rem);
}

.hero-button,
.weather-button {
  appearance: none;
  border: 1px solid rgba(118, 12, 12, 0.32);
  border-radius: 999px;
  background: rgba(247, 244, 238, 0.74);
  color: var(--red);
  cursor: pointer;
  padding: 0.88rem 1.1rem;
  font: 900 0.72rem var(--sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
  transition: background 0.6s var(--ease), color 0.6s var(--ease), border-color 0.6s var(--ease), transform 0.35s var(--ease);
}

.hero-icon-button,
.weather-button {
  display: inline-grid;
  width: 54px;
  min-width: 54px;
  height: 54px;
  place-items: center;
  padding: 0;
}

.hero-icon-button svg,
.weather-button svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.85;
}

.weather-icon--sun {
  display: none;
}

body.weather-active .weather-icon--moon {
  display: none;
}

body.weather-active .weather-icon--sun {
  display: block;
}

.hero-button:hover,
.weather-button:hover,
body.weather-active .weather-button {
  background: var(--red);
  color: var(--paper);
  transform: translateY(-2px);
}

.hero-button--menu {
  border-color: rgba(118, 12, 12, 0.48);
  box-shadow:
    0 0 0 1px rgba(118, 12, 12, 0.22),
    0 0 22px rgba(255, 35, 35, 0.2);
}

.hero-button--last-ticket {
  min-width: 9.6rem;
  min-height: 2.45rem;
  border-width: 2px;
  border-color: rgba(118, 12, 12, 0.38);
  background: rgba(247, 244, 238, 0.68);
  color: var(--red);
  text-align: center;
  font-size: 0.62rem;
  font-weight: 950;
  box-shadow: 0 12px 30px rgba(118, 12, 12, 0.08);
}

.hero__last-ticket {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  margin-bottom: clamp(0.55rem, 1.4vw, 1rem);
  padding: 0.62rem 1rem;
  line-height: 1.05;
}

.hero-button--last-ticket:hover {
  border-color: rgba(143, 13, 13, 0.52);
  background: rgba(247, 244, 238, 0.9);
  color: var(--red);
}

.hero-button--last-ticket[hidden] {
  display: none;
}

.hero-button--account {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  max-width: min(78vw, 13.5rem);
  overflow: hidden;
  border-width: 2px;
  border-color: rgba(118, 12, 12, 0.5);
  background: rgba(255, 255, 255, 0.64);
  color: rgba(118, 12, 12, 0.92);
  font-size: 0.68rem;
  padding: 0.7rem 1rem;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.68) inset,
    0 14px 34px rgba(118, 12, 12, 0.12);
}

.hero-button--account.is-logged-in {
  justify-content: flex-start;
  border-color: rgba(143, 0, 0, 0.4);
  background: rgba(247, 244, 238, 0.82);
  color: var(--ink);
  min-height: 64px;
  max-width: min(88vw, 19.5rem);
  padding: 0.34rem 1rem 0.34rem 0.42rem;
  font-size: 0.96rem;
  letter-spacing: 0;
  text-transform: none;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.72) inset,
    0 0 26px rgba(158, 0, 0, 0.18),
    0 16px 34px rgba(118, 12, 12, 0.14);
}

.hero-account__avatar {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 3.35rem;
  height: 3.35rem;
  border: 1.5px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background:
    radial-gradient(circle at 32% 26%, rgba(255, 255, 255, 0.98), transparent 32%),
    conic-gradient(from 0deg, #5f0000, #b00000, #ff1919, #750000, #e20000, #5f0000);
  color: var(--red);
  font: 950 1.12rem var(--sans);
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.7),
    0 0 30px rgba(180, 0, 0, 0.5),
    0 16px 30px rgba(79, 18, 12, 0.18);
}

.hero-account__avatar::before {
  content: "";
  position: absolute;
  inset: -5px;
  z-index: -1;
  border-radius: inherit;
  background: conic-gradient(from 0deg, rgba(118, 0, 0, 0.08), rgba(255, 22, 22, 0.86), rgba(118, 0, 0, 0.34), rgba(255, 146, 130, 0.82), rgba(118, 0, 0, 0.08));
  filter: blur(3px);
  animation: nudo-red-orbit 7s linear infinite;
}

.hero-account__avatar::after {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.56), transparent 42%);
  pointer-events: none;
  z-index: 2;
}

.hero-account__avatar img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.hero-account__avatar:not(:has(img)) {
  -webkit-text-fill-color: rgba(118, 12, 12, 0.92);
}

.hero-account__label {
  display: inline-flex;
  align-items: baseline;
  gap: 0.44rem;
  min-width: 0;
  flex: 1 1 auto;
  max-width: min(50vw, 13.4rem);
  font-size: 1.08em;
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
}

.hero-account__name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-account__points {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: baseline;
  gap: 0.14rem;
  line-height: 1;
  white-space: nowrap;
}

.hero-account__points-value {
  position: relative;
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.96), transparent 12%),
    radial-gradient(circle at 78% 24%, rgba(255, 43, 43, 0.98), transparent 18%),
    radial-gradient(circle at 36% 78%, rgba(124, 0, 0, 0.98), transparent 21%),
    conic-gradient(from 0deg, #3f0000, #8b0000, #ff0000, #620000, #d00000, #ff2a22, #3f0000);
  background-size: 240% 240%;
  -webkit-background-clip: text;
  background-clip: text;
  color: var(--red);
  -webkit-text-fill-color: transparent;
  font-size: 0.9em;
  font-weight: 950;
  line-height: 1;
  filter:
    drop-shadow(0 1px 0 rgba(255, 255, 255, 0.54))
    drop-shadow(0 8px 14px rgba(118, 0, 0, 0.24));
  animation: nudo-glass-flow 5.8s ease-in-out infinite;
}

.hero-account__points-unit {
  color: #8f0000;
  font-size: 0.62em;
  font-weight: 950;
  letter-spacing: 0.01em;
  transform: translateY(-0.03em);
}

.hero__account {
  justify-self: center;
  margin-bottom: clamp(0.42rem, 1.1vw, 0.7rem);
}

.weather-button {
  overflow: hidden;
  border-color: rgba(247, 244, 238, 0.62);
  background: rgba(235, 235, 232, 0.86);
  color: var(--ink);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.2) inset,
    0 10px 24px rgba(0, 0, 0, 0.12);
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  outline: none;
  caret-color: transparent;
  user-select: none;
}

.weather-button:focus {
  outline: none;
}

.weather-button:focus-visible {
  box-shadow: none;
}

.weather-button:hover {
  border-color: rgba(247, 244, 238, 0.72);
  background: rgba(235, 235, 232, 0.94);
  color: var(--ink);
}

@media (max-width: 520px) {
  .wind-clouds {
    inset: -8vh -26vw -8vh -26vw;
  }

  .wind-cloud {
    width: min(34rem, 118vw);
    height: auto;
    object-fit: contain;
    transform-origin: center;
  }

  .wind-cloud--one {
    top: 8vh;
    --cloud-scale: 0.78;
  }

  .wind-cloud--two {
    top: 41vh;
    width: min(44rem, 138vw);
    --cloud-scale: 0.58;
  }

  .wind-cloud--three {
    top: 70vh;
    --cloud-scale: 0.54;
  }

  .moon-field::after {
    inset: -38%;
    background-size: contain;
    transform: translate3d(112%, 3%, 0) scale(0.92);
  }

  body.weather-active .moon-field::after {
    animation-name: moonCloudCoverMobile;
  }

  @keyframes moonCloudCoverMobile {
    0% {
      transform: translate3d(112%, 3%, 0) scale(0.92);
    }
    42%,
    58% {
      transform: translate3d(0%, 3%, 0) scale(0.94);
    }
    100% {
      transform: translate3d(-112%, 3%, 0) scale(0.92);
    }
  }

  .hero__actions {
    display: grid;
    grid-template-columns: repeat(3, 48px);
    justify-content: center;
    gap: 0.48rem;
  }

  .hero-button,
  .weather-button {
    min-height: 44px;
    padding: 0.68rem 0.54rem;
    font-size: 0.56rem;
    letter-spacing: 0.08em;
  }

  .hero-icon-button,
  .weather-button {
    width: 48px;
    min-width: 48px;
    height: 48px;
    padding: 0;
  }

  .hero-icon-button svg,
  .weather-button svg {
    width: 20px;
    height: 20px;
  }

  .hero-button--last-ticket {
    min-width: min(62vw, 10.8rem);
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.58rem 0.78rem;
    font-size: 0.54rem;
    line-height: 1.05;
    text-align: center;
  }

  .hero__last-ticket {
    margin-bottom: 0.4rem;
  }

  .hero-button--account.is-logged-in {
    min-height: 56px;
    max-width: min(92vw, 17.4rem);
    padding: 0.3rem 0.78rem 0.3rem 0.32rem;
    font-size: 0.9rem;
  }

  .hero-account__avatar {
    width: 2.9rem;
    height: 2.9rem;
    font-size: 1rem;
  }

  .hero-account__label {
    gap: 0.34rem;
    max-width: min(50vw, 10.4rem);
  }

  .hero-account__points-value {
    font-size: 0.82em;
  }

  .hero-account__points-unit {
    font-size: 0.56em;
  }
}

.menu {
  display: grid;
  align-content: center;
  gap: clamp(2.5rem, 6vw, 5rem);
}

.menu-launch {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  width: min(920px, 100%);
  min-height: clamp(360px, 56vw, 620px);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(118, 12, 12, 0.22);
  border-radius: 0;
  background: var(--red);
  color: var(--paper);
  cursor: pointer;
  font: inherit;
  box-shadow: 0 34px 90px rgba(118, 12, 12, 0.22);
  transition: transform 0.7s var(--ease), box-shadow 0.7s var(--ease);
}

.menu-launch::before {
  content: "";
  position: absolute;
  inset: -35%;
  z-index: -1;
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 255, 255, 0.3), transparent 18%),
    url("assets/nubes-nudo-main.png") center / contain no-repeat;
  opacity: 0.18;
  animation: cloudDrift 16s ease-in-out infinite alternate;
}

body.weather-active {
  background: #07080a;
  color: var(--paper);
}

body.weather-active .panel--light {
  background: #07080a;
  color: var(--paper);
}

body.weather-active .site-header:not(.is-dark) {
  color: var(--paper);
}

body.weather-active .site-header.is-scrolled {
  background: rgba(7, 8, 10, 0.7);
  border-color: rgba(232, 241, 255, 0.12);
}

body.weather-active .brand {
  color: var(--paper);
}

body.weather-active .hero::before {
  background:
    radial-gradient(circle at 73% 18%, rgba(229, 239, 255, 0.18), transparent 20%),
    radial-gradient(circle at 50% 44%, rgba(118, 12, 12, 0.16), transparent 32%),
    linear-gradient(180deg, rgba(5, 6, 9, 0.44), rgba(7, 8, 10, 0.9) 86%);
}

body.weather-active .hero::after {
  opacity: 1;
}

body.weather-active .wind-clouds {
  animation: stormDrift 9s ease-in-out infinite alternate;
  filter: brightness(0.5) saturate(0.72) contrast(1.2);
}

body.weather-active .wind-cloud {
  opacity: 0.68;
}

body.weather-active .rain-field {
  opacity: 0.18;
  background-image:
    repeating-linear-gradient(
      103deg,
      rgba(232, 241, 255, 0) 0 18px,
      rgba(232, 241, 255, 0.26) 19px,
      rgba(232, 241, 255, 0.04) 21px,
      rgba(232, 241, 255, 0) 26px
    ),
    repeating-linear-gradient(
      100deg,
      rgba(255, 255, 255, 0) 0 42px,
      rgba(255, 255, 255, 0.13) 43px,
      rgba(255, 255, 255, 0) 45px
    );
  background-size: 210px 280px, 150px 220px;
  animation: rainFall 0.52s linear infinite, rainPulse 6s ease-in-out infinite;
}

body.weather-active .moon-field {
  opacity: 0.42;
  transform: translate3d(0, 0, 0) scale(1);
  filter:
    drop-shadow(0 0 58px rgba(232, 241, 255, 0.52))
    drop-shadow(0 0 160px rgba(232, 241, 255, 0.3));
}

body.weather-active .moon-field::after {
  opacity: 0.96;
  animation: moonCloudCover 18s linear infinite;
}

body.weather-active .moon-field img {
  animation: moonVeil 18s ease-in-out infinite;
}

body.weather-active .hero__logo {
  filter:
    drop-shadow(0 0 34px rgba(232, 241, 255, 0.22))
    drop-shadow(0 26px 60px rgba(118, 12, 12, 0.28));
}

body.weather-active .hero__logo-day {
  opacity: 0;
  visibility: hidden;
  transform: scale(0.96);
}

body.weather-active .hero__logo-night {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

body.weather-active .hero-button,
body.weather-active .weather-button {
  border-color: rgba(247, 244, 238, 0.34);
  background: rgba(7, 8, 10, 0.52);
  color: var(--paper);
}

body.weather-active .weather-button,
body.weather-active .weather-button:hover {
  background: rgba(235, 235, 232, 0.9);
  color: var(--ink);
}

body.weather-active .hero-button:hover {
  background: var(--red);
  color: var(--paper);
}

body.weather-active .hero__badge,
body.weather-active .scroll-cue {
  color: var(--paper);
  border-color: rgba(247, 244, 238, 0.24);
}

.menu-launch:hover {
  transform: scale(0.985);
  box-shadow: 0 44px 110px rgba(118, 12, 12, 0.28);
}

.menu-launch span {
  font-family: var(--serif);
  font-size: clamp(4.4rem, 14vw, 13rem);
  line-height: 0.82;
}

.menu-launch small {
  margin-top: 1rem;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.menu-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: clamp(0.8rem, 3vw, 2rem);
  background: rgba(11, 11, 10, 0.72);
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(18px);
  transition: opacity 0.45s var(--ease);
}

.menu-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.menu-modal__shell {
  position: relative;
  width: min(1120px, 100%);
  height: min(86vh, 860px);
  overflow: hidden;
  background: var(--paper);
  clip-path: inset(48% 48% 48% 48%);
  transform: scale(0.86);
  transition: clip-path 0.85s var(--ease), transform 0.85s var(--ease);
}

.menu-modal.is-open .menu-modal__shell {
  clip-path: inset(0 0 0 0);
  transform: scale(1);
}

.menu-modal iframe {
  width: 100%;
  height: 100%;
  border: 0;
  background: var(--paper);
}

.menu-modal__close,
.menu-modal__link {
  position: fixed;
  z-index: 220;
  top: 1rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: rgba(247, 244, 238, 0.86);
  color: var(--red);
  padding: 0.75rem 1rem;
  font: 900 0.7rem var(--sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.menu-modal__close {
  right: 1rem;
  cursor: pointer;
}

.menu-modal__link {
  left: 1rem;
}

.dbz-modal {
  position: fixed;
  inset: 0;
  z-index: 260;
  display: grid;
  place-items: center;
  padding: clamp(0.8rem, 3vw, 2rem);
  background: rgba(8, 8, 7, 0.74);
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(16px);
  transition: opacity 0.45s var(--ease);
}

.dbz-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.dbz-modal__shell {
  position: relative;
  width: min(1040px, 96vw);
  overflow: hidden;
  border: 1px solid rgba(247, 244, 238, 0.2);
  border-radius: clamp(18px, 2vw, 28px);
  background: var(--red);
  box-shadow: 0 42px 140px rgba(0, 0, 0, 0.44);
  transform: translateY(22px) scale(0.94);
  transition: transform 0.55s var(--ease);
}

.dbz-modal.is-open .dbz-modal__shell {
  transform: translateY(0) scale(1);
}

.dbz-modal img {
  width: 100%;
  max-height: 86vh;
  object-fit: contain;
}

.dbz-modal__close {
  position: absolute;
  z-index: 2;
  top: 1rem;
  right: 1rem;
  border: 1px solid rgba(247, 244, 238, 0.82);
  border-radius: 999px;
  background: rgba(247, 244, 238, 0.88);
  color: var(--red);
  cursor: pointer;
  padding: 0.75rem 1rem;
  font: 900 0.7rem var(--sans);
  letter-spacing: 0.1em;
  text-transform: lowercase;
  backdrop-filter: blur(10px);
}

.products {
  display: grid;
  align-content: center;
  gap: clamp(2rem, 5vw, 4rem);
}

.products__intro {
  max-width: 900px;
}

.products__intro .section-kicker {
  margin-bottom: 0;
  color: var(--ink);
  font-size: clamp(3.2rem, 10vw, 9rem);
  font-weight: 950;
  line-height: 0.82;
  letter-spacing: 0;
  text-transform: lowercase;
}

.product-category-nav,
.products__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.product-category-nav {
  gap: 0.85rem;
}

.product-category-panel {
  display: grid;
  gap: clamp(2.2rem, 4.5vw, 4rem);
}

.product-category-panel[hidden] {
  display: none;
}

.product-category-tab,
.product-tab {
  appearance: none;
  border: 1px solid rgba(118, 12, 12, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  color: var(--red);
  cursor: pointer;
  padding: clamp(1rem, 1.7vw, 1.24rem) clamp(1.35rem, 2.7vw, 2rem);
  font: 900 clamp(0.95rem, 1.25vw, 1.18rem) var(--sans);
  letter-spacing: 0.06em;
  text-transform: none;
  transition: background 0.45s var(--ease), color 0.45s var(--ease), transform 0.45s var(--ease);
}

.product-category-tab {
  padding: clamp(1.3rem, 2.45vw, 1.9rem) clamp(2rem, 4vw, 3.4rem);
  font-size: clamp(1.35rem, 2.35vw, 2.25rem);
  box-shadow: 0 16px 48px rgba(118, 12, 12, 0.06);
}

.product-category-tab:hover,
.product-category-tab.is-active,
.product-tab:hover,
.product-tab.is-active {
  background: var(--red);
  color: var(--paper);
  transform: translateY(-2px);
}

.product-category-tab:not(.is-active) {
  background: rgba(255, 255, 255, 0.64);
}

.product-panel {
  display: grid;
  gap: clamp(1.45rem, 3vw, 2.75rem);
}

.product-panel.is-active {
  opacity: 1;
  transform: translateY(0);
}

.product-panel[hidden] {
  display: none;
}

.product-note {
  max-width: 760px;
  margin: 0 auto;
  color: var(--red);
  font-size: clamp(1.2rem, 2.2vw, 2rem);
  font-weight: 900;
  line-height: 1.04;
  text-align: center;
}

.dish-section {
  position: relative;
  display: grid;
  gap: clamp(0.38rem, 0.9vw, 0.78rem);
}

.dish-section:not(:last-child) {
  padding-bottom: clamp(1.15rem, 2.8vw, 2.25rem);
}

.dish-section:not(:last-child)::after {
  content: "";
  position: absolute;
  right: min(46%, 420px);
  bottom: 0;
  left: min(46%, 420px);
  height: 3px;
  border-radius: 999px;
  background: rgba(118, 12, 12, 0.36);
}

.dish-section h3 {
  margin: 0;
  color: var(--red);
  font-size: clamp(2.8rem, 7vw, 7.2rem);
  font-weight: 950;
  line-height: 0.86;
  text-align: center;
  text-transform: none;
  transform: translateY(-0.28rem);
}

.dish-showcase {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: clamp(0.58rem, 1.15vw, 0.96rem);
  width: min(100%, 860px);
  height: clamp(400px, 39vw, 470px);
  margin-inline: auto;
  padding: clamp(0.75rem, 1.45vw, 1.15rem);
  overflow: hidden;
  border: 3px solid rgba(118, 12, 12, 0.72);
  border-radius: clamp(30px, 4vw, 54px);
  background:
    radial-gradient(circle at 50% 46%, rgba(118, 12, 12, 0.055), transparent 46%),
    rgba(255, 255, 255, 0.78);
  box-shadow: 0 24px 80px rgba(118, 12, 12, 0.12);
}

.dish-selector {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  gap: clamp(0.38rem, 0.8vw, 0.65rem);
  width: min(100%, 1120px);
  min-height: clamp(5.15rem, 6.1vw, 6.45rem);
  margin-inline: auto;
}

.dish-option {
  appearance: none;
  border: 1px solid rgba(118, 12, 12, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--red);
  cursor: pointer;
  padding: 0.8rem 1.08rem;
  font: 900 clamp(1.18rem, 2vw, 1.75rem) var(--sans);
  letter-spacing: 0;
  text-transform: none;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), transform 0.35s var(--ease), border-color 0.35s var(--ease);
}

.dish-option.is-active {
  border-color: rgba(118, 12, 12, 0.72);
  background: var(--red);
  color: var(--paper);
  transform: translateY(-1px);
}

@media (hover: hover) and (pointer: fine) {
  .dish-option:hover:not(.is-active) {
    border-color: rgba(118, 12, 12, 0.44);
    background: rgba(118, 12, 12, 0.08);
    color: var(--red);
    transform: translateY(-1px);
  }
}

.dish-display {
  display: grid;
  grid-template-rows: minmax(0, 1fr) clamp(4.3rem, 5.2vw, 5.5rem);
  gap: clamp(0.2rem, 0.8vw, 0.75rem);
  justify-items: center;
  min-height: 0;
}

.dish-media {
  position: relative;
  width: min(100%, 920px);
  height: 100%;
  min-height: 0;
}

.dish-media--wide {
  width: min(100%, 920px);
  height: 100%;
}

.dish-media--roma {
  width: min(100%, 920px);
  height: 100%;
}

.dish-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0;
  transform: translateY(14px) scale(0.97);
  filter: saturate(0.98) contrast(0.99);
  transition: opacity 0.42s var(--ease), transform 0.42s var(--ease), filter 0.42s var(--ease);
}

.dish-image.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: saturate(1.03) contrast(1.02);
}

.dish-showcase--loaded .dish-image {
  transform: translateY(14px) scale(1.08);
}

.dish-showcase--loaded .dish-image.is-active {
  transform: translateY(0) scale(1.12);
}

.dish-showcase--loaded .dish-image--beans.is-active {
  transform: translateY(1.35rem) scale(1.12);
}

.dish-showcase--caidas .dish-image {
  transform: translateY(14px) scale(1.16);
}

.dish-showcase--caidas .dish-image.is-active {
  transform: translateY(0) scale(1.22);
}

.dish-description {
  display: grid;
  align-items: start;
  min-height: 0;
  margin: clamp(-0.55rem, -0.8vw, -0.2rem) 0 0;
  color: var(--red);
  font-size: clamp(1.35rem, 2.45vw, 2.35rem);
  font-weight: 950;
  line-height: 0.96;
  text-align: center;
  text-wrap: balance;
  white-space: pre-line;
}

.dish-description span {
  display: none;
  max-width: 22ch;
}

.dish-description span.is-active {
  display: block;
}

.dish-description .dish-description__beans {
  max-width: 32ch;
  font-size: 0.82em;
  line-height: 0.98;
  transform: translateY(-0.35rem);
}

@media (min-width: 769px) {
  [data-product-panel="tortas"] .dish-showcase {
    width: min(94vw, 1280px);
    height: 610px;
    gap: 0.9rem;
    padding: 1.2rem;
    border-radius: 54px;
  }

  [data-product-panel="tortas"] .dish-selector {
    gap: 0.78rem;
    min-height: 7.05rem;
  }

  [data-product-panel="tortas"] .dish-option {
    flex: 0 0 auto;
    min-width: 210px;
    padding: 0.86rem 1.24rem;
    font-size: 1.55rem;
    line-height: 1.08;
  }

  [data-product-panel="tortas"] .dish-option[data-dish-target="milanesa"],
  [data-product-panel="tortas"] .dish-option[data-dish-target="quesos"],
  [data-product-panel="tortas"] .dish-option[data-dish-target="zarzamora"],
  [data-product-panel="tortas"] .dish-option[data-dish-target="jamaica"],
  [data-product-panel="tortas"] .dish-option[data-dish-target="chongos"] {
    min-width: 300px;
  }

  [data-product-panel="tortas"] .dish-display {
    grid-template-rows: minmax(0, 1fr) 5.5rem;
    gap: 0.7rem;
  }

  [data-product-panel="tortas"] .dish-showcase--loaded .dish-image.is-active {
    transform: translateY(0) scale(1.12);
  }

  [data-product-panel="tortas"] .dish-showcase--caidas .dish-image.is-active {
    transform: translateY(0) scale(1.22);
  }

  [data-product-panel="tortas"] .dish-description {
    margin-top: -0.25rem;
    font-size: 2.18rem;
  }
}

.drinks {
  --drink-scroll-zoom: 1;
  display: grid;
  gap: clamp(1.3rem, 3vw, 2.4rem);
  width: min(100%, 1280px);
  margin-inline: auto;
}

.drink-card-sizes {
  position: absolute;
  top: clamp(0.75rem, 1.7vw, 1.2rem);
  left: 50%;
  right: auto;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(2, minmax(86px, 1fr));
  gap: 0.45rem;
  width: min(320px, 54%);
  pointer-events: none;
  transform: translateX(-50%);
}

@media (min-width: 721px) {
  .drink-card-sizes {
    top: clamp(1.45rem, 2.1vw, 2rem);
    left: 50%;
    right: auto;
    width: min(300px, 41%);
    transform: translateX(-50%);
  }
}

.drink-size-tab {
  display: grid;
  gap: 0.12rem;
  align-content: center;
  justify-items: center;
  min-height: clamp(64px, 7.5vw, 90px);
  min-width: 0;
  border: 1.5px solid rgba(118, 12, 12, 0.62);
  border-radius: clamp(16px, 2vw, 24px);
  background: rgba(255, 255, 255, 0.72);
  color: var(--red);
  box-shadow: 0 18px 54px rgba(118, 12, 12, 0.08);
  font: 900 0.92rem var(--sans);
  letter-spacing: 0.04em;
  padding: clamp(0.5rem, 1vw, 0.72rem);
  text-align: center;
}

.drink-card-sizes .drink-size-tab {
  min-height: clamp(52px, 5.2vw, 72px);
  padding: clamp(0.42rem, 0.82vw, 0.64rem);
  border-color: rgba(118, 12, 12, 0.72);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 14px 34px rgba(118, 12, 12, 0.08);
}

.drink-size-tab span {
  font-size: clamp(1.35rem, 3vw, 2.8rem);
  line-height: 0.86;
}

.drink-card-sizes .drink-size-tab span {
  font-size: clamp(1rem, 1.7vw, 1.55rem);
}

.drink-size-tab strong {
  font-size: clamp(0.74rem, 1.02vw, 0.9rem);
  font-weight: 950;
  line-height: 1;
}

.drink-card-sizes .drink-size-tab strong {
  font-size: clamp(0.62rem, 0.82vw, 0.78rem);
}

.drink-size-tab small {
  color: rgba(118, 12, 12, 0.68);
  font-size: clamp(0.58rem, 0.72vw, 0.72rem);
  font-weight: 900;
  line-height: 1.1;
}

.drink-showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-items: stretch;
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
}

.drink-cup-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: clamp(390px, 31vw, 500px);
  min-width: 0;
  padding: clamp(1rem, 2.4vw, 1.8rem);
  padding-bottom: clamp(1.45rem, 2.2vw, 2.25rem);
  padding-top: clamp(5.35rem, 8.4vw, 7.25rem);
  overflow: hidden;
  border: 3px solid rgba(118, 12, 12, 0.72);
  border-radius: clamp(30px, 4vw, 54px);
  background: var(--paper);
  box-shadow: 0 24px 80px rgba(118, 12, 12, 0.12);
}

.drink-cup-card::before {
  content: none;
}

.drink-cup-card--cold {
  background: var(--paper);
  border-color: rgba(118, 12, 12, 0.72);
  box-shadow: 0 24px 80px rgba(118, 12, 12, 0.12);
}

.drink-cup-card--cold::before {
  content: none;
}

.drink-cup-card--hot {
  background: var(--paper);
  border-color: rgba(118, 12, 12, 0.72);
}

.drink-cup-card--hot::before {
  content: none;
}

.drink-cup-card--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(0.35rem, 2vw, 1.5rem);
  align-items: end;
  width: 100%;
  max-width: 1180px;
}

.drink-cup-card--split::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: clamp(2rem, 3.6vw, 3.2rem);
  z-index: 2;
  width: 2px;
  height: clamp(250px, 21vw, 355px);
  background: rgba(118, 12, 12, 0.68);
  border-radius: 999px;
  transform: translateX(-50%);
}

.drink-half {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  align-items: end;
  min-width: 0;
  height: 100%;
}

.drink-cup-card--split .drink-cup-card__copy {
  position: relative;
  top: auto;
  left: auto;
  align-self: start;
  justify-self: center;
  min-width: 0;
  text-align: center;
  transform: translateY(-0.55rem);
}

.drink-cup-card--split .drink-cup-frame {
  width: 100%;
}

.drink-cup-card__copy {
  position: absolute;
  z-index: 2;
  top: clamp(1rem, 2.5vw, 2rem);
  left: clamp(1rem, 2.5vw, 2rem);
  display: grid;
  gap: 0.22rem;
  color: var(--red);
  pointer-events: none;
}

.drink-cup-card--cold .drink-cup-card__copy {
  color: var(--red);
}

.drink-cup-card__copy p,
.drink-options p {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: none;
}

.drink-cup-card__copy h3 {
  margin: 0;
  font-size: clamp(2.05rem, 4.7vw, 4.95rem);
  font-weight: 900;
  line-height: 0.82;
  text-transform: none;
}

.drink-cup-frame {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: flex-end;
  justify-content: center;
  place-items: end center;
  width: 100%;
  height: clamp(250px, 20.5vw, 340px);
  overflow: visible;
  border-radius: clamp(14px, 1.6vw, 22px);
  background: transparent;
}

.drink-cup {
  position: relative;
  grid-area: 1 / 1;
  display: block;
  flex: 0 1 auto;
  width: auto;
  height: clamp(270px, 22vw, 380px);
  max-width: 86%;
  max-height: none;
  object-fit: contain;
  opacity: 1;
  visibility: visible;
  background: transparent;
  box-shadow: none;
  filter: drop-shadow(0 34px 32px rgba(11, 11, 10, 0.13));
  transform: scale(var(--drink-scroll-zoom));
  transform-origin: 50% 100%;
  transition: opacity 0.42s var(--ease), transform 0.85s var(--ease), filter 0.85s var(--ease);
}

.drink-cup[data-drink-image-key],
.espresso-card__image img[data-drink-image-key] {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.drink-cup[data-drink-image-key].is-active,
.espresso-card__image img[data-drink-image-key].is-active {
  opacity: 1;
  visibility: visible;
}

.angelito-layer-label {
  position: absolute;
  z-index: 3;
  display: block;
  left: 50%;
  font: 950 clamp(1.45rem, 2.55vw, 2.65rem) var(--sans);
  line-height: 0.9;
  opacity: 0;
  pointer-events: none;
  text-transform: lowercase;
  transition: opacity 0.28s var(--ease), transform 0.36s var(--ease);
  white-space: nowrap;
}

.drink-cup-frame:has([data-drink-image-key="angelito"].is-active) .angelito-layer-label {
  opacity: 1;
}

.angelito-layer-label--leche {
  top: 23%;
  color: rgba(28, 18, 14, 0.9);
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.48);
  transform: translate(-50%, -50%);
}

.angelito-layer-label--cacao {
  bottom: 12%;
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 2px 0 rgba(54, 30, 22, 0.55);
  transform: translateX(-50%);
}

.drink-cup--cold {
  height: clamp(270px, 22vw, 380px);
  max-width: 86%;
}

.drink-cup--hot {
  height: clamp(270px, 22vw, 380px);
  max-width: 86%;
}

.steam-layer {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: clamp(5.65rem, 8.4vw, 7.35rem);
  width: clamp(136px, 18vw, 258px);
  height: clamp(215px, 28vw, 395px);
  pointer-events: none;
  transform: translateX(-50%);
  filter: blur(0.45px);
  mix-blend-mode: multiply;
}

.steam-layer--espresso {
  left: 21%;
  top: clamp(1.95rem, 3.9vw, 3.1rem);
  width: clamp(82px, 10.5vw, 142px);
  height: clamp(136px, 16vw, 238px);
}

.steam-layer--hot {
  top: clamp(3.85rem, 5.6vw, 5.2rem);
  mix-blend-mode: normal;
}

.drink-half--hot .steam-layer--hot {
  left: 50%;
  top: clamp(-3.1rem, -2.4vw, -1.65rem);
  width: clamp(102px, 14vw, 210px);
  height: clamp(170px, 22vw, 320px);
}

.steam-layer span {
  position: absolute;
  left: 50%;
  top: 0;
  width: clamp(30px, 4.4vw, 62px);
  height: clamp(104px, 15vw, 202px);
  border-radius: 999px;
  background:
    radial-gradient(ellipse at 50% 18%, rgba(78, 76, 70, 0.22), transparent 58%),
    linear-gradient(180deg, transparent, rgba(66, 64, 58, 0.28), transparent);
  opacity: 0;
  transform: translate3d(-50%, 0, 0) rotate(8deg) scaleX(0.5);
  animation: steamRise 5.8s linear infinite;
}

.steam-layer--hot span {
  background:
    radial-gradient(ellipse at 50% 18%, rgba(96, 89, 78, 0.28), transparent 58%),
    linear-gradient(180deg, transparent, rgba(72, 66, 58, 0.3), transparent);
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.36));
}

.steam-layer span:nth-child(2) {
  left: 38%;
  width: clamp(30px, 4.4vw, 64px);
  animation-duration: 6.9s;
  animation-delay: -2.1s;
}

.steam-layer span:nth-child(3) {
  left: 61%;
  width: clamp(34px, 4.9vw, 72px);
  animation-duration: 7.8s;
  animation-delay: -4.4s;
}

.steam-layer span:nth-child(4) {
  left: 46%;
  width: clamp(28px, 4vw, 58px);
  animation-duration: 5.4s;
  animation-delay: -1.2s;
}

.steam-layer span:nth-child(5) {
  left: 55%;
  width: clamp(24px, 3.5vw, 52px);
  animation-duration: 8.6s;
  animation-delay: -5.8s;
}

.steam-layer--espresso span {
  width: clamp(18px, 2.6vw, 34px);
  height: clamp(72px, 8.5vw, 126px);
}

@keyframes steamRise {
  0% {
    opacity: 0;
    transform: translate3d(-50%, 5%, 0) rotate(-10deg) scaleX(0.25);
  }
  18% {
    opacity: 0.46;
  }
  52% {
    opacity: 0.34;
    transform: translate3d(calc(-50% + 18px), -54%, 0) rotate(10deg) scaleX(0.52);
  }
  100% {
    opacity: 0;
    transform: translate3d(calc(-50% - 22px), -132%, 0) rotate(-8deg) scaleX(0.86);
  }
}

.espresso-card {
  position: relative;
  min-width: 0;
  min-height: clamp(128px, 15vw, 180px);
  overflow: hidden;
  border: 1px solid rgba(118, 12, 12, 0.18);
  border-radius: clamp(16px, 2vw, 24px);
  background:
    radial-gradient(circle at 78% 42%, rgba(118, 12, 12, 0.12), transparent 34%),
    rgba(255, 255, 255, 0.64);
  box-shadow: 0 18px 54px rgba(11, 11, 10, 0.07);
}

.espresso-card--wide {
  display: grid;
  grid-template-columns: minmax(130px, 0.24fr) minmax(0, 1fr);
  gap: clamp(0.7rem, 1.4vw, 1.1rem);
  align-items: center;
  padding: clamp(0.85rem, 1.5vw, 1.2rem);
}

.espresso-card--red {
  max-width: min(760px, 100%);
  min-height: clamp(250px, 24vw, 350px);
  margin-inline: auto;
  border: 3px solid rgba(118, 12, 12, 0.72);
  background: var(--paper);
  color: var(--red);
}

.espresso-card--red::before {
  content: none;
}

.espresso-card__tag {
  position: absolute;
  top: 0.75rem;
  left: 0.85rem;
  z-index: 2;
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: none;
}

.espresso-card--red .espresso-card__tag {
  color: var(--red);
  font-size: clamp(1.6rem, 3.1vw, 2.6rem);
  letter-spacing: 0;
}

.espresso-card__image {
  position: relative;
  z-index: 1;
  inset: auto;
  display: grid;
  place-items: center;
  grid-template-areas: "stack";
  overflow: visible;
  min-height: clamp(108px, 13vw, 160px);
  background: transparent;
  box-shadow: none;
}

.espresso-card--red .espresso-card__image {
  min-height: clamp(200px, 21vw, 290px);
  align-self: stretch;
}

.espresso-card__image img {
  grid-area: stack;
  max-width: 112%;
  max-height: 100%;
  object-fit: contain;
  background: transparent;
  box-shadow: none;
  filter: drop-shadow(0 18px 18px rgba(11, 11, 10, 0.08));
  transition: opacity 0.32s var(--ease), transform 0.42s var(--ease), filter 0.42s var(--ease);
}

.espresso-card--red .espresso-card__image img {
  width: min(92%, 330px);
  height: clamp(190px, 20vw, 280px);
  max-width: none;
  max-height: none;
  object-fit: contain;
  filter: none;
}

.espresso-card__copy {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 0.38rem;
  padding: clamp(1.4rem, 2vw, 1.6rem) 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--red);
}

.espresso-card--red .espresso-card__copy {
  color: var(--red);
}

.espresso-card--red .espresso-card__options button {
  border-color: rgba(118, 12, 12, 0.32);
  background: rgba(255, 255, 255, 0.72);
  color: var(--red);
}

.espresso-card__copy span {
  font-size: clamp(1.8rem, 3vw, 3.1rem);
  font-weight: 900;
  line-height: 0.88;
}

.espresso-card__copy small {
  font-size: 0.78rem;
  font-weight: 900;
}

.espresso-card__options,
.drink-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.espresso-card__options button,
.drink-chip-list button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  border: 1px solid rgba(118, 12, 12, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--red);
  font-size: clamp(1.18rem, 2vw, 1.75rem);
  font-weight: 900;
  line-height: 1;
  padding: 0.8rem 1.08rem;
  text-transform: none;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.espresso-card__options button:hover,
.espresso-card__options button.is-active,
.drink-chip-list button:hover,
.drink-chip-list button.is-active {
  border-color: var(--red);
  background: var(--red);
  color: var(--paper);
  transform: translateY(-1px);
}

.drink-options {
  display: grid;
  gap: 1rem;
  max-width: 980px;
  padding: clamp(1rem, 2vw, 1.35rem);
  border: 1px solid rgba(118, 12, 12, 0.14);
  border-radius: 20px;
  background:
    linear-gradient(90deg, rgba(118, 12, 12, 0.1), transparent 42%),
    rgba(255, 255, 255, 0.48);
  color: var(--red);
}

.drink-options p {
  font-size: clamp(1.65rem, 3.6vw, 3.5rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.menu-order-cta {
  appearance: none;
  justify-self: center;
  min-width: min(100%, 260px);
  margin: clamp(0.9rem, 2vw, 1.4rem) auto 0;
  border: 1px solid var(--red);
  border-radius: 999px;
  background: var(--red);
  color: var(--paper);
  cursor: pointer;
  font: 950 clamp(1.08rem, 1.65vw, 1.42rem) var(--sans);
  letter-spacing: 0.02em;
  padding: 1rem 1.5rem;
  text-transform: lowercase;
  animation: orderButtonDance 3.8s ease-in-out infinite;
  transform-origin: center;
  box-shadow: 0 14px 38px rgba(118, 12, 12, 0.18);
  transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease), background 0.32s var(--ease);
}

.menu-order-cta:hover,
.menu-order-cta:focus-visible {
  animation: none;
  transform: translateY(-2px);
  box-shadow: 0 18px 46px rgba(118, 12, 12, 0.26);
  outline: none;
}

.menu-order-cta--drinks {
  margin-top: clamp(0.25rem, 1.2vw, 0.9rem);
}

body.weather-active .drink-cup-card--hot,
body.weather-active .espresso-card--red {
  border-color: rgba(118, 12, 12, 0.72);
  background: var(--paper);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.16);
}

body.weather-active .drink-cup-card--cold {
  border-color: rgba(118, 12, 12, 0.72);
  background: var(--paper);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.16);
}

body.weather-active .drink-cup-card--cold::before {
  opacity: 1;
}

body.weather-active .drink-cup-card--hot::before {
  opacity: 1;
}

body.weather-active .drink-size-tab {
  border-color: rgba(118, 12, 12, 0.72);
  background: rgba(247, 244, 238, 0.86);
  color: var(--red);
}

body.weather-active .drink-size-tab small {
  color: rgba(118, 12, 12, 0.7);
}

body.weather-active .espresso-card:not(.espresso-card--red),
body.weather-active .drink-options {
  border-color: rgba(247, 244, 238, 0.16);
  background:
    radial-gradient(circle at 48% 26%, rgba(247, 244, 238, 0.1), transparent 34%),
    rgba(20, 20, 20, 0.82);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.26);
}

body.weather-active .drink-cup-card__copy,
body.weather-active .espresso-card__copy {
  color: var(--red);
}

body.weather-active .drink-cup-card--cold .drink-cup-card__copy {
  color: var(--red);
}

body.weather-active .espresso-card__tag {
  color: var(--red);
}

body.weather-active .espresso-card__copy,
body.weather-active .drink-chip-list button,
body.weather-active .espresso-card__options button {
  border-color: rgba(118, 12, 12, 0.28);
  background: rgba(255, 255, 255, 0.72);
  color: var(--red);
}

body.weather-active .espresso-card__options button.is-active {
  border-color: var(--red);
  background: var(--red);
  color: var(--paper);
}

body.weather-active .drink-chip-list button.is-active {
  border-color: rgba(247, 244, 238, 0.78);
  background: var(--paper);
  color: var(--red);
}

.gallery {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-content: center;
  gap: clamp(2rem, 5vw, 4rem);
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 22%, rgba(118, 12, 12, 0.24), transparent 34%),
    radial-gradient(circle at 82% 76%, rgba(247, 244, 238, 0.08), transparent 30%),
    linear-gradient(135deg, #080808 0%, #11100e 58%, #070707 100%);
}

.gallery::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.gallery::after {
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 23%, rgba(118, 12, 12, 0.12) 23.2% 23.5%, transparent 23.8% 100%),
    repeating-linear-gradient(0deg, transparent 0 72px, rgba(247, 244, 238, 0.035) 73px 74px);
  opacity: 0.36;
  animation: communityGridPulse 12s ease-in-out infinite alternate;
}

.gallery__intro {
  max-width: 900px;
}

.gallery__track {
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1fr;
}

.gallery img {
  border: 1px solid rgba(247, 244, 238, 0.14);
  background: var(--paper);
}

.gallery img:nth-child(3) {
  padding: clamp(1rem, 3vw, 2rem);
}

.visit.panel--light .visit__details {
  border-color: rgba(11, 11, 10, 0.14);
}

.visit.panel--light .visit__details p {
  color: rgba(11, 11, 10, 0.72);
}

.visit.panel--light .visit__details a {
  border-color: rgba(11, 11, 10, 0.32);
}

@keyframes windCloud {
  from {
    transform: translate3d(115vw, 0, 0) scale(var(--cloud-scale, 1));
  }
  to {
    transform: translate3d(-118vw, 0, 0) scale(var(--cloud-scale, 1));
  }
}

@keyframes visitCloudDrift {
  from {
    background-position: 0 100%;
  }
  to {
    background-position: -820px 100%;
  }
}

@keyframes visitCloudDriftReverse {
  from {
    background-position: -620px 100%;
  }
  to {
    background-position: 0 100%;
  }
}

@keyframes stormTint {
  0%,
  74%,
  100% {
    filter: brightness(1) saturate(0.9);
  }
  82%,
  90% {
    filter: brightness(0.64) saturate(0.78);
  }
}

@keyframes storySketchCycle {
  0% {
    opacity: 0;
    -webkit-mask-position: 112% 0;
    mask-position: 112% 0;
    transform: translate3d(18px, 18px, 0) scale(0.985);
    filter: invert(1) grayscale(1) contrast(0.96) brightness(0.82);
  }
  6% {
    opacity: 0.24;
  }
  11%,
  17% {
    opacity: 0.56;
    -webkit-mask-position: 48% 0;
    mask-position: 48% 0;
    transform: translate3d(0, 0, 0) scale(1);
    filter:
      invert(1)
      grayscale(1)
      contrast(1.18)
      brightness(1.08)
      drop-shadow(0 0 14px rgba(247, 244, 238, 0.26))
      drop-shadow(0 0 26px rgba(118, 12, 12, 0.24));
  }
  24% {
    opacity: 0.22;
    -webkit-mask-position: -10% 0;
    mask-position: -10% 0;
    transform: translate3d(-12px, -8px, 0) scale(1.008);
  }
  29%,
  100% {
    opacity: 0;
    -webkit-mask-position: -48% 0;
    mask-position: -48% 0;
    transform: translate3d(-18px, -14px, 0) scale(1.01);
  }
}

@keyframes rainCycle {
  0%,
  77%,
  100% {
    opacity: 0;
    background-position: 0 0;
  }
  82%,
  92% {
    opacity: 0.18;
  }
  96% {
    opacity: 0;
    background-position: -120px 360px;
  }
}

@keyframes rainBurst {
  0%,
  100% {
    opacity: 0;
    background-position: 0 0;
  }
  14%,
  78% {
    opacity: 0.2;
  }
  96% {
    opacity: 0;
    background-position: -150px 420px;
  }
}

@keyframes rainFall {
  to {
    background-position: -130px 360px, -88px 280px;
  }
}

@keyframes rainPulse {
  0%,
  100% {
    opacity: 0.16;
  }
  50% {
    opacity: 0.28;
  }
}

@keyframes moonCloudCover {
  0% {
    transform: translate3d(122%, 6%, 0) scale(1.18);
  }
  42%,
  58% {
    transform: translate3d(0%, 6%, 0) scale(1.2);
  }
  100% {
    transform: translate3d(-122%, 6%, 0) scale(1.18);
  }
}

@keyframes moonVeil {
  0%,
  34%,
  68%,
  100% {
    opacity: 1;
  }
  45%,
  57% {
    opacity: 0;
  }
}

@keyframes stormDrift {
  from {
    filter: brightness(0.54) saturate(0.72) contrast(1.12);
  }
  to {
    filter: brightness(0.38) saturate(0.58) contrast(1.24);
  }
}

@keyframes lightningStrike {
  0%,
  100% {
    opacity: 0;
  }
  8%,
  14% {
    opacity: 1;
  }
  20% {
    opacity: 0.12;
  }
  27%,
  34% {
    opacity: 0.86;
  }
  56% {
    opacity: 0;
  }
}

@keyframes thunderFlash {
  0%,
  100% {
    opacity: 0;
  }
  12% {
    opacity: 0.72;
  }
  28% {
    opacity: 0.16;
  }
  42% {
    opacity: 0.42;
  }
}

@keyframes flyingTorta {
  0% {
    opacity: 0;
    transform: translate3d(var(--fly-from, -14vw), 0, 0) scale(var(--fly-scale, 1)) rotate(-4deg);
  }
  12%,
  78% {
    opacity: var(--fly-opacity, 0.34);
  }
  42% {
    transform: translate3d(48vw, var(--fly-drift, -26px), 0) scale(calc(var(--fly-scale, 1) * 1.04)) rotate(3deg);
  }
  100% {
    opacity: 0;
    transform: translate3d(var(--fly-to, 112vw), calc(var(--fly-drift, -26px) * -0.45), 0) scale(var(--fly-scale, 1)) rotate(7deg);
  }
}

@keyframes flyingTortaFlutter {
  0% {
    transform: translateY(-1px) rotate(-2deg) scaleX(var(--fly-face, 1));
  }
  100% {
    transform: translateY(2px) rotate(2deg) scaleX(calc(var(--fly-face, 1) * 0.98));
  }
}

@media (max-width: 820px) {
  .hero__logo {
    width: min(430px, 86vw);
  }

  .menu-launch {
    min-height: 320px;
  }

  .gallery__track {
    grid-template-columns: 1fr;
  }

  .menu-modal__shell {
    height: 82vh;
  }
}

.gallery__track--collage {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  grid-auto-rows: clamp(120px, 12vw, 180px);
  grid-auto-flow: dense;
  gap: 10px;
  align-items: stretch;
}

.gallery__item {
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background: rgba(247, 244, 238, 0.06);
}

.gallery__item--tall {
  grid-row: span 4;
}

.gallery__item--wide {
  grid-column: span 2;
  grid-row: span 3;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  padding: 0;
  background: transparent;
}

.gallery__item:hover img {
  transform: scale(1.025);
  filter: saturate(0.92) contrast(1.04);
}

.community-gallery {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(1.1rem, 2.8vw, 2rem);
  margin-top: 0;
}

.community-gallery__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.community-gallery__eyebrow {
  margin: 0;
  color: rgba(247, 244, 238, 0.78);
  font-size: clamp(2.3rem, 7vw, 6.6rem);
  font-weight: 900;
  line-height: 0.86;
}

.community-gallery__actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.community-gallery__upload {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  min-height: 54px;
  border: 1px solid rgba(247, 244, 238, 0.2);
  border-radius: 999px;
  background: rgba(247, 244, 238, 0.08);
  color: var(--paper);
  cursor: pointer;
  padding: 0.48rem 1rem 0.48rem 0.48rem;
  font: 900 clamp(0.78rem, 1.2vw, 0.98rem) var(--sans);
  transition: transform 0.45s var(--ease), background 0.45s var(--ease), border-color 0.45s var(--ease);
}

.community-gallery__upload:hover {
  transform: translateY(-2px);
  border-color: rgba(247, 244, 238, 0.42);
  background: rgba(247, 244, 238, 0.14);
}

.community-gallery__upload span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 999px;
  background: var(--red);
  color: var(--paper);
  font-size: 1.55rem;
  line-height: 1;
}

.community-gallery__upload b {
  font: inherit;
}

.community-gallery__delete {
  min-height: 54px;
  border: 1px solid rgba(180, 16, 16, 0.54);
  border-radius: 999px;
  background: rgba(118, 12, 12, 0.2);
  box-shadow: 0 0 16px rgba(255, 30, 30, 0.16);
  color: var(--paper);
  cursor: pointer;
  padding: 0.48rem 1.1rem;
  font: 900 clamp(0.78rem, 1.2vw, 0.98rem) var(--sans);
  transition: opacity 0.35s var(--ease), transform 0.45s var(--ease), box-shadow 0.45s var(--ease), background 0.45s var(--ease);
}

.community-gallery__delete:not(:disabled):hover {
  transform: translateY(-2px);
  background: rgba(118, 12, 12, 0.36);
  box-shadow: 0 0 28px rgba(255, 35, 35, 0.38);
}

.community-gallery__delete:disabled {
  cursor: default;
  opacity: 0.34;
}

.community-server-mode .community-gallery__delete {
  display: none;
}

.community-gallery__status {
  width: 100%;
  margin: 0.15rem 0 0;
  color: rgba(247, 244, 238, 0.64);
  font-size: clamp(0.82rem, 1.2vw, 1rem);
  font-weight: 900;
  letter-spacing: 0;
}

.community-gallery__status[hidden] {
  display: none;
}

.community-gallery__input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.community-carousel {
  display: grid;
  min-height: clamp(460px, 62vw, 820px);
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: clamp(76px, 8.2vw, 118px);
  grid-auto-flow: dense;
  gap: 10px;
  perspective: 1200px;
}

.community-carousel.is-switching .community-photo {
  opacity: 0;
  transform: rotateY(78deg) scale(0.96);
}

.community-photo {
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border: 1.5px solid rgba(180, 16, 16, 0.92);
  border-radius: 8px;
  background: rgba(118, 12, 12, 0.12);
  box-shadow:
    0 0 0 1px rgba(255, 68, 68, 0.18),
    0 0 18px rgba(255, 30, 30, 0.34),
    0 18px 50px rgba(0, 0, 0, 0.24);
  transform-origin: center;
  animation: communityPhotoIn 0.82s var(--ease) both;
  transition: opacity 0.5s var(--ease), transform 0.62s var(--ease), filter 0.62s var(--ease), box-shadow 0.62s var(--ease);
}

.community-photo--pending,
.community-photo--square {
  grid-column: span 2;
  grid-row: span 2;
}

.community-photo--portrait {
  grid-column: span 2;
  grid-row: span 4;
}

.community-photo--vertical {
  grid-column: span 2;
  grid-row: span 3;
}

.community-photo--landscape {
  grid-column: span 3;
  grid-row: span 2;
}

.community-photo--panoramic {
  grid-column: span 4;
  grid-row: span 2;
}

.community-photo--hero {
  grid-column: span 3;
  grid-row: span 3;
}

.community-photo--wide {
  grid-column: span 3;
  grid-row: span 2;
}

.community-photo--tall {
  grid-column: span 2;
  grid-row: span 4;
}

.community-photo--small {
  grid-column: span 2;
  grid-row: span 2;
}

.community-photo--strip {
  grid-column: span 4;
  grid-row: span 2;
}

.community-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  padding: 0;
  background: transparent;
}

.community-photo:hover {
  transform: translateY(-3px) scale(1.012);
  filter: saturate(0.9) contrast(1.05);
  box-shadow:
    0 0 0 1px rgba(255, 88, 88, 0.32),
    0 0 28px rgba(255, 35, 35, 0.52),
    0 24px 62px rgba(0, 0, 0, 0.32);
}

.community-photo.is-selected {
  border-color: rgba(255, 45, 45, 1);
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.12),
    0 0 42px rgba(255, 35, 35, 0.78),
    0 24px 72px rgba(0, 0, 0, 0.4);
}

.community-photo:focus-visible {
  outline: 2px solid rgba(255, 45, 45, 0.94);
  outline-offset: 4px;
}

.community-photo--unsupported {
  display: grid;
  place-items: center;
  padding: 1rem;
  color: rgba(247, 244, 238, 0.68);
  text-align: center;
  word-break: break-word;
}

.community-photo--unsupported figcaption {
  font-size: clamp(0.82rem, 1.2vw, 1rem);
  font-weight: 900;
}

.community-carousel__empty {
  display: grid;
  min-height: clamp(260px, 38vw, 430px);
  grid-column: 1 / -1;
  place-items: center;
  gap: 0.9rem;
  border: 1px dashed rgba(247, 244, 238, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(118, 12, 12, 0.16), transparent 52%),
    rgba(247, 244, 238, 0.05);
  color: rgba(247, 244, 238, 0.72);
  text-align: center;
}

.community-carousel__empty span {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  border-radius: 999px;
  background: var(--red);
  color: var(--paper);
  font-size: 2.15rem;
  line-height: 1;
}

.community-carousel__empty p {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 900;
}

.order-experience {
  position: fixed;
  inset: 0;
  z-index: 130;
  overflow: auto;
  background:
    radial-gradient(circle at 85% 12%, rgba(118, 12, 12, 0.07), transparent 30rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(247, 244, 238, 0.96)),
    var(--paper);
  color: var(--ink);
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, 20px, 0);
  transition:
    opacity 0.58s var(--ease),
    visibility 0.58s var(--ease),
    transform 0.58s var(--ease);
}

.order-experience.is-open {
  opacity: 1;
  visibility: visible;
  transform: translate3d(0, 0, 0);
}

.order-experience::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(118, 12, 12, 0.1) 0.8px, transparent 0.8px);
  background-size: 13px 13px;
  opacity: 0.16;
}

.order-experience__top {
  position: sticky;
  top: 0;
  z-index: 3;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: clamp(1rem, 2vw, 1.55rem) clamp(1.1rem, 4vw, 3.6rem);
  border-bottom: 1px solid rgba(17, 17, 17, 0.12);
  background: rgba(247, 244, 238, 0.78);
  backdrop-filter: blur(18px);
}

.order-experience__top > span {
  justify-self: center;
  color: var(--red);
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  font-weight: 900;
}

.order-panel-cart {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 0.55rem;
  min-height: 42px;
  border: 1px solid rgba(118, 12, 12, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--red);
  cursor: pointer;
  font: 900 0.72rem var(--sans);
  padding: 0.65rem 0.92rem;
  text-transform: uppercase;
  transition: transform 0.32s var(--ease), border-color 0.32s var(--ease), box-shadow 0.32s var(--ease), background 0.32s var(--ease);
}

.order-panel-cart span {
  color: inherit;
  font-size: inherit;
  justify-self: auto;
}

.order-panel-cart strong {
  display: grid;
  min-width: 1.55rem;
  height: 1.55rem;
  place-items: center;
  border-radius: 999px;
  background: var(--red);
  color: var(--paper);
  font-size: 0.72rem;
  line-height: 1;
}

.order-panel-cart:hover,
.order-panel-cart:focus-visible,
.order-panel-cart.has-items {
  transform: translateY(-2px);
  border-color: rgba(118, 12, 12, 0.62);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 34px rgba(118, 12, 12, 0.16);
  outline: none;
}

.order-back,
.cart-drawer__close,
.checkout-back,
.order-thanks__home {
  appearance: none;
  border: 1px solid rgba(118, 12, 12, 0.28);
  border-radius: 999px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: 900 0.7rem var(--sans);
  text-transform: uppercase;
  padding: 0.75rem 1.05rem;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), color 0.35s var(--ease), transform 0.35s var(--ease);
}

.order-back:hover,
.cart-drawer__close:hover,
.checkout-back:hover,
.order-thanks__home:hover {
  transform: translateY(-2px);
  background: var(--red);
  border-color: var(--red);
  color: var(--paper);
}

.order-experience__content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(3.8rem, 7vw, 7rem) 0 clamp(5rem, 9vw, 8rem);
}

.order-experience__intro {
  display: grid;
  max-width: 850px;
  gap: clamp(1.55rem, 3.2vw, 2.75rem);
  margin-bottom: clamp(3rem, 6vw, 5.5rem);
}

.order-experience__intro h2 {
  margin: 0;
  font-size: clamp(4.2rem, 12vw, 10.5rem);
  line-height: 0.98;
  letter-spacing: 0;
  text-transform: lowercase;
}

.order-experience__intro p:last-child {
  max-width: 42rem;
  margin: 0;
  color: rgba(17, 17, 17, 0.62);
  font-size: clamp(1rem, 1.45vw, 1.35rem);
  font-weight: 700;
  line-height: 1.45;
}

.order-menu-list {
  display: grid;
  gap: clamp(0.45rem, 1vw, 0.9rem);
}

.order-group {
  border-top: 1px solid rgba(17, 17, 17, 0.46);
}

.order-group:last-child {
  border-bottom: 1px solid rgba(17, 17, 17, 0.28);
}

.order-group__toggle {
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: clamp(0.78rem, 1.6vw, 1.25rem) 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: 950 clamp(2.05rem, 5vw, 4.4rem)/0.88 var(--sans);
  letter-spacing: 0;
  text-align: left;
  text-transform: lowercase;
  transition: color 0.28s var(--ease);
}

.order-group__toggle:hover,
.order-group__toggle:focus-visible,
.order-group.is-open .order-group__toggle {
  color: var(--red);
  outline: none;
}

.order-group__toggle small {
  display: grid;
  width: clamp(2.2rem, 4.2vw, 3.2rem);
  height: clamp(2.2rem, 4.2vw, 3.2rem);
  place-items: center;
  border: 1px solid rgba(118, 12, 12, 0.32);
  border-radius: 999px;
  color: var(--red);
  font-size: clamp(1.15rem, 2.4vw, 1.85rem);
  line-height: 1;
}

.order-group__body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.9rem, 1.8vw, 1.6rem) clamp(2.2rem, 4.4vw, 4.8rem);
  padding: 0 0 clamp(1.35rem, 2.8vw, 2.4rem);
}

.order-group__body[hidden] {
  display: none;
}

.order-category {
  border-top: 1px solid rgba(17, 17, 17, 0.48);
}

.order-category__head {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: end;
  gap: 1rem;
  padding: 0.62rem 0 0.32rem;
  border-bottom: 1px solid rgba(17, 17, 17, 0.16);
}

.order-category__head--priced {
  grid-template-columns: auto auto 1fr;
  column-gap: 0.55rem;
}

.order-category__head h3 {
  margin: 0;
  color: var(--red);
  font-size: clamp(1.45rem, 2.6vw, 2.55rem);
  line-height: 0.9;
  text-transform: lowercase;
}

.order-category__head span {
  height: 1px;
  background: rgba(118, 12, 12, 0.18);
}

.order-category__price {
  color: rgba(17, 17, 17, 0.58);
  font-size: clamp(1rem, 1.25vw, 1.22rem);
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.order-category__rows {
  display: grid;
}

.order-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 42px;
  align-items: center;
  gap: 1rem;
  min-height: 56px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.13);
}

.order-row--group-priced {
  grid-template-columns: minmax(0, 1fr) 42px;
}

.order-row__name,
.order-row__price {
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  font-weight: 900;
  line-height: 1.12;
  text-transform: lowercase;
}

.order-row__price {
  color: rgba(17, 17, 17, 0.6);
}

.order-row__add {
  appearance: none;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--red);
  border-radius: 999px;
  background: var(--red);
  color: var(--paper);
  cursor: pointer;
  font: 900 1.3rem/1 var(--sans);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.order-row__add:hover,
.order-row__add:focus-visible {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 14px 30px rgba(118, 12, 12, 0.22);
  outline: none;
}

.order-row--disabled {
  opacity: 0.62;
}

.order-row__add--soon,
.order-row__add--soon:disabled {
  width: auto;
  min-width: 7.2rem;
  padding: 0 0.85rem;
  border-color: rgba(31, 23, 17, 0.14);
  background: rgba(31, 23, 17, 0.08);
  color: rgba(31, 23, 17, 0.48);
  cursor: not-allowed;
  font-size: 0.74rem;
  text-transform: lowercase;
  transform: none;
}

.cart-backdrop {
  position: fixed;
  inset: 0;
  z-index: 138;
  background: rgba(7, 8, 10, 0.2);
  backdrop-filter: blur(4px);
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 145;
  display: grid;
  grid-template-rows: auto 1fr;
  width: min(1080px, calc(100vw - 1.2rem));
  background: rgba(247, 244, 238, 0.98);
  color: var(--ink);
  border-left: 1px solid rgba(118, 12, 12, 0.18);
  border-radius: 34px 0 0 34px;
  box-shadow: -34px 0 80px rgba(0, 0, 0, 0.16);
  transform: translate3d(105%, 0, 0);
  transition: width 0.34s var(--ease), height 0.34s var(--ease), top 0.34s var(--ease), right 0.34s var(--ease), bottom 0.34s var(--ease), left 0.34s var(--ease), border-radius 0.34s var(--ease), box-shadow 0.34s var(--ease), transform 0.54s var(--ease);
}

.cart-drawer.is-open {
  transform: translate3d(0, 0, 0);
}

.cart-drawer.is-checkout {
  width: min(520px, 100vw);
}

.cart-drawer__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(1.35rem, 4vw, 2rem);
  border-bottom: 1px solid rgba(17, 17, 17, 0.12);
}

.cart-drawer__head p {
  margin: 0 0 0.3rem;
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.cart-drawer__head h2,
.checkout-form h3 {
  margin: 0;
  font-size: clamp(2.2rem, 6vw, 4.1rem);
  line-height: 0.85;
  text-transform: lowercase;
}

.cart-drawer__body,
.checkout-form {
  padding: clamp(1.35rem, 4vw, 2rem);
}

.cart-drawer__body {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  min-height: 0;
  overflow: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.cart-empty {
  grid-row: 1;
  margin: 0;
  padding: 1.4rem 0;
  color: rgba(17, 17, 17, 0.55);
  font-weight: 900;
  text-transform: lowercase;
}

.cart-items {
  grid-row: 2;
  display: grid;
  grid-auto-rows: max-content;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  align-content: start;
  min-height: 0;
  flex: 1 1 auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  gap: 1rem;
  padding: 0.2rem 0.35rem 0.9rem 0;
}

.cart-item {
  position: relative;
  display: grid;
  grid-template-rows: minmax(110px, auto) auto auto auto;
  gap: 0.72rem;
  align-content: start;
  min-height: 18rem;
  border: 1px solid rgba(118, 12, 12, 0.13);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 12%, rgba(255, 255, 255, 0.78), transparent 9rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.52), rgba(255, 248, 235, 0.36)),
    var(--cart-item-soft, #fbf4e8);
  box-shadow: 0 20px 38px rgba(54, 35, 20, 0.09);
  padding: 0.9rem;
  overflow: hidden;
}

.cart-item::after {
  content: "";
  position: absolute;
  inset: auto 1rem 0.75rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--cart-item-accent, var(--red)) 32%, transparent), transparent);
}

.cart-item__copy {
  min-width: 0;
}

.cart-item h4 {
  margin: 0 0 0.25rem;
  color: var(--ink);
  font-size: clamp(1.22rem, 2vw, 1.55rem);
  line-height: 0.98;
  text-transform: lowercase;
}

.cart-item p {
  margin: 0;
  color: rgba(17, 17, 17, 0.56);
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.22;
  text-transform: lowercase;
}

.cart-item__image {
  width: min(100%, 10.5rem);
  height: clamp(7.2rem, 12vw, 9rem);
  justify-self: center;
  object-fit: contain;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.42);
  filter: drop-shadow(0 22px 22px rgba(52, 33, 21, 0.16));
}

.cart-item__badge {
  position: absolute;
  top: 0.82rem;
  left: 0.82rem;
  display: inline-grid;
  min-width: 2.6rem;
  height: 2.6rem;
  place-items: center;
  border: 1px solid rgba(118, 12, 12, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--cart-item-accent, var(--red));
  font-size: 0.9rem;
  font-weight: 950;
  box-shadow: 0 12px 26px rgba(17, 17, 17, 0.08);
}

.cart-item__subtotal {
  color: var(--ink);
  font-size: 1.22rem;
  font-weight: 950;
  line-height: 1;
  text-align: right;
}

.cart-item__controls {
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
  gap: 0.42rem;
}

.cart-item__controls button {
  appearance: none;
  display: grid;
  min-height: 42px;
  place-items: center;
  border: 1px solid rgba(118, 12, 12, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--red);
  cursor: pointer;
  font: 900 1.08rem var(--sans);
}

.cart-item__controls span {
  font-size: 1.1rem;
  font-weight: 900;
  text-align: center;
}

.cart-item__remove {
  grid-column: 1 / -1;
  width: 100%;
  min-height: 34px !important;
  color: rgba(17, 17, 17, 0.55) !important;
  font-size: 0.62rem !important;
  text-transform: uppercase;
}

.cart-total,
.checkout-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.16);
  color: var(--red);
  font-weight: 900;
  text-transform: lowercase;
}

.cart-discount {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.82rem 0.95rem;
  border: 1px solid rgba(44, 126, 77, 0.22);
  border-radius: 22px;
  background:
    radial-gradient(circle at 16% 22%, rgba(44, 126, 77, 0.12), transparent 56%),
    rgba(255, 255, 255, 0.58);
  color: #2c7e4d;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.56);
}

.cart-discount[hidden] {
  display: none;
}

.cart-discount div {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}

.cart-discount span,
.cart-discount small {
  font-weight: 950;
  line-height: 1.1;
  text-transform: lowercase;
}

.cart-discount span {
  color: #21663c;
  font-size: 0.92rem;
}

.cart-discount small {
  color: rgba(33, 102, 60, 0.68);
  font-size: 0.72rem;
}

.cart-discount strong {
  flex: 0 0 auto;
  color: #8f1111;
  font-size: clamp(1.15rem, 3vw, 1.55rem);
  font-weight: 950;
  line-height: 1;
}

.cart-total strong,
.checkout-total strong {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
}

.checkout-payment-actions {
  display: grid;
  gap: 0.75rem;
}

.checkout-payment-actions .cart-primary,
.checkout-payment-actions .cart-secondary {
  margin-top: 0;
}

.checkout-cash-button {
  border-color: rgba(143, 17, 17, 0.42);
  background:
    radial-gradient(circle at 18% 0%, rgba(143, 17, 17, 0.08), transparent 8rem),
    rgba(255, 252, 247, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.68);
}

.checkout-cash-qr {
  display: grid;
  justify-items: center;
  gap: 0.85rem;
  border: 1.5px solid rgba(143, 17, 17, 0.26);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 0%, rgba(143, 17, 17, 0.09), transparent 10rem),
    rgba(255, 252, 247, 0.84);
  box-shadow: 0 18px 38px rgba(72, 42, 24, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.72);
  padding: 1rem;
  text-align: center;
}

.checkout-cash-qr[hidden] {
  display: none;
}

.checkout-cash-qr.customer-ticket {
  width: 100%;
  max-width: 22rem;
  margin: 0 auto;
  border-color: rgba(11, 11, 10, 0.76);
  background:
    linear-gradient(180deg, rgba(255, 252, 247, 0.96), rgba(247, 244, 238, 0.98)),
    radial-gradient(circle at 50% 0%, rgba(143, 17, 17, 0.08), transparent 10rem);
}

.checkout-cash-qr .customer-ticket__head {
  display: grid;
  justify-items: center;
  gap: 0.18rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(11, 11, 10, 0.68);
  width: 100%;
}

.checkout-cash-qr .customer-ticket__brand {
  color: var(--red);
  font-size: 2.55rem;
  font-weight: 950;
  line-height: 0.82;
}

.checkout-cash-qr .customer-ticket__tagline {
  color: rgba(11, 11, 10, 0.68);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.checkout-cash-qr__copy {
  display: grid;
  gap: 0.25rem;
}

.checkout-cash-qr__copy strong {
  color: var(--red);
  font-size: 1.14rem;
  font-weight: 950;
  line-height: 1.12;
  text-transform: lowercase;
}

.checkout-cash-qr__copy small,
.checkout-cash-qr p,
.checkout-cash-qr > small {
  margin: 0;
  color: rgba(17, 17, 17, 0.62);
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.25;
  text-transform: lowercase;
}

.checkout-cash-qr__total {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.8rem;
  width: 100%;
  border-top: 1px solid rgba(11, 11, 10, 0.68);
  border-bottom: 1px solid rgba(11, 11, 10, 0.68);
  padding: 0.62rem 0;
  color: rgba(11, 11, 10, 0.68);
  font-size: 0.82rem;
  font-weight: 950;
  text-align: left;
  text-transform: uppercase;
}

.checkout-cash-qr__total[hidden] {
  display: none;
}

.checkout-cash-qr__total strong {
  color: var(--ink);
  font-size: 1rem;
  text-align: right;
}

.checkout-cash-qr__code {
  display: grid;
  width: min(100%, 13.75rem);
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 18px;
  background: #fff;
  padding: 0.8rem;
}

.checkout-cash-qr__code svg {
  display: block;
  width: 100%;
  height: auto;
}

.checkout-cash-qr__code code {
  overflow-wrap: anywhere;
  color: var(--ink);
  font: 800 0.72rem var(--sans);
  line-height: 1.2;
  text-transform: none;
}

.cart-drawer__footer {
  position: relative;
  z-index: 2;
  grid-row: 3;
  display: grid;
  gap: 0.46rem;
  padding-top: 0.5rem;
  padding-bottom: max(0.25rem, env(safe-area-inset-bottom));
  border-top: 1px solid rgba(118, 12, 12, 0.16);
  background:
    linear-gradient(180deg, rgba(247, 244, 238, 0.96), rgba(247, 244, 238, 0.99) 22%),
    rgba(247, 244, 238, 0.98);
}

.cart-drawer__footer .cart-total {
  padding: 0.48rem 0 0.56rem;
  font-size: 1.08rem;
}

.cart-drawer__footer .cart-total strong {
  font-size: clamp(1.7rem, 5vw, 2.35rem);
}

.cart-drawer__footer .cart-primary,
.cart-drawer__footer .cart-secondary {
  margin-top: 0;
  min-height: 50px;
  font-size: 0.88rem;
}

.cart-coupon {
  display: grid;
  gap: 0.42rem;
  padding: 0.05rem 0;
}

.cart-coupon__toggle,
.cart-coupon__apply {
  appearance: none;
  min-height: 42px;
  border: 1px solid rgba(118, 12, 12, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
  color: var(--red);
  cursor: pointer;
  font: 900 0.82rem var(--sans);
  text-transform: lowercase;
}

.cart-coupon__panel {
  display: grid;
  gap: 0.65rem;
}

.cart-coupon__panel[hidden] {
  display: none;
}

.cart-coupon__panel label {
  display: grid;
  gap: 0.35rem;
}

.cart-coupon__panel label span,
.cart-coupon__status {
  color: rgba(17, 17, 17, 0.58);
  font-size: 0.86rem;
  font-weight: 900;
  text-transform: lowercase;
}

.cart-coupon__panel input {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.22);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.4);
  color: var(--ink);
  font: 800 1.12rem var(--sans);
  padding: 0.75rem 0.1rem;
  text-transform: uppercase;
}

.cart-coupon__panel input:focus {
  border-color: var(--red);
  outline: none;
}

.cart-coupon__status {
  min-height: 0.78rem;
  margin: 0;
  line-height: 1.2;
}

.cart-primary,
.cart-secondary,
.order-menu-checkout {
  appearance: none;
  width: 100%;
  min-height: 54px;
  margin-top: 1.25rem;
  border: 1px solid var(--red);
  border-radius: 999px;
  cursor: pointer;
  font: 900 0.78rem var(--sans);
  text-transform: uppercase;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.cart-drawer .cart-primary,
.cart-drawer .cart-secondary,
.checkout-back,
.checkout-form .cart-primary {
  font-size: 0.94rem;
}

.cart-primary,
.order-menu-checkout {
  background: var(--red);
  color: var(--paper);
}

.cart-secondary {
  background: var(--paper);
  color: var(--red);
}

.order-menu-checkout {
  width: min(420px, 100%);
  justify-self: center;
  margin-top: clamp(1.6rem, 4vw, 3rem);
}

.cart-primary:hover:not(:disabled),
.cart-secondary:hover:not(:disabled),
.order-menu-checkout:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(118, 12, 12, 0.24);
}

.cart-primary:disabled,
.cart-secondary:disabled,
.order-menu-checkout:disabled {
  cursor: not-allowed;
  opacity: 0.38;
}

.checkout-form {
  display: grid;
  align-content: start;
  gap: 1rem;
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.checkout-form[hidden],
.cart-drawer__body[hidden] {
  display: none;
}

.checkout-back {
  justify-self: start;
  margin-bottom: 0.35rem;
}

.checkout-type {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0.35rem 0 0.42rem;
}

.checkout-type__button {
  appearance: none;
  min-height: 58px;
  border: 1px solid rgba(141, 16, 16, 0.42);
  border-radius: 999px;
  background: rgba(141, 16, 16, 0.04);
  color: var(--red);
  cursor: pointer;
  box-shadow: 0 0 0 1px rgba(141, 16, 16, 0.08), 0 0 24px rgba(141, 16, 16, 0.16);
  font: 950 0.94rem var(--sans);
  text-transform: lowercase;
  animation: checkoutTypeBounce 4.8s ease-in-out infinite;
  transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.checkout-type__button.is-active {
  background: var(--red);
  color: var(--paper);
  box-shadow: 0 0 0 1px rgba(141, 16, 16, 0.22), 0 0 34px rgba(141, 16, 16, 0.28);
}

.checkout-type__button:nth-child(2) {
  animation-delay: 0.28s;
}

.checkout-type__button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(141, 16, 16, 0.16), 0 0 34px rgba(141, 16, 16, 0.24);
}

@keyframes checkoutTypeBounce {
  0%,
  72%,
  100% {
    transform: translateY(0);
  }

  78% {
    transform: translateY(-4px);
  }

  84% {
    transform: translateY(0);
  }

  90% {
    transform: translateY(-2px);
  }
}

.checkout-form label {
  display: grid;
  gap: 0.45rem;
}

.checkout-field {
  border: 1.5px solid rgba(143, 17, 17, 0.34);
  border-radius: 24px;
  background:
    radial-gradient(circle at 92% 0%, rgba(143, 17, 17, 0.08), transparent 8rem),
    rgba(255, 252, 247, 0.78);
  box-shadow: 0 14px 32px rgba(72, 42, 24, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  padding: 0.88rem 1rem 0.72rem;
}

.checkout-field:focus-within {
  border-color: rgba(143, 17, 17, 0.72);
  box-shadow: 0 16px 36px rgba(143, 17, 17, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.checkout-field__label {
  color: rgba(17, 17, 17, 0.66);
  font-size: clamp(1.02rem, 2.4vw, 1.28rem);
  font-weight: 950;
  letter-spacing: -0.01em;
}

.checkout-field__label strong {
  color: var(--ink);
  font-weight: 950;
  text-decoration: underline;
  text-decoration-color: rgba(141, 16, 16, 0.56);
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.16em;
}

.checkout-form label span,
.checkout-note,
.checkout-status {
  color: rgba(17, 17, 17, 0.58);
  font-size: 0.98rem;
  font-weight: 900;
  text-transform: lowercase;
}

.checkout-form label.checkout-field > span {
  color: rgba(17, 17, 17, 0.66);
  font-size: clamp(1.02rem, 2.4vw, 1.28rem);
  font-weight: 950;
  letter-spacing: -0.01em;
}

.checkout-note {
  font-size: 0.84rem;
  line-height: 1.25;
}

.checkout-form input,
.checkout-form textarea,
.checkout-form select {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.22);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.4);
  color: var(--ink);
  font: 800 1.12rem var(--sans);
  padding: 0.85rem 0.1rem;
  resize: vertical;
}

.checkout-field input {
  border-bottom-color: rgba(143, 17, 17, 0.22);
  background: rgba(255, 255, 255, 0.28);
  padding-inline: 0.15rem;
}

.checkout-time-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.68rem;
  align-items: end;
}

.checkout-time-row select {
  min-height: 52px;
  border: 1px solid rgba(141, 16, 16, 0.22);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--red);
  cursor: pointer;
  font: 950 1rem var(--sans);
  padding: 0.6rem 0.72rem;
  text-transform: uppercase;
}

.checkout-form input[name="couponCode"] {
  text-transform: uppercase;
}

.checkout-reward {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.22rem 0.75rem;
  align-items: center;
  border: 1px solid rgba(143, 17, 17, 0.22);
  border-radius: 22px;
  background:
    radial-gradient(circle at 92% 0%, rgba(255, 212, 104, 0.24), transparent 7rem),
    rgba(255, 252, 247, 0.76);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76), 0 14px 30px rgba(72, 42, 24, 0.07);
  padding: 0.82rem 0.92rem;
}

.checkout-reward[hidden] {
  display: none;
}

.checkout-reward span {
  color: rgba(17, 17, 17, 0.62);
  font: 950 0.72rem/1.1 var(--sans);
  text-transform: lowercase;
}

.checkout-reward strong {
  justify-self: end;
  color: var(--red);
  font: 950 1.08rem/1 var(--sans);
}

.checkout-reward small {
  grid-column: 1 / -1;
  color: rgba(17, 17, 17, 0.58);
  font: 900 0.78rem/1.24 var(--sans);
  text-transform: lowercase;
}

.checkout-reward.is-ready {
  border-color: rgba(143, 17, 17, 0.36);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84), 0 18px 36px rgba(143, 17, 17, 0.11);
}

.checkout-reward.is-error {
  border-color: rgba(143, 17, 17, 0.34);
  background: rgba(143, 17, 17, 0.05);
}

.checkout-reward.is-loading strong {
  display: none;
}

.checkout-loyalty {
  display: grid;
  gap: 0.78rem;
  border: 1px solid rgba(143, 17, 17, 0.2);
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(143, 17, 17, 0.08), transparent 9rem),
    rgba(255, 255, 255, 0.48);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 16px 34px rgba(72, 42, 24, 0.06);
  padding: 0.92rem;
}

.checkout-loyalty[hidden] {
  display: none;
}

.checkout-loyalty__head,
.checkout-loyalty__summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.58rem 0.9rem;
}

.checkout-loyalty__head > div {
  display: grid;
  gap: 0.08rem;
}

.checkout-loyalty__head span,
.checkout-loyalty__summary span,
.checkout-loyalty small,
.checkout-loyalty__empty {
  color: rgba(17, 17, 17, 0.58);
  font-size: 0.74rem;
  font-weight: 900;
  line-height: 1.25;
  text-transform: lowercase;
}

.checkout-loyalty__head strong {
  color: var(--red);
  font-size: clamp(1.35rem, 4vw, 2rem);
  font-weight: 950;
  line-height: 0.95;
}

.checkout-loyalty__toggle {
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  gap: 0.42rem !important;
  border: 1px solid rgba(143, 17, 17, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--red);
  cursor: pointer;
  padding: 0.55rem 0.78rem;
}

.checkout-loyalty__toggle input {
  width: auto;
  accent-color: var(--red);
  margin: 0;
  padding: 0;
}

.checkout-loyalty__toggle span {
  color: var(--red);
  font-size: 0.68rem;
}

.checkout-loyalty__toggle:has(input:checked) {
  background: var(--red);
  border-color: var(--red);
  color: var(--paper);
}

.checkout-loyalty__toggle:has(input:checked) span {
  color: var(--paper);
}

.checkout-loyalty__controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.62rem;
  align-items: end;
}

.checkout-loyalty__controls[hidden],
.checkout-loyalty__summary[hidden],
.checkout-loyalty__empty[hidden] {
  display: none;
}

.checkout-loyalty__controls label {
  gap: 0.28rem;
}

.checkout-loyalty__controls input {
  min-height: 42px;
  border: 1px solid rgba(143, 17, 17, 0.24);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.66);
  padding: 0.62rem 0.75rem;
}

.checkout-loyalty__controls button {
  appearance: none;
  min-height: 42px;
  border: 1px solid rgba(143, 17, 17, 0.36);
  border-radius: 999px;
  background: rgba(143, 17, 17, 0.08);
  color: var(--red);
  cursor: pointer;
  font: 950 0.64rem var(--sans);
  padding: 0.55rem 0.82rem;
  text-transform: lowercase;
}

.checkout-loyalty__summary {
  border-top: 1px solid rgba(17, 17, 17, 0.1);
  padding-top: 0.62rem;
}

.checkout-loyalty__summary strong {
  justify-self: end;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 950;
}

.checkout-loyalty__summary strong:nth-of-type(2) {
  color: var(--red);
}

.checkout-food-notes[hidden] {
  display: none;
}

.checkout-drink-options {
  display: grid;
  gap: 0.92rem;
  border: 1px solid rgba(107, 11, 14, 0.34);
  border-radius: 26px;
  background:
    radial-gradient(circle at 100% 0%, rgba(107, 11, 14, 0.16), transparent 12rem),
    rgba(107, 11, 14, 0.06);
  box-shadow: 0 0 0 1px rgba(107, 11, 14, 0.1), 0 12px 30px rgba(107, 11, 14, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.56);
  padding: 1rem;
}

.checkout-drink-options[hidden] {
  display: none;
}

.checkout-drink-options__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-bottom: 1px solid rgba(141, 16, 16, 0.18);
  padding-bottom: 0.72rem;
}

.checkout-drink-options__side {
  display: grid;
  justify-items: end;
  gap: 0.35rem;
  min-width: 0;
}

.checkout-drink-options__free-note {
  color: rgba(107, 11, 14, 0.68);
  font: 950 0.76rem var(--sans);
  line-height: 1;
  text-align: right;
  text-transform: lowercase;
}

.checkout-drink-options p,
.checkout-drink-options legend {
  color: rgba(107, 11, 14, 0.9);
  font: 950 1.02rem var(--sans);
  margin: 0;
  text-transform: lowercase;
}

.checkout-drink-options legend small {
  color: rgba(107, 11, 14, 0.64);
  font-size: 0.78rem;
  font-weight: 950;
  margin-left: 0.55rem;
}

.drink-option-switcher {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 2.1rem minmax(0, 0.8fr);
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  max-width: min(100%, 18rem);
  border-left: 1px solid rgba(107, 11, 14, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  color: var(--red);
  font-weight: 950;
  padding: 0.28rem 0.38rem 0.28rem 0.68rem;
  text-transform: lowercase;
}

.drink-option-switcher[hidden] {
  display: none;
}

.drink-option-switcher span {
  overflow: hidden;
  color: #6b0b0e;
  font-size: 0.86rem;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.drink-option-switcher button {
  display: inline-grid;
  width: 2.1rem;
  height: 2.1rem;
  place-items: center;
  justify-self: center;
  border: 0;
  border-radius: 999px;
  background: #6b0b0e;
  color: var(--paper);
  cursor: pointer;
  font: 950 1.05rem var(--sans);
  line-height: 1;
}

.drink-option-switcher small {
  overflow: hidden;
  color: rgba(107, 11, 14, 0.68);
  font-size: 0.74rem;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.checkout-drink-options fieldset {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  border: 0;
  margin: 0;
  padding: 0;
}

.checkout-drink-options legend {
  flex: 0 0 100%;
  margin-bottom: 0.15rem;
}

.checkout-drink-options label {
  display: inline-flex;
  align-items: center;
  gap: 0.36rem;
  min-height: 36px;
  border: 1px solid rgba(107, 11, 14, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  color: var(--ink);
  cursor: pointer;
  font: 950 0.9rem var(--sans);
  padding: 0.35rem 0.62rem;
  text-transform: lowercase;
}

.checkout-drink-options label span {
  font-size: 0.9rem;
  font-weight: 950;
}

.checkout-drink-options input {
  width: auto;
  accent-color: var(--red);
  margin: 0;
  padding: 0;
}

.checkout-form input::placeholder,
.checkout-form textarea::placeholder {
  color: rgba(17, 17, 17, 0.32);
}

.checkout-form input:focus,
.checkout-form textarea:focus,
.checkout-form select:focus {
  border-color: var(--red);
  outline: none;
}

.checkout-note,
.checkout-status {
  margin: 0;
  line-height: 1.4;
}

.order-thanks {
  position: fixed;
  inset: 0;
  z-index: 160;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
  opacity: 0;
  visibility: hidden;
  transform: scale(0.98);
  transition: opacity 0.55s var(--ease), visibility 0.55s var(--ease), transform 0.55s var(--ease);
}

.order-thanks.is-open {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.order-thanks__home {
  position: fixed;
  top: clamp(1rem, 3vw, 2rem);
  left: clamp(1rem, 3vw, 2rem);
  z-index: 2;
}

.order-thanks__content {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(760px, calc(100% - 2rem));
  justify-items: center;
  gap: 1.2rem;
  text-align: center;
}

.order-thanks__content img {
  width: min(260px, 50vw);
  height: auto;
}

.order-thanks__content h2 {
  margin: 0;
  color: var(--red);
  font-size: clamp(4rem, 12vw, 10rem);
  line-height: 0.82;
  text-transform: lowercase;
}

.order-thanks__content p {
  max-width: 34rem;
  margin: 0;
  color: rgba(17, 17, 17, 0.62);
  font-size: clamp(1rem, 1.6vw, 1.32rem);
  font-weight: 900;
  line-height: 1.45;
}

.order-confetti-piece {
  position: absolute;
  top: -18px;
  left: var(--x);
  width: var(--size);
  height: calc(var(--size) * 1.55);
  background: var(--red);
  border-radius: 2px;
  opacity: 0;
  transform: rotate(var(--rotate));
  animation: redConfettiFall var(--duration) cubic-bezier(0.16, 0.8, 0.34, 1) forwards;
  animation-delay: var(--delay);
}

@keyframes communityPhotoIn {
  from {
    opacity: 0;
    transform: rotateY(-68deg) scale(0.96);
  }
  to {
    opacity: 1;
    transform: rotateY(0) scale(1);
  }
}

@keyframes cartPulseFloat {
  0% {
    opacity: 0;
    transform: translate3d(0, -45%, 0) scale(0.75);
  }
  28% {
    opacity: 1;
    transform: translate3d(0.1rem, -125%, 0) scale(1.05);
  }
  100% {
    opacity: 0;
    transform: translate3d(0.3rem, -230%, 0) scale(0.92);
  }
}

@keyframes orderButtonDance {
  0%,
  68%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  }

  72% {
    transform: translate3d(0, -5px, 0) rotate(-3deg) scale(1.06);
  }

  76% {
    transform: translate3d(0, 3px, 0) rotate(3deg) scale(0.98);
  }

  80% {
    transform: translate3d(0, -4px, 0) rotate(-2.2deg) scale(1.04);
  }

  85% {
    transform: translate3d(0, 1px, 0) rotate(1.4deg) scale(1.01);
  }

  90% {
    transform: translate3d(0, -2px, 0) rotate(-0.8deg) scale(1.02);
  }
}

@keyframes nudoGamesButtonPulse {
  0%,
  100% {
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.2) inset,
      0 0 0 1px rgba(255, 45, 45, 0.24),
      0 0 18px rgba(255, 45, 45, 0.34),
      0 12px 34px rgba(118, 12, 12, 0.2);
  }

  48% {
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.28) inset,
      0 0 0 1px rgba(255, 45, 45, 0.48),
      0 0 31px rgba(255, 45, 45, 0.68),
      0 15px 42px rgba(118, 12, 12, 0.28);
  }
}

@keyframes nudoGamesButtonRing {
  to {
    transform: rotate(360deg);
  }
}

@keyframes nudoGamesButtonSweep {
  0%,
  36% {
    transform: translateX(-116%);
  }

  72%,
  100% {
    transform: translateX(116%);
  }
}

@keyframes nudoFreddoCardSweep {
  0%,
  58%,
  100% {
    opacity: 0;
    background-position: -220% 0;
  }

  66% {
    opacity: 0.64;
  }

  82% {
    opacity: 0;
    background-position: 220% 0;
  }
}

@keyframes nudoGreekFlagGlow {
  0%,
  100% {
    filter: saturate(1.05) brightness(1);
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.86),
      0 5px 14px rgba(34, 92, 170, 0.18);
  }

  48% {
    filter: saturate(1.18) brightness(1.16);
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.95),
      0 0 16px rgba(255, 255, 255, 0.7),
      0 0 22px rgba(34, 92, 170, 0.34);
  }
}

@keyframes redConfettiFall {
  0% {
    opacity: 0;
    transform: translate3d(0, -4vh, 0) rotate(var(--rotate));
  }
  8% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate3d(var(--drift), 108vh, 0) rotate(calc(var(--rotate) + 440deg));
  }
}

@media (max-width: 900px) {
  .order-menu-list,
  .order-group__body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .order-entry {
    min-height: 42px;
    padding: 0.68rem 0.88rem;
    font-size: 0.64rem;
  }

  .cart-button {
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 720px) {
  .order-experience__top {
    grid-template-columns: auto 1fr auto;
    gap: 0.65rem;
    padding: 0.82rem 1rem;
  }

  .order-experience__top > span {
    font-size: clamp(1.08rem, 5vw, 1.35rem);
  }

  .order-panel-cart {
    min-height: 38px;
    gap: 0.42rem;
    padding: 0.56rem 0.72rem;
    font-size: 0.66rem;
  }

  .order-panel-cart span {
    display: none;
  }

  .order-panel-cart strong {
    min-width: 1.42rem;
    height: 1.42rem;
    font-size: 0.66rem;
  }

  .order-experience__content {
    width: min(100% - 1.4rem, 620px);
    padding-top: 3rem;
  }

  .order-experience__intro h2 {
    font-size: clamp(3.5rem, 18vw, 6.4rem);
  }

  .order-row {
    grid-template-columns: minmax(0, 1fr) auto 38px;
    min-height: 54px;
  }

  .order-group__body {
    gap: 0.45rem;
    padding-bottom: 1.2rem;
  }

  .order-category__head {
    padding: 0.52rem 0 0.28rem;
  }

  .order-row--group-priced {
    grid-template-columns: minmax(0, 1fr) 38px;
  }

  .order-row__add {
    width: 36px;
    height: 36px;
  }

  .cart-drawer {
    top: auto;
    left: 0;
    width: 100%;
    height: min(82svh, 760px);
    border-left: 0;
    border-top: 1px solid rgba(118, 12, 12, 0.18);
    border-radius: 28px 28px 0 0;
    transform: translate3d(0, 105%, 0);
  }

  .cart-drawer.is-checkout {
    top: 0;
    height: 100svh;
    border-radius: 0;
  }

  .cart-drawer.is-open {
    transform: translate3d(0, 0, 0);
  }

  .checkout-type {
    grid-template-columns: 1fr;
  }

  .checkout-loyalty__head,
  .checkout-loyalty__controls {
    grid-template-columns: 1fr;
  }

  .checkout-loyalty__toggle,
  .checkout-loyalty__controls button {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .header-actions {
    gap: 0.35rem;
  }

  .nudo-games-entry {
    min-height: 42px;
    padding: 0.7rem 0.98rem;
    font-size: 0.58rem;
    letter-spacing: 0.075em;
  }

  .order-entry {
    max-width: 8.65rem;
    white-space: normal;
    line-height: 1.05;
  }

  .language-toggle {
    padding-inline: 0.72rem;
    font-size: 0.6rem;
  }

  .cart-item {
    min-height: auto;
    grid-template-rows: auto auto auto auto;
  }

  .cart-item__image {
    width: min(72%, 9.5rem);
    height: 7rem;
  }

  .cart-item__controls {
    grid-template-columns: 40px 1fr 40px;
  }
}

@media (max-width: 900px) {
  .cart-drawer:not(.is-checkout) .cart-items {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.72rem;
    padding: 0.2rem 0.15rem 0.8rem 0;
  }

  .cart-drawer:not(.is-checkout) .cart-item {
    min-height: 0;
    grid-template-rows: auto auto auto auto;
    gap: 0.52rem;
    border-radius: 22px;
    padding: 0.65rem;
  }

  .cart-drawer:not(.is-checkout) .cart-item::after {
    inset: auto 0.72rem 0.55rem;
  }

  .cart-drawer:not(.is-checkout) .cart-item__image {
    width: min(86%, 8rem);
    height: clamp(5.3rem, 16vw, 7rem);
    border-radius: 18px;
  }

  .cart-drawer:not(.is-checkout) .cart-item__badge {
    top: 0.58rem;
    left: 0.58rem;
    min-width: 2.05rem;
    height: 2.05rem;
    font-size: 0.72rem;
  }

  .cart-drawer:not(.is-checkout) .cart-item h4 {
    font-size: clamp(0.96rem, 2vw, 1.15rem);
  }

  .cart-drawer:not(.is-checkout) .cart-item p {
    font-size: 0.66rem;
    line-height: 1.12;
  }

  .cart-drawer:not(.is-checkout) .cart-item__subtotal {
    font-size: 1.02rem;
  }

  .cart-drawer:not(.is-checkout) .cart-item__controls {
    grid-template-columns: 34px 1fr 34px;
    gap: 0.28rem;
  }

  .cart-drawer:not(.is-checkout) .cart-item__controls button {
    min-height: 34px;
    font-size: 0.92rem;
  }

  .cart-drawer:not(.is-checkout) .cart-item__controls span {
    font-size: 0.92rem;
  }

  .cart-drawer:not(.is-checkout) .cart-item__remove {
    min-height: 30px !important;
    font-size: 0.52rem !important;
  }
}

@media (max-width: 640px) {
  .cart-drawer:not(.is-checkout) .cart-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.68rem;
  }

  .cart-drawer:not(.is-checkout) .cart-item {
    padding: 0.58rem;
  }
}

@media (max-width: 380px) {
  .cart-drawer:not(.is-checkout) .cart-items {
    gap: 0.5rem;
  }

  .cart-drawer:not(.is-checkout) .cart-item {
    gap: 0.44rem;
    border-radius: 19px;
    padding: 0.48rem;
  }

  .cart-drawer:not(.is-checkout) .cart-item__image {
    height: 4.9rem;
  }

  .cart-drawer:not(.is-checkout) .cart-item__badge {
    top: 0.46rem;
    left: 0.46rem;
    min-width: 1.8rem;
    height: 1.8rem;
    font-size: 0.64rem;
  }

  .cart-drawer:not(.is-checkout) .cart-item h4 {
    font-size: 0.86rem;
  }

  .cart-drawer:not(.is-checkout) .cart-item p {
    font-size: 0.58rem;
  }

  .cart-drawer:not(.is-checkout) .cart-item__subtotal {
    font-size: 0.92rem;
  }

  .cart-drawer:not(.is-checkout) .cart-item__controls {
    grid-template-columns: 30px 1fr 30px;
  }

  .cart-drawer:not(.is-checkout) .cart-item__controls button {
    min-height: 30px;
  }

  .cart-drawer:not(.is-checkout) .cart-item__remove {
    min-height: 28px !important;
    font-size: 0.5rem !important;
  }
}

.cart-drawer.is-preview:not(.is-checkout) {
  top: 50%;
  right: auto;
  bottom: auto;
  left: 50%;
  width: min(720px, calc(100vw - 1.2rem));
  height: min(76svh, 660px);
  border: 1px solid rgba(118, 12, 12, 0.16);
  border-radius: clamp(28px, 5vw, 44px);
  box-shadow: 0 36px 90px rgba(20, 12, 8, 0.24);
  transform: translate3d(-50%, -50%, 0) scale(1);
}

.cart-drawer.is-open.is-compact:not(.is-checkout) {
  top: calc(env(safe-area-inset-top) + clamp(4.8rem, 7vw, 6rem));
  right: clamp(0.72rem, 2.5vw, 1.4rem);
  bottom: auto;
  left: auto;
  width: min(370px, calc(100vw - 1rem));
  height: min(470px, 58svh);
  border: 1px solid rgba(118, 12, 12, 0.16);
  border-radius: 28px;
  box-shadow: 0 28px 70px rgba(20, 12, 8, 0.18);
  transform: translate3d(0, 0, 0) scale(0.86);
  transform-origin: top right;
}

.cart-drawer.is-compact:not(.is-checkout) .cart-drawer__head {
  align-items: center;
  padding: 0.88rem 0.95rem;
}

.cart-drawer.is-compact:not(.is-checkout) .cart-drawer__head p {
  display: none;
}

.cart-drawer.is-compact:not(.is-checkout) .cart-drawer__head h2 {
  font-size: clamp(1.8rem, 4vw, 2.35rem);
}

.cart-drawer.is-compact:not(.is-checkout) .cart-drawer__close {
  min-height: 2.35rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.64rem;
}

.cart-drawer.is-compact:not(.is-checkout) .cart-drawer__body {
  padding: 0.78rem;
}

.cart-drawer.is-compact:not(.is-checkout) .cart-items {
  grid-template-columns: 1fr;
  gap: 0.58rem;
}

.cart-drawer.is-compact:not(.is-checkout) .cart-item {
  grid-template-columns: 4rem minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  min-height: 0;
  gap: 0.45rem 0.6rem;
  border-radius: 20px;
  padding: 0.58rem;
}

.cart-drawer.is-compact:not(.is-checkout) .cart-item__image {
  grid-row: 1 / span 2;
  width: 3.8rem;
  height: 3.8rem;
  border-radius: 16px;
}

.cart-drawer.is-compact:not(.is-checkout) .cart-item__badge {
  top: 0.42rem;
  left: 0.42rem;
  min-width: 1.9rem;
  height: 1.9rem;
  font-size: 0.68rem;
}

.cart-drawer.is-compact:not(.is-checkout) .cart-item__copy {
  align-self: center;
}

.cart-drawer.is-compact:not(.is-checkout) .cart-item h4 {
  font-size: 1rem;
}

.cart-drawer.is-compact:not(.is-checkout) .cart-item p {
  font-size: 0.68rem;
  line-height: 1.1;
}

.cart-drawer.is-compact:not(.is-checkout) .cart-item__subtotal {
  align-self: center;
  font-size: 0.92rem;
}

.cart-drawer.is-compact:not(.is-checkout) .cart-item__controls {
  grid-column: 2 / -1;
  grid-template-columns: 34px 1fr 34px;
}

.cart-drawer.is-compact:not(.is-checkout) .cart-item__controls button {
  min-height: 34px;
}

.cart-drawer.is-compact:not(.is-checkout) .cart-item__remove {
  display: none;
}

.cart-drawer.is-compact:not(.is-checkout) .cart-drawer__footer {
  gap: 0.55rem;
  padding-top: 0.55rem;
}

.cart-drawer.is-compact:not(.is-checkout) .cart-coupon,
.cart-drawer.is-compact:not(.is-checkout) .cart-secondary {
  display: none;
}

.cart-drawer.is-compact:not(.is-checkout) .cart-total {
  padding: 0.5rem 0;
}

.cart-drawer.is-compact:not(.is-checkout) .cart-primary {
  min-height: 2.85rem;
}

@keyframes communityGridPulse {
  from {
    opacity: 0.22;
    transform: translate3d(0, -10px, 0);
  }
  to {
    opacity: 0.42;
    transform: translate3d(0, 10px, 0);
  }
}

@media (max-width: 720px) {
  .product-category-nav,
  .products__nav {
    justify-content: center;
  }

  .product-category-tab {
    min-width: min(178px, 46vw);
  }

  .drink-size-tab {
    min-width: 0;
  }

  .drink-card-sizes {
    top: 0.75rem;
    left: 50%;
    right: auto;
    width: min(250px, calc(100% - 2rem));
    grid-template-columns: repeat(2, minmax(0, 1fr));
    transform: translateX(-50%);
  }

  .drink-size-tab span {
    font-size: clamp(1.08rem, 7vw, 1.8rem);
  }

  .drink-size-tab strong {
    font-size: clamp(0.62rem, 3.05vw, 0.8rem);
  }

  .drink-size-tab small {
    font-size: 0.56rem;
  }

  .drink-showcase {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .drink-cup-card {
    min-height: clamp(390px, 92vw, 520px);
    padding-top: 7.25rem;
  }

  .drink-cup-card--split {
    gap: clamp(0.15rem, 2vw, 0.65rem);
    padding-inline: clamp(0.5rem, 3vw, 0.9rem);
  }

  .drink-cup-card--split::after {
    bottom: clamp(2.2rem, 9vw, 3.8rem);
    width: 1.5px;
    height: clamp(210px, 54vw, 305px);
  }

  .drink-cup-card--split .drink-cup-card__copy h3 {
    font-size: clamp(1.35rem, 8.2vw, 2.65rem);
  }

  .espresso-card--wide {
    min-height: 0;
    grid-template-columns: minmax(90px, 0.32fr) minmax(0, 1fr);
  }

  .espresso-card--red {
    grid-template-columns: minmax(104px, 0.34fr) minmax(0, 1fr);
    min-height: 220px;
  }

  .espresso-card--red .espresso-card__tag {
    max-width: calc(100% - 1.8rem);
    font-size: clamp(1.05rem, 5vw, 1.45rem);
    line-height: 0.95;
  }

  .espresso-card__options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, 330px);
  }

  .espresso-card__options button {
    min-width: 0;
    white-space: nowrap;
    padding-inline: 0.78rem;
  }

  .espresso-card--red .espresso-card__image {
    min-height: 170px;
  }

  .drink-cup-frame {
    height: clamp(260px, 68vw, 390px);
    overflow: visible;
  }

  .drink-cup-card--split .drink-cup-frame {
    height: clamp(194px, 48vw, 273px);
  }

  .drink-cup,
  .drink-cup--cold,
  .drink-cup--hot {
    height: clamp(292px, 76vw, 420px);
    max-width: 88%;
  }

  .drink-cup-card--split .drink-cup,
  .drink-cup-card--split .drink-cup--cold,
  .drink-cup-card--split .drink-cup--hot {
    height: clamp(194px, 51vw, 290px);
    max-width: 96%;
  }

  .angelito-layer-label {
    font-size: clamp(1rem, 5vw, 1.65rem);
  }

  .angelito-layer-label--leche {
    top: 23%;
  }

  .angelito-layer-label--cacao {
    bottom: 11%;
  }

  .drink-half--hot .steam-layer--hot {
    top: clamp(-2.35rem, -8vw, -1.15rem);
    width: clamp(84px, 24vw, 132px);
    height: clamp(138px, 38vw, 210px);
  }

  .drink-cup-card__copy h3 {
    font-size: clamp(2rem, 11vw, 4.2rem);
  }

  .drink-options {
    gap: 1.25rem;
  }

  .espresso-card__image {
    min-height: 140px;
  }

  .product-panel {
    gap: clamp(1.55rem, 7vw, 2.55rem);
  }

  .dish-section {
    gap: 0.48rem;
  }

  .dish-section:not(:last-child) {
    padding-bottom: clamp(1.35rem, 6.5vw, 2.2rem);
  }

  .dish-section:not(:last-child)::after {
    right: 34%;
    left: 34%;
    height: 4px;
  }

  .dish-section h3 {
    font-size: clamp(2.75rem, 15vw, 5.8rem);
  }

  .dish-showcase {
    grid-template-rows: auto minmax(0, 1fr);
    gap: 0.65rem;
    height: clamp(365px, 106vw, 450px);
    min-height: 0;
    padding: 0.95rem;
    border-width: 2.5px;
    border-radius: 28px;
  }

  .dish-selector {
    align-content: center;
    justify-content: center;
    flex-wrap: wrap;
    min-height: 5.8rem;
    overflow: visible;
    padding-bottom: 0;
    scrollbar-width: auto;
  }

  .dish-option {
    flex: 0 1 auto;
    padding: 0.66rem 0.82rem;
    font-size: 0.82rem;
  }

  .dish-media,
  .dish-media--wide,
  .dish-media--roma {
    height: 100%;
    min-height: 0;
  }

  .dish-description {
    min-height: 0;
    margin-top: -0.2rem;
    font-size: clamp(1.18rem, 6vw, 1.8rem);
  }

  .gallery__track--collage {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .gallery__item,
  .gallery__item--tall,
  .gallery__item--wide {
    grid-column: auto;
    grid-row: auto;
  }

  .gallery__item img {
    height: auto;
    aspect-ratio: 4 / 5;
  }

  .community-carousel {
    min-height: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: clamp(120px, 32vw, 190px);
  }

  .community-photo--hero,
  .community-photo--wide,
  .community-photo--tall,
  .community-photo--small,
  .community-photo--strip,
  .community-photo--pending,
  .community-photo--square,
  .community-photo--portrait,
  .community-photo--vertical,
  .community-photo--landscape,
  .community-photo--panoramic {
    grid-column: span 1;
    grid-row: span 2;
  }

  .community-photo--hero,
  .community-photo--strip,
  .community-photo--landscape,
  .community-photo--panoramic {
    grid-column: 1 / -1;
  }

  .community-photo--portrait {
    grid-row: span 3;
  }
}

.home-kiosk {
  --home-kiosk-ink: #17110d;
  --home-kiosk-muted: #70675c;
  --home-kiosk-paper: #fbf8f1;
  --home-kiosk-cream: #fffdf8;
  --home-kiosk-red: #8f1111;
  --home-kiosk-line: rgba(32, 22, 15, 0.12);
  --home-kiosk-shadow: 0 24px 70px rgba(88, 58, 28, 0.13);
  --home-kiosk-radius: clamp(28px, 3.8vw, 46px);
  display: grid;
  gap: clamp(1.1rem, 2vw, 2rem);
  color: var(--home-kiosk-ink);
  background:
    linear-gradient(rgba(143, 17, 17, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 17, 17, 0.025) 1px, transparent 1px),
    radial-gradient(circle at 9% 10%, rgba(255, 212, 122, 0.22), transparent 18rem),
    radial-gradient(circle at 92% 12%, rgba(192, 111, 61, 0.12), transparent 20rem),
    var(--home-kiosk-paper);
  background-size: 26px 26px, 26px 26px, auto, auto, auto;
  overflow: visible;
}

.home-kiosk__head {
  display: grid;
  align-items: end;
  gap: 1.2rem;
}

.home-kiosk__head h2 {
  margin: 0.1rem 0 0;
  color: var(--home-kiosk-red);
  font-size: clamp(3.4rem, 8vw, 8.2rem);
  font-weight: 950;
  line-height: 0.84;
  text-transform: lowercase;
}

.home-kiosk__head .section-kicker {
  margin: 0;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
}

.home-kiosk__head > p {
  max-width: 25rem;
  margin: 0;
  color: var(--home-kiosk-muted);
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  font-weight: 900;
  line-height: 1.28;
  text-align: right;
}

.home-kiosk__layout {
  display: grid;
  grid-template-areas:
    "rail"
    "products";
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(0.85rem, 1.35vw, 1.45rem);
  align-items: start;
}

.home-kiosk__rail,
.home-kiosk__products,
.home-kiosk__cart {
  border: 1px solid rgba(45, 32, 21, 0.1);
  border-radius: var(--home-kiosk-radius);
  background: rgba(255, 253, 248, 0.78);
  box-shadow: var(--home-kiosk-shadow);
}

.home-kiosk__rail {
  position: sticky;
  top: clamp(5.2rem, 7vw, 6.5rem);
  z-index: 35;
  grid-area: rail;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(0.5rem, 0.9vw, 0.8rem);
  padding: clamp(0.55rem, 0.9vw, 0.8rem);
  backdrop-filter: blur(18px);
}

.home-kiosk__rail-intro {
  display: grid;
  align-content: center;
  min-width: 5.8rem;
  border-radius: 999px;
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.82), transparent 8rem),
    rgba(255, 248, 235, 0.78);
  padding: 0.58rem 0.82rem;
}

.home-kiosk__rail-intro span,
.home-kiosk__products-head p,
.home-kiosk__cart-head p,
.home-kiosk-modal__content > p {
  margin: 0;
  color: var(--home-kiosk-red);
  font-size: clamp(0.86rem, 1vw, 1.02rem);
  font-weight: 950;
  text-transform: lowercase;
}

.home-kiosk__rail-intro strong,
.home-kiosk__products-head h3 {
  margin: 0;
  color: var(--home-kiosk-ink);
  font-size: clamp(1.65rem, 3vw, 3.8rem);
  font-weight: 950;
  line-height: 0.88;
  text-transform: lowercase;
}

.home-kiosk__rail-intro strong {
  font-size: clamp(1.05rem, 1.4vw, 1.35rem);
  line-height: 0.98;
}

.home-kiosk__tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(0.35rem, 0.75vw, 0.6rem);
}

.home-kiosk-tab {
  position: relative;
  display: grid;
  min-height: clamp(2.85rem, 4.1vw, 3.7rem);
  overflow: hidden;
  place-items: center;
  border: 1.5px solid rgba(78, 73, 66, 0.26);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.3)),
    color-mix(in srgb, var(--tab-accent, var(--home-kiosk-red)) 12%, white);
  color: var(--home-kiosk-ink);
  cursor: pointer;
  padding: clamp(0.48rem, 0.8vw, 0.7rem) clamp(0.62rem, 1vw, 0.9rem);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.62),
    0 8px 18px rgba(38, 32, 26, 0.045);
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.home-kiosk-tab::before {
  content: "";
  position: absolute;
  right: -0.9rem;
  bottom: -1.25rem;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--tab-accent, var(--home-kiosk-red)) 38%, white);
  opacity: 0.32;
}

.home-kiosk-tab strong {
  position: relative;
  z-index: 1;
  color: var(--home-kiosk-ink);
  font-size: clamp(0.95rem, 1.35vw, 1.28rem);
  font-weight: 950;
  line-height: 0.96;
  text-transform: lowercase;
}

.home-kiosk-tab.is-active,
.home-kiosk-tab:hover {
  border-color: color-mix(in srgb, var(--tab-accent, var(--home-kiosk-red)) 32%, rgba(78, 73, 66, 0.42));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.7),
    0 18px 34px rgba(80, 52, 26, 0.14);
  transform: translateY(-2px);
}

.home-kiosk-tab.is-active {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.2)),
    color-mix(in srgb, var(--tab-accent, var(--home-kiosk-red)) 24%, white);
}

.home-kiosk__products {
  --cloud-one-x: 78%;
  --cloud-one-y: 8%;
  --cloud-one-size: min(32vw, 34rem);
  --cloud-two-x: -10%;
  --cloud-two-y: 66%;
  --cloud-two-size: min(38vw, 42rem);
  position: relative;
  grid-area: products;
  min-height: clamp(500px, 56vw, 740px);
  overflow: hidden;
  padding: clamp(0.85rem, 1.35vw, 1.25rem);
}

.home-kiosk__products::before,
.home-kiosk__products::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
  background: rgba(143, 17, 17, 0.09);
  opacity: 1;
  will-change: transform;
}

.home-kiosk__products::before {
  top: var(--cloud-one-y);
  left: var(--cloud-one-x);
  width: var(--cloud-one-size);
  aspect-ratio: 1.95;
  animation: homeKioskCloudFloatOne 34s ease-in-out infinite;
  -webkit-mask: url("assets/nubes-nudo-main.png") center / contain no-repeat;
  mask: url("assets/nubes-nudo-main.png") center / contain no-repeat;
}

.home-kiosk__products::after {
  top: var(--cloud-two-y);
  left: var(--cloud-two-x);
  width: var(--cloud-two-size);
  aspect-ratio: 4.05;
  background: rgba(143, 17, 17, 0.074);
  animation: homeKioskCloudFloatTwo 42s ease-in-out infinite;
  -webkit-mask: url("assets/nubes-nudo-line.png") center / contain no-repeat;
  mask: url("assets/nubes-nudo-line.png") center / contain no-repeat;
}

.home-kiosk__products[data-group="cacao"] {
  --cloud-one-x: 58%;
  --cloud-one-y: 3%;
  --cloud-two-x: 4%;
  --cloud-two-y: 72%;
}

.home-kiosk__products[data-group="romas"] {
  --cloud-one-x: -4%;
  --cloud-one-y: 9%;
  --cloud-two-x: 50%;
  --cloud-two-y: 68%;
}

.home-kiosk__products[data-group="tlayudas"] {
  --cloud-one-x: 66%;
  --cloud-one-y: 12%;
  --cloud-two-x: -16%;
  --cloud-two-y: 46%;
}

.home-kiosk__products[data-group="tortas"] {
  --cloud-one-x: 20%;
  --cloud-one-y: 5%;
  --cloud-two-x: 48%;
  --cloud-two-y: 54%;
}

.home-kiosk__products[data-group="romas"]::before,
.home-kiosk__products[data-group="romas"]::after,
.home-kiosk__products[data-group="tlayudas"]::before,
.home-kiosk__products[data-group="tlayudas"]::after,
.home-kiosk__products[data-group="tortas"]::before,
.home-kiosk__products[data-group="tortas"]::after {
  display: none;
}

@media (min-width: 700px) and (max-width: 1180px) {
  .home-kiosk__products {
    --cloud-one-size: min(23vw, 18rem);
    --cloud-two-size: min(27vw, 22rem);
  }

  .home-kiosk__products::before {
    opacity: 0.46;
  }

  .home-kiosk__products::after {
    opacity: 0.36;
  }
}

@keyframes homeKioskCloudFloatOne {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-4deg);
  }
  50% {
    transform: translate3d(-2.3rem, 1.1rem, 0) rotate(1deg);
  }
}

@keyframes homeKioskCloudFloatTwo {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(3deg);
  }
  50% {
    transform: translate3d(2.6rem, -0.8rem, 0) rotate(-2deg);
  }
}

.home-kiosk__products-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: clamp(0.85rem, 1.45vw, 1.28rem);
}

.home-kiosk__products-head span {
  max-width: 18rem;
  color: var(--home-kiosk-muted);
  font-weight: 900;
  line-height: 1.25;
  text-align: right;
}

.home-kiosk__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12.4rem), 1fr));
  gap: clamp(0.78rem, 1.15vw, 1.12rem);
}

.home-kiosk__products[data-group="cacao"] .home-kiosk__grid {
  width: min(100%, 43rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-content: center;
  margin-inline: auto;
}

.home-kiosk__grid--grouped {
  grid-template-columns: 1fr;
  gap: clamp(0.95rem, 1.6vw, 1.5rem);
}

.home-kiosk__bottom-cta {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(100%, 26rem);
  min-height: clamp(3.35rem, 5vw, 4.2rem);
  place-items: center;
  justify-self: center;
  margin: clamp(1.1rem, 2vw, 1.65rem) auto 0;
  border: 1px solid rgba(143, 17, 17, 0.16);
  border-radius: 999px;
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.62), transparent 5rem),
    var(--home-kiosk-red);
  color: white;
  cursor: pointer;
  font: 950 clamp(1.02rem, 1.5vw, 1.35rem) var(--sans);
  letter-spacing: 0;
  text-transform: lowercase;
  box-shadow: 0 18px 44px rgba(143, 17, 17, 0.2);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.home-kiosk__bottom-cta:hover,
.home-kiosk__bottom-cta:focus-visible {
  box-shadow: 0 24px 56px rgba(143, 17, 17, 0.28);
  outline: none;
  transform: translateY(-2px);
}

.home-kiosk__bottom-cta.has-items {
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.5), transparent 5rem),
    var(--home-kiosk-red);
  color: white;
  box-shadow: 0 18px 44px rgba(143, 17, 17, 0.24);
}

.home-kiosk-category-block {
  display: grid;
  gap: clamp(0.62rem, 1vw, 0.86rem);
}

.home-kiosk-category-block__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  border: 1px solid rgba(143, 17, 17, 0.14);
  border-radius: 999px;
  background:
    radial-gradient(circle at 14% 24%, rgba(255, 255, 255, 0.22), transparent 4.8rem),
    linear-gradient(135deg, rgba(143, 17, 17, 0.78) 0%, rgba(143, 17, 17, 0.68) 56%, rgba(111, 9, 9, 0.72) 100%);
  box-shadow: 0 14px 30px rgba(143, 17, 17, 0.12);
  padding: 0.62rem 0.78rem 0.62rem 1.08rem;
}

.home-kiosk-category-block__head h4 {
  margin: 0;
  color: #fff8f1;
  font-size: clamp(1.25rem, 2.1vw, 2rem);
  font-weight: 950;
  line-height: 0.95;
  text-transform: lowercase;
}

.home-kiosk-category-block__head span {
  display: inline-flex;
  min-height: 2.15rem;
  align-items: center;
  border-radius: 999px;
  background: rgba(255, 251, 244, 0.94);
  color: var(--home-kiosk-red);
  font-size: 0.92rem;
  font-weight: 950;
  padding: 0.35rem 0.75rem;
}

.home-kiosk-category-block__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12.2rem), 1fr));
  gap: clamp(0.78rem, 1.15vw, 1.12rem);
}

.home-kiosk-card {
  --card-min-height: clamp(15.75rem, 19vw, 19.75rem);
  --card-image-width: min(74%, 12.5rem);
  --card-image-height: clamp(7.4rem, 9vw, 9.75rem);
  --card-body-min: clamp(2.65rem, 3.4vw, 3.35rem);
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) minmax(var(--card-body-min), auto);
  width: 100%;
  min-width: 0;
  min-height: var(--card-min-height);
  aspect-ratio: 0.98;
  overflow: hidden;
  border: 1px solid rgba(31, 23, 17, 0.1);
  border-radius: clamp(24px, 2.3vw, 30px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.18)),
    var(--product-soft, #f3e6d8);
  box-shadow: 0 20px 38px rgba(75, 50, 26, 0.1);
  color: var(--home-kiosk-ink);
  cursor: pointer;
  padding: clamp(0.68rem, 0.95vw, 0.9rem);
  text-align: left;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.home-kiosk-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.78), transparent 30%),
    linear-gradient(180deg, transparent 58%, rgba(255, 255, 255, 0.46));
  pointer-events: none;
}

.home-kiosk-card:hover,
.home-kiosk-card:active {
  border-color: color-mix(in srgb, var(--product-accent, var(--home-kiosk-red)) 34%, white);
  box-shadow: 0 30px 58px rgba(75, 50, 26, 0.16);
  transform: translateY(-4px);
}

.home-kiosk-card--disabled,
.home-kiosk-card--disabled:hover,
.home-kiosk-card--disabled:active {
  cursor: not-allowed;
  opacity: 0.72;
  transform: none;
}

.home-kiosk-card--disabled::after {
  background:
    linear-gradient(180deg, rgba(247, 244, 238, 0.36), rgba(247, 244, 238, 0.78)),
    radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.8), transparent 34%);
}

.home-kiosk-card--disabled .home-kiosk-card__image img {
  filter: grayscale(0.88) blur(1px) drop-shadow(0 18px 18px rgba(52, 33, 21, 0.16));
  opacity: 0.42;
}

.home-kiosk-card--disabled .home-kiosk-card__body small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.8rem;
  border: 1px solid rgba(31, 23, 17, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--product-accent, var(--home-kiosk-red));
  padding: 0.36rem 0.66rem;
  text-transform: lowercase;
}

.home-kiosk-card__top,
.home-kiosk-card__image,
.home-kiosk-card__body {
  position: relative;
  z-index: 1;
}

.home-kiosk-card__top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.58rem;
}

.home-kiosk-card__top span,
.home-kiosk-card__top strong {
  display: inline-flex;
  align-items: center;
  min-height: 1.78rem;
  border: 1px solid rgba(31, 23, 17, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--product-accent, var(--home-kiosk-red));
  font-size: clamp(0.66rem, 0.78vw, 0.72rem);
  font-weight: 950;
  line-height: 1;
  padding: 0.38rem 0.58rem;
  text-transform: lowercase;
}

.home-kiosk-card__top strong {
  color: var(--home-kiosk-ink);
  justify-content: center;
  min-width: clamp(3.95rem, 4.2vw, 4.7rem);
  min-height: clamp(2rem, 2.1vw, 2.35rem);
  font-size: clamp(0.9rem, 1.06vw, 1.04rem);
  padding: 0.48rem 0.76rem;
}

.home-kiosk-card__image {
  display: grid;
  width: var(--card-image-width);
  height: var(--card-image-height);
  min-height: 0;
  max-height: none;
  place-items: center;
  justify-self: center;
  align-self: center;
}

.home-kiosk-card__image img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 24px 24px rgba(52, 33, 21, 0.18));
}

.home-kiosk-card--cafe .home-kiosk-card__image,
.home-kiosk-card--cacao .home-kiosk-card__image {
  --card-image-width: min(56%, 10.2rem);
  --card-image-height: clamp(8.1rem, 9.4vw, 10rem);
}

.home-kiosk-card[data-home-kiosk-entry="cafe-americano"] .home-kiosk-card__image,
.home-kiosk-card[data-home-kiosk-entry="cafe-latte"] .home-kiosk-card__image,
.home-kiosk-card[data-home-kiosk-entry="cafe-capuchino"] .home-kiosk-card__image,
.home-kiosk-card[data-home-kiosk-entry="cafe-freddo-capuchino"] .home-kiosk-card__image,
.home-kiosk-card[data-home-kiosk-entry="cafe-flat-white"] .home-kiosk-card__image {
  transform: translateY(-0.45rem);
}

.home-kiosk-card[data-home-kiosk-entry="cafe-freddo-capuchino"] {
  --product-accent: #63d6ff;
  overflow: visible;
  border-color: rgba(99, 214, 255, 0.82) !important;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.76),
    0 18px 40px rgba(99, 214, 255, 0.2),
    0 0 0 1px rgba(99, 214, 255, 0.28),
    0 0 30px rgba(99, 214, 255, 0.18) !important;
}

.home-kiosk-card[data-home-kiosk-entry="cafe-freddo-capuchino"]::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  background:
    linear-gradient(
      112deg,
      transparent 34%,
      rgba(255, 255, 255, 0.02) 42%,
      rgba(255, 255, 255, 0.72) 48%,
      rgba(255, 255, 255, 0.46) 53%,
      transparent 62%
    );
  background-size: 240% 100%;
  opacity: 0;
  pointer-events: none;
  transform: rotate(8deg);
  animation: nudoFreddoCardSweep 6.4s ease-in-out infinite;
}

.home-kiosk-card[data-home-kiosk-entry="cafe-freddo-capuchino"] .home-kiosk-card__top,
.home-kiosk-card[data-home-kiosk-entry="cafe-freddo-capuchino"] .home-kiosk-card__image,
.home-kiosk-card[data-home-kiosk-entry="cafe-freddo-capuchino"] .home-kiosk-card__body {
  z-index: 3;
}

.home-kiosk-card[data-home-kiosk-entry="cafe-freddo-capuchino"] .home-kiosk-card__top::before {
  content: "";
  position: absolute;
  top: -1.64rem;
  left: -0.92rem;
  z-index: 8;
  width: 2.8rem;
  height: 1.65rem;
  border-radius: 0.34rem;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background:
    linear-gradient(#fff 0 0) 0.33rem 0.64rem / 0.98rem 0.18rem no-repeat,
    linear-gradient(#fff 0 0) 0.73rem 0.28rem / 0.18rem 0.94rem no-repeat,
    linear-gradient(
      to bottom,
      #0d5eaf 0 11.111%,
      #fff 11.111% 22.222%,
      #0d5eaf 22.222% 33.333%,
      #fff 33.333% 44.444%,
      #0d5eaf 44.444% 55.555%,
      #fff 55.555% 66.666%,
      #0d5eaf 66.666% 77.777%,
      #fff 77.777% 88.888%,
      #0d5eaf 88.888% 100%
  );
  pointer-events: none;
  transform: rotate(-3deg);
  animation: nudoGreekFlagGlow 3.8s ease-in-out infinite;
}

.home-kiosk-card[data-home-kiosk-entry="cafe-freddo-capuchino"] .home-kiosk-card__image {
  width: min(60%, 10.8rem);
  height: var(--card-image-height);
}

.home-kiosk-card[data-home-kiosk-entry="cafe-freddo-capuchino"] .home-kiosk-card__image img {
  max-height: 104%;
  transform: translateY(-0.18rem) scale(1.02);
  filter:
    drop-shadow(0 24px 24px rgba(52, 33, 21, 0.18))
    drop-shadow(0 0 18px rgba(255, 255, 255, 0.42));
}

.home-kiosk-card--cafe,
.home-kiosk-card--cacao {
  --card-min-height: clamp(17.8rem, 21.5vw, 22rem);
  --card-body-min: clamp(2.95rem, 3.7vw, 3.7rem);
  aspect-ratio: 0.86;
}

.home-kiosk__products[data-group="cacao"] .home-kiosk-card--cacao {
  --card-min-height: clamp(15.6rem, 18vw, 18.6rem);
  --card-body-min: clamp(3.55rem, 3.9vw, 4.15rem);
  aspect-ratio: 0.98;
}

.home-kiosk-card--romas,
.home-kiosk-card--tlayudas,
.home-kiosk-card--tortas {
  --card-min-height: clamp(15.75rem, 19vw, 19.75rem);
  --card-image-width: min(84%, 12.5rem);
  --card-image-height: clamp(8.3rem, 9.8vw, 10.7rem);
  --card-body-min: clamp(2.65rem, 3.2vw, 3.25rem);
  aspect-ratio: 0.98;
}

.home-kiosk-card--romas .home-kiosk-card__image,
.home-kiosk-card--tlayudas .home-kiosk-card__image,
.home-kiosk-card--tortas .home-kiosk-card__image {
  width: var(--card-image-width);
  height: var(--card-image-height);
}

.home-kiosk-card__image b,
.home-kiosk-modal__media b {
  display: grid;
  width: 76%;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 999px;
  background: var(--product-accent, var(--home-kiosk-red));
  color: white;
  font-size: 3rem;
  font-weight: 950;
}

.home-kiosk-card__body {
  display: grid;
  justify-items: center;
  gap: 0.32rem;
  min-height: var(--card-body-min);
  align-content: end;
  align-self: end;
  padding-bottom: 0.18rem;
  text-align: center;
}

.home-kiosk-card__body strong {
  display: -webkit-box;
  max-width: 100%;
  color: var(--home-kiosk-ink);
  font-size: clamp(1.24rem, 1.58vw, 1.86rem);
  font-weight: 950;
  line-height: 1.08;
  padding-bottom: 0.04em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  overflow-wrap: anywhere;
  text-wrap: balance;
  text-transform: lowercase;
}

.home-kiosk-card__body small {
  display: none;
  color: var(--home-kiosk-muted);
  font-size: clamp(0.68rem, 0.8vw, 0.76rem);
  font-weight: 950;
  line-height: 1.1;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-wrap: balance;
}

.home-kiosk__products[data-group="cacao"] .home-kiosk-card__body {
  padding-bottom: 0.64rem;
}

.home-kiosk__products[data-group="cacao"] .home-kiosk-card__body strong {
  display: block;
  line-height: 1.16;
  overflow: visible;
  padding-bottom: 0.14em;
}

@media (min-width: 1061px) and (hover: hover) and (pointer: fine) {
  .home-kiosk__products[data-group="cacao"] .home-kiosk-card--cacao .home-kiosk-card__image {
    --card-image-width: min(52%, 11.1rem);
    --card-image-height: clamp(7.5rem, 8.2vw, 9.2rem);
    width: var(--card-image-width);
    height: var(--card-image-height);
    min-height: 0;
    max-height: 9.6rem;
    transform: translateY(-0.72rem);
  }
}

@media (min-width: 721px) and (hover: none) and (pointer: coarse) {
  .home-kiosk__products[data-group="cacao"] .home-kiosk-card--cacao .home-kiosk-card__image {
    --card-image-width: min(52%, 10.8rem);
    --card-image-height: clamp(7.6rem, 14vw, 9.6rem);
    width: var(--card-image-width);
    height: var(--card-image-height);
    min-height: 0;
    max-height: none;
    transform: translateY(-0.55rem);
  }
}

.home-kiosk__cart {
  position: sticky;
  top: 6rem;
  grid-area: cart;
  display: grid;
  min-height: min(720px, calc(100vh - 7rem));
  overflow: hidden;
  grid-template-rows: auto minmax(0, 1fr) auto;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 250, 242, 0.76)),
    repeating-linear-gradient(0deg, transparent 0 31px, rgba(31, 23, 17, 0.04) 32px);
}

.home-kiosk__cart.is-pulsing {
  animation: homeKioskCartPulse 520ms ease;
}

@keyframes homeKioskCartPulse {
  0%,
  100% {
    transform: scale(1);
  }
  45% {
    box-shadow: 0 26px 70px rgba(143, 17, 17, 0.2);
    transform: scale(1.012);
  }
}

.home-kiosk__cart-head,
.home-kiosk__cart-footer {
  padding: 1rem;
}

.home-kiosk__cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--home-kiosk-line);
}

.home-kiosk__cart-head p {
  margin: 0;
  color: var(--home-kiosk-red);
  font-size: 0.9rem;
  font-weight: 950;
}

.home-kiosk__cart-head strong {
  display: block;
  margin-top: 0.12rem;
  color: var(--home-kiosk-muted);
  font-size: 0.9rem;
  font-weight: 950;
}

.home-kiosk__clear {
  min-height: 2.4rem;
  border: 1px solid rgba(143, 17, 17, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--home-kiosk-red);
  cursor: pointer;
  font: 950 0.76rem var(--sans);
  padding: 0.45rem 0.75rem;
  text-transform: lowercase;
}

.home-kiosk__clear:disabled {
  cursor: not-allowed;
  opacity: 0.38;
}

.home-kiosk__cart-items {
  display: grid;
  align-content: start;
  gap: 0.7rem;
  overflow: auto;
  padding: 1rem;
}

.home-kiosk__empty {
  display: grid;
  min-height: 18rem;
  place-items: center;
  gap: 0.8rem;
  border: 1px dashed rgba(31, 23, 17, 0.16);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.38);
  text-align: center;
  padding: 1.2rem;
}

.home-kiosk__empty span {
  display: grid;
  width: 4.2rem;
  height: 4.2rem;
  place-items: center;
  border-radius: 999px;
  background: #f1e1d1;
  color: var(--home-kiosk-red);
  font-size: 2rem;
  font-weight: 950;
}

.home-kiosk__empty p,
.home-kiosk__cart-footer small,
.home-kiosk-cart-line small {
  margin: 0;
  color: var(--home-kiosk-muted);
  font-weight: 850;
  line-height: 1.28;
}

.home-kiosk-cart-line {
  display: grid;
  gap: 0.65rem;
  border: 1px solid rgba(31, 23, 17, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.7);
  padding: 0.88rem;
}

.home-kiosk-cart-line__main {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.8rem;
}

.home-kiosk-cart-line__main strong {
  display: block;
  color: var(--home-kiosk-ink);
  font-size: 1rem;
  font-weight: 950;
  line-height: 1;
  text-transform: lowercase;
}

.home-kiosk-cart-line__main b {
  color: var(--home-kiosk-ink);
  font-size: 0.92rem;
  font-weight: 950;
  white-space: nowrap;
}

.home-kiosk-cart-line__controls {
  display: grid;
  grid-template-columns: 2.2rem 1fr 2.2rem;
  align-items: center;
  gap: 0.45rem;
}

.home-kiosk-cart-line__controls button {
  display: grid;
  height: 2.2rem;
  place-items: center;
  border: 1px solid rgba(143, 17, 17, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--home-kiosk-red);
  cursor: pointer;
  font: 950 1.1rem var(--sans);
}

.home-kiosk-cart-line__controls > strong {
  color: var(--home-kiosk-ink);
  font-size: 1rem;
  text-align: center;
}

.home-kiosk__cart-footer {
  display: grid;
  gap: 0.85rem;
  border-top: 1px solid var(--home-kiosk-line);
}

.home-kiosk__total {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.home-kiosk__total span {
  color: var(--home-kiosk-muted);
  font-weight: 950;
  text-transform: lowercase;
}

.home-kiosk__total strong {
  color: var(--home-kiosk-red);
  font-size: clamp(2rem, 3vw, 3.2rem);
  font-weight: 950;
  line-height: 0.9;
}

.home-kiosk__continue,
.home-kiosk__add {
  min-height: 3.8rem;
  border: 0;
  border-radius: 999px;
  background: var(--home-kiosk-red);
  color: white;
  cursor: pointer;
  font: 950 1rem var(--sans);
  text-transform: lowercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 16px 34px rgba(143, 17, 17, 0.2);
}

.home-kiosk__continue:disabled {
  cursor: not-allowed;
  opacity: 0.36;
}

.home-kiosk-modal {
  position: fixed;
  inset: 0;
  z-index: 170;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.home-kiosk-modal[hidden] {
  display: none;
}

.home-kiosk-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(23, 17, 13, 0.24);
  backdrop-filter: blur(12px);
}

.home-kiosk-guide {
  position: fixed;
  inset: 0;
  z-index: 180;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 2rem);
}

.home-kiosk-guide[hidden] {
  display: none;
}

.home-kiosk-guide__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.42), transparent 18rem),
    rgba(20, 16, 13, 0.34);
  backdrop-filter: blur(14px);
}

.home-kiosk-guide__card {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(560px, calc(100vw - 2rem));
  justify-items: center;
  border: 1px solid rgba(143, 17, 17, 0.14);
  border-radius: clamp(34px, 7vw, 58px);
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.94), transparent 16rem),
    rgba(251, 248, 241, 0.94);
  box-shadow: 0 36px 90px rgba(37, 23, 13, 0.24);
  color: var(--home-kiosk-ink);
  padding: clamp(1.6rem, 5vw, 2.7rem);
  text-align: center;
}

.home-kiosk-guide__card[hidden] {
  display: none;
}

.home-kiosk-guide__halo {
  position: absolute;
  top: 12%;
  left: 50%;
  width: min(56vw, 18rem);
  aspect-ratio: 1;
  border-radius: 999px;
  background: rgba(143, 17, 17, 0.11);
  filter: blur(8px);
  transform: translateX(-50%);
}

.home-kiosk-guide__card img {
  position: relative;
  z-index: 1;
  width: min(48vw, 16rem);
  max-height: 16rem;
  object-fit: contain;
  transform-origin: 55% 82%;
  animation: homeKioskHandTap 1.35s ease-in-out infinite;
}

.home-kiosk-guide__card h3 {
  position: relative;
  z-index: 1;
  margin: 0.8rem 0 1.2rem;
  color: var(--home-kiosk-red);
  font-size: clamp(2.8rem, 11vw, 5.4rem);
  font-weight: 950;
  line-height: 0.86;
  text-transform: lowercase;
}

.home-kiosk-guide__card p {
  margin: 0 0 0.25rem;
  color: var(--home-kiosk-muted);
  font-size: 0.9rem;
  font-weight: 950;
  text-transform: lowercase;
}

.home-kiosk-guide__card button {
  appearance: none;
  min-height: 3.25rem;
  border: 1px solid rgba(143, 17, 17, 0.16);
  border-radius: 999px;
  background: var(--home-kiosk-red);
  color: white;
  cursor: pointer;
  font: 950 1rem var(--sans);
  padding: 0.75rem 1.5rem;
  text-transform: lowercase;
  box-shadow: 0 18px 40px rgba(143, 17, 17, 0.22);
}

.home-kiosk-guide__card--type {
  width: min(620px, calc(100vw - 2rem));
  padding: clamp(1.05rem, 4vw, 1.6rem);
}

.home-kiosk-type-choice {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.75rem, 2vw, 1rem);
  width: 100%;
}

.home-kiosk-type-choice button {
  display: grid;
  min-height: clamp(5.6rem, 15vw, 7.2rem);
  align-content: center;
  border-color: rgba(143, 17, 17, 0.18);
  background:
    radial-gradient(circle at 75% 20%, rgba(255, 255, 255, 0.82), transparent 6rem),
    rgba(255, 255, 255, 0.64);
  color: var(--home-kiosk-ink);
  box-shadow: 0 18px 42px rgba(52, 33, 21, 0.1);
}

.home-kiosk-type-choice strong {
  font-size: clamp(1.35rem, 4vw, 2.15rem);
  line-height: 1;
}

.home-kiosk-type-choice button:hover,
.home-kiosk-type-choice button:focus-visible {
  border-color: rgba(143, 17, 17, 0.4);
  box-shadow: 0 24px 54px rgba(143, 17, 17, 0.18);
  outline: none;
  transform: translateY(-2px);
}

.home-kiosk-type-choice strong {
  color: var(--home-kiosk-red);
  font-size: clamp(1.45rem, 4.8vw, 2.35rem);
  font-weight: 950;
  line-height: 0.92;
}

.home-kiosk-type-choice small {
  color: var(--home-kiosk-muted);
  font-size: clamp(0.78rem, 2.8vw, 0.95rem);
  font-weight: 900;
  line-height: 1.18;
}

@keyframes homeKioskHandTap {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-7deg) scale(1);
  }
  50% {
    transform: translate3d(0.4rem, 0.72rem, 0) rotate(-3deg) scale(0.94);
  }
}

.home-kiosk-modal__card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(14rem, 0.85fr) minmax(0, 1fr);
  width: min(920px, calc(100vw - 2rem));
  height: min(90dvh, 760px);
  max-height: calc(100dvh - 2rem);
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(31, 23, 17, 0.12);
  border-radius: clamp(30px, 5vw, 54px);
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 36px 100px rgba(23, 17, 13, 0.25);
}

.home-kiosk-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 3;
  display: grid;
  width: 2.8rem;
  height: 2.8rem;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--home-kiosk-ink);
  cursor: pointer;
  font: 950 1.4rem var(--sans);
}

.home-kiosk-modal__media {
  display: grid;
  min-height: 22rem;
  place-items: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.68), transparent 34%),
    var(--modal-soft, #f3e6d8);
  padding: clamp(1.2rem, 3vw, 2rem);
}

.home-kiosk-modal__media img {
  display: block;
  max-width: 86%;
  max-height: 24rem;
  object-fit: contain;
  filter: drop-shadow(0 28px 26px rgba(52, 33, 21, 0.2));
  transform: scale(var(--modal-image-scale, 1));
  transition: transform 180ms ease;
}

.home-kiosk-modal__media[data-drink-size="chico"] {
  --modal-image-scale: 0.94;
}

.home-kiosk-modal__media[data-drink-size="grande"] {
  --modal-image-scale: 1.08;
}

.home-kiosk-modal__media[data-drink-temperature="caliente"][data-drink-size="grande"] {
  --modal-image-scale: 1.12;
}

.home-kiosk-modal__media[data-drink-size="single"] {
  --modal-image-scale: 1;
}

.home-kiosk-modal__content {
  display: grid;
  align-content: start;
  gap: 0.95rem;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: clamp(1.35rem, 3vw, 2.25rem);
}

.home-kiosk-modal__content h3 {
  margin: 0;
  color: var(--home-kiosk-ink);
  font-size: clamp(2.6rem, 5.3vw, 5.4rem);
  font-weight: 950;
  line-height: 0.86;
  text-transform: lowercase;
}

.home-kiosk-modal__content > strong {
  color: var(--home-kiosk-red);
  font-size: clamp(1.5rem, 2.2vw, 2.4rem);
  font-weight: 950;
}

.home-kiosk-modal__description {
  max-width: 34rem;
  margin: -0.32rem 0 0;
  color: rgba(23, 17, 13, 0.66);
  font-size: clamp(1rem, 1.28vw, 1.18rem);
  font-weight: 900;
  line-height: 1.24;
  text-transform: lowercase;
  white-space: pre-line;
}

.home-kiosk-modal__description[hidden] {
  display: none;
}

.home-kiosk-options {
  display: grid;
  gap: 0.9rem;
}

.home-kiosk-option-group {
  display: grid;
  gap: 0.55rem;
}

.home-kiosk-option-group.has-error .home-kiosk-option > span {
  border-color: rgba(143, 17, 17, 0.54);
  background: rgba(143, 17, 17, 0.08);
  box-shadow: 0 0 0 3px rgba(143, 17, 17, 0.08);
}

.home-kiosk-option-group p {
  margin: 0;
  color: var(--home-kiosk-red);
  font-size: 1rem;
  font-weight: 950;
  text-transform: lowercase;
}

.home-kiosk-option-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.home-kiosk-option {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
}

.home-kiosk-option input {
  accent-color: var(--home-kiosk-red);
}

.home-kiosk-option > span {
  display: inline-flex;
  align-items: center;
  min-height: 2.35rem;
  border: 1px solid rgba(143, 17, 17, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--home-kiosk-ink);
  font-size: 0.92rem;
  font-weight: 950;
  padding: 0.45rem 0.72rem;
}

.home-kiosk-option input:checked + span {
  border-color: rgba(143, 17, 17, 0.5);
  background: rgba(143, 17, 17, 0.1);
  color: var(--home-kiosk-red);
  box-shadow: 0 10px 22px rgba(143, 17, 17, 0.1);
}

.home-kiosk-option-group--classic-torta .home-kiosk-option-list {
  gap: 0.75rem;
}

.home-kiosk-option-group--classic-torta .home-kiosk-option > span {
  min-height: 2.95rem;
  border-width: 2px;
  font-size: clamp(1.05rem, 1.45vw, 1.28rem);
  padding: 0.7rem 1.12rem;
}

.home-kiosk-option-group--classic-torta .home-kiosk-option input:checked + span {
  background: linear-gradient(135deg, rgba(143, 17, 17, 0.14), rgba(255, 227, 151, 0.34));
  box-shadow: 0 12px 28px rgba(143, 17, 17, 0.13), 0 0 0 3px rgba(143, 17, 17, 0.07);
}

.home-kiosk-option-group--classic-torta-second[hidden] {
  display: none !important;
}

.home-kiosk-option-error {
  color: var(--home-kiosk-red);
  font-size: 0.78rem;
  font-weight: 950;
  line-height: 1.2;
  text-transform: lowercase;
}

.home-kiosk-option-error[hidden] {
  display: none;
}

.home-kiosk-option--size {
  flex: 1 1 9.5rem;
}

.home-kiosk-option--size > input {
  position: absolute;
  opacity: 0;
}

.home-kiosk-size-card {
  display: grid !important;
  width: 100%;
  min-height: 4.7rem !important;
  justify-items: center;
  align-content: center;
  gap: 0.24rem;
  border-radius: 22px !important;
  padding: 0.7rem 0.82rem !important;
}

.home-kiosk-option--size input:checked + .home-kiosk-size-card {
  border-color: rgba(143, 17, 17, 0.56);
  background: rgba(143, 17, 17, 0.08);
  box-shadow: 0 12px 30px rgba(143, 17, 17, 0.12);
}

.home-kiosk-option-group textarea {
  min-height: 7rem;
  border: 1px solid rgba(143, 17, 17, 0.16);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--home-kiosk-ink);
  font: 850 1rem var(--sans);
  padding: 0.9rem;
  resize: vertical;
}

.home-kiosk-modal__actions {
  position: sticky;
  bottom: -1px;
  z-index: 2;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.8rem;
  align-items: center;
  margin-top: 0.4rem;
  padding-top: 0.8rem;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0), rgba(255, 253, 248, 0.96) 32%),
    rgba(255, 253, 248, 0.72);
}

.home-kiosk-stepper {
  display: grid;
  grid-template-columns: 2.8rem 2.5rem 2.8rem;
  align-items: center;
  min-height: 3.8rem;
  border: 1px solid rgba(143, 17, 17, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  padding: 0.38rem;
}

.home-kiosk-stepper button {
  display: grid;
  height: 2.7rem;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: rgba(143, 17, 17, 0.1);
  color: var(--home-kiosk-red);
  cursor: pointer;
  font: 950 1.2rem var(--sans);
}

.home-kiosk-stepper strong {
  color: var(--home-kiosk-ink);
  text-align: center;
}

@media (max-width: 1060px) {
  .home-kiosk__layout {
    grid-template-areas:
      "rail"
      "products";
    grid-template-columns: 1fr;
  }

  .home-kiosk__cart {
    position: relative;
    top: auto;
    min-height: auto;
  }

  .home-kiosk-card--cafe,
  .home-kiosk-card--cacao {
    --card-min-height: clamp(20.5rem, 42vw, 24.5rem);
    --card-body-min: clamp(3rem, 5vw, 3.8rem);
  }

  .home-kiosk__products[data-group="cacao"] .home-kiosk-card--cacao .home-kiosk-card__image {
    --card-image-width: min(52%, 10.8rem);
    --card-image-height: clamp(7.6rem, 14vw, 9.6rem);
    min-height: 0;
    max-height: none;
    transform: translateY(-0.55rem);
  }
}

@media (max-width: 720px) {
  .home-kiosk__head {
    display: grid;
  }

  .home-kiosk__head > p {
    text-align: left;
  }

  .home-kiosk__rail {
    grid-template-columns: 1fr;
    top: 6.2rem;
    border-radius: 26px;
    padding: 0.45rem;
  }

  .home-kiosk__tabs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.32rem;
    overflow: visible;
    padding-bottom: 0;
    scroll-snap-type: none;
  }

  .home-kiosk-tab {
    min-width: 0;
    min-height: 2.55rem;
    padding: 0.32rem 0.24rem;
    scroll-snap-align: start;
  }

  .home-kiosk-tab strong {
    font-size: clamp(0.68rem, 2.65vw, 0.84rem);
  }

  .home-kiosk__products-head {
    display: grid;
  }

  .home-kiosk__products-head span {
    text-align: left;
  }

  .home-kiosk__products {
    min-height: auto;
    padding: clamp(0.8rem, 3vw, 1rem);
  }

  .home-kiosk__grid,
  .home-kiosk-category-block__grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 10.75rem), 1fr));
    gap: clamp(0.68rem, 2.8vw, 0.9rem);
  }

  .home-kiosk__grid.home-kiosk__grid--grouped {
    grid-template-columns: 1fr;
  }

  .home-kiosk-card {
    --card-min-height: clamp(13.8rem, 54vw, 17.2rem);
    --card-image-height: clamp(6.2rem, 25vw, 8.2rem);
    --card-body-min: clamp(2.5rem, 7vw, 3.15rem);
    border-radius: 24px;
    padding: clamp(0.62rem, 2.6vw, 0.78rem);
  }

  .home-kiosk-card--cafe,
  .home-kiosk-card--cacao {
    --card-min-height: clamp(16.8rem, 68vw, 20.6rem);
    --card-image-height: clamp(7.9rem, 31vw, 10.4rem);
    --card-body-min: clamp(2.75rem, 8vw, 3.45rem);
  }

  .home-kiosk-card--romas,
  .home-kiosk-card--tlayudas,
  .home-kiosk-card--tortas {
    --card-min-height: clamp(13.8rem, 54vw, 17.2rem);
    --card-image-height: clamp(7rem, 29vw, 9rem);
  }

  .home-kiosk-card__image {
    width: min(76%, 10.8rem);
    height: var(--card-image-height);
  }

  .home-kiosk-card--cafe .home-kiosk-card__image,
  .home-kiosk-card--cacao .home-kiosk-card__image {
    --card-image-width: min(58%, 9.8rem);
    width: var(--card-image-width);
  }

  .home-kiosk-modal__card {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(7.2rem, auto) minmax(0, 1fr);
    height: min(92dvh, 780px);
    max-height: calc(100dvh - 1rem);
  }

  .home-kiosk-modal__media {
    min-height: 7.4rem;
    max-height: 21dvh;
    padding: 0.78rem 1rem 0.28rem;
  }

  .home-kiosk-modal__media img {
    max-height: 18.5dvh;
  }

  .home-kiosk-modal__content {
    gap: 0.72rem;
    padding: clamp(1rem, 3.5vw, 1.35rem);
  }

  .home-kiosk-modal__content h3 {
    font-size: clamp(2rem, 8.2vw, 3.05rem);
  }

  .home-kiosk-modal__content > strong {
    font-size: clamp(1.22rem, 5.2vw, 1.65rem);
  }

  .home-kiosk-options {
    gap: 0.68rem;
  }

  .home-kiosk-option-list {
    gap: 0.45rem;
  }

  .home-kiosk-option > span {
    min-height: 2.18rem;
    font-size: 0.84rem;
    padding: 0.38rem 0.62rem;
  }

  .home-kiosk-option--size {
    flex: 1 1 8.2rem;
  }

  .home-kiosk-size-card {
    min-height: 4.15rem !important;
    padding: 0.58rem 0.7rem !important;
  }

  .home-kiosk-modal__actions {
    grid-template-columns: 1fr;
    gap: 0.62rem;
  }

  .home-kiosk-type-choice {
    grid-template-columns: 1fr;
  }

  .home-kiosk-type-choice button {
    min-height: 6.6rem;
  }
}

@media (max-width: 560px) {
  .home-kiosk__rail {
    top: 5.85rem;
    border-radius: 22px;
    padding: 0.36rem;
  }

  .home-kiosk__tabs {
    gap: 0.24rem;
  }

  .home-kiosk-tab {
    min-height: 2.32rem;
    padding: 0.24rem 0.12rem;
  }

  .home-kiosk-tab::before {
    display: none;
  }

  .home-kiosk-tab strong {
    font-size: clamp(0.62rem, 3vw, 0.76rem);
    line-height: 1;
  }

  .home-kiosk__grid,
  .home-kiosk-category-block__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(0.62rem, 2.7vw, 0.82rem);
  }

  .home-kiosk__grid.home-kiosk__grid--grouped {
    grid-template-columns: 1fr;
  }

  .home-kiosk-card {
    grid-template-rows: auto minmax(0, 1fr) minmax(var(--card-body-min), auto);
    --card-min-height: clamp(14.7rem, 64vw, 17.4rem);
    --card-image-height: clamp(7rem, 30vw, 8.8rem);
    --card-body-min: 2.55rem;
    min-height: var(--card-min-height);
    aspect-ratio: auto;
    padding: clamp(0.54rem, 2.5vw, 0.72rem);
  }

  .home-kiosk-card--cafe,
  .home-kiosk-card--cacao {
    --card-min-height: clamp(15.4rem, 68vw, 18.3rem);
    --card-image-height: clamp(7.15rem, 31vw, 9.05rem);
    --card-body-min: 2.8rem;
    aspect-ratio: auto;
  }

  .home-kiosk-card--romas,
  .home-kiosk-card--tlayudas,
  .home-kiosk-card--tortas {
    --card-min-height: clamp(14.2rem, 62vw, 17rem);
    --card-image-height: clamp(7.2rem, 31vw, 9rem);
    aspect-ratio: auto;
  }

  .home-kiosk-card__top {
    align-items: center;
  }

  .home-kiosk-card__top span,
  .home-kiosk-card__top strong {
    min-height: 1.62rem;
    padding: 0.32rem 0.5rem;
    font-size: clamp(0.58rem, 2.65vw, 0.66rem);
    white-space: nowrap;
  }

  .home-kiosk-card__top strong {
    min-width: clamp(3.1rem, 15vw, 3.75rem);
    min-height: 1.86rem;
    padding: 0.36rem 0.58rem;
    font-size: clamp(0.74rem, 3.15vw, 0.88rem);
  }

  .home-kiosk-card__image {
    width: min(78%, 8.9rem);
    height: var(--card-image-height);
  }

  .home-kiosk-card--cafe .home-kiosk-card__image,
  .home-kiosk-card--cacao .home-kiosk-card__image {
    --card-image-width: min(74%, 9.15rem);
    width: var(--card-image-width);
    height: var(--card-image-height);
  }

  .home-kiosk__products[data-group="cacao"] .home-kiosk-card--cacao {
    --card-body-min: 3.05rem;
  }

  .home-kiosk__products[data-group="cacao"] .home-kiosk-card--cacao .home-kiosk-card__image {
    --card-image-width: min(68%, 8.4rem);
    --card-image-height: clamp(6.65rem, 28vw, 8.35rem);
    transform: translateY(-0.35rem);
  }

  .home-kiosk-card--romas .home-kiosk-card__image,
  .home-kiosk-card--tlayudas .home-kiosk-card__image,
  .home-kiosk-card--tortas .home-kiosk-card__image {
    width: min(86%, 9.8rem);
    height: var(--card-image-height);
  }

  .home-kiosk-card__body {
    gap: 0.16rem;
    min-height: 3.05rem;
    padding-top: 0.12rem;
    padding-bottom: 0.28rem;
  }

  .home-kiosk-card--romas .home-kiosk-card__body,
  .home-kiosk-card--tlayudas .home-kiosk-card__body,
  .home-kiosk-card--tortas .home-kiosk-card__body {
    transform: translateY(-15%);
  }

  .home-kiosk-card__body strong {
    font-size: clamp(1.08rem, 5.2vw, 1.36rem);
    line-height: 1.08;
    padding-bottom: 0.05em;
  }

  .home-kiosk__products[data-group="cacao"] .home-kiosk-card__body strong {
    font-size: clamp(0.98rem, 4.55vw, 1.2rem);
    line-height: 1.12;
  }

  .home-kiosk-card__body small {
    font-size: clamp(0.68rem, 3.3vw, 0.78rem);
    line-height: 1.08;
  }
}

.account-page {
  min-height: 100svh;
  background:
    radial-gradient(circle at 18% 12%, rgba(118, 12, 12, 0.08), transparent 28%),
    radial-gradient(circle at 86% 78%, rgba(203, 195, 180, 0.3), transparent 34%),
    var(--paper);
}

.account-shell {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
}

.account-card {
  width: min(100%, 680px);
  border: 1px solid rgba(118, 12, 12, 0.16);
  border-radius: clamp(26px, 4vw, 42px);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 24px 70px rgba(75, 50, 26, 0.12);
  padding: clamp(1.35rem, 4vw, 2.4rem);
}

.account-card:has(.account-session:not([hidden])) {
  width: min(100%, 1080px);
}

.account-card__top {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.account-brand {
  display: inline-flex;
  color: var(--red);
  font-size: clamp(2.2rem, 8vw, 4.5rem);
  font-weight: 950;
  line-height: 0.9;
}

.account-kicker {
  margin: clamp(1.2rem, 3vw, 1.9rem) 0 0.3rem;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.account-card h1 {
  margin: 0;
  max-width: 12ch;
  color: var(--ink);
  font-size: clamp(2.35rem, 9vw, 4.9rem);
  font-weight: 950;
  line-height: 0.96;
  text-transform: lowercase;
}

.account-copy {
  max-width: 34rem;
  margin: 1rem 0 1.35rem;
  color: rgba(11, 11, 10, 0.64);
  font-size: clamp(0.98rem, 2.4vw, 1.14rem);
  font-weight: 850;
  line-height: 1.35;
}

.account-copy.is-account-copy-logged-in {
  max-width: none;
  color: var(--red);
  font-size: clamp(1.08rem, 3vw, 1.55rem);
  font-weight: 950;
  letter-spacing: 0.08em;
  line-height: 1.08;
  text-transform: uppercase;
}

.account-status {
  min-height: 2.7rem;
  margin-bottom: 0.85rem;
  border: 1px solid rgba(118, 12, 12, 0.14);
  border-radius: 18px;
  background: rgba(247, 244, 238, 0.72);
  color: rgba(11, 11, 10, 0.66);
  font-size: 0.88rem;
  font-weight: 850;
  line-height: 1.25;
  padding: 0.82rem 0.95rem;
}

.account-status:empty {
  display: none;
}

.account-status[data-tone="success"] {
  border-color: rgba(46, 117, 82, 0.24);
  background: rgba(46, 117, 82, 0.08);
  color: #2e7552;
}

.account-status[data-tone="error"] {
  border-color: rgba(143, 13, 13, 0.24);
  color: var(--red);
}

.account-inline-status {
  margin: 0.85rem 0 0;
  border: 1px solid rgba(46, 117, 82, 0.24);
  border-radius: 18px;
  background: rgba(46, 117, 82, 0.08);
  color: #2e7552;
  font-size: 0.88rem;
  font-weight: 900;
  line-height: 1.25;
  padding: 0.82rem 0.95rem;
}

.account-inline-status[data-tone="error"] {
  border-color: rgba(143, 13, 13, 0.24);
  background: rgba(143, 13, 13, 0.05);
  color: var(--red);
}

.account-inline-status[hidden] {
  display: none;
}

.nudo-games-preview {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  overflow: hidden;
  margin: 0 0 1rem;
  border: 1px solid rgba(118, 12, 12, 0.18);
  border-radius: 28px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 16% 12%, rgba(255, 44, 28, 0.24), transparent 32%),
    radial-gradient(circle at 88% 74%, rgba(255, 196, 110, 0.16), transparent 26%),
    linear-gradient(140deg, #120303, #2a0505 48%, #080303);
  background-size: 34px 34px, 34px 34px, auto, auto, auto;
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 232, 0.1),
    0 18px 42px rgba(75, 11, 11, 0.16);
  color: #fff4e8;
  padding: clamp(1rem, 3vw, 1.35rem);
  padding-bottom: clamp(4.9rem, 8vw, 5.55rem);
}

.account-card:has(.account-session:not([hidden])) .nudo-games-preview {
  display: none;
}

.nudo-games-preview::before {
  position: absolute;
  inset: auto -12% 22% -12%;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 33, 18, 0.96), rgba(255, 244, 232, 0.52), transparent);
  box-shadow: 0 0 32px rgba(255, 33, 18, 0.52);
  transform: rotate(-8deg);
}

.nudo-games-preview__copy {
  position: relative;
  z-index: 1;
}

.nudo-games-preview__copy p {
  margin: 0 0 0.42rem;
  color: rgba(255, 244, 232, 0.58);
  font-size: 0.64rem;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nudo-games-preview__copy h2 {
  display: grid;
  gap: 0.08em;
  margin: 0;
  max-width: 17ch;
  color: #fff4e8;
  font-size: clamp(1.45rem, 4.6vw, 2.45rem);
  font-weight: 950;
  letter-spacing: -0.03em;
  line-height: 0.92;
  text-shadow: 0 0 26px rgba(255, 33, 18, 0.42);
}

.nudo-games-preview__title-lead,
.nudo-games-preview__title-brand {
  display: block;
}

.nudo-games-preview__title-lead {
  font-size: 0.82em;
  letter-spacing: -0.02em;
  line-height: 1.02;
}

.nudo-games-preview__title-brand {
  font-size: 1.16em;
  line-height: 0.88;
}

.nudo-games-preview__subtitle {
  display: block;
  max-width: 28rem;
  margin-top: clamp(0.78rem, 2vw, 1rem);
  color: rgba(255, 244, 232, 0.64);
  font-weight: 850;
  line-height: 1.25;
}

.nudo-games-preview__lock {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 0.45rem;
  min-width: 7rem;
}

.nudo-games-preview__lock span {
  width: 4.6rem;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 244, 232, 0.16);
  border-radius: 999px;
  background:
    radial-gradient(circle at 34% 26%, rgba(255, 244, 232, 0.52), transparent 22%),
    radial-gradient(circle, rgba(255, 33, 18, 0.78), rgba(82, 6, 6, 0.9) 72%);
  box-shadow:
    0 0 38px rgba(255, 33, 18, 0.42),
    inset 0 0 20px rgba(255, 244, 232, 0.12);
}

.nudo-games-preview__lock strong {
  color: rgba(255, 244, 232, 0.58);
  font-size: 0.62rem;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nudo-games-preview__missions {
  position: absolute;
  right: clamp(1rem, 3vw, 1.35rem);
  bottom: clamp(1rem, 3vw, 1.35rem);
  display: flex;
  gap: 0.32rem;
  opacity: 0.94;
}

.nudo-games-preview__missions span {
  width: 1.25rem;
  aspect-ratio: 1;
  border: 1px solid rgba(130, 229, 255, 0.7);
  border-radius: 999px;
  background:
    radial-gradient(circle at 34% 26%, rgba(238, 253, 255, 0.96), transparent 25%),
    radial-gradient(circle at 50% 52%, #6ee9ff, #087bd0 72%);
  box-shadow:
    0 0 18px rgba(103, 225, 255, 0.64),
    0 0 34px rgba(72, 166, 255, 0.24),
    inset 0 0 14px rgba(238, 253, 255, 0.2);
  animation: nudo-progress-sky-pulse 3s ease-in-out infinite;
}

.nudo-games-preview__missions span:nth-child(2) {
  animation-delay: -1.15s;
}

.nudo-games-preview__missions span:nth-child(3) {
  animation-delay: -2.05s;
}

.nudo-games-preview__cta {
  position: relative;
  z-index: 2;
  grid-column: 1 / -1;
  justify-self: start;
  min-height: 2.9rem;
  border: 1px solid rgba(255, 196, 110, 0.56);
  border-radius: 999px;
  background: linear-gradient(135deg, #ff2417, #8f0d0d 62%, #ffc46e);
  color: #fff4e8;
  cursor: pointer;
  font: 950 0.74rem var(--sans);
  letter-spacing: 0.12em;
  padding: 0 1.2rem;
  text-transform: uppercase;
  box-shadow: 0 0 28px rgba(255, 33, 18, 0.36);
}

.account-auth {
  display: grid;
  gap: 0.9rem;
}

.account-auth[hidden],
.account-form[hidden],
.account-session[hidden] {
  display: none;
}

.account-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
  border: 1px solid rgba(118, 12, 12, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  padding: 0.32rem;
}

.account-tabs button,
.account-link-button {
  min-height: 2.85rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: rgba(11, 11, 10, 0.62);
  cursor: pointer;
  font: 950 0.78rem var(--sans);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.account-tabs button.is-active {
  border-color: rgba(118, 12, 12, 0.18);
  background: var(--red);
  color: var(--paper);
  box-shadow: 0 14px 28px rgba(118, 12, 12, 0.16);
}

.account-form {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.9rem;
}

.account-form label {
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.03em;
  text-transform: lowercase;
}

.account-form label span {
  color: rgba(11, 11, 10, 0.46);
}

.account-form input {
  width: 100%;
  min-height: 3.35rem;
  border: 1.5px solid rgba(118, 12, 12, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font: 900 1rem var(--sans);
  outline: none;
  padding: 0.85rem 1.1rem;
}

.account-form input:focus {
  border-color: rgba(118, 12, 12, 0.7);
  box-shadow: 0 0 0 4px rgba(118, 12, 12, 0.08);
}

.account-form button,
.account-session button {
  min-height: 3.35rem;
  border: 1px solid var(--red);
  border-radius: 999px;
  background: var(--red);
  color: var(--paper);
  cursor: pointer;
  font: 950 0.82rem var(--sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.account-form button:disabled {
  cursor: wait;
  opacity: 0.58;
}

.account-hint {
  margin: 0;
  color: rgba(11, 11, 10, 0.56);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.35;
}

.account-form--soft {
  border: 1px solid rgba(118, 12, 12, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.45);
  padding: 0.9rem;
}

.account-link-button {
  justify-self: center;
  min-height: 2.55rem;
  color: var(--red);
  padding: 0 1rem;
}

.account-link-button:hover,
.account-link-button:focus-visible {
  border-color: rgba(118, 12, 12, 0.18);
  background: rgba(118, 12, 12, 0.06);
}

.account-last-ticket {
  display: inline-flex;
  width: fit-content;
  min-height: 2.4rem;
  align-items: center;
  justify-content: center;
  margin-top: 0.62rem;
  border: 1.5px solid rgba(143, 17, 17, 0.34);
  border-radius: 999px;
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.52), transparent 28%),
    rgba(255, 252, 247, 0.72);
  color: var(--red);
  font: 950 0.72rem/1 var(--sans);
  letter-spacing: 0.08em;
  padding: 0.72rem 1rem;
  text-transform: uppercase;
  box-shadow: 0 12px 28px rgba(118, 12, 12, 0.08);
}

.account-last-ticket:hover,
.account-last-ticket:focus-visible {
  border-color: rgba(143, 17, 17, 0.52);
  background: rgba(255, 252, 247, 0.92);
  box-shadow: 0 16px 34px rgba(118, 12, 12, 0.12);
}

.account-last-ticket[hidden] {
  display: none;
}

@keyframes nudo-red-orbit {
  to {
    transform: rotate(360deg);
  }
}

@keyframes nudo-glass-flow {
  0%,
  100% {
    background-position: 0% 42%;
  }

  50% {
    background-position: 100% 58%;
  }
}

@keyframes nudo-molten-breathe {
  0%,
  100% {
    border-radius: 44% 56% 52% 48% / 48% 42% 58% 52%;
    transform: scale(var(--points-blob-scale)) translate3d(0, 0, 0);
  }

  50% {
    border-radius: 54% 46% 45% 55% / 43% 55% 45% 57%;
    transform: scale(calc(var(--points-blob-scale) * 1.035)) translate3d(-2%, 1%, 0);
  }
}

@keyframes nudo-molten-number {
  0%,
  100% {
    background-position: 0% 44%;
    filter:
      drop-shadow(0 1px 0 rgba(255, 250, 232, 0.52))
      drop-shadow(0 22px 42px rgba(255, 18, 18, calc(var(--points-glow) * 0.56)))
      drop-shadow(0 0 64px rgba(255, 74, 22, calc(var(--points-glow) * 0.42)));
    transform: translate3d(0, 0, 0) scale(1) skew(0deg, 0deg) rotate(-0.4deg);
  }

  36% {
    background-position: 96% 28%;
    filter:
      drop-shadow(0 1px 0 rgba(255, 250, 232, 0.62))
      drop-shadow(0 24px 48px rgba(255, 18, 18, calc(var(--points-glow) * 0.72)))
      drop-shadow(0 0 86px rgba(255, 74, 22, calc(var(--points-glow) * 0.56)));
    transform: translate3d(0, -4px, 0) scale(1.045) skew(-2.2deg, 0.75deg) rotate(0.55deg);
  }

  68% {
    background-position: 34% 92%;
    filter:
      drop-shadow(0 1px 0 rgba(255, 250, 232, 0.48))
      drop-shadow(0 20px 40px rgba(255, 18, 18, calc(var(--points-glow) * 0.62)))
      drop-shadow(0 0 72px rgba(255, 74, 22, calc(var(--points-glow) * 0.48)));
    transform: translate3d(2px, 2px, 0) scale(0.982) skew(1.6deg, -0.6deg) rotate(-0.2deg);
  }
}

@keyframes nudo-molten-glint {
  0%,
  100% {
    opacity: 0.28;
    transform: translateX(-18%) rotate(-18deg);
  }

  50% {
    opacity: 0.82;
    transform: translateX(24%) rotate(-18deg);
  }
}

.account-session {
  display: grid;
  gap: clamp(1.1rem, 3vw, 1.65rem);
  margin-top: 1rem;
}

.account-view-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.65rem, 2vw, 0.9rem);
  align-items: stretch;
  padding: clamp(0.42rem, 1.2vw, 0.55rem);
  border: 1px solid rgba(143, 17, 17, 0.18);
  border-radius: 999px;
  background:
    radial-gradient(circle at 82% 8%, rgba(255, 45, 45, 0.11), transparent 12rem),
    rgba(255, 252, 247, 0.74);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 18px 46px rgba(72, 42, 24, 0.08);
}

.account-view-switch button {
  position: relative;
  isolation: isolate;
  display: grid;
  min-width: 0;
  min-height: clamp(3.55rem, 7vw, 4.25rem);
  place-items: center;
  overflow: hidden;
  border: 1.5px solid rgba(143, 17, 17, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.54);
  color: var(--red);
  cursor: pointer;
  padding: 0.72rem 0.9rem;
  text-transform: lowercase;
  transition:
    transform 0.28s var(--ease),
    border-color 0.28s var(--ease),
    box-shadow 0.32s var(--ease),
    background 0.28s var(--ease);
}

.account-view-switch button::before,
.account-view-switch button::after {
  position: absolute;
  content: "";
  pointer-events: none;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.28s var(--ease);
}

.account-view-switch button::before {
  inset: -2px;
  z-index: -1;
  background: conic-gradient(from 0deg, transparent 0 18%, rgba(255, 235, 193, 0.92), #ff2d2d, transparent 58% 100%);
  filter: blur(8px);
}

.account-view-switch button::after {
  inset: 1px;
  background: linear-gradient(100deg, transparent 0 18%, rgba(255, 255, 255, 0.34) 34%, transparent 52%);
  transform: translateX(-110%);
}

.account-view-switch button span {
  position: relative;
  z-index: 1;
  overflow: hidden;
  font: 950 clamp(0.95rem, 2.2vw, 1.18rem)/1 var(--sans);
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-view-switch button[data-account-view-tab="account"],
.account-view-switch button[data-account-view-tab="account"].is-active {
  border-color: rgba(143, 17, 17, 0.22);
  background: rgba(255, 255, 255, 0.86);
  color: var(--red);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 10px 24px rgba(118, 12, 12, 0.08);
}

.account-view-switch button[data-account-view-tab="account"].is-active span {
  color: var(--red);
}

.account-view-switch button.is-active::before {
  opacity: 0;
  animation: none;
}

.account-view-switch button.is-active::after {
  opacity: 0;
  animation: none;
}

.account-view-switch button[data-account-view-tab="games"] {
  border: 3px solid rgba(255, 218, 90, 0.98);
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.28), transparent 24%),
    linear-gradient(135deg, rgba(118, 12, 12, 0.96), rgba(25, 4, 5, 0.92) 52%, rgba(255, 54, 42, 0.88));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18) inset,
    0 0 0 2px rgba(255, 218, 90, 0.34),
    0 0 28px rgba(255, 218, 90, 0.62),
    0 0 48px rgba(255, 64, 33, 0.36),
    0 14px 38px rgba(118, 12, 12, 0.22);
}

.account-view-switch button[data-account-view-tab="games"]::before {
  opacity: 0.72;
  animation: nudoGamesButtonRing 3.4s linear infinite;
}

.account-view-switch button[data-account-view-tab="games"]::after {
  opacity: 0.44;
  animation: nudoGamesButtonSweep 2.9s var(--ease) infinite;
}

.account-view-switch button[data-account-view-tab="games"] span {
  overflow: visible;
  color: #ff2d2d;
  font-size: clamp(1.25rem, 2.9vw, 1.62rem);
  letter-spacing: 0.07em;
  text-decoration: none;
  text-shadow:
    0 0 8px rgba(255, 45, 45, 0.9),
    0 0 18px rgba(255, 45, 45, 0.76),
    0 0 34px rgba(255, 72, 72, 0.62);
  animation: nudoGamesSkyTextGlow 1.35s ease-in-out infinite;
}

.account-view-switch button[data-account-view-tab="games"].is-active {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.22) inset,
    0 0 0 2px rgba(255, 218, 90, 0.46),
    0 0 34px rgba(255, 218, 90, 0.72),
    0 0 58px rgba(110, 233, 255, 0.28),
    0 14px 38px rgba(118, 12, 12, 0.24);
}

.account-view-switch button[data-account-view-tab="games"].is-active::before {
  opacity: 0.9;
}

.account-view-switch button[data-account-view-tab="games"].is-active::after {
  opacity: 0.54;
}

.account-view-switch button:hover {
  transform: translateY(-1px);
  border-color: rgba(143, 17, 17, 0.45);
  box-shadow: 0 14px 30px rgba(118, 12, 12, 0.12);
}

.account-view-switch button[data-account-view-tab="account"]:hover {
  border-color: rgba(143, 17, 17, 0.28);
  background: rgba(255, 255, 255, 0.92);
  color: var(--red);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 12px 28px rgba(118, 12, 12, 0.1);
}

.account-view-switch button[data-account-view-tab="games"]:hover {
  border-color: rgba(255, 226, 108, 1);
  box-shadow:
    0 0 0 2px rgba(255, 218, 90, 0.44),
    0 0 36px rgba(255, 218, 90, 0.74),
    0 0 58px rgba(110, 233, 255, 0.34),
    0 16px 42px rgba(118, 12, 12, 0.24);
}

.account-session[data-account-view="account"] [data-account-panel="games"],
.account-session[data-account-view="games"] [data-account-panel="account"] {
  display: none;
}

.account-section {
  display: grid;
  gap: clamp(0.8rem, 2vw, 1rem);
  min-width: 0;
}

.account-section__head {
  display: grid;
  gap: 0.28rem;
  padding-inline: clamp(0.2rem, 1vw, 0.35rem);
}

.account-section__eyebrow {
  margin: 0;
  color: var(--red);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.account-section__head h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.45rem, 4vw, 2.35rem);
  font-weight: 950;
  letter-spacing: -0.02em;
  line-height: 0.95;
  text-transform: lowercase;
}

.account-section__head span {
  color: rgba(11, 11, 10, 0.54);
  font-size: 0.88rem;
  font-weight: 850;
  line-height: 1.25;
}

.account-section--games {
  margin-top: 0.1rem;
}

.nudo-games {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: clamp(1rem, 2.4vw, 1.35rem);
  overflow: hidden;
  border: 1px solid rgba(255, 59, 42, 0.28);
  border-radius: clamp(24px, 4vw, 34px);
  background:
    linear-gradient(rgba(255, 244, 232, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 244, 232, 0.024) 1px, transparent 1px),
    radial-gradient(circle at 16% 16%, rgba(255, 18, 18, 0.28), transparent 26%),
    radial-gradient(circle at 78% 18%, rgba(255, 116, 54, 0.18), transparent 28%),
    radial-gradient(circle at 52% 112%, rgba(118, 12, 12, 0.62), transparent 42%),
    linear-gradient(145deg, #110202 0%, #270505 46%, #060303 100%);
  background-size: 52px 52px, 52px 52px, auto, auto, auto, auto;
  color: #fff4e8;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 0 42px rgba(255, 26, 18, 0.08),
    0 28px 70px rgba(42, 4, 3, 0.24);
  padding: clamp(1rem, 3vw, 1.45rem);
}

.nudo-games::before,
.nudo-games::after,
.nudo-games__laser {
  position: absolute;
  content: "";
  pointer-events: none;
}

.nudo-games::before {
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 22% 28%, rgba(255, 244, 232, 0.1), transparent 12%),
    radial-gradient(circle at 88% 70%, rgba(255, 26, 18, 0.16), transparent 18%),
    linear-gradient(112deg, transparent 0 28%, rgba(255, 33, 18, 0.22) 31%, transparent 34% 58%, rgba(255, 166, 92, 0.12) 61%, transparent 64%);
  opacity: 0.9;
}

.nudo-games::after {
  inset: clamp(0.68rem, 2vw, 1rem);
  border: 1px solid rgba(255, 244, 232, 0.1);
  border-radius: calc(clamp(24px, 4vw, 34px) - 8px);
}

.nudo-games__laser {
  left: -18%;
  right: -18%;
  top: 50%;
  z-index: -1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 43, 26, 0.98), rgba(255, 231, 190, 0.74), transparent);
  box-shadow:
    0 0 18px rgba(255, 18, 18, 0.76),
    0 0 54px rgba(255, 59, 42, 0.36);
  transform: rotate(-11deg);
  animation: nudo-games-laser 9s ease-in-out infinite;
}

.nudo-games__player {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(0.58rem, 1.5vw, 0.88rem);
  align-items: center;
  width: min(100%, 36rem);
  border: 1.5px solid rgba(255, 216, 116, 0.28);
  border-radius: 30px;
  background:
    radial-gradient(circle at 12% 50%, rgba(255, 33, 18, 0.26), transparent 34%),
    rgba(255, 244, 232, 0.06);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 32px rgba(255, 33, 18, 0.18);
  padding: clamp(0.42rem, 1vw, 0.58rem) clamp(0.56rem, 1.4vw, 0.8rem) clamp(0.42rem, 1vw, 0.58rem) clamp(0.42rem, 1vw, 0.58rem);
}

.nudo-games__player-avatar {
  display: grid;
  width: clamp(3.2rem, 7vw, 4.35rem);
  aspect-ratio: 1;
  place-items: center;
  overflow: hidden;
  border: 2px solid rgba(255, 196, 110, 0.42);
  border-radius: 999px;
  background:
    radial-gradient(circle at 36% 22%, rgba(255, 244, 232, 0.44), transparent 24%),
    radial-gradient(circle, #ff2417, #710606 72%);
  box-shadow:
    0 0 0 5px rgba(255, 33, 18, 0.14),
    0 0 38px rgba(255, 33, 18, 0.5),
    inset 0 0 20px rgba(255, 244, 232, 0.12);
}

.nudo-games__player-avatar img,
.nudo-games__player-avatar span {
  display: block;
  width: 100%;
  height: 100%;
}

.nudo-games__player-avatar img {
  object-fit: cover;
}

.nudo-games__player-avatar img[hidden],
.nudo-games__player-avatar span[hidden] {
  display: none;
}

.nudo-games__player-avatar span {
  display: grid;
  place-items: center;
  color: rgba(255, 244, 232, 0.94);
  font-size: clamp(1.45rem, 5vw, 2.35rem);
  font-weight: 950;
  letter-spacing: -0.03em;
  text-shadow: 0 0 16px rgba(255, 244, 232, 0.24);
}

.nudo-games__player-name,
.nudo-games__player-score {
  min-width: 0;
}

.nudo-games__player-name span,
.nudo-games__player-score span {
  display: block;
  color: rgba(255, 244, 232, 0.48);
  font-size: 0.56rem;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nudo-games__player-name strong {
  display: block;
  max-width: 11.5rem;
  overflow: hidden;
  color: #fff4e8;
  font-size: clamp(1.2rem, 3vw, 1.82rem);
  font-weight: 950;
  letter-spacing: -0.03em;
  line-height: 0.95;
  text-overflow: ellipsis;
  text-shadow: 0 0 20px rgba(255, 33, 18, 0.38);
  white-space: nowrap;
}

.nudo-games__player-score {
  justify-self: end;
  min-width: clamp(6rem, 18vw, 8.35rem);
  border: 1px solid rgba(255, 59, 42, 0.42);
  border-radius: 999px;
  background:
    radial-gradient(circle at 26% 18%, rgba(255, 244, 232, 0.12), transparent 28%),
    rgba(20, 2, 2, 0.52);
  padding: 0.5rem 0.72rem;
  animation: nudoGamesScoreShellGlow 3.8s ease-in-out infinite;
}

.nudo-games__player-score strong {
  display: block;
  color: #ff2b18;
  font-size: clamp(1.02rem, 3vw, 1.5rem);
  font-weight: 950;
  line-height: 0.95;
  text-align: right;
  text-shadow: 0 0 18px rgba(255, 33, 18, 0.48);
  white-space: nowrap;
  animation: nudoGamesScoreTextGlow 3.8s ease-in-out infinite;
}

.nudo-games__player-score b {
  color: inherit;
}

.nudo-games__head {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(1rem, 3vw, 1.5rem);
  align-items: start;
}

.nudo-games__eyebrow {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 0.55rem;
  border: 1px solid rgba(255, 244, 232, 0.18);
  border-radius: 999px;
  background: rgba(255, 244, 232, 0.07);
  color: rgba(255, 244, 232, 0.66);
  font-size: 0.62rem;
  font-weight: 950;
  letter-spacing: 0.18em;
  padding: 0.42rem 0.68rem;
  text-transform: uppercase;
}

.nudo-games h2 {
  margin: 0;
  max-width: 10ch;
  color: #fff4e8;
  font-size: clamp(2.25rem, 8vw, 5.4rem);
  font-weight: 950;
  letter-spacing: -0.035em;
  line-height: 0.82;
  text-transform: none;
  text-shadow:
    0 1px 0 rgba(255, 235, 194, 0.32),
    0 0 26px rgba(255, 18, 18, 0.48),
    0 18px 48px rgba(255, 59, 42, 0.2);
}

.nudo-games__copy {
  max-width: 24rem;
  margin: 0.75rem 0 0;
  color: rgba(255, 244, 232, 0.68);
  font-size: clamp(0.92rem, 2.2vw, 1.08rem);
  font-weight: 850;
  line-height: 1.28;
}

.nudo-games__timer {
  position: relative;
  overflow: hidden;
  display: grid;
  justify-items: end;
  min-width: clamp(13.75rem, 24vw, 18rem);
  border: 1px solid rgba(255, 77, 42, 0.34);
  border-radius: 24px;
  background:
    radial-gradient(circle at 30% 18%, rgba(255, 244, 232, 0.12), transparent 30%),
    rgba(20, 2, 2, 0.72);
  box-shadow:
    inset 0 0 22px rgba(255, 18, 18, 0.1),
    0 0 32px rgba(255, 26, 18, 0.16);
  padding: 0.9rem 0.95rem 0.9rem 3rem;
}

.nudo-games__timer::before {
  content: "";
  position: absolute;
  inset: 0.78rem auto auto 0.78rem;
  width: 1.35rem;
  aspect-ratio: 1;
  border: 2px solid rgba(255, 244, 232, 0.48);
  border-radius: 50%;
  box-shadow:
    0 0 14px rgba(255, 244, 232, 0.16),
    inset 0 0 10px rgba(255, 244, 232, 0.06);
}

.nudo-games__timer::after {
  content: "";
  position: absolute;
  top: 1.25rem;
  left: 1.45rem;
  width: 0.45rem;
  height: 0.72rem;
  border-left: 2px solid rgba(255, 244, 232, 0.58);
  border-bottom: 2px solid rgba(255, 244, 232, 0.58);
  transform: rotate(-42deg);
  transform-origin: left bottom;
}

.nudo-games__timer span {
  color: rgba(255, 244, 232, 0.5);
  font-size: 0.58rem;
  font-weight: 950;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nudo-games__timer strong {
  display: block;
  margin-top: 0.25rem;
  color: #fff4e8;
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 950;
  line-height: 1;
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 24px rgba(255, 43, 26, 0.54);
}

.nudo-games__timer-clock {
  letter-spacing: 0.01em;
}

.nudo-games__timer.is-countdown-urgent {
  border-color: rgba(255, 43, 24, 0.92);
  background:
    radial-gradient(circle at 35% 20%, rgba(255, 111, 84, 0.36), transparent 34%),
    linear-gradient(135deg, rgba(82, 0, 0, 0.95), rgba(24, 0, 0, 0.9));
  animation: nudoGamesTimerUrgentGlow 0.9s ease-in-out infinite alternate;
}

.nudo-games__timer.is-countdown-urgent::before {
  border-color: rgba(255, 244, 232, 0.88);
  box-shadow:
    0 0 16px rgba(255, 244, 232, 0.46),
    0 0 30px rgba(255, 43, 24, 0.46);
}

.nudo-games__timer.is-countdown-urgent::after {
  border-color: rgba(255, 244, 232, 0.92);
}

.nudo-games__timer.is-countdown-urgent span,
.nudo-games__timer.is-countdown-urgent strong {
  color: #fff4e8;
  text-shadow:
    0 0 8px rgba(255, 244, 232, 0.72),
    0 0 18px rgba(255, 43, 24, 0.94),
    0 0 38px rgba(255, 43, 24, 0.64);
}

.nudo-games__timer.is-countdown-urgent strong {
  animation: nudoGamesTimerTextBlink 0.8s ease-in-out infinite alternate;
}

.nudo-games__scorebar {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 0.45fr 0.22fr;
  gap: 0.45rem;
}

.nudo-games__scorebar span {
  height: 0.42rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(238, 253, 255, 0.18), rgba(110, 233, 255, 0.96), rgba(72, 166, 255, 0.48));
  box-shadow:
    0 0 18px rgba(103, 225, 255, 0.36),
    0 0 34px rgba(72, 166, 255, 0.16);
  animation: nudo-progress-sky-pulse 3s ease-in-out infinite -0.2s;
}

.nudo-games__scorebar span:nth-child(2) {
  opacity: 0.62;
  animation-delay: -1.34s;
}

.nudo-games__scorebar span:nth-child(3) {
  opacity: 0.42;
  animation-delay: -2.22s;
}

.nudo-games__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.78rem, 2vw, 1rem);
}

.nudo-games-leaderboard {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 0.8rem;
  overflow: hidden;
  border: 1px solid rgba(110, 233, 255, 0.2);
  border-radius: 24px;
  background:
    linear-gradient(rgba(255, 244, 232, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 244, 232, 0.022) 1px, transparent 1px),
    radial-gradient(circle at 16% 22%, rgba(255, 43, 26, 0.28), transparent 30%),
    radial-gradient(circle at 82% 16%, rgba(110, 233, 255, 0.14), transparent 28%),
    linear-gradient(135deg, rgba(255, 244, 232, 0.08), rgba(255, 43, 26, 0.045));
  background-size: 32px 32px, 32px 32px, auto, auto, auto;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 0 0 1px rgba(255, 244, 232, 0.04),
    0 18px 42px rgba(6, 1, 1, 0.22),
    0 0 34px rgba(110, 233, 255, 0.06);
  padding: clamp(0.9rem, 2.4vw, 1.08rem);
}

.nudo-games-leaderboard::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    repeating-linear-gradient(180deg, rgba(255, 244, 232, 0.035) 0 1px, transparent 1px 5px),
    linear-gradient(115deg, transparent 0 22%, rgba(255, 26, 18, 0.13) 25%, transparent 28% 100%);
  opacity: 0.82;
  pointer-events: none;
}

.nudo-games-leaderboard::after {
  content: "";
  position: absolute;
  right: 1rem;
  bottom: 0.84rem;
  left: 1rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(110, 233, 255, 0.52), rgba(255, 216, 116, 0.42), transparent);
  box-shadow: 0 0 16px rgba(110, 233, 255, 0.32);
  pointer-events: none;
}

.nudo-games-leaderboard__head {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  justify-content: flex-start;
}

.nudo-games-leaderboard__copy {
  min-width: 0;
}

.nudo-games-leaderboard__titleline {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(0.6rem, 1.8vw, 1rem);
  align-items: center;
}

.nudo-games-leaderboard__head span,
.nudo-games-leaderboard__head p {
  display: block;
  margin: 0;
  color: rgba(255, 244, 232, 0.52);
  font-size: 0.58rem;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nudo-games-leaderboard__head h3 {
  margin: 0;
  color: #fff4e8;
  font-size: clamp(1.45rem, 4vw, 2.4rem);
  font-weight: 950;
  letter-spacing: -0.035em;
  line-height: 0.9;
  text-shadow: 0 0 24px rgba(255, 43, 26, 0.44);
}

.nudo-games-leaderboard__head strong {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  flex: 0 0 auto;
  justify-content: center;
  min-width: clamp(6.4rem, 13vw, 8.4rem);
  overflow: hidden;
  border: 1.5px solid rgba(255, 226, 124, 0.62);
  border-radius: 999px;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.18), transparent 16% 36%, rgba(255, 236, 153, 0.24) 48%, transparent 64%),
    radial-gradient(circle at 30% 18%, rgba(255, 244, 189, 0.34), transparent 30%),
    linear-gradient(135deg, rgba(114, 57, 8, 0.58), rgba(255, 198, 78, 0.2) 46%, rgba(72, 27, 4, 0.62));
  color: #ffe991;
  font-size: clamp(0.86rem, 1.7vw, 1.16rem);
  font-weight: 950;
  letter-spacing: 0.14em;
  line-height: 1;
  padding: 0.72rem 1.15rem;
  text-shadow:
    0 0 8px rgba(255, 231, 126, 0.78),
    0 0 24px rgba(255, 183, 58, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    inset 0 -10px 22px rgba(86, 38, 4, 0.28),
    0 0 0 1px rgba(255, 196, 74, 0.16),
    0 0 28px rgba(255, 196, 74, 0.24),
    0 0 46px rgba(255, 119, 32, 0.14);
  text-transform: uppercase;
}

.nudo-games-leaderboard__head strong::before {
  content: "";
  position: absolute;
  inset: 0.18rem;
  z-index: -1;
  border: 1px solid rgba(255, 241, 174, 0.28);
  border-radius: inherit;
  background:
    linear-gradient(90deg, transparent, rgba(255, 238, 158, 0.16), transparent),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 8px);
  opacity: 0.9;
}

.nudo-games-leaderboard__head strong::after {
  content: "";
  position: absolute;
  top: -60%;
  bottom: -60%;
  left: -45%;
  width: 34%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 229, 0.74), rgba(255, 218, 90, 0.34), transparent);
  filter: blur(5px);
  opacity: 0;
  transform: rotate(18deg);
  animation: nudoLeaderboardGoldBadgeSweep 4.8s ease-in-out infinite;
}

.nudo-games-leaderboard__list {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(16rem, 1.16fr) repeat(2, minmax(9.8rem, 0.78fr));
  grid-auto-rows: minmax(4.85rem, auto);
  gap: 0.72rem;
}

.nudo-games-leaderboard__list.has-single {
  grid-template-columns: minmax(16rem, 26rem);
}

.nudo-games-leaderboard__item {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  gap: 0.5rem;
  align-items: center;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(110, 233, 255, 0.2);
  border-radius: 18px;
  background:
    linear-gradient(rgba(255, 244, 232, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 244, 232, 0.018) 1px, transparent 1px),
    rgba(8, 1, 1, 0.5);
  background-size: 22px 22px, 22px 22px, auto;
  padding: 0.64rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 22px rgba(110, 233, 255, 0.08);
}

.nudo-games-leaderboard__item::before {
  content: "";
  position: absolute;
  inset: 0.32rem;
  z-index: -1;
  border: 1px solid rgba(255, 244, 232, 0.07);
  border-radius: 14px;
  pointer-events: none;
}

.nudo-games-leaderboard__item::after {
  content: "";
  position: absolute;
  top: -55%;
  bottom: -55%;
  left: -38%;
  width: 22%;
  z-index: -1;
  background: linear-gradient(90deg, transparent, rgba(110, 233, 255, 0.18), transparent);
  filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transform: rotate(14deg);
  animation: nudoLeaderboardCardSweep 6.8s ease-in-out infinite;
}

.nudo-games-leaderboard__item.is-first {
  grid-row: span 3;
  grid-template-columns: 1fr;
  justify-items: center;
  align-content: center;
  gap: 0.72rem;
  min-height: clamp(13.6rem, 25vw, 18.2rem);
  border-color: rgba(255, 216, 116, 0.72);
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 216, 116, 0.28), transparent 35%),
    radial-gradient(circle at 50% 82%, rgba(255, 43, 26, 0.28), transparent 44%),
    linear-gradient(rgba(255, 244, 232, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 244, 232, 0.02) 1px, transparent 1px),
    rgba(34, 4, 2, 0.8);
  background-size: auto, auto, 28px 28px, 28px 28px, auto;
  text-align: center;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 0 0 1px rgba(255, 244, 232, 0.08),
    0 0 0 1px rgba(255, 216, 116, 0.16),
    0 0 42px rgba(255, 196, 110, 0.2),
    0 0 34px rgba(255, 43, 26, 0.2);
}

.nudo-games-leaderboard__item.is-rank-2 {
  border-color: rgba(226, 234, 244, 0.58);
  min-height: 6.45rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 28px rgba(226, 234, 244, 0.16);
}

.nudo-games-leaderboard__item.is-rank-3 {
  border-color: rgba(205, 127, 50, 0.62);
  min-height: 5.82rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 0 28px rgba(205, 127, 50, 0.14);
}

.nudo-games-leaderboard__item.is-rank-4,
.nudo-games-leaderboard__item.is-rank-5 {
  border-color: rgba(110, 233, 255, 0.5);
  min-height: 5.1rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 20px rgba(110, 233, 255, 0.16);
}

.nudo-games-leaderboard__rank {
  position: relative;
  z-index: 2;
  display: inline-grid;
  min-width: 2.4rem;
  place-items: center;
  border: 0;
  background: transparent;
  color: #75edff;
  font-size: 1.02rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  line-height: 0.9;
  text-shadow:
    0 0 8px rgba(110, 233, 255, 0.7),
    0 0 20px rgba(72, 166, 255, 0.34);
}

.nudo-games-leaderboard__item.is-first .nudo-games-leaderboard__rank {
  position: absolute;
  top: 0.68rem;
  left: 0.76rem;
  min-width: auto;
  color: #ffe36f;
  font-size: clamp(2.15rem, 6vw, 3.35rem);
  text-shadow:
    0 0 8px rgba(255, 243, 148, 0.98),
    0 0 22px rgba(255, 216, 90, 0.78),
    0 0 42px rgba(255, 126, 28, 0.46),
    0 0 64px rgba(255, 43, 26, 0.28);
  animation: nudoLeaderboardRankPulse 2.6s ease-in-out infinite;
}

.nudo-games-leaderboard__item.is-first .nudo-games-leaderboard__rank::before {
  content: "";
  position: absolute;
  inset: -0.62rem -0.48rem;
  z-index: -1;
  border-radius: 42% 58% 45% 55%;
  background:
    conic-gradient(from 10deg, transparent, rgba(255, 238, 125, 0.8), transparent, rgba(255, 83, 24, 0.4), transparent),
    radial-gradient(circle, rgba(255, 231, 102, 0.34), transparent 64%);
  filter: blur(4px);
  opacity: 0.78;
  animation: nudoLeaderboardSaiyanAura 2.2s ease-in-out infinite;
}

.nudo-games-leaderboard__item.is-rank-2 .nudo-games-leaderboard__rank {
  min-width: 3.4rem;
  color: #f5f8ff;
  font-size: clamp(1.72rem, 4.2vw, 2.5rem);
  text-shadow:
    0 0 8px rgba(255, 255, 255, 0.94),
    0 0 22px rgba(226, 234, 244, 0.64),
    0 0 38px rgba(120, 151, 196, 0.34);
}

.nudo-games-leaderboard__item.is-rank-2 .nudo-games-leaderboard__rank::before {
  content: "";
  position: absolute;
  inset: -0.46rem -0.34rem;
  z-index: -1;
  border-radius: 48% 52% 54% 46%;
  background:
    conic-gradient(from 40deg, transparent, rgba(255, 255, 255, 0.58), transparent, rgba(170, 187, 214, 0.42), transparent),
    radial-gradient(circle, rgba(226, 234, 244, 0.26), transparent 64%);
  filter: blur(4px);
  opacity: 0.72;
  animation: nudoLeaderboardSaiyanAura 2.8s ease-in-out infinite -0.4s;
}

.nudo-games-leaderboard__item.is-rank-3 .nudo-games-leaderboard__rank {
  min-width: 3rem;
  color: #ffb06e;
  font-size: clamp(1.42rem, 3.4vw, 2.05rem);
  text-shadow:
    0 0 8px rgba(255, 198, 136, 0.92),
    0 0 21px rgba(205, 127, 50, 0.6),
    0 0 36px rgba(126, 50, 18, 0.38);
}

.nudo-games-leaderboard__item.is-rank-3 .nudo-games-leaderboard__rank::before {
  content: "";
  position: absolute;
  inset: -0.38rem -0.28rem;
  z-index: -1;
  border-radius: 46% 54% 50% 50%;
  background:
    conic-gradient(from 80deg, transparent, rgba(255, 173, 92, 0.5), transparent, rgba(157, 70, 22, 0.34), transparent),
    radial-gradient(circle, rgba(205, 127, 50, 0.24), transparent 66%);
  filter: blur(4px);
  opacity: 0.7;
  animation: nudoLeaderboardSaiyanAura 3s ease-in-out infinite -0.8s;
}

.nudo-games-leaderboard__item.is-rank-4 .nudo-games-leaderboard__rank,
.nudo-games-leaderboard__item.is-rank-5 .nudo-games-leaderboard__rank {
  min-width: 2.5rem;
  color: #7eeeff;
  font-size: clamp(1.05rem, 2.5vw, 1.36rem);
}

.nudo-games-leaderboard__avatar {
  display: grid;
  width: 2.6rem;
  aspect-ratio: 1;
  place-items: center;
  overflow: hidden;
  border: 1.5px solid rgba(255, 196, 110, 0.36);
  border-radius: 999px;
  background:
    radial-gradient(circle at 32% 22%, rgba(255, 244, 232, 0.42), transparent 25%),
    radial-gradient(circle, #ff2417, #700606 72%);
  box-shadow: 0 0 18px rgba(255, 43, 26, 0.3);
  transition: filter 0.32s ease, transform 0.32s ease;
}

.nudo-games-leaderboard__item.is-first .nudo-games-leaderboard__avatar {
  width: clamp(5.2rem, 11vw, 7rem);
  border: 2px solid rgba(255, 216, 116, 0.78);
  box-shadow:
    0 0 0 0.34rem rgba(255, 216, 116, 0.08),
    0 0 34px rgba(255, 43, 26, 0.42),
    0 0 48px rgba(255, 216, 116, 0.2);
}

.nudo-games-leaderboard__avatar img,
.nudo-games-leaderboard__avatar span {
  width: 100%;
  height: 100%;
}

.nudo-games-leaderboard__avatar img {
  object-fit: cover;
}

.nudo-games-leaderboard__avatar span {
  display: grid;
  place-items: center;
  color: rgba(255, 244, 232, 0.94);
  font-size: 1.05rem;
  font-weight: 950;
}

.nudo-games-leaderboard__meta {
  min-width: 0;
}

.nudo-games-leaderboard__item.is-first .nudo-games-leaderboard__meta {
  width: 100%;
}

.nudo-games-leaderboard__meta strong {
  display: block;
  overflow: hidden;
  color: #fff4e8;
  font-size: 0.96rem;
  font-weight: 950;
  line-height: 1;
  text-overflow: ellipsis;
  transition: filter 0.32s ease, transform 0.32s ease;
  white-space: nowrap;
}

.nudo-games-leaderboard__item.has-tie .nudo-games-leaderboard__meta strong {
  color: #dffaff;
  text-shadow:
    0 0 10px rgba(110, 233, 255, 0.42),
    0 0 20px rgba(72, 166, 255, 0.24);
}

.nudo-games-leaderboard__item.is-tie-swapping .nudo-games-leaderboard__avatar,
.nudo-games-leaderboard__item.is-tie-swapping .nudo-games-leaderboard__meta strong {
  animation: nudoLeaderboardTiePop 0.52s ease both;
}

.nudo-games-leaderboard__item.is-first .nudo-games-leaderboard__meta strong {
  font-size: clamp(1.45rem, 4vw, 2.45rem);
  text-shadow: 0 0 24px rgba(255, 216, 116, 0.22);
}

.nudo-games-leaderboard__meta small {
  display: block;
  margin-top: 0.16rem;
  color: rgba(255, 244, 232, 0.44);
  font-size: 0.52rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nudo-games-leaderboard__item b {
  grid-column: 1 / -1;
  color: #ff2b18;
  font-size: 1.02rem;
  font-weight: 950;
  line-height: 0.95;
  text-shadow: 0 0 18px rgba(255, 43, 26, 0.48);
}

.nudo-games-leaderboard__item.is-first b {
  color: #ff2b18;
  font-size: clamp(1.45rem, 4.6vw, 2.2rem);
  text-shadow:
    0 0 14px rgba(255, 43, 26, 0.72),
    0 0 28px rgba(255, 216, 116, 0.24);
}

.nudo-games-leaderboard__empty {
  grid-column: 1 / -1;
  margin: 0;
  border: 1px dashed rgba(255, 244, 232, 0.18);
  border-radius: 18px;
  color: rgba(255, 244, 232, 0.62);
  font-size: 0.9rem;
  font-weight: 850;
  padding: 1rem;
}

.nudo-game-card {
  position: relative;
  display: grid;
  align-content: start;
  grid-auto-rows: max-content;
  min-width: 0;
  min-height: 18.2rem;
  overflow: hidden;
  border: 1.8px solid rgba(255, 244, 232, 0.26);
  border-radius: 24px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    radial-gradient(circle at 78% 10%, rgba(255, 43, 26, 0.28), transparent 28%),
    linear-gradient(180deg, rgba(255, 244, 232, 0.075), rgba(255, 244, 232, 0.025));
  background-size: 34px 34px, 34px 34px, auto, auto;
  box-shadow:
    0 0 0 1px rgba(255, 244, 232, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 0 0 1px rgba(255, 216, 116, 0.12),
    0 18px 38px rgba(6, 1, 1, 0.24),
    0 0 30px rgba(255, 244, 232, 0.12),
    0 0 42px rgba(110, 233, 255, 0.1),
    0 0 46px rgba(255, 43, 26, 0.16);
  padding: clamp(0.9rem, 2.4vw, 1.1rem);
}

.nudo-game-card::before,
.nudo-game-card::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.nudo-game-card::before {
  inset: -48% -30%;
  border-radius: inherit;
  background: linear-gradient(105deg, transparent 33%, rgba(255, 255, 255, 0.05) 43%, rgba(255, 255, 255, 0.36) 50%, rgba(178, 246, 255, 0.18) 56%, transparent 68%);
  opacity: 0;
  transform: translateX(-58%);
  animation: nudoMissionFrameSweep 8.8s ease-in-out infinite;
  animation-delay: calc(var(--mission-index, 0) * -1.55s);
}

.nudo-game-card::after {
  inset: 0.55rem;
  border: 2px solid rgba(255, 244, 232, 0.25);
  border-radius: 18px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 244, 232, 0.08),
    inset 0 0 20px rgba(110, 233, 255, 0.05),
    0 0 18px rgba(255, 244, 232, 0.13),
    0 0 30px rgba(110, 233, 255, 0.12),
    0 0 34px rgba(255, 196, 110, 0.08);
}

.nudo-game-card--épica {
  border-color: rgba(255, 196, 110, 0.26);
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    radial-gradient(circle at 86% 13%, rgba(255, 192, 94, 0.24), transparent 28%),
    radial-gradient(circle at 22% 86%, rgba(255, 18, 18, 0.22), transparent 30%),
    linear-gradient(180deg, rgba(255, 244, 232, 0.075), rgba(255, 244, 232, 0.025));
}

.nudo-game-card--empty {
  min-height: 12rem;
  align-content: center;
  grid-column: 1 / -1;
}

.nudo-game-card.is-reward-ready {
  border-color: rgba(255, 231, 190, 0.7);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 0 0 1px rgba(255, 244, 232, 0.12),
    0 0 28px rgba(255, 244, 232, 0.18),
    0 0 34px rgba(110, 233, 255, 0.12),
    0 0 34px rgba(255, 43, 26, 0.34),
    0 18px 42px rgba(6, 1, 1, 0.24);
}

.nudo-game-card.is-claim-burst {
  border-color: rgba(255, 231, 190, 0.78);
  animation: nudo-claim-card-pulse 0.92s ease both;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 0 42px rgba(255, 43, 26, 0.56),
    0 0 86px rgba(255, 196, 110, 0.22),
    0 18px 42px rgba(6, 1, 1, 0.24);
}

.nudo-game-card.is-completed,
.nudo-game-card.is-redeemed,
.nudo-game-card.is-expired {
  border-color: rgba(255, 244, 232, 0.2);
  background:
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 244, 232, 0.055), rgba(255, 244, 232, 0.018));
  filter: saturate(0.5);
  box-shadow:
    0 0 0 1px rgba(255, 244, 232, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 24px rgba(255, 244, 232, 0.1),
    0 0 34px rgba(110, 233, 255, 0.08),
    0 18px 38px rgba(6, 1, 1, 0.2);
}

.nudo-game-card.is-completed::before,
.nudo-game-card.is-redeemed::before,
.nudo-game-card.is-expired::before {
  background: linear-gradient(105deg, transparent 34%, rgba(255, 255, 255, 0.04) 44%, rgba(255, 255, 255, 0.2) 50%, rgba(178, 246, 255, 0.1) 56%, transparent 68%);
}

.nudo-game-card.is-redeemed,
.nudo-game-card.is-expired {
  opacity: 0.74;
}

.nudo-game-card.is-redeemed {
  border-color: rgba(218, 218, 218, 0.18);
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.014) 1px, transparent 1px),
    radial-gradient(circle at 78% 10%, rgba(180, 180, 180, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(198, 198, 198, 0.09), rgba(70, 70, 70, 0.055));
  filter: grayscale(1) saturate(0.08);
}

.nudo-game-card.is-redeemed h3,
.nudo-game-card.is-redeemed .nudo-game-card__description,
.nudo-game-card.is-redeemed .nudo-game-card__progress-line strong,
.nudo-game-card.is-redeemed .nudo-game-card__progress-line span,
.nudo-game-card.is-redeemed .nudo-game-card__reward span,
.nudo-game-card.is-redeemed .nudo-game-card__reward strong {
  color: rgba(232, 232, 232, 0.58);
  text-shadow: none;
}

.nudo-game-card.is-redeemed .nudo-game-card__badge,
.nudo-game-card.is-redeemed .nudo-game-card__difficulty,
.nudo-game-card.is-redeemed .nudo-game-card__status {
  border-color: rgba(232, 232, 232, 0.15);
  background: rgba(232, 232, 232, 0.06);
  color: rgba(232, 232, 232, 0.54);
  box-shadow: none;
  text-shadow: none;
}

.nudo-game-card.is-redeemed .nudo-game-card__reward {
  border-color: rgba(232, 232, 232, 0.14);
  background: rgba(232, 232, 232, 0.055);
  box-shadow: none;
}

.nudo-game-card.is-redeemed .nudo-game-card__action,
.nudo-game-card.is-redeemed .nudo-game-card__mini-action {
  border-color: rgba(232, 232, 232, 0.14);
  background: rgba(232, 232, 232, 0.08);
  color: rgba(232, 232, 232, 0.48);
  box-shadow: none;
}

.nudo-game-card > * {
  position: relative;
  z-index: 2;
}

.nudo-game-card__top,
.nudo-game-card__progress-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.nudo-game-card__badge {
  display: inline-grid;
  min-width: 2.7rem;
  height: 2.7rem;
  place-items: center;
  border: 1px solid rgba(255, 216, 116, 0.48);
  border-radius: 999px;
  background:
    radial-gradient(circle at 36% 26%, rgba(255, 246, 200, 0.34), transparent 32%),
    linear-gradient(145deg, rgba(255, 209, 82, 0.26), rgba(95, 46, 3, 0.18));
  color: #ffd972;
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  box-shadow:
    0 0 24px rgba(255, 205, 78, 0.26),
    inset 0 0 18px rgba(255, 244, 232, 0.08);
  text-shadow:
    0 0 10px rgba(255, 216, 116, 0.48),
    0 0 20px rgba(255, 43, 26, 0.2);
}

.nudo-game-card__difficulty {
  border: 1px solid rgba(255, 244, 232, 0.14);
  border-radius: 999px;
  background: rgba(255, 244, 232, 0.07);
  color: rgba(255, 244, 232, 0.68);
  font-size: 0.58rem;
  font-weight: 950;
  letter-spacing: 0.16em;
  padding: 0.42rem 0.58rem;
  text-transform: uppercase;
}

.nudo-game-card__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.36rem;
  min-width: 0;
}

.nudo-game-card__status {
  border: 1px solid rgba(255, 43, 26, 0.36);
  border-radius: 999px;
  background: rgba(255, 43, 26, 0.14);
  color: #fff4e8;
  font-size: 0.56rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  padding: 0.42rem 0.58rem;
  text-transform: uppercase;
  box-shadow: 0 0 18px rgba(255, 43, 26, 0.18);
}

.nudo-game-card.is-reward-ready .nudo-game-card__status {
  border-color: rgba(255, 196, 110, 0.72);
  background: rgba(255, 196, 110, 0.16);
  color: #ffc46e;
}

.nudo-game-card.is-completed .nudo-game-card__status,
.nudo-game-card.is-redeemed .nudo-game-card__status,
.nudo-game-card.is-expired .nudo-game-card__status {
  border-color: rgba(255, 244, 232, 0.14);
  background: rgba(255, 244, 232, 0.07);
  color: rgba(255, 244, 232, 0.58);
  box-shadow: none;
}

.nudo-game-card h3 {
  align-self: end;
  margin: clamp(1rem, 3vw, 1.4rem) 0 0;
  color: #fff4e8;
  font-size: clamp(1.45rem, 3.4vw, 2.2rem);
  font-weight: 950;
  letter-spacing: -0.025em;
  line-height: 0.92;
  text-shadow: 0 0 20px rgba(255, 35, 18, 0.32);
}

.nudo-game-card__description {
  margin: 0.48rem 0 0;
  color: rgba(255, 244, 232, 0.62);
  font-size: 0.9rem;
  font-weight: 850;
  line-height: 1.22;
}

.nudo-games-progress {
  margin-top: 1rem;
}

.nudo-games-progress--dots,
.nudo-games-progress--collectibles {
  display: flex;
  gap: 0.42rem;
  flex-wrap: wrap;
}

.nudo-games-progress--dots span {
  width: clamp(1.45rem, 5vw, 1.95rem);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 244, 232, 0.16);
  border-radius: 999px;
  background: rgba(255, 244, 232, 0.06);
  box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.2);
}

.nudo-games-progress--dots span.is-filled {
  border-color: rgba(130, 229, 255, 0.7);
  background:
    radial-gradient(circle at 34% 26%, rgba(238, 253, 255, 0.96), transparent 25%),
    radial-gradient(circle at 50% 52%, #6ee9ff, #087bd0 72%);
  box-shadow:
    0 0 18px rgba(103, 225, 255, 0.64),
    0 0 34px rgba(72, 166, 255, 0.24),
    inset 0 0 14px rgba(238, 253, 255, 0.2);
  animation: nudo-progress-sky-pulse 3s ease-in-out infinite;
}

.nudo-games-progress--dots span.is-filled:nth-child(2),
.nudo-games-progress--collectibles span.is-filled:nth-child(2) {
  animation-delay: -1.15s;
}

.nudo-games-progress--dots span.is-filled:nth-child(3),
.nudo-games-progress--collectibles span.is-filled:nth-child(3) {
  animation-delay: -2.05s;
}

.nudo-games-progress--dots span.is-filled:nth-child(4),
.nudo-games-progress--collectibles span.is-filled:nth-child(4) {
  animation-delay: -0.42s;
}

.nudo-games-progress--bar {
  height: 0.9rem;
  overflow: hidden;
  border: 1px solid rgba(255, 244, 232, 0.14);
  border-radius: 999px;
  background: rgba(255, 244, 232, 0.07);
  box-shadow: inset 0 0 16px rgba(0, 0, 0, 0.22);
}

.nudo-games-progress--bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background:
    linear-gradient(90deg, #087bd0, #6ee9ff 52%, #dbfbff);
  box-shadow:
    0 0 20px rgba(103, 225, 255, 0.54),
    0 0 36px rgba(72, 166, 255, 0.22);
  animation: nudo-progress-sky-pulse 3.2s ease-in-out infinite -0.68s;
}

.nudo-games-progress--collectibles span {
  display: grid;
  width: clamp(2.15rem, 7vw, 3.3rem);
  aspect-ratio: 1;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 244, 232, 0.16);
  border-radius: 16px;
  background: rgba(255, 244, 232, 0.06);
  color: rgba(255, 244, 232, 0.42);
  font-weight: 950;
}

.nudo-games-progress--collectibles img {
  width: 128%;
  height: 128%;
  object-fit: contain;
  opacity: 0.38;
  filter: saturate(0.72) contrast(0.92);
}

.nudo-games-progress--collectibles span.is-filled {
  border-color: rgba(130, 229, 255, 0.62);
  background:
    radial-gradient(circle at 40% 28%, rgba(238, 253, 255, 0.2), transparent 34%),
    rgba(39, 180, 255, 0.12);
  box-shadow:
    0 0 20px rgba(103, 225, 255, 0.46),
    0 0 34px rgba(72, 166, 255, 0.2);
  animation: nudo-progress-sky-pulse 3.1s ease-in-out infinite -0.28s;
}

.nudo-games-progress--collectibles span.is-filled img {
  opacity: 1;
  filter: saturate(1.04) contrast(1.04) drop-shadow(0 0 12px rgba(255, 196, 110, 0.26));
}

.nudo-game-card__subtasks {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.85rem;
}

.nudo-game-card__subtasks div {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  min-height: 2.7rem;
  min-width: 0;
  overflow: hidden;
  border: 1.7px solid rgba(210, 250, 255, 0.58);
  border-radius: 999px;
  background:
    radial-gradient(circle at 16% 50%, rgba(130, 229, 255, 0.14), transparent 24%),
    radial-gradient(circle at 88% 50%, rgba(255, 221, 116, 0.08), transparent 28%),
    rgba(255, 216, 116, 0.07);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 16px rgba(255, 255, 255, 0.14),
    0 0 24px rgba(103, 225, 255, 0.2),
    inset 0 1px 0 rgba(255, 244, 232, 0.14),
    inset 0 0 16px rgba(110, 233, 255, 0.05);
  color: rgba(255, 244, 232, 0.68);
  padding: 0.48rem 0.62rem;
}

.nudo-game-card__subtasks div::after {
  content: "";
  position: absolute;
  inset: -60% -34%;
  z-index: 0;
  background:
    linear-gradient(105deg, transparent 31%, rgba(178, 246, 255, 0.08) 42%, rgba(255, 255, 255, 0.44) 50%, rgba(255, 255, 255, 0.24) 54%, rgba(178, 246, 255, 0.08) 62%, transparent 72%);
  opacity: 0;
  transform: translateX(-52%);
  animation: nudoSubtaskFrameSweep 8.5s ease-in-out infinite;
}

.nudo-game-card__subtasks div:nth-child(2)::after {
  animation-delay: -4s;
}

.nudo-game-card__subtasks div:nth-child(3)::after {
  animation-delay: -8s;
}

.nudo-game-card__subtasks div > * {
  position: relative;
  z-index: 1;
}

.nudo-game-card__subtasks div.has-claim-action {
  gap: 0.75rem;
  padding: 0.5rem 0.58rem 0.5rem 0.78rem;
}

.nudo-game-card__subtasks div.has-action {
  cursor: pointer;
}

.nudo-game-card__subtasks div.has-action:hover,
.nudo-game-card__subtasks div.has-action:focus-visible {
  border-color: rgba(255, 255, 255, 0.78);
  background:
    radial-gradient(circle at 16% 50%, rgba(130, 229, 255, 0.16), transparent 24%),
    rgba(255, 216, 116, 0.09);
  box-shadow:
    0 0 20px rgba(255, 255, 255, 0.16),
    0 0 28px rgba(103, 225, 255, 0.28),
    inset 0 1px 0 rgba(255, 244, 232, 0.14);
  outline: none;
}

.nudo-game-card__subtasks div.is-complete {
  border-color: rgba(255, 255, 255, 0.68);
  background:
    radial-gradient(circle at 16% 50%, rgba(130, 229, 255, 0.16), transparent 24%),
    radial-gradient(circle at 88% 50%, rgba(255, 236, 162, 0.11), transparent 28%),
    rgba(255, 216, 116, 0.13);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 0 18px rgba(255, 255, 255, 0.14),
    0 0 28px rgba(103, 225, 255, 0.26),
    inset 0 1px 0 rgba(255, 244, 232, 0.16);
}

.nudo-game-card__subtasks div.is-redeemed,
.nudo-game-card__subtasks div.is-expired {
  border-color: rgba(255, 255, 255, 0.36);
  background:
    radial-gradient(circle at 16% 50%, rgba(130, 229, 255, 0.08), transparent 24%),
    rgba(232, 232, 232, 0.055);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 0 14px rgba(255, 255, 255, 0.1),
    0 0 20px rgba(103, 225, 255, 0.14),
    inset 0 1px 0 rgba(255, 244, 232, 0.08);
  color: rgba(232, 232, 232, 0.5);
  filter: none;
}

.nudo-game-card__subtasks div.is-redeemed span,
.nudo-game-card__subtasks div.is-expired span {
  color: #fff8ee;
  text-shadow: 0 0 14px rgba(255, 244, 232, 0.24);
}

.nudo-game-card__subtasks div.is-redeemed strong,
.nudo-game-card__subtasks div.is-expired strong {
  color: rgba(232, 232, 232, 0.52);
  text-shadow: none;
}

.nudo-game-card__subtasks div.is-redeemed .nudo-game-card__mini-action,
.nudo-game-card__subtasks div.is-expired .nudo-game-card__mini-action {
  border-color: rgba(232, 232, 232, 0.14);
  background: rgba(232, 232, 232, 0.08);
  color: rgba(232, 232, 232, 0.46);
  box-shadow: none;
}

.nudo-game-card__subtasks span,
.nudo-game-card__subtasks strong {
  min-width: 0;
  font-weight: 950;
  line-height: 1.05;
}

.nudo-game-card__subtasks span {
  color: #fff8ee;
  font-size: clamp(0.84rem, 1.7vw, 0.96rem);
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  text-shadow: 0 0 12px rgba(255, 244, 232, 0.18);
}

.nudo-game-card__subtasks strong {
  flex: 0 0 auto;
  color: #ffe08a;
  font-size: clamp(0.62rem, 1.25vw, 0.7rem);
  text-shadow: 0 0 14px rgba(255, 203, 63, 0.26);
}

.nudo-game-card__mini-action {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  border: 1px solid rgba(255, 196, 110, 0.46);
  border-radius: 999px;
  background: rgba(255, 196, 110, 0.14);
  color: #fff4e8;
  cursor: pointer;
  font: 950 0.6rem var(--sans);
  letter-spacing: 0.08em;
  line-height: 1;
  max-width: 8.8rem;
  padding: 0.42rem 0.66rem;
  text-align: center;
  text-transform: uppercase;
  white-space: normal;
}

.nudo-game-card__progress-line {
  margin-top: 0.72rem;
}

.nudo-game-card__progress-line strong {
  color: #fff4e8;
  font-size: 0.82rem;
  font-weight: 950;
}

.nudo-game-card__progress-line span {
  color: rgba(255, 244, 232, 0.54);
  font-size: 0.62rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-align: right;
  text-transform: uppercase;
}

.nudo-game-card__reward {
  display: grid;
  gap: 0.25rem;
  margin-top: 0.9rem;
  border: 1px solid rgba(255, 216, 116, 0.46);
  border-radius: 18px;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 239, 169, 0.18), transparent 28%),
    linear-gradient(135deg, rgba(255, 199, 53, 0.16), rgba(116, 60, 4, 0.09));
  box-shadow:
    0 0 26px rgba(255, 198, 52, 0.14),
    inset 0 1px 0 rgba(255, 244, 232, 0.1);
  padding: 0.72rem;
}

.nudo-game-card__reward span {
  color: rgba(255, 224, 138, 0.82);
  font-size: 0.56rem;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nudo-game-card__reward strong {
  color: #ffe08a;
  font-size: 0.94rem;
  font-weight: 950;
  line-height: 1.05;
  text-shadow: 0 0 16px rgba(255, 203, 63, 0.26);
}

.nudo-game-card__reward-note {
  color: rgba(255, 244, 232, 0.58);
  font-size: 0.64rem;
  font-weight: 850;
  line-height: 1.15;
  text-transform: lowercase;
}

.nudo-game-card__code {
  display: inline-grid;
  justify-self: start;
  margin-top: 0.2rem;
  border: 1px solid rgba(255, 244, 232, 0.2);
  border-radius: 999px;
  background: rgba(255, 244, 232, 0.1);
  color: #ffc46e;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 950;
  letter-spacing: 0.12em;
  padding: 0.32rem 0.58rem;
}

.nudo-game-card__action {
  align-self: end;
  min-height: 2.95rem;
  margin-top: 0.75rem;
  border: 1px solid rgba(255, 244, 232, 0.16);
  border-radius: 999px;
  background: rgba(255, 244, 232, 0.08);
  color: rgba(255, 244, 232, 0.56);
  cursor: default;
  font: 950 0.68rem var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nudo-game-card__action:not(:disabled) {
  border-color: rgba(255, 196, 110, 0.62);
  background:
    linear-gradient(135deg, #ff1f12, #7a0606 58%, #ffc46e);
  color: #fff4e8;
  cursor: pointer;
  box-shadow: 0 0 24px rgba(255, 43, 26, 0.42);
}

.nudo-game-card__action:disabled,
.nudo-game-card__mini-action:disabled {
  cursor: wait;
  opacity: 0.68;
}

.nudo-reward-code-panel {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 2rem);
}

.nudo-reward-code-panel[hidden] {
  display: none;
}

.nudo-reward-code-panel__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 43, 26, 0.26), transparent 28rem),
    rgba(10, 1, 1, 0.72);
  backdrop-filter: blur(18px);
  cursor: pointer;
}

.nudo-reward-code-panel__card {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(100%, 38rem);
  gap: 0.85rem;
  border: 1.5px solid rgba(255, 216, 116, 0.56);
  border-radius: 28px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    radial-gradient(circle at 24% 18%, rgba(255, 216, 116, 0.2), transparent 13rem),
    linear-gradient(145deg, rgba(92, 8, 8, 0.96), rgba(22, 2, 2, 0.98));
  background-size: 32px 32px, 32px 32px, auto, auto;
  box-shadow:
    0 0 48px rgba(255, 43, 26, 0.42),
    0 24px 68px rgba(0, 0, 0, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.13);
  color: #fff4e8;
  padding: clamp(1.25rem, 4vw, 2rem);
  text-align: center;
}

.nudo-reward-code-panel__close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border: 1px solid rgba(255, 244, 232, 0.22);
  border-radius: 999px;
  background: rgba(255, 244, 232, 0.08);
  color: #fff4e8;
  cursor: pointer;
  font: 900 1.25rem/1 var(--sans);
}

.nudo-reward-code-panel__eyebrow {
  justify-self: center;
  border: 1px solid rgba(110, 233, 255, 0.42);
  border-radius: 999px;
  background: rgba(110, 233, 255, 0.1);
  color: #bdf8ff;
  font-size: 0.7rem;
  font-weight: 950;
  line-height: 1;
  padding: 0.52rem 0.72rem;
  text-transform: uppercase;
}

.nudo-reward-code-panel h2 {
  margin: 0;
  color: #fff4e8;
  font-size: clamp(1.25rem, 4vw, 2.15rem);
  font-weight: 950;
  line-height: 1.02;
}

.nudo-reward-code-panel strong {
  display: block;
  margin: 0.2rem auto;
  max-width: 100%;
  color: #dffaff;
  font-size: clamp(2rem, 8vw, 4.6rem);
  font-weight: 950;
  line-height: 0.95;
  overflow-wrap: anywhere;
  text-shadow:
    0 0 9px rgba(110, 233, 255, 0.92),
    0 0 26px rgba(72, 166, 255, 0.62),
    0 0 44px rgba(255, 218, 90, 0.32);
  animation: nudoRewardCodePulse 2.15s ease-in-out infinite;
}

.nudo-reward-code-panel p {
  max-width: 26rem;
  margin: 0 auto;
  color: rgba(255, 244, 232, 0.72);
  font-size: 0.95rem;
  font-weight: 850;
  line-height: 1.3;
}

.nudo-reward-code-panel__copy {
  min-height: 3rem;
  margin-top: 0.2rem;
  border: 1px solid rgba(255, 216, 116, 0.64);
  border-radius: 999px;
  background: linear-gradient(135deg, #ff2516, #8b0707 58%, #ffd98a);
  color: #fffaf0;
  cursor: pointer;
  font: 950 0.86rem var(--sans);
  text-transform: uppercase;
  box-shadow:
    0 0 26px rgba(255, 43, 26, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.has-nudo-reward-code-panel {
  overflow: hidden;
}

.nudo-games-claim-float {
  position: absolute;
  right: clamp(1rem, 5vw, 1.5rem);
  bottom: clamp(4.2rem, 10vw, 5.6rem);
  z-index: 8;
  color: #fff4e8;
  font-size: clamp(1.55rem, 7vw, 3rem);
  font-weight: 950;
  letter-spacing: -0.04em;
  line-height: 0.9;
  pointer-events: none;
  text-shadow:
    0 0 10px rgba(255, 244, 232, 0.78),
    0 0 28px rgba(255, 43, 26, 0.9),
    0 0 54px rgba(255, 196, 110, 0.48);
  animation: nudo-claim-float 1.1s cubic-bezier(0.18, 0.9, 0.22, 1) both;
}

.nudo-game-card__subtasks div .nudo-games-claim-float {
  right: 0.6rem;
  bottom: 100%;
  font-size: 1.25rem;
}

.nudo-games-claim-particle {
  position: absolute;
  right: clamp(1.35rem, 6vw, 2.2rem);
  bottom: clamp(4.7rem, 11vw, 6.2rem);
  z-index: 7;
  width: 0.46rem;
  aspect-ratio: 1;
  border-radius: 999px;
  background:
    radial-gradient(circle at 35% 25%, #fff4e8, #ffc46e 34%, #ff2112 70%);
  pointer-events: none;
  box-shadow:
    0 0 12px rgba(255, 196, 110, 0.9),
    0 0 22px rgba(255, 43, 26, 0.58);
  animation: nudo-claim-particle 0.92s ease-out both;
}

.nudo-game-card__subtasks div .nudo-games-claim-particle {
  right: 1rem;
  bottom: 50%;
}

.nudo-games__player-score.is-score-pulse {
  animation: nudo-claim-score-pulse 0.85s ease both;
}

.nudo-game-bonus {
  position: relative;
  z-index: 2;
  display: grid;
  grid-column: 1 / -1;
  gap: 0.75rem;
  overflow: hidden;
  border: 1.5px solid rgba(44, 255, 152, 0.62);
  border-radius: 22px;
  background:
    radial-gradient(circle at 9% 22%, rgba(44, 255, 152, 0.14), transparent 24%),
    radial-gradient(circle at 86% 24%, rgba(255, 196, 110, 0.2), transparent 28%),
    linear-gradient(135deg, rgba(255, 244, 232, 0.08), rgba(255, 43, 26, 0.08));
  box-shadow:
    0 0 0 1px rgba(44, 255, 152, 0.16),
    0 0 24px rgba(44, 255, 152, 0.16),
    inset 0 0 22px rgba(44, 255, 152, 0.07);
  padding: clamp(0.86rem, 2vw, 1rem);
}

.nudo-game-bonus::before {
  content: "";
  position: absolute;
  inset: 0.38rem;
  border: 1px solid rgba(116, 255, 188, 0.18);
  border-radius: 18px;
  pointer-events: none;
  box-shadow:
    0 0 18px rgba(44, 255, 152, 0.18),
    inset 0 0 14px rgba(44, 255, 152, 0.07);
}

.nudo-game-bonus::after {
  content: "";
  position: absolute;
  top: -35%;
  bottom: -35%;
  left: -24%;
  width: 24%;
  background: linear-gradient(90deg, transparent, rgba(157, 255, 210, 0.32), transparent);
  filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transform: rotate(16deg);
  animation: nudoBonusGreenSweep 5.8s ease-in-out infinite;
}

.nudo-game-bonus.is-awarded {
  border-color: rgba(44, 255, 152, 0.76);
  box-shadow:
    0 0 0 1px rgba(44, 255, 152, 0.2),
    0 0 28px rgba(44, 255, 152, 0.2),
    inset 0 0 24px rgba(44, 255, 152, 0.08);
}

.nudo-game-bonus span {
  color: #44ff93;
  font-size: clamp(0.86rem, 2.2vw, 1.12rem);
  font-weight: 950;
  letter-spacing: 0.14em;
  text-shadow:
    0 0 6px rgba(68, 255, 147, 0.88),
    0 0 18px rgba(44, 255, 152, 0.44);
  text-transform: uppercase;
}

.nudo-game-bonus strong {
  display: block;
  margin-top: 0.2rem;
  color: #44ff93;
  font-size: clamp(1.16rem, 3.2vw, 1.85rem);
  font-weight: 950;
  line-height: 0.92;
  text-shadow:
    0 0 8px rgba(68, 255, 147, 0.84),
    0 0 24px rgba(44, 255, 152, 0.42);
}

.nudo-game-bonus small {
  display: block;
  margin-top: 0.34rem;
  color: rgba(255, 244, 232, 0.86);
  font-size: clamp(0.9rem, 1.8vw, 1.08rem);
  letter-spacing: 0.01em;
  line-height: 1.16;
  text-transform: none;
}

.nudo-game-bonus__meter {
  height: 0.64rem;
  overflow: hidden;
  border: 1px solid rgba(255, 244, 232, 0.14);
  border-radius: 999px;
  background: rgba(255, 244, 232, 0.07);
}

.nudo-game-bonus__meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #087bd0, #6ee9ff 58%, #dbfbff);
  box-shadow:
    0 0 18px rgba(103, 225, 255, 0.44),
    0 0 34px rgba(72, 166, 255, 0.2);
  animation: nudo-progress-sky-pulse 3.25s ease-in-out infinite -1.2s;
}

.nudo-games__toast {
  position: relative;
  z-index: 3;
  margin: 0;
  border: 1px solid rgba(255, 196, 110, 0.24);
  border-radius: 18px;
  background: rgba(255, 196, 110, 0.08);
  color: rgba(255, 244, 232, 0.82);
  font-size: 0.86rem;
  font-weight: 850;
  line-height: 1.28;
  padding: 0.78rem 0.9rem;
}

.nudo-games__toast[hidden] {
  display: none;
}

@keyframes nudo-games-laser {
  0%,
  100% {
    opacity: 0.36;
    transform: translate3d(-4%, 0, 0) rotate(-11deg);
  }

  50% {
    opacity: 0.86;
    transform: translate3d(4%, -10px, 0) rotate(-11deg);
  }
}

@keyframes nudoGamesSkyTextGlow {
  0%,
  100% {
    color: #ff2d2d;
    text-shadow:
      0 0 7px rgba(255, 45, 45, 0.72),
      0 0 16px rgba(255, 45, 45, 0.52),
      0 0 28px rgba(255, 72, 72, 0.42);
  }

  48% {
    color: #ff8a8a;
    text-shadow:
      0 0 10px rgba(255, 196, 196, 0.98),
      0 0 24px rgba(255, 45, 45, 0.9),
      0 0 44px rgba(255, 72, 72, 0.72),
      0 0 58px rgba(255, 218, 90, 0.24);
  }
}

@keyframes nudoGamesScoreTextGlow {
  0%,
  100% {
    color: #ff2b18;
    text-shadow:
      0 0 8px rgba(255, 43, 24, 0.9),
      0 0 22px rgba(255, 43, 24, 0.58),
      0 0 38px rgba(255, 78, 30, 0.32);
  }

  42% {
    color: #79eaff;
    text-shadow:
      0 0 8px rgba(121, 234, 255, 0.96),
      0 0 24px rgba(72, 166, 255, 0.7),
      0 0 42px rgba(110, 233, 255, 0.38);
  }

  72% {
    color: #ffe36f;
    text-shadow:
      0 0 8px rgba(255, 227, 111, 0.95),
      0 0 24px rgba(255, 196, 68, 0.7),
      0 0 42px rgba(255, 218, 90, 0.38);
  }
}

@keyframes nudoGamesScoreShellGlow {
  0%,
  100% {
    border-color: rgba(255, 59, 42, 0.48);
    box-shadow:
      inset 0 0 18px rgba(255, 43, 24, 0.09),
      0 0 18px rgba(255, 43, 24, 0.24);
  }

  42% {
    border-color: rgba(110, 233, 255, 0.48);
    box-shadow:
      inset 0 0 18px rgba(110, 233, 255, 0.1),
      0 0 22px rgba(110, 233, 255, 0.28);
  }

  72% {
    border-color: rgba(255, 218, 90, 0.52);
    box-shadow:
      inset 0 0 18px rgba(255, 218, 90, 0.1),
      0 0 22px rgba(255, 218, 90, 0.28);
  }
}

@keyframes nudoGamesTimerUrgentGlow {
  from {
    box-shadow:
      inset 0 0 22px rgba(255, 18, 18, 0.2),
      0 0 18px rgba(255, 26, 18, 0.32);
  }

  to {
    box-shadow:
      inset 0 0 28px rgba(255, 64, 42, 0.34),
      0 0 32px rgba(255, 26, 18, 0.72),
      0 0 58px rgba(255, 26, 18, 0.42);
  }
}

@keyframes nudoGamesTimerTextBlink {
  from {
    opacity: 0.74;
    transform: translateY(0);
  }

  to {
    opacity: 1;
    transform: translateY(-1px);
  }
}

@keyframes nudoRewardCodePulse {
  0%,
  100% {
    filter: brightness(0.96);
    transform: translateY(0);
  }

  50% {
    filter: brightness(1.24);
    transform: translateY(-2px);
  }
}

@keyframes nudoBonusGreenSweep {
  0%,
  32% {
    opacity: 0;
    transform: translateX(0) rotate(16deg);
  }

  48% {
    opacity: 0.55;
  }

  68%,
  100% {
    opacity: 0;
    transform: translateX(620%) rotate(16deg);
  }
}

@keyframes nudoLeaderboardGoldBadgeSweep {
  0%,
  42% {
    opacity: 0;
    transform: translateX(0) rotate(18deg);
  }

  56% {
    opacity: 0.78;
  }

  76%,
  100% {
    opacity: 0;
    transform: translateX(520%) rotate(18deg);
  }
}

@keyframes nudoLeaderboardCardSweep {
  0%,
  48% {
    opacity: 0;
    transform: translateX(0) rotate(14deg);
  }

  62% {
    opacity: 0.54;
  }

  82%,
  100% {
    opacity: 0;
    transform: translateX(660%) rotate(14deg);
  }
}

@keyframes nudoLeaderboardSaiyanAura {
  0%,
  100% {
    filter: blur(4px) brightness(0.9);
    transform: scale(0.92) rotate(-3deg);
  }

  50% {
    filter: blur(5px) brightness(1.22);
    transform: scale(1.08) rotate(4deg);
  }
}

@keyframes nudoLeaderboardRankPulse {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-2px) scale(1.04);
  }
}

@keyframes nudoLeaderboardTiePop {
  0% {
    filter: brightness(1.55);
    transform: translateY(3px) scale(0.94);
  }

  100% {
    filter: brightness(1);
    transform: translateY(0) scale(1);
  }
}

@keyframes nudoMissionFrameSweep {
  0%,
  34% {
    opacity: 0;
    transform: translateX(-58%);
  }

  52% {
    opacity: 0.82;
  }

  74%,
  100% {
    opacity: 0;
    transform: translateX(58%);
  }
}

@keyframes nudoSubtaskFrameSweep {
  0%,
  18% {
    opacity: 0;
    transform: translateX(-58%);
  }

  44% {
    opacity: 0.96;
  }

  72% {
    opacity: 0;
    transform: translateX(58%);
  }

  100% {
    opacity: 0;
    transform: translateX(58%);
  }
}

@keyframes nudo-claim-card-pulse {
  0% {
    transform: translateY(0) scale(1);
  }

  38% {
    transform: translateY(-4px) scale(1.012);
  }

  100% {
    transform: translateY(0) scale(1);
  }
}

@keyframes nudo-progress-sky-pulse {
  0%,
  100% {
    filter: brightness(0.94) saturate(1);
    transform: scale(1);
  }

  16% {
    filter: brightness(1.42) saturate(1.24);
    transform: scale(1.07);
    box-shadow:
      0 0 18px rgba(185, 247, 255, 0.82),
      0 0 42px rgba(72, 190, 255, 0.44),
      inset 0 0 16px rgba(238, 253, 255, 0.26);
  }

  36% {
    filter: brightness(1.16) saturate(1.12);
    transform: scale(1.025);
  }

  58% {
    filter: brightness(0.98) saturate(1.02);
    transform: scale(1);
  }
}

@keyframes nudo-claim-float {
  0% {
    opacity: 0;
    transform: translate3d(0, 18px, 0) scale(0.78) rotate(-4deg);
  }

  20% {
    opacity: 1;
  }

  72% {
    opacity: 1;
    transform: translate3d(0, -20px, 0) scale(1.08) rotate(2deg);
  }

  100% {
    opacity: 0;
    transform: translate3d(0, -46px, 0) scale(0.94) rotate(0deg);
  }
}

@keyframes nudo-claim-particle {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0.35);
  }

  18% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate3d(var(--claim-x), var(--claim-y), 0) scale(0.08);
  }
}

@keyframes nudo-claim-score-pulse {
  0%,
  100% {
    transform: scale(1);
  }

  42% {
    border-color: rgba(255, 231, 190, 0.82);
    box-shadow:
      0 0 0 6px rgba(255, 43, 26, 0.18),
      0 0 32px rgba(255, 43, 26, 0.5);
    transform: scale(1.035);
  }
}

@media (max-width: 760px) {
  .nudo-games-preview {
    grid-template-columns: 1fr;
    min-height: 18rem;
    align-content: start;
    padding-bottom: 5.9rem;
  }

  .nudo-games-preview__lock {
    display: none;
  }

  .nudo-games__player {
    grid-template-columns: auto minmax(0, 1fr) auto;
    border-radius: 24px;
    gap: 0.52rem;
    padding: 0.46rem;
  }

  .nudo-games__player-score {
    justify-self: end;
    min-width: clamp(5.55rem, 25vw, 6.5rem);
    padding: 0.46rem 0.58rem;
  }

  .nudo-games__player-score strong {
    font-size: clamp(0.92rem, 4.2vw, 1.14rem);
    text-align: right;
  }

  .nudo-games__head,
  .nudo-games__grid {
    grid-template-columns: 1fr;
  }

  .nudo-games-leaderboard__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nudo-games__timer {
    justify-items: start;
    min-width: 0;
    width: 100%;
  }

  .nudo-games__timer strong {
    text-align: left;
  }

  .nudo-game-card {
    min-height: auto;
  }
}

@media (max-width: 440px) {
  .nudo-games-preview {
    border-radius: 24px;
    min-height: 17.2rem;
    padding: 1rem 1rem 5.9rem;
  }

  .nudo-games-preview__copy h2 {
    max-width: 13rem;
    font-size: clamp(1.28rem, 7.6vw, 1.78rem);
    letter-spacing: -0.015em;
    line-height: 1.03;
  }

  .nudo-games-preview__title-lead {
    max-width: 10.8rem;
    font-size: 0.92em;
    line-height: 1.07;
  }

  .nudo-games-preview__title-brand {
    margin-top: 0.12rem;
    font-size: clamp(2.25rem, 13vw, 3.05rem);
    line-height: 0.84;
  }

  .nudo-games-preview__subtitle {
    max-width: 15rem;
    margin-top: 0.95rem;
    font-size: clamp(0.9rem, 4.2vw, 1.02rem);
    line-height: 1.2;
  }

  .nudo-games-preview__missions {
    right: 1rem;
    bottom: 1rem;
  }

  .nudo-games-preview__missions span {
    width: 1.05rem;
  }

  .nudo-games {
    border-radius: 24px;
    padding: 0.9rem;
  }

  .nudo-reward-code-panel {
    align-items: end;
    padding: 0.85rem;
  }

  .nudo-reward-code-panel__card {
    border-radius: 24px;
    gap: 0.7rem;
    padding: 1.2rem 1rem 1rem;
  }

  .nudo-reward-code-panel strong {
    font-size: clamp(1.55rem, 10vw, 2.7rem);
  }

  .nudo-reward-code-panel p {
    font-size: 0.84rem;
  }

  .nudo-games__player-avatar {
    width: 3.12rem;
  }

  .nudo-games__player-name strong {
    max-width: 8.8rem;
    font-size: clamp(1.08rem, 6vw, 1.48rem);
  }

  .nudo-games h2 {
    font-size: clamp(2.2rem, 14vw, 3.3rem);
  }

  .nudo-games-leaderboard__head {
    align-items: flex-start;
  }

  .nudo-games-leaderboard__list {
    grid-template-columns: 1fr;
  }

  .nudo-game-card {
    border-radius: 20px;
  }

  .nudo-game-card__top,
  .nudo-game-card__progress-line {
    align-items: flex-start;
  }

  .nudo-game-card__chips {
    justify-content: flex-start;
  }

  .nudo-game-card__progress-line {
    display: grid;
  }

  .nudo-game-card__progress-line span {
    text-align: left;
  }
}

.account-profile-hero,
.account-ledger-card,
.account-orders-card,
.account-profile-form,
.account-avatar-form,
.account-session > .account-form--soft {
  border: 1px solid rgba(118, 12, 12, 0.14);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.64);
  box-shadow: 0 18px 42px rgba(75, 50, 26, 0.09);
  padding: clamp(0.95rem, 3vw, 1.25rem);
}

.account-profile-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(1rem, 4vw, 1.45rem);
  align-items: center;
}

.account-avatar {
  position: relative;
  appearance: none;
  display: grid;
  width: clamp(5rem, 18vw, 7.5rem);
  aspect-ratio: 1;
  place-items: center;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(118, 12, 12, 0.16);
  border-radius: 999px;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.95), transparent 36%),
    rgba(118, 12, 12, 0.1);
  color: var(--red);
  cursor: pointer;
  font-family: inherit;
  font-size: clamp(2rem, 8vw, 3.6rem);
  font-weight: 950;
  line-height: 1;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.account-avatar::after {
  content: "cambiar";
  position: absolute;
  inset-inline: 16%;
  bottom: 0.75rem;
  z-index: 2;
  border-radius: 999px;
  background: rgba(118, 12, 12, 0.88);
  color: rgba(255, 250, 240, 0.96);
  font-size: 0.58rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  opacity: 0;
  padding: 0.35rem 0.45rem;
  text-align: center;
  text-transform: uppercase;
  transform: translateY(0.35rem);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.account-avatar:hover,
.account-avatar:focus-visible {
  border-color: rgba(118, 12, 12, 0.34);
  box-shadow: 0 16px 36px rgba(118, 12, 12, 0.14);
  outline: none;
  transform: translateY(-1px);
}

.account-avatar:hover::after,
.account-avatar:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.account-avatar:disabled {
  cursor: progress;
  opacity: 0.76;
  transform: none;
}

.account-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.account-avatar span {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  border-radius: inherit;
  color: rgba(118, 12, 12, 0.96);
}

.account-avatar img[hidden],
.account-avatar span[hidden] {
  display: none;
}

.account-session__label {
  margin: 0;
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.account-session strong {
  display: block;
  font-size: clamp(1.25rem, 5vw, 2rem);
  font-weight: 950;
  line-height: 1.04;
  overflow-wrap: anywhere;
}

.account-session span {
  display: block;
  color: rgba(11, 11, 10, 0.62);
  font-weight: 850;
  overflow-wrap: anywhere;
}

.account-session .account-avatar span {
  color: rgba(118, 12, 12, 0.96);
  font-weight: 950;
  overflow-wrap: normal;
}

.account-session .nudo-games span,
.account-session .nudo-games strong {
  overflow-wrap: normal;
}

.account-session .nudo-games__player-avatar span {
  display: grid;
  color: rgba(255, 244, 232, 0.94);
  font-size: clamp(1.45rem, 5vw, 2.35rem);
  font-weight: 950;
}

.account-session .nudo-games__player-name span,
.account-session .nudo-games__player-score span {
  display: block;
  color: rgba(255, 244, 232, 0.48);
  font-size: 0.56rem;
  font-weight: 950;
}

.account-session .nudo-games__player-name strong {
  display: block;
  color: #fff4e8;
  font-size: clamp(1.2rem, 3vw, 1.82rem);
  font-weight: 950;
  line-height: 0.95;
}

.account-session .nudo-games__player-score strong {
  display: block;
  color: #ff2b18;
  font-size: clamp(1.02rem, 3vw, 1.5rem);
  font-weight: 950;
  line-height: 0.95;
  animation: nudoGamesScoreTextGlow 3.8s ease-in-out infinite;
}

.account-session .nudo-games__player-score b {
  color: inherit;
}

.account-session .nudo-games__timer span {
  display: block;
  color: rgba(255, 244, 232, 0.5);
  font-size: 0.58rem;
  font-weight: 950;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.account-session .nudo-games__timer strong {
  display: block;
  margin-top: 0.25rem;
  color: #fff4e8;
  font-size: clamp(1.05rem, 2.4vw, 1.38rem);
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.account-session .nudo-games__timer.is-countdown-urgent strong {
  color: #fff4e8;
}

.account-session .nudo-games__scorebar span {
  display: block;
  color: inherit;
}

.account-session .nudo-game-card__badge {
  display: inline-grid;
  color: #ffd972;
  font-size: 0.76rem;
  font-weight: 950;
}

.account-session .nudo-game-card__difficulty {
  display: inline-flex;
  color: rgba(255, 244, 232, 0.68);
  font-size: 0.58rem;
  font-weight: 950;
}

.account-session .nudo-game-card__status {
  display: inline-flex;
  color: #fff4e8;
  font-size: 0.56rem;
  font-weight: 950;
}

.account-session .nudo-game-card.is-reward-ready .nudo-game-card__status {
  color: #ffc46e;
}

.account-session .nudo-game-card.is-completed .nudo-game-card__status,
.account-session .nudo-game-card.is-redeemed .nudo-game-card__status,
.account-session .nudo-game-card.is-expired .nudo-game-card__status {
  color: rgba(255, 244, 232, 0.58);
}

.account-session .nudo-games-progress--dots span {
  display: block;
  color: inherit;
}

.account-session .nudo-games-progress--bar span {
  display: block;
  color: inherit;
}

.account-session .nudo-games-progress--collectibles span {
  display: grid;
  color: rgba(255, 244, 232, 0.42);
}

.account-session .nudo-game-card__progress-line strong {
  display: inline;
  color: #fff4e8;
  font-size: 0.82rem;
  font-weight: 950;
}

.account-session .nudo-game-card__progress-line span {
  display: inline;
  color: rgba(255, 244, 232, 0.54);
  font-size: 0.62rem;
  font-weight: 950;
}

.account-session .nudo-game-card__reward span {
  display: block;
  color: rgba(255, 224, 138, 0.82);
  font-size: 0.56rem;
  font-weight: 950;
}

.account-session .nudo-game-card__reward strong {
  display: block;
  color: #ffe08a;
  font-size: 0.94rem;
  font-weight: 950;
  line-height: 1.05;
}

.account-session .nudo-games-leaderboard__head span,
.account-session .nudo-games-leaderboard__head p {
  display: block;
  color: rgba(255, 244, 232, 0.52);
  font-size: 0.58rem;
  font-weight: 950;
}

.account-session .nudo-games-leaderboard__head strong {
  display: inline-flex;
  color: #ffe991;
  font-size: clamp(0.86rem, 1.7vw, 1.16rem);
  font-weight: 950;
}

.account-session .nudo-games-leaderboard__rank {
  display: inline-grid;
  color: #75edff;
  font-size: 1.02rem;
  font-weight: 950;
  line-height: 0.9;
  overflow-wrap: normal;
}

.account-session .nudo-games-leaderboard__item.is-first .nudo-games-leaderboard__rank {
  color: #ffe36f;
  font-size: clamp(2.15rem, 6vw, 3.35rem);
}

.account-session .nudo-games-leaderboard__item.is-rank-2 .nudo-games-leaderboard__rank {
  color: #f5f8ff;
  font-size: clamp(1.72rem, 4.2vw, 2.5rem);
}

.account-session .nudo-games-leaderboard__item.is-rank-3 .nudo-games-leaderboard__rank {
  color: #ffb06e;
  font-size: clamp(1.42rem, 3.4vw, 2.05rem);
}

.account-session .nudo-games-leaderboard__item.is-rank-4 .nudo-games-leaderboard__rank,
.account-session .nudo-games-leaderboard__item.is-rank-5 .nudo-games-leaderboard__rank {
  color: #7eeeff;
  font-size: clamp(1.05rem, 2.5vw, 1.36rem);
}

.account-session .nudo-games-leaderboard__meta strong {
  display: block;
  color: #fff4e8;
  font-size: 0.96rem;
  font-weight: 950;
  line-height: 1;
}

.account-session .nudo-games-leaderboard__avatar span {
  display: grid;
  color: rgba(255, 244, 232, 0.94);
  font-size: 1.05rem;
  font-weight: 950;
}

.account-points-card {
  --points-blob-scale: 0.78;
  --points-glow: 0.82;
  --points-heat: 30%;
  --points-amber: 24%;
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: clamp(13rem, 25vw, 18rem);
  overflow: hidden;
  padding: clamp(1.25rem, 4vw, 2rem);
  border: 1px solid rgba(255, 88, 42, 0.2);
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    radial-gradient(circle at 62% 42%, rgba(255, 62, 18, calc(var(--points-glow) * 0.34)), transparent 32%),
    radial-gradient(circle at 78% 30%, rgba(125, 249, 255, calc(var(--points-glow) * 0.12)), transparent 26%),
    radial-gradient(circle at 32% 82%, rgba(183, 140, 255, calc(var(--points-glow) * 0.1)), transparent 32%),
    linear-gradient(180deg, #040303 0%, #090303 54%, #030304 100%);
  background-size: 48px 48px, 48px 48px, auto, auto, auto, auto;
  color: #fff8ee;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 24px 70px rgba(22, 4, 2, 0.22);
}

.account-points-card::before,
.account-points-card::after {
  position: absolute;
  z-index: 0;
  content: "";
  pointer-events: none;
}

.account-points-card::before {
  inset: 0;
  background:
    radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.08), transparent 20%),
    radial-gradient(circle at 72% 74%, rgba(255, 176, 0, calc(var(--points-glow) * 0.1)), transparent 28%);
  opacity: 0.95;
}

.account-points-card::after {
  inset: clamp(0.8rem, 2vw, 1.15rem);
  border: 1px solid rgba(255, 236, 210, 0.08);
  border-radius: inherit;
}

.account-points-card__content {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(11rem, 0.72fr) minmax(12rem, 1fr);
  grid-template-areas:
    "label number"
    "copy number";
  max-width: 100%;
  min-height: clamp(10rem, 19vw, 15rem);
  gap: 0.18rem;
  align-self: center;
  align-items: center;
}

.account-points-card p {
  grid-area: label;
  align-self: end;
  margin: 0;
  color: rgba(255, 244, 232, 0.7);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.account-points-card strong {
  grid-area: number;
  justify-self: end;
  align-self: center;
  display: inline-block;
  width: max-content;
  max-width: 100%;
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
  font-variant-numeric: tabular-nums;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 249, 216, 0.98), transparent 11%),
    radial-gradient(circle at 73% 26%, rgba(255, 35, 35, 1), transparent 26%),
    radial-gradient(circle at 42% 72%, rgba(204, 0, 0, 1), transparent 31%),
    radial-gradient(circle at 78% 78%, rgba(90, 0, 0, 0.95), transparent 34%),
    conic-gradient(from 8deg, #5e0000, #c40000, #ff0000, #ff6a1a, #a00000, #390000, #ff1b10, #5e0000);
  background-size: 280% 280%;
  -webkit-background-clip: text;
  background-clip: text;
  color: var(--red);
  font-size: clamp(7.4rem, 20vw, 13rem);
  font-weight: 950;
  line-height: 0.72;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1px rgba(255, 44, 22, 0.55);
  filter:
    drop-shadow(0 1px 0 rgba(255, 250, 232, 0.52))
    drop-shadow(0 22px 42px rgba(255, 18, 18, calc(var(--points-glow) * 0.62)))
    drop-shadow(0 0 76px rgba(255, 74, 22, calc(var(--points-glow) * 0.48)));
  text-shadow:
    0 0 1px rgba(255, 244, 232, 0.42);
  transform-origin: 50% 58%;
  animation: nudo-molten-number 7.5s ease-in-out infinite;
}

.account-points-card__content > span {
  grid-area: copy;
  align-self: start;
  color: rgba(255, 244, 232, 0.62);
  font-size: 0.92rem;
  font-weight: 850;
}

.account-points-card__scene {
  display: none;
}

.account-points-card__blob {
  position: absolute;
  inset: 10%;
  border-radius: 44% 56% 52% 48% / 48% 42% 58% 52%;
  background:
    radial-gradient(circle at 38% 34%, rgba(255, 244, 196, 0.95) 0 7%, transparent 16%),
    radial-gradient(circle at 45% 48%, rgba(255, 59, 18, 0.98) 0 var(--points-heat), transparent 58%),
    radial-gradient(circle at 61% 37%, rgba(125, 249, 255, 0.72) 0 9%, transparent 24%),
    radial-gradient(circle at 56% 66%, rgba(183, 140, 255, 0.5) 0 15%, transparent 34%),
    linear-gradient(145deg, rgba(255, 176, 0, 0.96), rgba(255, 59, 18, 0.9) var(--points-amber), rgba(18, 24, 35, 0.92) 70%, rgba(125, 249, 255, 0.68));
  box-shadow:
    inset 18px 18px 34px rgba(255, 255, 255, 0.24),
    inset -22px -24px 42px rgba(15, 3, 3, 0.42),
    0 0 calc(42px * var(--points-glow)) rgba(255, 59, 18, 0.64),
    0 0 calc(72px * var(--points-glow)) rgba(125, 249, 255, 0.18);
  filter: saturate(1.18) contrast(1.05);
  transform: scale(var(--points-blob-scale));
  animation: nudo-molten-breathe 16s ease-in-out infinite;
}

.account-points-card__blob::before,
.account-points-card__blob::after {
  position: absolute;
  content: "";
  border-radius: 999px;
  pointer-events: none;
}

.account-points-card__blob::before {
  left: 18%;
  top: 18%;
  width: 34%;
  height: 24%;
  background: rgba(255, 255, 255, 0.38);
  filter: blur(18px);
}

.account-points-card__blob::after {
  right: 13%;
  top: 22%;
  width: 10%;
  height: 30%;
  rotate: 12deg;
  background: rgba(255, 255, 255, 0.44);
  filter: blur(10px);
}

.account-points-card__glint {
  position: absolute;
  inset: 2% 14% auto auto;
  width: 34%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 247, 224, 0.8), transparent);
  opacity: calc(0.38 + var(--points-glow) * 0.28);
  transform: rotate(-18deg);
  animation: nudo-molten-glint 12s ease-in-out infinite;
}

.account-points-card__floor {
  position: absolute;
  left: 50%;
  top: 70%;
  width: 72%;
  height: 18%;
  border-radius: 50%;
  background: linear-gradient(90deg, rgba(255, 98, 30, calc(var(--points-glow) * 0.34)), rgba(125, 249, 255, 0.12), transparent);
  filter: blur(20px);
  opacity: calc(0.22 + var(--points-glow) * 0.18);
  transform: translateX(-50%) scaleY(0.42) perspective(500px) rotateX(58deg);
  -webkit-mask-image: radial-gradient(ellipse at center, black 0 42%, transparent 73%);
  mask-image: radial-gradient(ellipse at center, black 0 42%, transparent 73%);
}

.account-points-card__micro {
  position: absolute;
  right: clamp(1.1rem, 3vw, 1.75rem);
  bottom: clamp(1rem, 3vw, 1.45rem);
  z-index: 3;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: 15rem;
  color: rgba(255, 244, 232, 0.52);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.account-points-card[data-points-level="empty"] .account-points-card__blob {
  filter: saturate(0.9) contrast(0.96);
  opacity: 0.62;
}

@media (max-width: 640px) {
  .account-points-card {
    min-height: 12.5rem;
    padding: 1.1rem;
  }

  .account-points-card__content {
    grid-template-columns: minmax(6.4rem, 0.58fr) minmax(0, 1fr);
    min-height: 9.6rem;
  }

  .account-points-card strong {
    max-width: 100%;
    font-size: clamp(3.5rem, 22vw, 6.4rem);
    letter-spacing: -0.06em;
    line-height: 0.76;
    white-space: nowrap;
  }

  .account-points-card__content > span {
    max-width: 10rem;
    font-size: 0.84rem;
  }

  .account-points-card__scene {
    right: -0.9rem;
    width: min(42vw, 10.5rem);
    opacity: 0.78;
  }

  .account-points-card__glint {
    display: none;
  }

  .account-points-card__floor {
    filter: blur(12px);
  }

  .account-points-card__micro {
    right: 1rem;
    bottom: 0.95rem;
    max-width: 9rem;
    font-size: 0.5rem;
    letter-spacing: 0.14em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .account-points-card__blob,
  .account-points-card__glint,
  .account-points-card strong,
  .nudo-game-card::before,
  .nudo-game-card__subtasks div::after,
  .nudo-game-bonus::after,
  .nudo-games-leaderboard__head strong::after,
  .nudo-games-leaderboard__item::after,
  .nudo-games-leaderboard__item.is-first .nudo-games-leaderboard__rank,
  .nudo-games-leaderboard__rank::before,
  .nudo-games-leaderboard__item.is-tie-swapping .nudo-games-leaderboard__avatar,
  .nudo-games-leaderboard__item.is-tie-swapping .nudo-games-leaderboard__meta strong,
  .nudo-reward-code-panel strong,
  .nudo-games__laser,
  .home-kiosk-card[data-home-kiosk-entry="cafe-freddo-capuchino"] .home-kiosk-card__top::before,
  .home-kiosk-card[data-home-kiosk-entry="cafe-freddo-capuchino"]::before {
    animation: none;
  }
}

.account-ledger-card,
.account-orders-card {
  display: grid;
  gap: 0.8rem;
}

.account-ledger-card--inline {
  position: absolute;
  left: clamp(1.1rem, 3vw, 1.75rem);
  bottom: clamp(1rem, 3vw, 1.45rem);
  z-index: 5;
  display: flex;
  width: min(31rem, calc(100% - 2.2rem));
  max-width: calc(100% - 2.2rem);
  flex-direction: column-reverse;
  gap: 0.55rem;
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.account-ledger-card--inline summary {
  display: inline-flex;
  width: fit-content;
  min-height: 2.55rem;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid rgba(255, 244, 232, 0.32);
  border-radius: 999px;
  background: rgba(255, 244, 232, 0.08);
  color: #fff4e8;
  cursor: pointer;
  font: 950 0.68rem var(--sans);
  letter-spacing: 0.12em;
  list-style: none;
  padding: 0.68rem 0.9rem;
  text-transform: uppercase;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 0 22px rgba(255, 59, 42, 0.18);
}

.account-ledger-card--inline summary span {
  color: #fff8ee;
  text-shadow: 0 0 12px rgba(255, 244, 232, 0.32);
}

.account-ledger-card--inline summary::-webkit-details-marker {
  display: none;
}

.account-ledger-card--inline summary small {
  color: rgba(255, 244, 232, 0.58);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: lowercase;
}

.account-ledger-card--inline summary small[hidden] {
  display: none;
}

.account-ledger-card--inline[open] summary {
  border-color: rgba(255, 196, 110, 0.54);
  background: rgba(143, 17, 17, 0.72);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1) inset,
    0 0 28px rgba(255, 59, 42, 0.32);
}

.account-ledger-card--inline .account-ledger-list {
  display: grid;
  gap: 0.55rem;
  max-height: min(16rem, 42vh);
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid rgba(255, 244, 232, 0.16);
  border-radius: 20px;
  background: rgba(247, 244, 238, 0.94);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.24),
    0 0 32px rgba(255, 59, 42, 0.14);
  padding: 0.5rem;
  scrollbar-width: thin;
}

.account-ledger-card--inline:not([open]) .account-ledger-list {
  display: none;
}

.account-ledger-card--inline .account-ledger-item {
  background: rgba(255, 252, 247, 0.84);
}

@media (max-width: 640px) {
  .account-ledger-card--inline {
    left: 1rem;
    bottom: 0.95rem;
    width: calc(100% - 2rem);
    max-width: calc(100% - 2rem);
  }

  .account-ledger-card--inline summary {
    min-height: 2.55rem;
    padding: 0.68rem 0.9rem;
    font-size: 0.64rem;
  }

  .account-ledger-card--inline .account-ledger-list {
    gap: 0.7rem;
    max-height: 13.5rem;
    border-radius: 18px;
    padding: 0.7rem;
  }

  .account-ledger-card--inline .account-ledger-item {
    gap: 0.38rem;
    border-radius: 16px;
    padding: 0.86rem 0.9rem;
  }

  .account-ledger-card--inline .account-ledger-item strong {
    font-size: 0.9rem;
    line-height: 1.12;
  }

  .account-ledger-card--inline .account-ledger-item span {
    font-size: 0.74rem;
    line-height: 1.18;
  }
}

.account-history-card__head,
.account-orders-card__head {
  display: flex;
  gap: 0.7rem;
  align-items: baseline;
  justify-content: space-between;
}

.account-history-card__head p,
.account-orders-card__head p {
  margin: 0;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.account-history-card__head span,
.account-orders-card__head span {
  color: rgba(11, 11, 10, 0.5);
  font-size: 0.82rem;
  font-weight: 850;
  text-align: right;
}

.account-history-card__head span[hidden],
.account-orders-card__head span[hidden] {
  display: none;
}

.account-ledger-list,
.account-orders-list {
  display: grid;
  gap: 0.55rem;
}

.account-ledger-item,
.account-order-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.25rem 0.8rem;
  align-items: center;
  border: 1px solid rgba(118, 12, 12, 0.1);
  border-radius: 18px;
  background: rgba(247, 244, 238, 0.52);
  padding: 0.78rem 0.9rem;
}

.account-ledger-item {
  grid-template-columns: 1fr;
}

.account-ledger-item strong,
.account-order-item strong {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.05;
}

.account-ledger-item span,
.account-order-item span {
  color: rgba(11, 11, 10, 0.56);
  font-size: 0.82rem;
  font-weight: 850;
}

.account-order-item small {
  grid-column: 1 / -1;
  color: rgba(11, 11, 10, 0.48);
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1.2;
}

.account-order-item a {
  grid-row: span 3;
  color: var(--red);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.account-toggle {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: center;
  min-height: 3.2rem;
  border: 1px solid rgba(118, 12, 12, 0.12);
  border-radius: 20px;
  background: rgba(247, 244, 238, 0.58);
  padding: 0.72rem 0.9rem;
  text-transform: none;
}

.account-toggle input {
  width: 1.3rem;
  min-height: 1.3rem;
  accent-color: var(--red);
  padding: 0;
}

.account-toggle span {
  color: rgba(11, 11, 10, 0.68);
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1.18;
}

.account-profile-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.85rem, 2vw, 1rem);
  align-items: start;
}

.account-logout-button {
  justify-self: end;
  min-height: 3.1rem;
  border: 1px solid rgba(118, 12, 12, 0.24);
  border-radius: 999px;
  background: transparent;
  color: var(--red);
  cursor: pointer;
  font: 950 0.78rem var(--sans);
  letter-spacing: 0.08em;
  padding: 0 1.3rem;
  text-transform: uppercase;
}

.account-logout-button:hover,
.account-logout-button:focus-visible {
  background: rgba(118, 12, 12, 0.07);
  box-shadow: 0 12px 26px rgba(118, 12, 12, 0.08);
}

.account-back {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  border: 1.5px solid rgba(118, 12, 12, 0.34);
  border-radius: 999px;
  background: rgba(247, 244, 238, 0.72);
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  padding: 0 1rem;
  text-transform: uppercase;
  box-shadow: 0 12px 28px rgba(118, 12, 12, 0.08);
}

@media (max-width: 520px) {
  .account-card__top {
    display: grid;
    gap: 0.75rem;
  }

  .account-back {
    width: 100%;
    min-height: 3rem;
    font-size: 0.76rem;
  }

  .account-profile-hero,
  .account-profile-actions {
    grid-template-columns: 1fr;
  }

  .account-profile-hero {
    justify-items: start;
  }

  .account-logout-button {
    justify-self: stretch;
  }
}

/* nudo.com.mx product cards share the same category frames as kiosko. */
.home-kiosk-card {
  border-width: 3px;
  border-style: solid;
  border-color: var(--product-accent, rgba(31, 23, 17, 0.18));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.62),
    0 20px 44px rgba(75, 50, 26, 0.11);
}

.home-kiosk-card:hover,
.home-kiosk-card:active {
  border-color: var(--product-accent, var(--home-kiosk-red));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.72),
    0 30px 58px rgba(75, 50, 26, 0.16),
    0 0 0 4px rgba(255, 255, 255, 0.72);
}

.home-kiosk-card--cafe {
  border-color: #815632 !important;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.66),
    0 18px 40px rgba(129, 86, 50, 0.2) !important;
}

.home-kiosk-card--cacao {
  border-color: #75538a !important;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.66),
    0 18px 40px rgba(117, 83, 138, 0.2) !important;
}

.home-kiosk-card--romas {
  border-color: #d6772f !important;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.66),
    0 18px 40px rgba(214, 119, 47, 0.2) !important;
}

.home-kiosk-card--tlayudas {
  border-color: #a54d37 !important;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.66),
    0 18px 40px rgba(165, 77, 55, 0.2) !important;
}

.home-kiosk-card--tortas {
  border-color: #b77a16 !important;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.66),
    0 18px 40px rgba(183, 122, 22, 0.2) !important;
}

.home-kiosk-card--cafe:hover,
.home-kiosk-card--cafe:active,
.home-kiosk-card--cacao:hover,
.home-kiosk-card--cacao:active,
.home-kiosk-card--romas:hover,
.home-kiosk-card--romas:active,
.home-kiosk-card--tlayudas:hover,
.home-kiosk-card--tlayudas:active,
.home-kiosk-card--tortas:hover,
.home-kiosk-card--tortas:active {
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.74),
    0 28px 56px rgba(75, 50, 26, 0.16),
    0 0 0 4px rgba(255, 255, 255, 0.72) !important;
}

.home-kiosk-card[data-home-kiosk-entry="cafe-freddo-capuchino"]:hover,
.home-kiosk-card[data-home-kiosk-entry="cafe-freddo-capuchino"]:active {
  border-color: rgba(99, 214, 255, 0.98) !important;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.82),
    0 28px 56px rgba(75, 50, 26, 0.16),
    0 0 0 4px rgba(174, 238, 255, 0.36),
    0 0 34px rgba(99, 214, 255, 0.24) !important;
}

.home-kiosk-card--disabled,
.home-kiosk-card--disabled:hover,
.home-kiosk-card--disabled:active {
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.52),
    0 12px 26px rgba(75, 50, 26, 0.08) !important;
  cursor: not-allowed;
  opacity: 0.72;
  transform: none !important;
}

.home-kiosk-modal__media[data-product-group="tlayudas"] {
  overflow: visible;
}

.home-kiosk-modal__media[data-product-group="tlayudas"] img {
  --modal-image-scale: 1.46;
  transform-origin: center center;
}

/* Category navigation: selected category gets the kiosk color; the rest stay muted. */
.home-kiosk-tab {
  border-color: rgba(111, 103, 92, 0.22) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(247, 244, 238, 0.62)),
    #f6f2ea !important;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.78),
    0 8px 18px rgba(38, 32, 26, 0.045) !important;
  transform: none;
}

.home-kiosk-tab::before {
  background: rgba(145, 136, 122, 0.24) !important;
  opacity: 0.24 !important;
}

.home-kiosk-tab strong {
  color: #6f675c !important;
  text-shadow: none !important;
}

.home-kiosk-tab.is-active {
  border-color: color-mix(in srgb, var(--tab-accent, #8f1111) 72%, #fff8f1) !important;
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 255, 255, 0.42), transparent 4.8rem),
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--tab-accent, #8f1111) 92%, #ffffff 8%) 0%,
      color-mix(in srgb, var(--tab-accent, #8f1111) 90%, #5c0808 10%) 100%
    ) !important;
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.34),
    0 18px 34px color-mix(in srgb, var(--tab-accent, #8f1111) 32%, transparent) !important;
  transform: translateY(-2px);
}

.home-kiosk-tab.is-active::before {
  background: rgba(255, 255, 255, 0.62) !important;
  opacity: 0.22 !important;
}

.home-kiosk-tab.is-active strong {
  color: #fff8f1 !important;
  text-shadow: 0 2px 12px rgba(31, 23, 17, 0.3) !important;
}

/* Current NUDO menu: six groups, drinks back in NUDO, and branded torta dividers. */
.home-kiosk__tabs {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(0.32rem, 0.65vw, 0.55rem);
}

.home-kiosk-tab[data-home-kiosk-group="aguas-refrescos"] strong {
  font-size: clamp(0.78rem, 1.02vw, 1.04rem);
  line-height: 1.03;
  max-width: 8.2ch;
  white-space: normal;
}

.home-kiosk-category-block__head {
  position: relative;
  min-height: clamp(3.9rem, 5.5vw, 5.7rem);
}

.home-kiosk-category-block__head h4,
.home-kiosk-category-block__head > span:not(.home-kiosk-category-block__mark) {
  position: relative;
  z-index: 2;
}

.home-kiosk-category-block__mark {
  position: absolute !important;
  left: 50%;
  top: 50%;
  z-index: 1;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.home-kiosk-category-block__mark--mole {
  width: clamp(8.4rem, 15.5vw, 15.6rem);
  min-height: clamp(3.15rem, 5.35vw, 5.25rem);
  border: 0 !important;
  border-radius: 999px !important;
  background: rgba(255, 253, 248, 0.92) !important;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.75),
    0 12px 24px rgba(31, 23, 17, 0.12);
  padding: 0.24rem 1rem !important;
}

.home-kiosk-category-block__mark--mole img {
  display: block;
  width: 100%;
  max-height: clamp(2.55rem, 4.75vw, 4.6rem);
  object-fit: contain;
}

.home-kiosk-category-block__mark--nudo {
  min-height: auto !important;
  border: 0 !important;
  background: transparent !important;
  color: #fff8f1 !important;
  font-size: clamp(1.2rem, 2.15vw, 2.55rem) !important;
  font-weight: 950 !important;
  letter-spacing: 0;
  line-height: 0.9;
  padding: 0 !important;
  text-shadow: 0 8px 18px rgba(31, 23, 17, 0.22);
}

.home-kiosk-card--aguas-refrescos {
  border-color: #578b7a !important;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.66),
    0 18px 40px rgba(87, 139, 122, 0.18) !important;
}

.home-kiosk-card--aguas-refrescos:hover,
.home-kiosk-card--aguas-refrescos:active {
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.74),
    0 28px 56px rgba(75, 50, 26, 0.16),
    0 0 0 4px rgba(255, 255, 255, 0.72) !important;
}

.home-kiosk__products[data-group="aguas-refrescos"] .home-kiosk-category-block__head {
  border-color: #436f62;
  background:
    radial-gradient(circle at 14% 24%, rgba(255, 255, 255, 0.24), transparent 4.8rem),
    linear-gradient(135deg, #75a997 0%, #578b7a 48%, #3f6c5e 100%);
  box-shadow: 0 14px 30px rgba(87, 139, 122, 0.16);
}

.home-kiosk__products[data-group="aguas-refrescos"] .home-kiosk-category-block__grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13.4rem), 1fr));
}

.home-kiosk-card--aguas-refrescos {
  --card-min-height: clamp(15.75rem, 19vw, 19.75rem);
  --card-image-width: min(78%, 12.8rem);
  --card-image-height: clamp(8.1rem, 9.6vw, 10.6rem);
  --card-body-min: clamp(3rem, 3.7vw, 3.8rem);
  aspect-ratio: 0.98;
}

.home-kiosk-card--aguas-refrescos .home-kiosk-card__image {
  width: var(--card-image-width);
  height: var(--card-image-height);
  overflow: visible;
}

.home-kiosk-card--aguas-refrescos .home-kiosk-card__image img {
  object-fit: contain;
  object-position: center center;
}

.home-kiosk-card--aguas-refrescos.home-kiosk-card--disabled .home-kiosk-card__image img {
  opacity: 0.42;
}

.home-kiosk-card--aguas-refrescos.home-kiosk-card--category-las-de-mole-aguas-frescas .home-kiosk-card__image {
  width: min(50%, 8.8rem);
  height: clamp(9.1rem, 10vw, 11rem);
}

.home-kiosk-card--aguas-refrescos.home-kiosk-card--category-las-de-mole-aguas-frescas .home-kiosk-card__image img {
  transform: translateY(-0.15rem) scale(0.92);
}

.home-kiosk-card--aguas-refrescos.home-kiosk-card--category-las-de-mole-refrescos .home-kiosk-card__image,
.home-kiosk-card--aguas-refrescos.home-kiosk-card--category-las-de-mole-aguas-botella .home-kiosk-card__image {
  width: min(82%, 13.4rem);
}

.home-kiosk-modal__media[data-product-group="aguas-refrescos"] {
  overflow: visible;
}

.home-kiosk-modal__media[data-product-group="aguas-refrescos"] img {
  --modal-image-scale: 1.18;
  transform-origin: center center;
}

@media (max-width: 720px) {
  .home-kiosk__tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-kiosk-card--aguas-refrescos {
    --card-min-height: clamp(14.7rem, 64vw, 17.4rem);
    --card-image-height: clamp(7rem, 30vw, 8.8rem);
    --card-body-min: 3.05rem;
    aspect-ratio: auto;
  }

  .home-kiosk-card--aguas-refrescos.home-kiosk-card--category-las-de-mole-aguas-frescas .home-kiosk-card__image {
    width: min(52%, 7.6rem);
    height: clamp(7.4rem, 30vw, 9rem);
  }
}

/* Brand badges for NUDO menu groups and Las de Mole section bars. */
.home-kiosk__products[data-brand-mark="nudo"] .home-kiosk__products-head > div,
.home-kiosk__products[data-brand-mark="nudo"] .home-kiosk__products-head > span {
  position: relative;
  z-index: 2;
}

.home-kiosk__products[data-brand-mark="nudo"] .home-kiosk__products-head::after {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  color: var(--home-kiosk-red);
  content: "nudo.";
  font-size: clamp(2.15rem, 4vw, 4.7rem);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 0.86;
  pointer-events: none;
  text-shadow:
    0 12px 22px rgba(143, 17, 17, 0.12),
    0 0 1px rgba(143, 17, 17, 0.24);
  transform: translate(-50%, -50%);
}

.home-kiosk__products[data-group="mole-tortas"] .home-kiosk-category-block__head--tortas-clasicas,
.home-kiosk__products[data-group="tortas"] .home-kiosk-category-block__head--tortas-clasicas {
  border-color: rgba(172, 119, 10, 0.68) !important;
  background:
    radial-gradient(circle at 14% 24%, rgba(255, 255, 255, 0.34), transparent 4.8rem),
    linear-gradient(135deg, #f7d75d 0%, #e7b92f 46%, #bd7f10 100%) !important;
  box-shadow:
    inset 0 0 0 1px rgba(255, 248, 220, 0.38),
    0 14px 30px rgba(185, 125, 15, 0.18) !important;
}

.home-kiosk__products[data-group="mole-tortas"] .home-kiosk-category-block__head--tortas-clasicas h4,
.home-kiosk__products[data-group="tortas"] .home-kiosk-category-block__head--tortas-clasicas h4 {
  color: #2f261a !important;
  text-shadow: 0 1px 0 rgba(255, 248, 220, 0.42) !important;
}

@media (max-width: 720px) {
  .home-kiosk__products[data-brand-mark="nudo"] .home-kiosk__products-head::after {
    position: static;
    display: block;
    justify-self: start;
    margin-top: 0.35rem;
    font-size: clamp(1.75rem, 8vw, 2.55rem);
    transform: none;
  }
}

/* Branded category navigation: Las de Mole on the left, NUDO on the right. */
.home-kiosk__tabs.home-kiosk__tabs--branded {
  display: grid;
  grid-template-columns: minmax(10.8rem, 0.92fr) auto minmax(0, 2.55fr);
  align-items: stretch;
  gap: clamp(0.38rem, 0.72vw, 0.68rem);
}

.home-kiosk__tabs-brand {
  display: grid;
  min-width: 0;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: clamp(0.28rem, 0.48vw, 0.46rem);
  align-items: stretch;
  border-radius: clamp(1.2rem, 1.8vw, 1.85rem);
  background: rgba(255, 253, 248, 0.48);
  padding: clamp(0.28rem, 0.52vw, 0.48rem);
}

.home-kiosk__tabs-brand--mole {
  background: linear-gradient(135deg, rgba(247, 215, 93, 0.32), rgba(217, 164, 26, 0.17) 56%, rgba(255, 253, 248, 0.48));
  border: clamp(2px, 0.26vw, 5px) solid rgba(189, 127, 16, 0.76);
  box-shadow:
    inset 0 0 0 2px rgba(255, 241, 191, 0.66),
    0 0.68rem 1.2rem rgba(189, 127, 16, 0.1);
}

.home-kiosk__tabs-brand--nudo {
  background: linear-gradient(135deg, rgba(149, 16, 20, 0.18), rgba(185, 42, 39, 0.11) 56%, rgba(255, 253, 248, 0.46));
  border: clamp(2px, 0.26vw, 5px) solid rgba(149, 16, 20, 0.66);
  box-shadow:
    inset 0 0 0 2px rgba(255, 226, 226, 0.56),
    0 0.68rem 1.2rem rgba(149, 16, 20, 0.085);
}

.home-kiosk__tabs-brand-buttons {
  display: grid;
  min-width: 0;
  gap: clamp(0.28rem, 0.5vw, 0.48rem);
}

.home-kiosk__tabs-brand--mole .home-kiosk__tabs-brand-buttons {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-kiosk__tabs-brand--nudo .home-kiosk__tabs-brand-buttons {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.home-kiosk__tabs-brand .home-kiosk-tab {
  min-width: 0;
  width: 100%;
  min-height: clamp(3.28rem, 4.75vw, 4.48rem);
}

.home-kiosk__tabs-brand .home-kiosk-tab strong {
  font-size: clamp(1.18rem, 1.62vw, 1.75rem);
}

.home-kiosk__tabs-brand-logo {
  display: flex;
  min-height: clamp(2.3rem, 3vw, 3.68rem);
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.home-kiosk__tabs-brand-logo--mole img {
  display: block;
  width: min(100%, 17.8rem);
  max-height: clamp(2.48rem, 3.72vw, 4.48rem);
  object-fit: contain;
  filter: drop-shadow(0 0.28rem 0.58rem rgba(91, 51, 9, 0.18));
}

.home-kiosk__tabs-brand-logo--nudo {
  color: var(--home-kiosk-red);
  font-size: clamp(2.38rem, 3.26vw, 3.95rem);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 0.9;
  text-shadow: 0 0.28rem 0.64rem rgba(149, 16, 20, 0.17);
}

.home-kiosk__tabs-divider {
  width: clamp(6px, 0.52vw, 9px);
  min-height: 100%;
  align-self: stretch;
  border-radius: 999px;
  background: linear-gradient(180deg, transparent 1%, rgba(146, 122, 84, 0.17) 10%, rgba(84, 73, 57, 0.7) 50%, rgba(146, 122, 84, 0.17) 90%, transparent 99%);
  box-shadow: 0 0 0.92rem rgba(80, 70, 54, 0.2);
}

.home-kiosk-tab[data-home-kiosk-group="mole-tortas"] strong {
  color: #fff8f1;
  text-shadow: 0 2px 12px rgba(31, 23, 17, 0.24);
}

@media (max-width: 860px) {
  .home-kiosk__tabs.home-kiosk__tabs--branded {
    grid-template-columns: 1fr;
  }

  .home-kiosk__tabs-divider {
    width: 100%;
    min-height: 4px;
    background: linear-gradient(90deg, transparent, rgba(78, 73, 66, 0.44), transparent);
  }

  .home-kiosk__tabs-brand--nudo .home-kiosk__tabs-brand-buttons {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .home-kiosk__tabs-brand--mole .home-kiosk__tabs-brand-buttons,
  .home-kiosk__tabs-brand--nudo .home-kiosk__tabs-brand-buttons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.tip-preview-open {
  overflow: hidden;
}

.tip-preview-modal[hidden] {
  display: none;
}

.tip-preview-modal {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 3vw, 2rem);
}

.tip-preview-modal__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 20%, rgba(141, 17, 16, 0.2), transparent 42%),
    rgba(22, 12, 10, 0.52);
  backdrop-filter: blur(9px);
}

.tip-preview-modal__card {
  position: relative;
  width: min(94vw, 41rem);
  max-height: min(88vh, 46rem);
  overflow: auto;
  border: 2px solid rgba(141, 17, 16, 0.22);
  border-radius: clamp(1.5rem, 3.2vw, 2.35rem);
  background:
    linear-gradient(135deg, rgba(255, 253, 247, 0.98), rgba(255, 249, 240, 0.94)),
    #fffaf2;
  box-shadow:
    0 1.4rem 4rem rgba(45, 20, 16, 0.26),
    inset 0 0 0 1px rgba(255, 255, 255, 0.78);
  padding: clamp(1.25rem, 4vw, 2.25rem);
  color: #17110f;
}

.tip-preview-modal__close {
  position: absolute;
  top: clamp(0.85rem, 2vw, 1.2rem);
  right: clamp(0.85rem, 2vw, 1.2rem);
  width: 2.45rem;
  height: 2.45rem;
  border: 1px solid rgba(141, 17, 16, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.84);
  color: #8d1110;
  font: inherit;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.tip-preview-modal__kicker {
  margin: 0 0 0.35rem;
  color: #8d1110;
  font-size: clamp(0.82rem, 1vw, 0.96rem);
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tip-preview-modal__card h2 {
  max-width: 33rem;
  margin: 0 2.5rem 1.15rem 0;
  font-size: clamp(1.85rem, 5vw, 3.2rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.tip-preview-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.7rem, 2vw, 0.95rem);
}

.tip-preview-option,
.tip-preview-custom,
.tip-preview-secondary,
.tip-preview-primary {
  font: inherit;
  letter-spacing: 0;
}

.tip-preview-option {
  min-height: 6.2rem;
  border: 2px solid rgba(141, 17, 16, 0.16);
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.72);
  color: #221716;
  display: grid;
  gap: 0.22rem;
  justify-items: start;
  align-content: center;
  padding: 1rem;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.tip-preview-option strong {
  color: #8d1110;
  font-size: clamp(1.7rem, 4vw, 2.45rem);
  line-height: 0.9;
}

.tip-preview-option span {
  font-weight: 850;
}

.tip-preview-option small {
  color: rgba(32, 24, 22, 0.58);
  font-weight: 800;
}

.tip-preview-option.is-selected {
  border-color: rgba(141, 17, 16, 0.72);
  background: linear-gradient(135deg, rgba(141, 17, 16, 0.12), rgba(232, 179, 86, 0.18));
  box-shadow:
    0 0.9rem 1.8rem rgba(141, 17, 16, 0.14),
    inset 0 0 0 1px rgba(255, 230, 171, 0.7);
  transform: translateY(-1px);
}

.tip-preview-custom {
  display: grid;
  grid-template-columns: 1fr minmax(5.4rem, 7rem);
  align-items: center;
  gap: 0.8rem;
  margin: 0.95rem 0;
  border: 2px solid rgba(141, 17, 16, 0.16);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.66);
  padding: 0.75rem 0.85rem 0.75rem 1rem;
  font-weight: 900;
}

.tip-preview-custom input {
  min-width: 0;
  border: 1px solid rgba(141, 17, 16, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  padding: 0.72rem 0.8rem;
  color: #8d1110;
  font: inherit;
  font-size: 1.25rem;
  text-align: center;
}

.tip-preview-summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.45rem 1rem;
  margin-top: 0.8rem;
  border-top: 1px solid rgba(141, 17, 16, 0.14);
  border-bottom: 1px solid rgba(141, 17, 16, 0.14);
  padding: 1rem 0;
}

.tip-preview-summary span {
  color: rgba(34, 23, 22, 0.62);
  font-weight: 800;
}

.tip-preview-summary strong {
  color: #8d1110;
  font-size: 1.15rem;
}

.tip-preview-note {
  margin: 0.75rem 0 0;
  color: rgba(34, 23, 22, 0.64);
  font-size: 0.95rem;
  font-weight: 800;
}

.tip-preview-actions {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 0.75rem;
  margin-top: 1rem;
}

.tip-preview-secondary,
.tip-preview-primary {
  min-height: 3.8rem;
  border-radius: 999px;
  padding: 0.85rem 1rem;
  font-weight: 950;
  text-transform: uppercase;
  cursor: pointer;
}

.tip-preview-secondary {
  border: 2px solid rgba(141, 17, 16, 0.24);
  background: rgba(255, 255, 255, 0.78);
  color: #8d1110;
}

.tip-preview-primary {
  border: 0;
  background: linear-gradient(135deg, #8d1110, #b21e1a);
  color: #fffaf4;
  box-shadow: 0 0.8rem 1.7rem rgba(141, 17, 16, 0.2);
}

@media (max-width: 560px) {
  .tip-preview-options,
  .tip-preview-actions {
    grid-template-columns: 1fr;
  }

  .tip-preview-modal__card {
    max-height: 92vh;
  }
}
