* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  background-color: #fff48d;
}

html.root {
  background-color: #ff4d9a;
  color-scheme: light;
}

body[data-view^="main"] {
  --ink: #141110;
  --muted: rgba(20, 17, 16, 0.62);
  --yellow: #fff48d;
  --lime: #9afa6a;
  --mint: #74efd0;
  --pink: #f58fd3;
  --red: #ff665a;
  --blue: #8cb7ff;
  --white: #fffefa;
  --hot: #ff2f6e;
  --flame: #ff8a2b;
  --acid: #e9ff4f;
  --paper: #fffdf9;
  --live: #12c46a;
  --bd: 3px solid var(--ink);
  --shadow: 7px 7px 0 var(--ink);
  --shadow-sm: 4px 4px 0 var(--ink);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background-color: #ff4d9a;
  background-image:
    radial-gradient(circle at 0% 0%, #ff4d9a 0, #ff8f79 28%, rgba(255, 143, 121, 0) 55%),
    radial-gradient(circle at 100% 30%, #fff979 0, #fff48d 55%, #fff48d 100%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: 100vw 100vh;
  font-family: "Montserrat", Arial, sans-serif;
  overflow-x: hidden;
}

body[data-view^="main"].modal-open {
  overflow: hidden;
}

body[data-view^="main"] a {
  color: inherit;
}

body[data-view^="main"] img {
  max-width: 100%;
}

.ui-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  max-width: none;
  aspect-ratio: 1 / 1;
  flex: 0 0 auto;
  object-fit: contain;
  vertical-align: middle;
  pointer-events: none;
  user-select: none;
}

.heart-icon {
  width: 22px;
  height: 22px;
  aspect-ratio: 1;
}

.arrow-icon {
  width: 16px;
  height: 16px;
}

.check-icon {
  width: 15px;
  height: 15px;
  min-width: 15px;
  min-height: 15px;
}

body[data-view^="main"] button,
body[data-view^="main"] input,
body[data-view^="main"] summary {
  font: inherit;
}

.page {
  position: relative;
  max-width: 100%;
  min-height: 100vh;
  overflow-x: clip;
  isolation: isolate;
}

.skip-link {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 100;
  transform: translateY(calc(-100% - 40px));
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-nav {
  position: fixed;
  top: 18px;
  left: 50vw;
  z-index: 120;
  display: flex;
  width: max-content;
  max-width: calc(100% - 32px);
  align-items: center;
  gap: 10px;
  transform: translateX(-50%);
}

.site-nav-links {
  display: inline-flex;
  min-width: 0;
  max-width: 100%;
  align-items: center;
  gap: 5px;
  padding: 3px 5px;
  color: var(--ink);
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 999px;
  box-shadow: 0 5px 0 var(--ink);
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.site-nav-links::-webkit-scrollbar {
  display: none;
}

.brand-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 34px;
  padding: 4px 13px;
  font-size: 23px;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
  font-size: 16px;
  font-weight: 900;
}

.favorites-menu {
  position: relative;
  flex: 0 0 auto;
  z-index: 1;
}

.site-nav-links .site-nav-link {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: var(--ink);
  text-decoration: none;
  background: transparent;
  border: 1.5px solid transparent;
  border-radius: 999px;
  white-space: nowrap;
  font-family: inherit;
  font-size: 15px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: 0;
  transition: background-color 180ms var(--ease), border-color 180ms var(--ease), transform 180ms var(--ease);
}

.site-nav-links > a.site-nav-link {
  padding: 6px 15px;
}

.site-nav-links > a.brand-pill {
  padding: 4px 13px 4px 5px;
  font-size: 23px;
  font-weight: 900;
}

.site-nav-links .site-nav-link.is-active {
  background: var(--yellow);
  border-color: var(--ink);
}

.favorites-toggle {
  min-height: 34px;
  gap: 9px;
  padding: 2px 6px 2px 12px;
  cursor: pointer;
}

.favorites-toggle strong {
  font: inherit;
}

.favorites-toggle .favorite-icon {
  display: grid;
  width: 24px;
  min-width: 24px;
  height: 24px;
  place-items: center;
}

.favorites-toggle .nav-heart {
  width: 24px;
  min-width: 24px;
  height: 24px;
}

.favorites-toggle .heart-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(42%) sepia(96%) saturate(2393%) hue-rotate(322deg) brightness(101%) contrast(105%);
}

.favorites-toggle em {
  display: grid;
  min-width: 26px;
  height: 26px;
  place-items: center;
  padding: 0 7px;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-size: 13px;
  font-style: normal;
  font-weight: 950;
}

.favorites-toggle.has-items .heart-icon,
.favorites-toggle.is-active .heart-icon {
  filter: brightness(0) saturate(100%) invert(42%) sepia(96%) saturate(2393%) hue-rotate(322deg) brightness(101%) contrast(105%);
}

.favorites-menu.is-open .favorites-toggle,
.favorites-toggle.is-active {
  background: var(--yellow);
  border-color: var(--ink);
}

.nav-search {
  position: relative;
  flex: 0 0 auto;
}

.nav-search-toggle {
  display: grid;
  width: 44px;
  height: 44px;
  min-height: 44px;
  place-items: center;
  padding: 0;
  color: var(--ink);
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 50%;
  box-shadow: 0 5px 0 var(--ink);
  cursor: pointer;
  transition: transform 160ms var(--ease), box-shadow 160ms var(--ease), background-color 160ms var(--ease);
}

.nav-search-icon {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: var(--ink);
}

.nav-search-icon svg {
  width: 100%;
  height: 100%;
}

.nav-search.is-open .nav-search-toggle,
.nav-search-toggle.is-active {
  background: var(--yellow);
  border-color: var(--ink);
}

@media (hover: hover) {
  .nav-search-toggle:hover {
    background: var(--yellow);
    transform: translateY(2px);
    box-shadow: 0 3px 0 var(--ink);
  }
}

.nav-search-toggle:active {
  transform: translateY(5px);
  box-shadow: 0 0 0 var(--ink);
}

.nav-search-panel {
  display: grid;
  gap: 10px;
}

.nav-search-input {
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  color: var(--ink);
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 12px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
}

.nav-search-input::placeholder {
  color: rgba(29, 28, 28, 0.5);
  font-weight: 600;
}

.nav-search-input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(20, 17, 16, 0.12);
}

.favorites-panel {
  position: fixed;
  top: var(--favorites-panel-top, 74px);
  left: var(--favorites-panel-left, 16px);
  right: auto;
  width: min(var(--favorites-panel-width, 340px), calc(100vw - 32px));
  max-height: min(420px, calc(100vh - 96px));
  overflow: auto;
  padding: 12px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 16px;
  box-shadow: 7px 8px 0 var(--ink);
}

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

.favorites-empty {
  margin: 0;
  color: rgba(29, 28, 28, 0.72);
  font-size: 13px;
  line-height: 1.25;
  font-weight: 850;
}

.favorites-list {
  display: grid;
  gap: 8px;
  padding: 0 2px 3px 0;
}

.favorites-list[hidden] {
  display: none;
}

.favorites-empty:not([hidden]) + .favorites-list:not(:empty) {
  margin-top: 10px;
}

.favorite-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 30px;
  gap: 8px;
  align-items: center;
  min-height: 58px;
  padding: 7px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 12px;
  box-shadow: 6px 7px 0 var(--ink);
  cursor: pointer;
  transform: translate(-2px, -2px);
  transition: transform 140ms var(--ease), box-shadow 140ms var(--ease);
}

.favorite-item:hover {
  transform: translate(0, 0);
  box-shadow: 4px 5px 0 var(--ink);
}

.favorite-item:active {
  transform: translate(0, 0);
  box-shadow: 2px 2px 0 var(--ink);
}

.favorite-item.is-search-hit {
  grid-template-columns: minmax(0, 1fr);
}

.favorite-link {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
}

.favorite-item-logo {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  overflow: hidden;
  background: var(--white);
  border: 0;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 950;
}

.favorite-item-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.favorite-item-name {
  min-width: 0;
}

.favorite-item-name strong,
.favorite-item-name span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.favorite-item-name strong {
  font-size: 15px;
  line-height: 1.05;
  font-weight: 950;
}

.favorite-item-name span {
  margin-top: 3px;
  color: rgba(29, 28, 28, 0.66);
  font-size: 12px;
  font-weight: 900;
}

.favorite-remove {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: var(--ink);
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 999px;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  font-weight: 950;
}

.favorite-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  margin: 0 0 18px;
  padding: 6px 14px 6px 9px;
  color: var(--ink);
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 999px;
  box-shadow: 0 8px 0 var(--ink);
  cursor: pointer;
  font-size: 15px;
  line-height: 1;
  font-weight: 950;
  transform: translateY(-3px);
  transition:
    transform 180ms var(--ease),
    box-shadow 180ms var(--ease),
    background-color 180ms var(--ease);
}

.favorite-button .favorite-icon {
  display: grid;
  width: 28px;
  min-width: 28px;
  height: 28px;
  place-items: center;
  padding: 2px;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.favorite-button .heart-icon {
  width: 21px;
  height: 21px;
}

.favorite-button.is-active {
  background: var(--pink);
}

.favorite-button.is-active .favorite-icon {
  background: transparent;
  border-color: transparent;
}

.favorite-button.is-active .heart-icon {
  filter: brightness(0) saturate(100%) invert(35%) sepia(96%) saturate(3145%) hue-rotate(333deg) brightness(105%) contrast(105%);
}

.bottom-nav,
.corner-pill,
.lang-pill {
  position: fixed;
  z-index: 65;
  background: var(--white);
  border: 2px solid var(--ink);
  box-shadow: 0 5px 0 var(--ink);
}

.bottom-nav {
  left: 50%;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: calc(100% - 300px);
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  transform: translateX(-50%);
  white-space: nowrap;
}

.bottom-nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.to-top {
  position: fixed;
  right: 20px;
  bottom: 18px;
  z-index: 65;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  padding: 0;
  color: var(--ink);
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 50%;
  box-shadow: 0 5px 0 var(--ink);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 200ms var(--ease), transform 200ms var(--ease), background-color 160ms var(--ease);
  pointer-events: none;
}

.to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.to-top:hover {
  background: var(--yellow);
}

.to-top:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 var(--ink);
}

.to-top.is-visible:active {
  background: var(--acid);
  transform: translateY(4px) scale(0.94);
  box-shadow: 0 0 0 var(--ink);
}

.to-top svg {
  width: 22px;
  height: 22px;
}

@media (max-width: 820px) {
  .to-top {
    right: 14px;
    bottom: 14px;
    width: 46px;
    height: 46px;
  }

  .to-top svg {
    width: 19px;
    height: 19px;
  }
}

.bottom-nav a {
  color: var(--ink);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  font-size: 16px;
  font-weight: 800;
}

.menu-button {
  display: none;
}

.corner-pill {
  left: 30px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 12px 0 20px;
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  font-size: 16px;
  font-weight: 900;
}

.corner-pill i,
.arrow-button i {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: var(--yellow);
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  font-style: normal;
  font-weight: 900;
}

.corner-pill i .arrow-icon,
.arrow-button i .arrow-icon {
  width: 15px;
  height: 15px;
}

.lang-pill {
  right: 106px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 6px;
  border-radius: 999px;
  gap: 6px;
  font-size: 14px;
  font-weight: 900;
}

.lang-pill span,
.lang-pill strong {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
}

.lang-pill strong {
  background: var(--yellow);
  border: 1.5px solid var(--ink);
}

.hero {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  min-height: 760px;
  padding: 98px 24px 88px;
  overflow: visible;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 1030px;
  text-align: center;
}

.hero-copy p {
  max-width: 660px;
  margin: 0 auto 22px;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 800;
}

/* ── Купон-тикет hero ── */
.hero-ticket {
  max-width: 900px;
  width: 100%;
  text-align: left;
  background: var(--paper);
  border: var(--bd);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.hero-ticket-body {
  padding: clamp(22px, 4vw, 40px) clamp(20px, 4vw, 44px) 26px;
}

.hero-live-dot {
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 0 3px rgba(18, 196, 106, 0.25);
}

.hero-ticket h1 {
  margin: 0;
  max-width: 100%;
  color: var(--ink);
  font-family: "Unbounded", "Montserrat", Arial, sans-serif;
  font-size: clamp(26px, 7.5vw, 62px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}

.hero-em {
  color: var(--hot);
}

.hero-copy p.hero-lede {
  max-width: 100%;
  margin: 14px 0 0;
  color: #3b3330;
  font-size: clamp(13px, 1.6vw, 18px);
  line-height: 1.4;
  font-weight: 600;
  white-space: nowrap;
  overflow-wrap: normal;
  text-align: left;
}

.hero-search {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero-search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  gap: 8px;
  max-height: 360px;
  overflow-y: auto;
  padding: 4px;
}

.hero-search-results[hidden] {
  display: none;
}

.hero-search-results .shop-search-empty {
  padding: 12px 14px;
  color: var(--ink);
  background: var(--paper);
  border: var(--bd);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.hero-search-field {
  position: relative;
  display: flex;
  flex: 1;
  align-items: center;
  gap: 12px;
  height: 60px;
  padding: 0 16px;
  background: #fff;
  border: var(--bd);
  border-radius: 14px;
}

.hero-search-field:focus-within {
  box-shadow: var(--shadow-sm);
}

.hero-search-field svg {
  position: relative;
  z-index: 2;
  flex: none;
  color: var(--ink);
}

.hero-search-field input {
  position: relative;
  z-index: 2;
  width: 100%;
  border: 0;
  outline: 0;
  background: none;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}

.hero-search-placeholder {
  position: absolute;
  top: 0;
  right: 16px;
  bottom: 0;
  left: 50px;
  z-index: 1;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #9a908b;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 600;
  pointer-events: none;
  transition: opacity 140ms var(--ease);
}

.hero-search-prefix {
  flex: none;
  white-space: nowrap;
}

.hero-search-brand {
  position: relative;
  flex: 1;
  min-width: 0;
  height: 1.25em;
  overflow: hidden;
}

.hero-search-brand > b {
  position: absolute;
  inset: 0;
  color: inherit;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transform: translateY(0);
  opacity: 1;
  transition:
    transform 240ms cubic-bezier(0.77, 0, 0.175, 1),
    opacity 180ms var(--ease);
}

.hero-search-brand > b.is-next {
  transform: translateY(105%);
  opacity: 0;
}

.hero-search-brand > b.is-leaving {
  transform: translateY(-105%);
  opacity: 0;
}

.hero-search-brand > b.is-next.is-entering {
  transform: translateY(0);
  opacity: 1;
}

.hero-search-field:focus-within .hero-search-placeholder,
.hero-search-field.has-value .hero-search-placeholder {
  opacity: 0;
}

.hero-search-go {
  flex: none;
  height: 60px;
  padding: 0 28px;
  color: var(--ink);
  background: var(--acid);
  border: var(--bd);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  font-family: "Unbounded", "Montserrat", Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 120ms var(--ease), box-shadow 120ms var(--ease);
}

@media (hover: hover) {
  .hero-search-go:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 var(--ink);
  }
}

.hero-search-go:active {
  transform: translate(4px, 4px);
  box-shadow: none;
}

.hero-chips {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  margin-top: 18px;
}

.hero-chips-label {
  flex: none;
  color: #6d635e;
  font-size: 14px;
  font-weight: 700;
}

.hero-chips-row {
  display: flex;
  min-width: 0;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  mask-image: linear-gradient(90deg, #000 92%, transparent);
}

.hero-chips-row::-webkit-scrollbar {
  display: none;
}

.hero-chip {
  flex: none;
  padding: 5px 14px;
  color: var(--ink);
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

@media (hover: hover) {
  .hero-chip:hover {
    background: var(--acid);
  }
}

.hero-tear {
  position: relative;
  height: 0;
  margin: 0 18px;
  border-top: 3px dashed var(--ink);
}

.hero-tear span {
  position: absolute;
  top: -15px;
  left: 22px;
  padding: 0 8px;
  background: var(--paper);
  font-size: 18px;
  line-height: 1;
}

.hero-stub {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 22px 15px;
  overflow: hidden;
}

.hero-stub-tag {
  display: flex;
  flex: none;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-ticker {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 88%, transparent);
}

.hero-ticker-track {
  display: flex;
  gap: 34px;
  width: max-content;
  white-space: nowrap;
  animation: hero-ticker-run 68s linear infinite;
}

.hero-ticker-item {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35em;
  padding: 0;
  color: #4a423e;
  background: none;
  border: 0;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.hero-ticker-item.is-copyable {
  cursor: pointer;
}

@media (hover: hover) {
  .hero-ticker-item.is-copyable:hover b {
    text-decoration: underline;
    text-underline-offset: 3px;
  }
}

.hero-ticker-item b {
  color: var(--ink);
}

@keyframes hero-ticker-run {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.hero-art {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  color: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: 5px 6px 0 var(--ink);
}

.hero-badge {
  --badge-rot: 14deg;
  left: 22%;
  bottom: 24%;
  display: grid;
  width: clamp(54px, 5vw, 78px);
  height: clamp(54px, 5vw, 78px);
  place-items: center;
  background: var(--lime);
  border-radius: 50%;
}

.hero-badge--mint {
  --badge-rot: -16deg;
  left: 8%;
  bottom: 15%;
  width: clamp(38px, 3.2vw, 54px);
  height: clamp(38px, 3.2vw, 54px);
  background: var(--mint);
}

.hero-badge--pink {
  --badge-rot: 9deg;
  left: 34%;
  top: 18%;
  width: clamp(42px, 3.6vw, 58px);
  height: clamp(42px, 3.6vw, 58px);
  background: var(--pink);
}

.hero-badge--blue {
  --badge-rot: -9deg;
  right: 26%;
  bottom: 17%;
  left: auto;
  width: clamp(40px, 3.4vw, 56px);
  height: clamp(40px, 3.4vw, 56px);
  background: var(--blue);
}

.hero-badge--red {
  --badge-rot: 18deg;
  right: 12%;
  bottom: 36%;
  left: auto;
  width: clamp(44px, 3.8vw, 62px);
  height: clamp(44px, 3.8vw, 62px);
  background: var(--red);
}

.hero-badge--yellow {
  --badge-rot: 7deg;
  left: 14%;
  top: 16%;
  width: clamp(36px, 3vw, 50px);
  height: clamp(36px, 3vw, 50px);
  background: var(--yellow);
}

.hero-badge--teal {
  --badge-rot: -12deg;
  left: 6%;
  top: 46%;
  width: clamp(34px, 3vw, 48px);
  height: clamp(34px, 3vw, 48px);
  background: #68ead2;
}

.hero-badge--violet {
  --badge-rot: 16deg;
  right: 34%;
  top: 28%;
  left: auto;
  width: clamp(38px, 3.4vw, 54px);
  height: clamp(38px, 3.4vw, 54px);
  background: #b8a1ff;
}

.hero-badge--orange {
  --badge-rot: -18deg;
  right: 7%;
  top: 25%;
  left: auto;
  width: clamp(48px, 4.4vw, 70px);
  height: clamp(48px, 4.4vw, 70px);
  background: #ffb14f;
}

.hero-badge--white {
  --badge-rot: 10deg;
  left: 30%;
  top: 60%;
  width: clamp(32px, 2.8vw, 46px);
  height: clamp(32px, 2.8vw, 46px);
  background: var(--white);
}

.hero-badge--lime-small {
  --badge-rot: -7deg;
  right: 18%;
  top: 66%;
  left: auto;
  width: clamp(34px, 3.1vw, 50px);
  height: clamp(34px, 3.1vw, 50px);
  background: #c7ff4f;
}

.hero-badge--rose-large {
  --badge-rot: 15deg;
  left: 41%;
  bottom: 14%;
  width: clamp(44px, 4vw, 66px);
  height: clamp(44px, 4vw, 66px);
  background: #ff7fba;
}

.hero-badge--cyan-small {
  --badge-rot: -10deg;
  left: 18%;
  top: 34%;
  width: clamp(30px, 2.7vw, 44px);
  height: clamp(30px, 2.7vw, 44px);
  background: #7ff6ff;
}

.hero-badge--apricot {
  --badge-rot: 13deg;
  right: 22%;
  top: 15%;
  left: auto;
  width: clamp(40px, 3.5vw, 58px);
  height: clamp(40px, 3.5vw, 58px);
  background: #ffc56f;
}

.hero-badge--lavender {
  --badge-rot: -17deg;
  right: 43%;
  bottom: 8%;
  left: auto;
  width: clamp(36px, 3.2vw, 52px);
  height: clamp(36px, 3.2vw, 52px);
  background: #d7a4ff;
}

.hero-badge--green-tiny {
  --badge-rot: 8deg;
  left: 4%;
  top: 28%;
  width: clamp(28px, 2.4vw, 40px);
  height: clamp(28px, 2.4vw, 40px);
  background: #b3ff62;
}

.hero-badge--coral-small {
  --badge-rot: 20deg;
  right: 5%;
  bottom: 24%;
  left: auto;
  width: clamp(34px, 2.9vw, 48px);
  height: clamp(34px, 2.9vw, 48px);
  background: #ff7c71;
}

.hero-badge--cream {
  --badge-rot: -6deg;
  left: 48%;
  top: 9%;
  width: clamp(32px, 2.8vw, 46px);
  height: clamp(32px, 2.8vw, 46px);
  background: #fff6bd;
}

.hero.is-physics-ready .hero-badge {
  left: 0;
  top: 0;
  right: auto;
  bottom: auto;
  z-index: 30;
  pointer-events: auto;
  cursor: grab;
  touch-action: none;
  transform: translate3d(var(--badge-x, 0px), var(--badge-y, 0px), 0);
  will-change: transform;
}

.hero.is-physics-ready .hero-badge.is-dragging {
  z-index: 5;
  cursor: grabbing;
}

.hero-badge span {
  display: block;
  font-size: clamp(26px, 3vw, 44px);
  line-height: 1;
  font-weight: 950;
  transform: rotate(var(--badge-rot));
}

.hero-badge--mint span,
.hero-badge--pink span,
.hero-badge--blue span,
.hero-badge--red span,
.hero-badge--yellow span,
.hero-badge--teal span,
.hero-badge--violet span,
.hero-badge--orange span,
.hero-badge--white span,
.hero-badge--lime-small span,
.hero-badge--rose-large span,
.hero-badge--cyan-small span,
.hero-badge--apricot span,
.hero-badge--lavender span,
.hero-badge--green-tiny span,
.hero-badge--coral-small span,
.hero-badge--cream span {
  font-size: clamp(20px, 2.1vw, 30px);
}

.hero h1,
.store-hero h1,
.category-hero h1,
.store-heading h1 {
  margin: 0;
  color: var(--ink);
  font-size: 52px;
  line-height: 0.98;
  font-weight: 950;
  text-transform: uppercase;
  text-wrap: balance;
  letter-spacing: 0;
}

.arrow-button {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 10px 0 22px;
  color: var(--ink);
  text-decoration: none;
  border: 2px solid var(--ink);
  border-radius: 999px;
  box-shadow: 0 5px 0 var(--ink);
  transform: translateX(-50%);
  font-size: 16px;
  font-weight: 900;
  background: var(--white);
  white-space: nowrap;
  transition: transform 160ms var(--ease), box-shadow 160ms var(--ease);
}

.hero .arrow-button {
  position: relative;
  left: auto;
  bottom: auto;
  transform: none;
}

.section {
  position: relative;
  width: min(1180px, calc(100% - 80px));
  margin: 0 auto;
  padding: 42px 0;
  scroll-margin-top: 92px;
}

.heading-pair {
  max-width: 680px;
  margin-bottom: 30px;
}

.heading-pair.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.heading-pair p,
.top-title {
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 900;
}

.heading-pair h2,
.what h2,
.store-brief h2 {
  margin: 0;
  font-size: 44px;
  line-height: 1.02;
  font-weight: 950;
  text-transform: uppercase;
}

.what {
  display: grid;
  min-height: 360px;
  grid-template-columns: minmax(0, 820px);
  justify-content: center;
  gap: 0;
  align-items: center;
}

.what p:last-child {
  max-width: 650px;
  margin: 20px 0 0;
  font-size: 18px;
  line-height: 1.34;
  font-weight: 800;
}

.home-text {
  padding-top: 54px;
}

.home-article {
  max-width: 980px;
  margin: 0 auto;
  padding: 44px 52px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 14px;
  box-shadow: 7px 8px 0 var(--ink);
}

.home-article h2 {
  margin: 0 0 22px;
  font-size: 42px;
  line-height: 1.04;
  font-weight: 950;
  text-transform: uppercase;
}

.home-article h3 {
  margin: 28px 0 12px;
  font-size: 29px;
  line-height: 1.08;
  font-weight: 950;
  text-transform: uppercase;
}

.home-article p,
.home-article li {
  font-size: 16px;
  line-height: 1.45;
  font-weight: 650;
}

.home-article p {
  margin: 0 0 16px;
}

.home-article p:last-child {
  margin-bottom: 0;
}

.home-article ol {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  padding-left: 24px;
}

.store-card,
.store-brief,
.activity-card,
.bars-card,
.guide-card,
.faq-grid details,
.home-article {
  border: 2px solid var(--ink);
  box-shadow: 7px 8px 0 var(--ink);
}

.store-tile,
.offer-card {
  border: var(--bd);
  box-shadow: var(--shadow);
}

.logo-box {
  position: relative;
  display: grid;
  width: 68px;
  height: 68px;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  background: var(--white);
  border-radius: 16px;
}

.logo-box.small {
  width: 52px;
  height: 52px;
  border-radius: 13px;
}

.logo-box.large,
.logo-box.hero {
  width: 112px;
  height: 112px;
  border-radius: 22px;
}

.logo-box.hero {
  background: var(--white);
  box-shadow: 0 6px 0 var(--ink);
}

.logo-box img {
  position: relative;
  z-index: 2;
  width: 70%;
  height: 70%;
  object-fit: contain;
  opacity: 1;
}

.logo-box > span {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  color: var(--ink);
  background: var(--lime);
  font-size: 20px;
  font-weight: 950;
}

.logo-box:has(> img) > span {
  display: none;
}

.logo-box:not(:has(> img)) > span {
  display: grid;
}

.codes-section {
  padding-top: 56px;
}

.codes-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  min-width: 0;
  gap: 24px;
  margin-bottom: 30px;
}

.codes-head.compact {
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.codes-head .heading-pair {
  margin-bottom: 0;
}

.filter-pills {
  display: inline-flex;
  min-width: 0;
  max-width: 100%;
  flex: 0 1 auto;
  gap: 4px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 999px;
  box-shadow: 5px 6px 0 var(--ink);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.filter-pills::-webkit-scrollbar {
  display: none;
}

.filter-pills button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: 15px;
  line-height: 1;
  font-weight: 950;
  white-space: nowrap;
}

.filter-pills button span {
  color: rgba(29, 28, 28, 0.58);
  font-size: 13px;
  font-weight: 950;
}

.filter-pills button:hover {
  background: #f3ffd2;
}

.filter-pills button:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.filter-pills button.is-active {
  background: var(--yellow);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}

.filter-pills button.is-active span {
  color: var(--ink);
}

.filter-pills button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.view-switch {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 4px;
  padding: 4px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 999px;
  box-shadow: 5px 6px 0 var(--ink);
}

.view-switch button {
  min-height: 38px;
  padding: 0 16px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: 15px;
  line-height: 1;
  font-weight: 950;
}

.view-switch button:hover {
  background: #f3ffd2;
}

.view-switch button:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.view-switch button.is-active {
  background: var(--yellow);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}

.offer-grid {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.offer-grid.store {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.offer-grid.store.is-list {
  grid-template-columns: 1fr;
  gap: 16px;
}

.offer-card {
  position: relative;
  min-height: 260px;
  padding: 20px 20px 18px;
  background: var(--paper);
  border-radius: 16px;
}

.offer-card.is-featured {
  background: var(--paper);
}

.offer-card.is-filter-hidden {
  display: none;
}

.offer-group-title {
  grid-column: 1 / -1;
  margin: 22px 0 4px;
  color: var(--ink);
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

.offer-group-title.is-filter-hidden {
  display: none;
}

.offer-grid.store.is-list .offer-card {
  min-height: 0;
  padding: 20px 22px;
}

.offer-grid.store.is-list .offer-card p {
  max-width: 720px;
}

.ribbon {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  max-width: 126px;
  padding: 6px 12px 7px;
  overflow: hidden;
  color: var(--white);
  background: var(--hot);
  border: var(--bd);
  border-width: 0 0 3px 3px;
  border-radius: 0 14px 0 12px;
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  text-align: center;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.offer-main {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  min-width: 0;
}

.offer-main .logo-box {
  width: 57px;
  height: 57px;
  margin-top: 0;
}

.offer-main .logo-box img {
  width: 92%;
  height: 92%;
}

.offer-logo-link,
.store-logo-link {
  display: inline-flex;
  width: fit-content;
  color: inherit;
  text-decoration: none;
  border-radius: 16px;
  transition: transform 140ms var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .offer-logo-link:hover,
  .store-logo-link:hover {
    transform: translateY(2px);
  }
}

.offer-logo-link:active,
.store-logo-link:active {
  transform: translateY(3px) scale(0.96);
}

.offer-logo-link:focus-visible,
.store-logo-link:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
}

.offer-layout {
  display: grid;
  min-height: 100%;
  grid-template-rows: 1fr auto;
  gap: 16px;
}

.offer-grid.store.is-list .offer-layout {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 32%);
  grid-template-rows: auto;
  align-items: center;
  gap: 22px;
}

.offer-copy {
  min-width: 0;
}

.offer-card h3 {
  margin: 0 0 8px;
  font-family: "Unbounded", "Montserrat", Arial, sans-serif;
  font-size: 22px;
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.offer-card p {
  margin: 0;
  color: rgba(29, 28, 28, 0.76);
  font-size: 15px;
  line-height: 1.34;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.offer-grid.store.is-grid .offer-card p {
  display: none;
}

.offer-detail-description {
  display: none;
}

.offer-grid.store.is-grid .offer-detail-description {
  display: list-item;
}

.offer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 12px;
  margin: 0 0 10px;
  color: rgba(29, 28, 28, 0.58);
  font-size: 13px;
  line-height: 1.25;
  font-weight: 500;
}

.offer-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  line-height: 1.15;
  white-space: nowrap;
}

.offer-meta span.is-expiring-today {
  color: #e24138;
}

.offer-meta .check-icon {
  width: 15px;
  height: 15px;
  min-width: 15px;
  min-height: 15px;
}

.offer-cta {
  display: flex;
  width: min(100%, 330px);
  flex-direction: column;
  justify-self: center;
  align-self: end;
  align-items: center;
  gap: 8px;
}

.offer-grid.store.is-list .offer-cta {
  width: 100%;
  max-width: 360px;
  justify-self: end;
  align-self: center;
  align-items: stretch;
}

.offer-used {
  display: block;
  margin-top: 6px;
  color: rgba(29, 28, 28, 0.58);
  font-size: 13px;
  line-height: 1.2;
  font-weight: 500;
  text-align: center;
}

.offer-used.is-updated {
  animation: count-pop 360ms var(--ease);
}

.code-action {
  display: grid;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  padding: 0;
  grid-template-columns: minmax(0, 1fr) minmax(118px, auto);
  align-items: stretch;
  min-height: 54px;
  overflow: hidden;
  color: var(--ink);
  background: var(--paper);
  border: var(--bd);
  border-radius: 14px;
  cursor: pointer;
  text-decoration: none;
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease);
}

.code-action span {
  display: grid;
  width: 100%;
  height: 100%;
  min-width: 0;
  place-items: center;
  padding: 0 10px;
  border-right: 2px dashed var(--ink);
  font-family: "JetBrains Mono", monospace;
  font-size: 15px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.code-action.link span {
  border-right: 0;
  font-family: "Unbounded", "Montserrat", Arial, sans-serif;
}

.code-action b {
  display: grid;
  height: 100%;
  align-content: center;
  align-self: stretch;
  justify-self: stretch;
  min-width: 118px;
  justify-items: center;
  gap: 0;
  padding: 0 18px;
  color: var(--ink);
  background: var(--acid);
  text-transform: uppercase;
  white-space: nowrap;
}

.code-action b strong,
.code-action b small {
  display: block;
  line-height: 0.95;
}

.code-action b strong {
  font-size: 12px;
  font-weight: 900;
}

.code-action b small {
  margin-top: 0;
  font-size: 12px;
  font-weight: 600;
}

.code-action.link b {
  min-width: 128px;
  background: var(--red);
  color: var(--ink);
}

@media (hover: hover) {
  .brand-pill:hover {
    transform: none;
  }

  .site-nav-links > a.site-nav-link:hover,
  .favorites-toggle:hover {
    background: var(--yellow);
    border-color: var(--ink);
    transform: none;
  }

  .code-action:hover,
  body[data-view^="main"] .store-shop-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 0 var(--ink);
  }

  .favorite-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 0 var(--ink);
  }

  .store-tile:hover {
    transform: translate(2px, 2px);
    box-shadow: 3px 4px 0 var(--ink);
  }

  .store-tile:hover .store-tile-arrow {
    opacity: 1;
    transform: none;
  }

  .arrow-button:hover {
    transform: translateX(-50%) translateY(2px);
    box-shadow: 0 3px 0 var(--ink);
  }

  .hero .arrow-button:hover {
    transform: translateY(2px);
  }
}

.code-action:active,
body[data-view^="main"] .store-shop-button:active {
  transform: translateY(0);
  box-shadow: 0 0 0 var(--ink);
}

.brand-pill:active {
  transform: none;
}

.site-nav-links > a.site-nav-link:active,
.favorites-toggle:active {
  background: var(--yellow);
}

.favorite-button:active {
  transform: translateY(3px);
  box-shadow: 0 0 0 var(--ink);
}

.arrow-button:active {
  transform: translateX(-50%) translateY(5px);
  box-shadow: none;
}

.hero .arrow-button:active {
  transform: translateY(5px);
}

.store-tile:active {
  transform: translate(4px, 4px);
  box-shadow: 0 1px 0 var(--ink);
}

.noscript-code {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 950;
}

.code-details {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 2px dashed rgba(20, 17, 16, 0.22);
}

.code-details summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 8px;
  width: 100%;
  min-height: 0;
  padding: 0;
  color: rgba(29, 28, 28, 0.7);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  list-style: none;
  transition: color 160ms var(--ease);
}

.code-details summary span {
  display: -webkit-box;
  overflow: hidden;
  font-size: 15px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.code-details[open] summary span {
  display: block;
  overflow: visible;
}

.code-details summary::-webkit-details-marker {
  display: none;
}

.code-details summary::after {
  content: "▾";
  font-size: 13px;
  line-height: 1;
  transform: translateY(4px);
  transition: transform 160ms var(--ease);
}

.code-details[open] summary::after {
  transform: translateY(4px) rotate(180deg);
}

@media (hover: hover) {
  .code-details summary:hover {
    color: var(--ink);
  }
}

.code-details summary:active {
  color: var(--ink);
}

.code-details summary:focus-visible {
  outline: 2px solid rgba(29, 28, 28, 0.35);
  outline-offset: 4px;
  border-radius: 3px;
}

.code-details > div {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(29, 28, 28, 0.14);
}

.code-details p,
.code-details li {
  color: rgba(29, 28, 28, 0.58);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.25;
}

.code-details ul {
  margin: 10px 0 0;
  padding-left: 17px;
}

.code-details > div > ul:first-child {
  margin-top: 0;
}

.shops {
  min-height: 0;
}

.shops-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 16px 26px;
  margin-bottom: 18px;
}

.shops-head .heading-pair {
  flex: 1 1 260px;
  margin-bottom: 0;
}

.shop-search {
  display: flex;
  position: relative;
  flex: 0 1 340px;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 50px;
  min-width: 0;
  max-width: 340px;
  margin-left: auto;
  padding: 0 15px;
  color: var(--ink);
  background: var(--paper);
  border: var(--bd);
  border-radius: 12px;
}

.shop-search:focus-within {
  box-shadow: var(--shadow-sm);
}

.shop-search svg {
  flex: none;
}

.shop-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: none;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.shop-search input::placeholder {
  color: #9a908b;
  font-weight: 600;
}

.shop-search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  gap: 4px;
  max-height: 360px;
  overflow-y: auto;
  padding: 8px;
  background: var(--paper);
  border: var(--bd);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}

.shop-search-results[hidden] {
  display: none;
}

.shop-search-hit {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 8px;
  color: var(--ink);
  text-decoration: none;
  border-radius: 8px;
}

.shop-search-hit:hover,
.shop-search-hit:focus-visible {
  background: rgba(233, 255, 79, 0.5);
}

.shop-search-hit .logo-box {
  flex: none;
}

.shop-search-hit-text {
  min-width: 0;
  overflow: hidden;
}

.shop-search-hit-text strong {
  display: block;
  overflow: hidden;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.shop-search-hit-text span {
  display: block;
  overflow: hidden;
  color: rgba(20, 17, 16, 0.6);
  font-size: 12.5px;
  font-weight: 500;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.shop-search-empty {
  padding: 10px 8px;
  color: rgba(20, 17, 16, 0.6);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.shop-tags {
  display: flex;
  flex-wrap: nowrap;
  min-width: 0;
  gap: 8px;
  margin-bottom: 22px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  mask-image: linear-gradient(90deg, #000 92%, transparent);
}

.shop-tags::-webkit-scrollbar {
  display: none;
}

.shop-tag {
  flex: none;
  padding: 5px 14px;
  color: var(--ink);
  text-decoration: none;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

.shop-tag.is-active {
  color: var(--paper);
  background: var(--ink);
}

@media (hover: hover) {
  .shop-tag:not(.is-active):hover {
    background: var(--acid);
  }
}

.catalog-more {
  margin: 24px 0 0;
  text-align: center;
}

.catalog-more .arrow-button {
  position: relative;
  left: auto;
  bottom: auto;
  transform: none;
}

.catalog-more .arrow-button:hover {
  transform: translateY(2px);
  box-shadow: 0 3px 0 var(--ink);
}

.catalog-more .arrow-button:active {
  transform: translateY(5px);
  box-shadow: none;
}

.category-hero {
  display: grid;
  grid-template-columns: minmax(0, 760px);
  align-content: end;
  align-items: end;
  gap: 16px;
  min-height: 300px;
  padding-top: 128px;
  padding-bottom: 20px;
}

.category-hero > p {
  margin: 0;
  font-size: 16px;
  font-weight: 950;
}

.category-hero h1 {
  max-width: 680px;
}

.category-search-note {
  margin: 0;
  padding: 10px 16px;
  color: var(--ink);
  background: var(--acid);
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}

.category-search-note a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.store-tile.is-search-hidden {
  display: none;
}

[data-category-panel].is-search-empty {
  display: none;
}

.category-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  align-items: start;
  gap: 24px;
  padding-top: 0;
}

.category-sidebar {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 8px;
  max-height: calc(100vh - 112px);
  padding: 14px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 14px;
  box-shadow: 6px 7px 0 var(--ink);
  -webkit-overflow-scrolling: touch;
}

.category-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 42px;
  padding: 9px 10px;
  color: var(--ink);
  background: transparent;
  border: 1.5px solid transparent;
  border-radius: 10px;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.08;
  font-weight: 850;
}

.category-link:hover,
.category-link.is-featured,
.category-link.is-active {
  background: var(--yellow);
  border-color: var(--ink);
}

.category-link.is-active {
  box-shadow: 3px 4px 0 var(--ink);
}

.category-link span {
  min-width: 0;
}

.category-link strong {
  display: grid;
  min-width: 28px;
  height: 28px;
  place-items: center;
  background: var(--white);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 950;
}

.category-content {
  display: grid;
  gap: 22px;
  min-width: 0;
}

.category-panel {
  padding: 24px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 14px;
  box-shadow: 8px 9px 0 var(--ink);
  scroll-margin-top: 96px;
}

.category-panel.is-popular {
  background: var(--yellow);
}

.category-panel-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.category-panel-head p {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 950;
}

.category-panel-head h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 0.98;
  letter-spacing: -0.018em;
  text-transform: uppercase;
  text-wrap: balance;
}

.category-panel-head a {
  flex: 0 0 auto;
  color: var(--ink);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  font-size: 14px;
  font-weight: 950;
}

.favorites-category-empty {
  grid-column: 1 / -1;
  padding: 22px;
  color: rgba(29, 28, 28, 0.74);
  background: var(--white);
  border: 2px dashed rgba(29, 28, 28, 0.42);
  border-radius: 10px;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 650;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(258px, 1fr));
  gap: 12px;
}

.logo-grid[hidden] {
  display: none;
}

.similar .logo-grid.compact {
  --similar-card: 258px;
  --similar-gap: 16px;
  display: flex;
  width: min(
    100%,
    calc((var(--similar-card) * 3) + (var(--similar-gap) * 2) + 12px)
  );
  gap: var(--similar-gap);
  overflow-x: auto;
  overflow-y: visible;
  margin-top: -8px;
  padding: 8px 12px 22px 0;
  scroll-padding-left: 0;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.similar .logo-grid.compact::-webkit-scrollbar {
  height: 10px;
}

.similar .logo-grid.compact::-webkit-scrollbar-track {
  background: rgba(29, 28, 28, 0.12);
  border: 2px solid var(--ink);
  border-radius: 999px;
}

.similar .logo-grid.compact::-webkit-scrollbar-thumb {
  background: var(--ink);
  border-radius: 999px;
}

.similar .store-tile {
  flex: 0 0 var(--similar-card);
  min-width: var(--similar-card);
  max-width: none;
  scroll-snap-align: start;
}

.store-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 13px 11px;
  color: var(--ink);
  background: var(--paper);
  border: var(--bd);
  border-radius: 14px;
  text-align: left;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform 120ms var(--ease), box-shadow 120ms var(--ease);
}

.store-tile-head {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  padding-right: 58px;
}

.store-tile .logo-box {
  flex: none;
  background: transparent;
  border: 0;
  border-radius: 10px;
}

.store-tile .logo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.store-name {
  min-width: 0;
  overflow-wrap: normal;
  word-break: normal;
  font-size: 15px;
  line-height: 1.15;
  font-weight: 700;
}

.store-tile-arrow {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 2;
  opacity: 0;
  transform: translate(-2px, 2px);
  transition: opacity 160ms var(--ease), transform 160ms var(--ease);
}

.store-tile-arrow .arrow-icon {
  width: 15px;
  height: 15px;
}

.store-tile-foot {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.store-tile-save {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  font-family: "Unbounded", "Montserrat", Arial, sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  background: var(--acid);
  border: 2px solid var(--ink);
  border-width: 0 0 2px 2px;
  border-radius: 0 12px 0 10px;
  padding: 4px 9px 5px;
  white-space: nowrap;
}

.store-tile-count {
  min-width: 0;
  overflow: hidden;
  color: rgba(20, 17, 16, 0.56);
  font-size: 12.5px;
  font-weight: 500;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.faq {
  padding-bottom: 150px;
}

.faq-grid {
  display: grid;
  gap: 14px;
  max-width: 920px;
  margin: 0 auto;
}

.faq-grid details {
  background: var(--white);
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
}

body[data-view^="main"] .faq-grid summary {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  min-height: 62px;
  align-items: center;
  padding: 18px 22px;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  font-size: 20px;
  line-height: 1.06;
  font-weight: 950;
}

body[data-view^="main"] .faq-grid summary::-webkit-details-marker {
  display: none;
}

body[data-view^="main"] .faq-grid summary::after {
  content: "+";
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 50%;
}

body[data-view^="main"] .faq-grid details[open] summary::after {
  content: "−";
}

.faq-grid details p {
  margin: 0;
  padding: 0 22px 22px;
  color: rgba(29, 28, 28, 0.68);
  font-size: 16px;
  line-height: 1.42;
  font-weight: 600;
}

.question-cta {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.question-cta button {
  min-height: 50px;
  padding: 0 24px;
  color: var(--ink);
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 999px;
  box-shadow: 0 7px 0 var(--ink);
  cursor: pointer;
  font-size: 16px;
  font-weight: 950;
  transition:
    transform 140ms ease,
    box-shadow 140ms ease,
    background-color 180ms var(--ease);
}

.question-cta button:hover {
  background: #fff36e;
  transform: translateY(3px);
  box-shadow: 0 4px 0 var(--ink);
}

.question-cta button:active {
  transform: translateY(7px);
  box-shadow: 0 0 0 var(--ink);
}

.store-shell {
  padding: 90px 0 118px;
}

.store-layout {
  display: grid;
  width: min(1180px, calc(100% - 80px));
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
  margin: 0 auto;
}

.store-rail {
  position: sticky;
  top: 24px;
  display: grid;
  gap: 16px;
  min-width: 0;
  align-self: start;
}

.store-content {
  display: grid;
  min-width: 0;
}

.store-content .section {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  padding: 13px 0;
}

.store-content .section + .section {
  padding-top: 8px;
}

.store-content .heading-pair {
  margin-bottom: 18px;
}

.store-content .codes-section {
  padding-top: 16px;
  padding-bottom: 18px;
}

.store-content .activity {
  padding-top: 16px;
  padding-bottom: 14px;
}

.store-content .timing {
  padding-top: 10px;
}

.store-content .activity + .timing {
  padding-top: 10px;
}

.store-heading {
  min-width: 0;
  padding: 22px 0 8px;
}

.store-heading h1 {
  max-width: 780px;
  overflow-wrap: anywhere;
}

.store-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.store-line span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 12px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 950;
}

.store-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 26px;
}

.store-tabs a {
  color: var(--ink);
  text-decoration: none;
  font-size: 16px;
  font-weight: 950;
}

.store-tabs a:hover,
.store-tabs a:focus-visible {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 7px;
}

.store-crumbs {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 7px;
  width: 100%;
  min-width: 0;
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.2;
  font-weight: 950;
  white-space: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.store-crumbs::-webkit-scrollbar {
  display: none;
}

.store-crumbs > * {
  flex: 0 0 auto;
}

.store-crumbs a {
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.store-crumbs .current-crumb {
  color: inherit;
  text-decoration: none;
  pointer-events: none;
  cursor: default;
}

.store-side-card {
  display: grid;
  min-width: 0;
  justify-items: start;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 14px;
  box-shadow: 7px 8px 0 var(--ink);
  padding: 22px;
}

.store-side-card .logo-box.large {
  align-items: start;
  margin-bottom: 22px;
}

.store-side-card .logo-box.large img {
  width: 88%;
  height: 88%;
  border-radius: 16px;
}

.store-side-card h2 {
  width: 100%;
  margin: 0 0 7px;
  font-size: 27px;
  line-height: 1.04;
  font-weight: 950;
  overflow: visible;
  hyphens: none;
  overflow-wrap: anywhere;
  text-wrap: balance;
  white-space: normal;
  word-break: normal;
}

.store-side-card h3 {
  margin: 0 0 12px;
  font-size: 17px;
  line-height: 1.05;
  font-weight: 800;
}

.store-domain {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.store-side-copy,
.store-side-section p,
.store-side-card.small p {
  margin: 0;
  color: rgba(29, 28, 28, 0.78);
  font-size: 14px;
  line-height: 1.35;
  font-weight: 600;
}

.store-side-divider {
  width: 100%;
  height: 2px;
  margin: 22px 0;
  background: rgba(29, 28, 28, 0.12);
}

.store-side-section {
  width: 100%;
  padding: 20px 0;
  border-top: 2px solid rgba(29, 28, 28, 0.1);
}

.store-side-divider + .store-side-section {
  padding-top: 0;
  border-top: 0;
}

.store-side-section:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.store-side-section ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.store-side-section li {
  position: relative;
  padding-left: 14px;
  color: rgba(29, 28, 28, 0.78);
  font-size: 13.5px;
  line-height: 1.28;
  font-weight: 600;
}

.store-side-section li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 7px;
  height: 7px;
  background: var(--lime);
  border: 1.5px solid var(--ink);
  border-radius: 50%;
}

body[data-view^="main"] .store-shop-button {
  display: inline-grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  align-items: center;
  justify-items: center;
  gap: 6px;
  width: 100%;
  min-height: 50px;
  margin-top: 6px;
  padding: 3px 3px 3px 16px;
  color: var(--ink);
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 999px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 950;
  transform: translateY(-4px);
  box-shadow: 0 9px 0 var(--ink);
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease);
}

body[data-view^="main"] .store-shop-button strong {
  display: block;
  width: 100%;
  min-width: 0;
  text-align: center;
  font: inherit;
  line-height: 1.05;
}

body[data-view^="main"] .store-shop-button span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 999px;
}

body[data-view^="main"] .store-shop-button .arrow-icon {
  width: 20px;
  height: 20px;
}

.store-side-card.small {
  gap: 8px;
  padding: 20px;
}

.activity-card {
  background: var(--white);
  border-radius: 14px;
  padding: 24px;
}

.activity-head {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 22px;
  align-items: start;
}

.activity-head strong {
  display: block;
  font-size: 48px;
  line-height: 0.86;
  font-weight: 950;
}

.activity-head strong.is-updated {
  animation: count-pop 360ms var(--ease);
}

.activity-head span,
.activity-head p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.34;
  font-weight: 850;
}

.chart-wrap {
  position: relative;
  margin-top: 8px;
}

.line-chart {
  display: block;
  width: 100%;
  height: 230px;
  overflow: visible;
}

.chart-grid line {
  stroke: rgba(29, 28, 28, 0.18);
  stroke-width: 2;
}

.chart-area {
  fill: rgba(154, 250, 106, 0.3);
}

.chart-line {
  fill: none;
  stroke: var(--ink);
  stroke-width: 4;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.chart-point {
  cursor: pointer;
  outline: 0;
}

.chart-hit {
  fill: transparent;
  stroke: transparent;
  pointer-events: all;
}

.chart-dot {
  fill: var(--lime);
  stroke: var(--ink);
  stroke-width: 3;
  transition: r 160ms var(--ease), stroke-width 160ms var(--ease), fill 160ms var(--ease);
}

.chart-point:hover .chart-dot,
.chart-point:focus-visible .chart-dot {
  r: 9px;
  fill: var(--yellow);
  stroke-width: 4;
}

.chart-tooltip {
  --tooltip-arrow-x: 50%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 5;
  display: grid;
  gap: 3px;
  max-width: min(240px, calc(100% - 20px));
  min-width: 150px;
  padding: 10px 12px;
  color: var(--white);
  background: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 12px;
  box-shadow: 0 6px 0 rgba(29, 28, 28, 0.28);
  font-size: 14px;
  line-height: 1.15;
  font-weight: 900;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transform: translate(0, 0);
  transition: opacity 140ms var(--ease), transform 140ms var(--ease);
  width: max-content;
  contain: layout paint style;
}

.chart-tooltip::after {
  content: "";
  position: absolute;
  left: var(--tooltip-arrow-x);
  bottom: -8px;
  width: 12px;
  height: 12px;
  background: var(--ink);
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: translateX(-50%) rotate(45deg);
}

.chart-tooltip.is-visible {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, calc(-100% - 18px));
}

.chart-tooltip strong,
.chart-tooltip span {
  display: block;
}

.chart-tooltip span {
  color: rgba(255, 254, 250, 0.78);
  font-size: 12.5px;
}

.chart-labels text {
  text-anchor: middle;
  fill: rgba(29, 28, 28, 0.62);
  font-size: 14px;
  font-weight: 900;
}

.feed {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.feed div {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 10px;
  align-items: center;
}

.feed div.is-live {
  animation: feed-in 320ms var(--ease);
}

.feed span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: var(--white);
  background: var(--ink);
  border-radius: 50%;
  font-weight: 950;
}

.feed p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.28;
  font-weight: 800;
}

.feed p strong {
  font-weight: 950;
}

@keyframes count-pop {
  0% {
    transform: scale(1);
  }
  42% {
    transform: scale(1.08);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes feed-in {
  0% {
    opacity: 0;
    transform: translateY(-6px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.bars-card {
  background: var(--white);
  border-radius: 14px;
  padding: 24px;
}

.bars {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px;
  min-height: 230px;
  align-items: end;
}

.bar {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 205px;
  justify-items: center;
  cursor: pointer;
  outline: 0;
}

.bar strong {
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 950;
}

.bar i {
  width: 100%;
  height: var(--bar);
  align-self: end;
  background: linear-gradient(180deg, var(--pink), var(--mint));
  border: 2px solid var(--ink);
  border-radius: 12px 12px 5px 5px;
  box-shadow: 3px 4px 0 var(--ink);
  transition: background 160ms var(--ease), outline-color 160ms var(--ease), transform 160ms var(--ease);
}

.bar:hover i,
.bar:focus-visible i {
  background: linear-gradient(180deg, var(--yellow), var(--lime));
  transform: translateY(-4px);
}

.bar:focus-visible i {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

.bar span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.bars-tooltip {
  max-width: min(220px, calc(100% - 20px));
  min-width: 170px;
}

.guide-card {
  display: grid;
  gap: 24px;
  background: var(--pink);
  border-radius: 14px;
  padding: 32px;
}

.guide-card.guide-article {
  gap: 18px;
  background: var(--white);
}

.guide-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.38;
  font-weight: 600;
}

.guide-card h3 {
  margin: 10px 0 0;
  font-size: 29px;
  line-height: 1;
  font-weight: 950;
  text-transform: uppercase;
}

.guide-article h4 {
  margin: 2px 0 -8px;
  font-size: 18px;
  line-height: 1.15;
  font-weight: 950;
}

.guide-article ol,
.guide-article ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.guide-article li {
  font-size: 16px;
  line-height: 1.35;
  font-weight: 600;
}

.guide-article code,
.code-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 7px;
  color: var(--ink);
  background: var(--yellow);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  font-family: inherit;
  font-size: inherit;
  line-height: 1.05;
  font-weight: 800;
  white-space: nowrap;
}

.code-pill {
  appearance: none;
  margin: 0;
  cursor: pointer;
  text-align: inherit;
  transition:
    background-color 140ms var(--ease),
    box-shadow 140ms var(--ease),
    transform 140ms var(--ease);
}

.code-pill:hover,
.code-pill:focus-visible {
  background: var(--lime);
  transform: translateY(1px);
}

.code-pill:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.code-pill.is-copied {
  background: var(--lime);
  box-shadow: 0 3px 0 var(--ink);
}

.code-pill.is-copy-error {
  background: var(--pink);
  box-shadow: 0 3px 0 var(--ink);
}

.guide-table-wrap {
  overflow-x: auto;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: #fff7a7;
  -webkit-overflow-scrolling: touch;
}

.guide-table {
  width: max(100%, 680px);
  min-width: 680px;
  table-layout: auto;
  border-collapse: collapse;
}

.guide-table th,
.guide-table td {
  padding: 13px 12px;
  border-bottom: 2px solid rgba(25, 25, 24, 0.16);
  text-align: left;
  vertical-align: top;
  font-size: 14px;
  line-height: 1.28;
  font-weight: 600;
  white-space: normal;
  overflow-wrap: anywhere;
}

.guide-table th {
  background: var(--mint);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.guide-table tr:last-child td {
  border-bottom: 0;
}

.guide-table th:first-child,
.guide-table td:first-child {
  width: 1%;
  white-space: nowrap;
  overflow-wrap: normal;
}

.guide-table th:nth-child(2),
.guide-table td:nth-child(2) {
  width: 1%;
  white-space: nowrap;
  overflow-wrap: normal;
}

.guide-table th:nth-child(3),
.guide-table td:nth-child(3) {
  width: auto;
}

.guide-table th:nth-child(4),
.guide-table td:nth-child(4) {
  width: 1%;
  white-space: nowrap;
  overflow-wrap: normal;
}

.guide-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 20px;
  color: var(--ink);
  text-decoration: none;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 999px;
  box-shadow: 0 7px 0 var(--ink);
  font-size: 16px;
  font-weight: 950;
  transition:
    transform 140ms ease,
    box-shadow 140ms ease;
}

.guide-cta .arrow-icon-wrap {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  flex: 0 0 auto;
}

.guide-cta .arrow-icon {
  width: 18px;
  height: 18px;
}

.guide-cta:hover {
  transform: translateY(3px);
  box-shadow: 0 4px 0 var(--ink);
}

.guide-cta:active {
  transform: translateY(7px);
  box-shadow: 0 0 0 var(--ink);
}

.empty {
  padding: 28px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 14px;
  box-shadow: 7px 8px 0 var(--ink);
  font-size: 17px;
  font-weight: 900;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(29, 28, 28, 0.74);
  backdrop-filter: blur(14px);
}

.modal.is-open {
  display: flex;
}

.modal-card {
  position: relative;
  width: min(560px, 100%);
  padding: 34px;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 26px;
  box-shadow: 10px 12px 0 var(--ink);
  text-align: center;
  outline: 0;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--ink);
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 50%;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.modal-logo {
  display: grid;
  width: 92px;
  height: 92px;
  margin: 0 auto 18px;
  place-items: center;
  overflow: hidden;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 22px;
}

.modal-logo img {
  width: 72%;
  height: 72%;
  object-fit: contain;
}

.modal-kicker {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 950;
  text-transform: uppercase;
}

.modal-card h2 {
  margin: 0 auto 18px;
  max-width: 460px;
  font-size: 28px;
  line-height: 1.05;
  font-weight: 950;
}

.modal[data-modal] .modal-kicker {
  margin-bottom: 10px;
  font-size: 28px;
  line-height: 1.05;
  text-wrap: balance;
}

.modal[data-modal] .modal-card h2 {
  font-size: 20px;
  line-height: 1.25;
}

.modal-store-line {
  white-space: nowrap;
}

.modal-code {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 58px;
  overflow: hidden;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 999px;
}

.modal-code > span {
  display: grid;
  width: 44px;
  height: 44px;
  margin-left: 6px;
  place-items: center;
  color: var(--white);
  background: var(--ink);
  border-radius: 50%;
  font-weight: 950;
}

.modal-code code {
  display: grid;
  min-width: 0;
  min-height: 54px;
  place-items: center;
  padding: 0 14px;
  font-size: 20px;
  line-height: 1;
  font-weight: 950;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 180ms var(--ease);
}

.modal-code code.is-status {
  color: #138a35;
}

.modal-code button,
.modal-shop,
.modal-feedback button {
  border: 2px solid var(--ink);
  cursor: pointer;
  font-weight: 950;
}

.modal-code button {
  display: grid;
  min-width: 104px;
  align-self: stretch;
  place-items: center;
  padding: 0 18px;
  color: var(--ink);
  background: var(--acid);
  border-top: 0;
  border-right: 0;
  border-bottom: 0;
  font-size: 14px;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  transition: filter 140ms var(--ease), transform 140ms var(--ease);
}

.modal-code button:hover {
  filter: brightness(0.94);
}

.modal-code button:active {
  filter: brightness(0.85);
  transform: scale(0.96);
}

.modal-feedback {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 18px 0 24px;
}

.modal-feedback p {
  margin: 0 8px 0 0;
  font-size: 15px;
  font-weight: 900;
}

.modal-feedback button {
  min-height: 36px;
  padding: 0 16px;
  background: var(--white);
  border-radius: 999px;
  transition: transform 140ms var(--ease), box-shadow 140ms var(--ease);
}

.modal-feedback button.is-selected {
  background: var(--lime);
}

.modal-feedback button:hover {
  transform: translateY(2px);
  box-shadow: 0 1px 0 var(--ink);
}

.modal-feedback button:active {
  transform: translateY(0);
  box-shadow: none;
}

body[data-view^="main"] .modal-shop {
  display: grid;
  min-height: 54px;
  place-items: center;
  color: var(--ink);
  background: var(--yellow);
  border-radius: 999px;
  text-decoration: none;
  font-size: 16px;
  box-shadow: 0 5px 0 var(--ink);
  transition: transform 140ms var(--ease), box-shadow 140ms var(--ease);
}

body[data-view^="main"] .modal-shop:hover {
  transform: translateY(2px);
  box-shadow: 0 3px 0 var(--ink);
}

body[data-view^="main"] .modal-shop:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 var(--ink);
}

body[data-view^="main"] .modal-shop:empty::after {
  content: "Перейти на сайт";
}

.question-card {
  text-align: left;
}

.question-card .modal-kicker,
.question-card h2 {
  text-align: center;
}

.question-card h2 {
  margin-bottom: 22px;
}

.question-field,
.question-captcha {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.question-field span,
.question-captcha span {
  font-size: 14px;
  font-weight: 900;
}

.question-field textarea,
.question-captcha input {
  width: 100%;
  color: var(--ink);
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 14px;
  font: inherit;
  font-weight: 650;
  outline: 0;
}

.question-field textarea {
  min-height: 122px;
  padding: 14px;
  resize: vertical;
  line-height: 1.35;
}

.question-captcha {
  grid-template-columns: minmax(0, 1fr) 120px;
  align-items: center;
}

.question-captcha input {
  min-height: 44px;
  padding: 0 14px;
  text-align: center;
  font-weight: 900;
}

.question-field textarea:focus,
.question-captcha input:focus {
  box-shadow: 0 0 0 4px rgba(144, 245, 101, 0.45);
}

.question-submit {
  display: grid;
  width: 100%;
  min-height: 52px;
  place-items: center;
  margin-top: 16px;
  color: var(--white);
  background: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 999px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 950;
}

.question-submit:disabled {
  cursor: progress;
  opacity: 0.7;
}

.question-status {
  min-height: 20px;
  margin: 12px 0 0;
  color: rgba(29, 28, 28, 0.72);
  font-size: 14px;
  line-height: 1.3;
  font-weight: 750;
  text-align: center;
}

.question-status.is-error {
  color: #c22525;
}

.question-status.is-success {
  color: #146b2a;
}

@supports (overflow: clip) {
  html,
  body[data-view^="main"] {
    overflow-x: clip;
  }
}

html.js .reveal {
  opacity: 0;
  transform: translateY(42px) rotate(0.001deg);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

html.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0) rotate(0.001deg);
}

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

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-420px);
  }
}

@media (max-width: 1180px) {
  .section {
    width: min(calc(100% - 48px), 1040px);
  }

  .store-layout {
    width: min(calc(100% - 48px), 1040px);
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 28px;
  }

  .hero h1,
  .store-hero h1,
  .category-hero h1,
  .store-heading h1 {
    font-size: 46px;
  }

  .offer-grid,
  .offer-grid.store {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-layout {
    grid-template-columns: 230px minmax(0, 1fr);
  }

  .similar .logo-grid.compact {
    width: min(100%, calc((var(--similar-card) * 2) + var(--similar-gap) + 12px));
  }

}

@media (max-width: 820px) {
  body[data-view^="main"] {
    background-attachment: scroll;
    background-size: 100% 100%;
  }

  .hero-ticker-track {
    animation-duration: 88.4s;
  }

  .site-nav {
    top: 12px;
    width: fit-content;
    max-width: calc(100% - 20px);
    gap: 8px;
  }

  .site-nav-links {
    gap: 6px;
    padding: 4px;
    box-shadow: 0 5px 0 var(--ink);
  }

  .brand-pill {
    min-height: 36px;
    padding: 3px 12px;
    font-size: 15px;
    box-shadow: none;
  }

  .site-nav-links > a.site-nav-link {
    min-height: 36px;
    padding: 0 13px;
    font-size: 13px;
  }

  .brand-mark {
    display: grid;
    width: 28px;
    min-width: 28px;
    height: 28px;
    font-size: 16px;
  }

  .favorites-menu {
    position: relative;
  }

  .favorites-toggle {
    min-height: 36px;
    gap: 7px;
    padding: 3px 5px 3px 8px;
    font-size: 13px;
  }

  .favorites-toggle strong {
    display: none;
  }

  .favorites-toggle .favorite-icon {
    width: 24px;
    height: 24px;
  }

  .favorites-toggle em {
    min-width: 25px;
    height: 25px;
    padding: 0 6px;
    font-size: 12px;
  }

  .nav-search-toggle {
    width: 42px;
    height: 42px;
    min-height: 42px;
  }

  .favorites-panel {
    position: fixed;
    top: var(--favorites-panel-top, 65px);
    right: auto;
    left: var(--favorites-panel-left, 12px);
    transform: none;
    width: min(var(--favorites-panel-width, 320px), calc(100vw - 24px));
    max-height: min(390px, calc(100vh - 78px));
    border-radius: 14px;
    box-shadow: 5px 6px 0 var(--ink);
  }

  .favorite-button {
    min-height: 40px;
    margin-bottom: 16px;
    font-size: 14px;
  }

  .hero {
    min-height: 0;
    padding: 84px 12px 40px;
  }

  .hero-ticket-body {
    padding: 24px 16px 22px;
  }

  .hero-search {
    flex-direction: column;
    gap: 12px;
    margin-top: 22px;
  }

  .hero-search-field {
    flex: none;
    width: 100%;
    height: 56px;
    padding: 0 14px;
    gap: 10px;
  }

  .hero-search-field input {
    font-size: 16px;
  }

  .hero-search-placeholder {
    left: 46px;
    font-size: 16px;
  }

  .hero-search-go {
    width: 100%;
    height: 56px;
    font-size: 16px;
  }

  .hero-chips {
    margin-top: 16px;
  }

  .hero-badge {
    left: 22px;
    top: 146px;
    bottom: auto;
    display: grid;
    width: 34px;
    height: 34px;
    box-shadow: 4px 5px 0 var(--ink);
  }

  .hero-badge span {
    font-size: 20px;
  }

  .hero-badge--mint {
    left: 28px;
    top: auto;
    bottom: 94px;
  }

  .hero-badge--pink {
    left: 58%;
    top: 110px;
  }

  .hero-badge--blue {
    right: 28px;
    left: auto;
    top: auto;
    bottom: 168px;
  }

  .hero-badge--red {
    right: 20px;
    left: auto;
    top: 300px;
    bottom: auto;
  }

  .hero-badge--yellow {
    left: 18%;
    top: 86px;
  }

  .hero-badge--teal {
    left: 8%;
    top: 372px;
  }

  .hero-badge--violet {
    right: 13%;
    left: auto;
    top: 122px;
  }

  .hero-badge--orange {
    right: 8%;
    left: auto;
    top: 420px;
    width: 42px;
    height: 42px;
  }

  .hero-badge--white {
    left: 14%;
    top: 266px;
  }

  .hero-badge--lime-small {
    right: 20%;
    left: auto;
    top: 360px;
  }

  .hero-badge--rose-large {
    left: 74%;
    top: 232px;
    bottom: auto;
    width: 38px;
    height: 38px;
  }

  .hero-badge--cyan-small {
    left: 42px;
    top: 214px;
    width: 30px;
    height: 30px;
  }

  .hero-badge--apricot {
    right: 38px;
    left: auto;
    top: 248px;
    width: 36px;
    height: 36px;
  }

  .hero-badge--lavender {
    right: 30%;
    left: auto;
    top: 452px;
    bottom: auto;
    width: 32px;
    height: 32px;
  }

  .hero-badge--green-tiny {
    left: 20%;
    top: 450px;
    width: 28px;
    height: 28px;
  }

  .hero-badge--coral-small {
    right: 10%;
    left: auto;
    top: 548px;
    bottom: auto;
    width: 32px;
    height: 32px;
  }

  .hero-badge--cream {
    left: 48%;
    top: 178px;
    width: 30px;
    height: 30px;
  }

  .hero h1,
  .store-hero h1,
  .category-hero h1,
  .store-heading h1 {
    font-size: 38px;
    line-height: 0.98;
  }

  .store-shell {
    padding: 72px 0 96px;
  }

  .store-layout {
    display: flex;
    flex-direction: column;
    width: min(calc(100% - 32px), 560px);
    max-width: calc(100% - 32px);
    gap: 22px;
  }

  .store-rail {
    display: contents;
    position: static;
  }

  .store-crumbs {
    margin-bottom: 16px;
  }

  .store-content {
    order: 1;
  }

  .store-side-card {
    order: 2;
  }

  .store-side-card.small {
    order: 3;
    margin-top: -8px;
  }

  .store-side-card + .store-side-card {
    margin-top: 0;
  }

  .store-content + .store-side-card {
    margin-top: 4px;
  }

  .store-heading {
    padding: 4px 0 6px;
  }

  .store-heading h1 {
    overflow-wrap: anywhere;
  }

  .store-tabs {
    flex-wrap: nowrap;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .store-content .section {
    width: 100%;
    padding: 12px 0;
  }

  .store-content .section + .section {
    padding-top: 7px;
  }

  .store-content .activity + .timing {
    padding-top: 5px;
  }

  .store-content .heading-pair {
    margin-bottom: 14px;
  }

  .store-content .codes-section {
    padding-top: 14px;
    padding-bottom: 16px;
    min-width: 0;
    overflow: hidden;
  }

  .codes-head.compact {
    width: 100%;
    min-width: 0;
  }

  .codes-head.compact .filter-pills {
    width: 100%;
    flex: 1 1 auto;
  }

  .store-side-card {
    padding: 18px;
  }

  .store-side-card h2 {
    font-size: 26px;
  }

  .hero-copy p {
    font-size: 14px;
  }

  .hero-copy p.hero-lede {
    white-space: normal;
  }

  .arrow-button {
    width: auto;
    justify-content: center;
    gap: 14px;
    padding: 0 8px 0 22px;
    white-space: nowrap;
    font-size: 15px;
  }

  .section {
    width: calc(100% - 32px);
    padding: 31px 0;
  }

  .shops-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .shop-search {
    width: 100%;
    max-width: none;
    margin-left: 0;
  }

  .category-hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 92px;
    gap: 18px;
  }

  .category-hero > p {
    margin-bottom: 0;
    font-size: 13px;
  }

  .category-layout {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-top: 0;
    min-width: 0;
  }

  .category-sidebar {
    position: relative;
    top: auto;
    display: flex;
    gap: 8px;
    max-height: none;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 6px 0 12px;
    overflow-x: auto;
    overflow-y: visible;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    scroll-padding-left: 16px;
    -webkit-overflow-scrolling: touch;
  }

  .category-content {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .category-link {
    flex: 0 0 auto;
    min-height: 42px;
    min-width: 150px;
    padding: 8px 10px;
    background: var(--white);
    border-color: var(--ink);
    border-radius: 999px;
    box-shadow: 0 4px 0 var(--ink);
    white-space: nowrap;
  }

  .category-link span {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .category-link strong {
    min-width: 26px;
    height: 26px;
  }

  .category-panel {
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 5px 6px 0 var(--ink);
    scroll-margin-top: 20px;
  }

  .category-panel .logo-grid,
  .category-panel .store-tile {
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .category-panel-head {
    display: grid;
    gap: 10px;
    margin-bottom: 14px;
  }

  .category-panel-head h2 {
    font-size: 24px;
    line-height: 1.02;
    letter-spacing: -0.01em;
  }

  .category-panel-head a {
    justify-self: start;
  }

  .heading-pair h2,
  .what h2 {
    font-size: 28px;
    line-height: 1;
  }

  .home-text {
    padding-top: 36px;
  }

  .home-article {
    padding: 22px;
    border-radius: 12px;
    box-shadow: 5px 6px 0 var(--ink);
  }

  .home-article h2 {
    font-size: 28px;
    line-height: 1.04;
  }

  .home-article h3 {
    font-size: 24px;
  }

  .home-article p,
  .home-article li {
    font-size: 16px;
    line-height: 1.42;
  }

  .guide-card.guide-article {
    gap: 14px;
    padding: 18px;
  }

  .guide-card p,
  .guide-article li {
    font-size: 16px;
    line-height: 1.35;
  }

  .guide-card h3 {
    font-size: 29px;
  }

  .guide-article h4 {
    font-size: 15px;
  }

  .guide-table {
    width: max(100%, 680px);
    min-width: 680px;
  }

  .guide-table th,
  .guide-table td {
    padding: 10px 12px;
    font-size: 13px;
  }

  .guide-cta {
    min-height: 44px;
    padding: 0 16px;
    font-size: 14px;
  }

  .heading-pair {
    margin-bottom: 22px;
  }

  .codes-head {
    display: grid;
    gap: 16px;
    margin-bottom: 22px;
  }

  .codes-head.compact {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 14px;
  }

  .codes-head .heading-pair {
    margin-bottom: 0;
  }

  .view-switch {
    display: none;
  }

  .filter-pills {
    width: 100%;
    box-shadow: 4px 5px 0 var(--ink);
  }

  .filter-pills button {
    flex: 1 0 auto;
    justify-content: center;
    min-height: 34px;
    padding: 0 10px;
    font-size: 12.5px;
  }

  .filter-pills button span {
    font-size: 12px;
  }

  .heading-pair p,
  .top-title {
    font-size: 14px;
  }

.what,
.activity-head {
  grid-template-columns: 1fr;
}

  .offer-grid,
  .offer-grid.store {
    grid-template-columns: 1fr;
  }

  .logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .store-tile-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-right: 0;
  }

  .store-tile-arrow {
    display: none;
  }

  .similar .logo-grid.compact {
    display: grid;
    width: 100%;
    grid-template-columns: none;
    grid-template-rows: 1fr;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 10px) / 2);
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 8px 0 14px;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
  }

  .similar .store-tile {
    width: 100%;
    min-width: 0;
    aspect-ratio: 1;
    scroll-snap-align: none;
  }

  .similar .store-tile:nth-child(odd) {
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .offer-main {
    grid-template-columns: auto 1fr;
    gap: 12px;
  }

  .offer-card h3 {
    font-size: 18px;
  }

  .offer-group-title {
    margin: 18px 0 2px;
    font-size: 28px;
    line-height: 1.02;
  }

  .code-action {
    grid-template-columns: minmax(0, 1fr) minmax(104px, auto);
  }

  .code-action span,
  .code-action b {
    min-height: 44px;
    text-align: center;
  }

  .code-action span {
    font-size: 15px;
    padding: 0 8px;
  }

  .code-action b {
    min-width: 98px;
    padding: 0 12px;
  }

  .code-action.link b {
    min-width: 112px;
  }

  .code-action b strong {
    font-size: 12px;
  }

  .code-action b small {
    font-size: 12px;
    font-weight: 600;
  }

  .offer-card {
    min-height: 0;
    padding: 18px;
  }

  .offer-grid.store .offer-card,
  .offer-grid.store.is-list .offer-card {
    padding: 18px;
  }

  .offer-grid.store .offer-layout,
  .offer-grid.store.is-list .offer-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 14px;
  }

  .offer-grid.store .offer-cta,
  .offer-grid.store.is-list .offer-cta {
    width: 100%;
    max-width: none;
    align-self: stretch;
  }

  .ribbon {
    max-width: 104px;
    padding: 5px 10px 6px;
    font-size: 12px;
  }

  .offer-card p {
    font-size: 13.5px;
  }

  .offer-meta {
    gap: 6px 10px;
    font-size: 13px;
  }

  .offer-meta span {
    white-space: normal;
  }

  .code-details summary {
    font-size: 15px;
  }

  .offer-used {
    font-size: 13px;
  }

  .logo-box.small {
    width: 46px;
    height: 46px;
    border-radius: 12px;
  }

  .store-sticker {
    width: 100%;
    min-height: 210px;
    transform: none;
  }

  .bars {
    grid-template-columns: repeat(12, minmax(12px, 1fr));
    gap: 5px;
    min-height: 168px;
  }

  .bars-card {
    padding: 16px 10px 18px;
  }

  .bar {
    min-height: 152px;
  }

  .bar strong {
    margin-bottom: 5px;
    font-size: 12px;
  }

  .bar i {
    border-width: 1.5px;
    border-radius: 8px 8px 4px 4px;
    box-shadow: 2px 3px 0 var(--ink);
  }

  .bar span {
    margin-top: 6px;
    font-size: 12px;
    letter-spacing: 0;
    white-space: nowrap;
  }

  .line-chart {
    height: 180px;
  }

  .bottom-nav {
    left: 50%;
    bottom: 14px;
    right: auto;
    max-width: none;
    width: 106px;
    min-height: 40px;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0;
    padding: 0;
    overflow: visible;
    border-radius: 999px;
    transform: translateX(-50%);
    box-shadow: 0 4px 0 var(--ink);
    transition: width 180ms var(--ease), min-height 180ms var(--ease),
      border-radius 180ms var(--ease), padding 180ms var(--ease);
  }

  .bottom-nav.is-open {
    width: 156px;
    min-height: 208px;
    padding: 10px 8px 6px;
    border-radius: 22px;
  }

  .bottom-nav-links {
    display: none;
    width: 100%;
    min-width: 0;
  }

  .bottom-nav.is-open .bottom-nav-links {
    display: grid;
    gap: 4px;
    justify-items: stretch;
    margin-bottom: 8px;
  }

  .bottom-nav a {
    display: flex;
    width: 100%;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    color: var(--ink);
    text-align: center;
    text-decoration: none;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1;
    font-weight: 850;
    transition: background-color 140ms var(--ease), transform 120ms var(--ease);
  }

  .bottom-nav a:active {
    background: var(--yellow);
    transform: scale(0.97);
  }

  .menu-button {
    display: flex;
    width: 100%;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 12px;
    color: var(--ink);
    background: transparent;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    font-size: 12px;
    line-height: 1;
    font-weight: 850;
  }

  .menu-button i {
    position: relative;
    display: block;
    width: 15px;
    height: 11px;
    border-top: 2px solid var(--ink);
    border-bottom: 2px solid var(--ink);
    transition: transform 180ms var(--ease), border-color 180ms var(--ease);
  }

  .menu-button i::before,
  .menu-button i::after {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 15px;
    border-top: 2px solid var(--ink);
    transform: translateY(-50%);
    transition: transform 180ms var(--ease), opacity 180ms var(--ease);
  }

  .menu-button i::after {
    opacity: 0;
  }

  .bottom-nav.is-open .menu-button i {
    border-color: transparent;
  }

  .bottom-nav.is-open .menu-button i::before {
    transform: translateY(-50%) rotate(45deg);
  }

  .bottom-nav.is-open .menu-button i::after {
    opacity: 1;
    transform: translateY(-50%) rotate(-45deg);
  }

  .corner-pill,
  .lang-pill {
    display: flex;
    bottom: 14px;
    box-shadow: 0 4px 0 var(--ink);
  }

  .corner-pill {
    left: 16px;
    min-height: 40px;
    gap: 6px;
    padding: 0 6px 0 14px;
    font-size: 12px;
  }

  .corner-pill i {
    width: 26px;
    height: 26px;
    font-size: 12px;
  }

  .lang-pill {
    right: 62px;
    min-height: 40px;
    padding: 4px;
    gap: 4px;
    font-size: 12px;
  }

  .lang-pill span,
  .lang-pill strong {
    width: 30px;
    height: 30px;
  }

  .modal-card {
    padding: 26px 18px;
    border-radius: 22px;
  }

  .modal-card h2 {
    font-size: 23px;
  }

  .modal-code {
    grid-template-columns: 40px minmax(0, 1fr) auto;
    min-height: 54px;
    border-radius: 999px;
  }

  .modal-code > span {
    display: grid;
    width: 34px;
    height: 34px;
    margin-left: 4px;
  }

  .modal-code code,
  .modal-code button {
    min-height: 46px;
  }

  .modal-code code {
    padding: 0 8px;
    font-size: 15px;
  }

  .modal-code button {
    min-width: 88px;
    padding: 0 12px;
    border-left-width: 2px;
    font-size: 12.5px;
  }

  .modal-feedback {
    flex-wrap: wrap;
  }

  .question-captcha {
    grid-template-columns: 1fr;
  }

  .question-field textarea {
    min-height: 112px;
  }
}

/* Floating "%" badges: desktop and tablet only, hidden on phones */
@media (max-width: 640px) {
  .hero-art.hero-badge {
    display: none;
  }
}

@media (max-width: 460px) {
  .site-nav {
    right: 8px;
    left: 8px;
    width: auto;
    max-width: none;
    justify-content: center;
    gap: 7px;
    transform: none;
  }

  .site-nav-links {
    flex: 0 0 auto;
    gap: 5px;
    padding: 4px;
  }

  .site-nav-links .site-nav-link {
    min-height: 34px;
    padding: 0 9px;
    font-size: 13px;
    font-weight: 950;
  }

  .brand-mark {
    display: grid;
    width: 26px;
    min-width: 26px;
    height: 26px;
    border-radius: 7px;
    font-size: 15px;
  }

  .brand-pill,
  .site-nav-links > a.brand-pill {
    padding: 3px 10px;
    font-size: 13px;
  }

  .site-nav-links > a.site-nav-link {
    padding-inline: 9px;
    font-size: 13px;
  }

  .favorites-toggle {
    gap: 5px;
    padding: 3px 5px 3px 7px;
    font-size: 13px;
  }

  .favorites-toggle strong {
    display: none;
  }

  .favorites-toggle .favorite-icon {
    width: 22px;
    min-width: 22px;
    height: 22px;
  }

  .nav-search-toggle {
    width: 40px;
    height: 40px;
    min-height: 40px;
  }

  .favorites-toggle em {
    min-width: 24px;
    height: 24px;
    padding: 0 6px;
    font-size: 13px;
  }
}

.toast {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: min(360px, calc(100vw - 36px));
  padding: 12px 16px;
  color: var(--ink);
  background: var(--acid);
  border: var(--bd);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
  transition: opacity 180ms var(--ease), transform 180ms var(--ease);
}

.toast:empty {
  display: none;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.toast-ring {
  position: relative;
  display: grid;
  flex: none;
  place-items: center;
  width: 28px;
  height: 28px;
}

.toast-logo {
  display: grid;
  flex: none;
  width: 34px;
  height: 34px;
  place-items: center;
  overflow: hidden;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 10px;
}

.toast-logo img {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 7px;
}

.toast-ring svg {
  position: absolute;
  inset: 0;
  transform: rotate(-90deg);
}

.toast-ring-count {
  position: relative;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.toast-ring-bg {
  fill: none;
  stroke: rgba(20, 17, 16, 0.2);
  stroke-width: 3;
}

.toast-ring-fg {
  fill: none;
  stroke: var(--ink);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 88;
  stroke-dashoffset: 88;
}

.toast.is-visible .toast-ring-fg {
  animation-name: toast-countdown;
  animation-timing-function: linear;
  animation-fill-mode: forwards;
}

@keyframes toast-countdown {
  from {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: 88;
  }
}

.toast-body {
  flex: 1 1 auto;
  min-width: 0;
}

.toast-text {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.toast-text b {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.toast-link {
  display: inline-block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 460px) {
  .toast {
    top: 12px;
    right: 12px;
    left: 12px;
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

.not-found-page {
  position: relative;
}

.not-found-hero {
  position: relative;
  z-index: 3;
  display: grid;
  place-items: center;
  min-height: 0;
  padding: 112px 24px 52px;
  overflow: hidden;
}

.not-found-stage {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.not-found-ball {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  color: var(--ink);
  background: var(--lime);
  border: 3px solid var(--ink);
  border-radius: 50%;
  box-shadow: 5px 6px 0 var(--ink);
  transform: translate3d(var(--ball-x, 0px), var(--ball-y, 0px), 0);
  cursor: grab;
  touch-action: none;
  will-change: transform;
}

.not-found-ball.is-dragging {
  cursor: grabbing;
  box-shadow: 2px 3px 0 var(--ink);
}

.not-found-ball b {
  font-family: "Unbounded", "Montserrat", Arial, sans-serif;
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
}

.not-found-ball--pink {
  background: var(--pink);
}

.not-found-ball--blue {
  background: var(--blue);
}

.not-found-ball--red {
  background: var(--red);
  color: var(--white);
}

.not-found-ball--yellow {
  background: var(--yellow);
}

.not-found-ball--mint {
  background: var(--mint);
}

.not-found-ball--flame {
  background: var(--flame);
  color: var(--white);
}

.not-found-ball--acid {
  background: var(--acid);
}

.not-found-copy {
  position: relative;
  z-index: 4;
  display: grid;
  gap: 16px;
  max-width: 560px;
  padding: 36px;
  text-align: center;
  background: var(--white);
  border: var(--bd);
  border-radius: 22px;
  box-shadow: var(--shadow);
  pointer-events: none;
}

.not-found-copy > * {
  pointer-events: auto;
}

.not-found-copy .top-title {
  margin: 0;
  color: rgba(20, 17, 16, 0.6);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.not-found-copy h1 {
  margin: 0;
  font-family: "Unbounded", "Montserrat", Arial, sans-serif;
  font-size: clamp(30px, 4.4vw, 44px);
  line-height: 1.04;
  font-weight: 800;
  text-transform: uppercase;
}

.not-found-copy p {
  margin: 0;
  color: rgba(20, 17, 16, 0.72);
  font-size: 16px;
  line-height: 1.4;
  font-weight: 600;
}

.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 6px;
}

.not-found-actions .arrow-button {
  position: relative;
  left: auto;
  bottom: auto;
  transform: none;
}

@media (hover: hover) {
  .not-found-actions .arrow-button:hover {
    transform: translateY(2px);
    box-shadow: 0 3px 0 var(--ink);
  }
}

.not-found-actions .arrow-button:active {
  transform: translateY(5px);
  box-shadow: none;
}

@media (max-width: 640px) {
  .not-found-hero {
    padding: 92px 16px 38px;
  }

  .not-found-ball {
    width: 48px;
    height: 48px;
  }

  .not-found-ball b {
    font-size: 15px;
  }

  .not-found-copy {
    padding: 26px 20px;
  }
}
