/* joyzo portal — warm casual game directory */

:root {
  --cream: #FFF8EF;
  --cream-2: #F7ECDD;
  --cream-3: #F1E3D1;
  --paper: #FFFFFF;
  --ink: #241E35;
  --ink-2: #3A314D;
  --muted: #6B6279;
  --muted-2: #9A90A8;
  --line: #EFE3D4;
  --line-2: #E4D5C3;
  --coral: #FF6B6B;
  --coral-deep: #EF4F4F;
  --coral-soft: #FFF0EA;
  --violet: #6C5CE7;
  --violet-deep: #5A49D6;
  --mint: #2ED573;
  --sun: #FFC94A;
  --sky: #4DABF7;
  --pink: #FF8FB1;
  --r-xs: 10px;
  --r-sm: 14px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-2xl: 40px;
  --shadow-sm: 0 1px 2px rgba(36, 30, 53, .04), 0 3px 10px rgba(36, 30, 53, .05);
  --shadow-md: 0 3px 8px rgba(36, 30, 53, .04), 0 16px 38px rgba(36, 30, 53, .10);
  --shadow-lg: 0 10px 24px rgba(36, 30, 53, .08), 0 36px 80px rgba(36, 30, 53, .18);
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --round: ui-rounded, "SF Pro Rounded", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  isolation: isolate;
  background:
    radial-gradient(1000px 620px at 94% -8%, rgba(255, 107, 107, .11), transparent 58%),
    radial-gradient(860px 560px at -5% 8%, rgba(108, 92, 231, .09), transparent 56%),
    radial-gradient(700px 460px at 52% 42%, rgba(255, 201, 74, .06), transparent 60%),
    var(--cream);
}

body:not(.site-igrun)::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(520px 420px at 12% 30%, rgba(108, 92, 231, .10), transparent 65%),
    radial-gradient(460px 380px at 88% 62%, rgba(255, 107, 107, .09), transparent 65%),
    radial-gradient(380px 320px at 50% 96%, rgba(255, 201, 74, .08), transparent 65%);
}

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

button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: .48;
}

h1, h2, h3, h4, p, dl, dd, figure, ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

svg {
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

::selection {
  background: rgba(255, 107, 107, .24);
}

:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
}

.hero :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--sun);
}

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 max(32px, env(safe-area-inset-right)) 0 max(32px, env(safe-area-inset-left));
}

.icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-play {
  stroke: none;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 200;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  transition: top .18s ease;
}

.skip-link:focus {
  top: 16px;
}

.noscript {
  margin-top: 24px;
  padding: 16px 20px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  background: var(--paper);
  color: var(--ink-2);
  font-size: 14px;
}

.noscript code {
  font-family: var(--mono);
  font-size: 12.5px;
  background: var(--cream-2);
  padding: 2px 5px;
  border-radius: 5px;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding-top: env(safe-area-inset-top);
  background: rgba(255, 248, 239, .9);
  border-bottom: 1px solid rgba(228, 213, 195, .7);
  box-shadow: 0 10px 30px rgba(36, 30, 53, .04);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  min-height: 44px;
  border-radius: 14px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--coral), var(--violet));
  box-shadow: 0 8px 20px rgba(255, 107, 107, .24), inset 0 1px 0 rgba(255, 255, 255, .35);
  transition: transform .2s ease, box-shadow .2s ease;
}

.brand:hover .brand-mark {
  transform: translateY(-1px) rotate(-2deg);
  box-shadow: 0 12px 24px rgba(255, 107, 107, .28), inset 0 1px 0 rgba(255, 255, 255, .35);
}

.brand-mark svg {
  width: 27px;
  height: 27px;
}

.brand-name {
  font-family: var(--round);
  font-size: 27px;
  font-weight: 850;
  letter-spacing: -.055em;
  line-height: 1;
}

.brand-o {
  color: var(--coral-deep);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 13px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  transition: color .16s ease, background .16s ease, box-shadow .16s ease;
}

.nav a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, .8);
}

.mobile-nav { display: none; }
.nav a.is-active {
  color: var(--ink);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.header-search {
  position: relative;
  flex: 1;
  max-width: 300px;
  margin-left: auto;
}

.search-field {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 44px;
  padding: 0 10px 0 2px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--paper);
  box-shadow: 0 2px 8px rgba(36, 30, 53, .04);
  transition: border-color .16s ease, box-shadow .16s ease;
}

.search-field:focus-within {
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(255, 107, 107, .13);
}

.search-submit {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 10px;
  color: var(--muted-2);
  transition: color .16s ease, background .16s ease;
}

.search-submit:hover {
  color: var(--coral-deep);
  background: var(--coral-soft);
}

.search-submit .icon {
  width: 18px;
  height: 18px;
}

.search-field input,
.catalog-search input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
}

.search-field input::placeholder,
.catalog-search input::placeholder {
  color: var(--muted-2);
  opacity: 1;
}

.search-field kbd {
  flex: none;
  min-width: 21px;
  height: 21px;
  padding: 0 5px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: var(--cream-2);
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1;
}

.random-btn {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--r-sm);
  background: var(--coral);
  color: #fff;
  font-size: 14px;
  font-weight: 750;
  box-shadow: 0 10px 22px rgba(255, 107, 107, .26);
  transition: transform .16s ease, background .16s ease, box-shadow .16s ease;
}

.random-btn:hover:not(:disabled) {
  background: var(--coral-deep);
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(255, 107, 107, .30);
}

.random-btn:active:not(:disabled) {
  transform: translateY(0) scale(.98);
}

.random-btn .icon {
  width: 18px;
  height: 18px;
}

/* search results */

.search-pop {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 70;
  min-width: 320px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--paper);
  box-shadow: var(--shadow-lg);
  max-height: min(440px, 62vh);
  overflow: auto;
}

.search-result {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 50px;
  padding: 7px 10px;
  border-radius: 12px;
  transition: background .14s ease;
}

.search-result:hover,
.search-result:focus-visible {
  background: var(--cream);
}

.search-dot {
  width: 10px;
  height: 34px;
  border-radius: 999px;
  flex: none;
  background: linear-gradient(180deg, var(--violet), var(--sky));
}

.search-dot.fb-numbers { background: linear-gradient(180deg, #FF7A59, var(--sun)); }
.search-dot.fb-sort { background: linear-gradient(180deg, var(--mint), var(--sky)); }
.search-dot.fb-words { background: linear-gradient(180deg, var(--coral), var(--pink)); }
.search-dot.fb-cards { background: linear-gradient(180deg, var(--violet), var(--pink)); }
.search-dot.fb-arcade { background: linear-gradient(180deg, var(--coral), var(--sun)); }
.search-dot.fb-board { background: linear-gradient(180deg, var(--ink), var(--violet)); }
.search-dot.fb-sport { background: linear-gradient(180deg, var(--sky), var(--mint)); }
.search-dot.fb-idle { background: linear-gradient(180deg, var(--sun), var(--pink)); }
.search-dot.fb-strategy { background: linear-gradient(180deg, var(--ink), var(--sky)); }
.search-dot.fb-it { background: linear-gradient(180deg, var(--violet), var(--mint)); }

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

.search-copy b {
  display: block;
  font-family: var(--round);
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: -.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-copy span {
  display: block;
  margin-top: 1px;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-all {
  width: 100%;
  min-height: 44px;
  margin-top: 6px;
  padding: 0 10px;
  border-top: 1px solid var(--line);
  border-radius: 0 0 10px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--coral-deep);
  font-size: 13px;
  font-weight: 700;
  text-align: left;
}

.search-all:hover {
  background: var(--coral-soft);
}

.search-all .icon {
  width: 16px;
  height: 16px;
}

.search-empty {
  padding: 18px 12px;
  color: var(--muted);
  font-size: 13.5px;
  text-align: center;
}

/* ---------- hero ---------- */

.hero {
  padding-top: 30px;
  scroll-margin-top: calc(100px + env(safe-area-inset-top));
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.58fr) minmax(320px, .82fr);
  gap: 20px;
  align-items: stretch;
}

.hero-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 396px;
  padding: 36px 38px;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(250px, .88fr);
  gap: 24px;
  align-items: center;
  border-radius: var(--r-xl);
  color: #fff;
  background:
    radial-gradient(620px 420px at 88% -6%, rgba(255, 255, 255, .22), transparent 62%),
    radial-gradient(420px 300px at 105% 108%, rgba(255, 201, 74, .32), transparent 62%),
    linear-gradient(132deg, #6C5CE7 0%, #5A49D6 48%, #4DABF7 100%);
  box-shadow: 0 26px 70px rgba(90, 73, 214, .25);
}

.hero-card::before,
.hero-card::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}

.hero-card::before {
  width: 300px;
  height: 300px;
  right: -110px;
  top: -140px;
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 0 0 42px rgba(255, 255, 255, .04), 0 0 0 96px rgba(255, 255, 255, .03);
}

.hero-card::after {
  width: 190px;
  height: 190px;
  left: 34%;
  bottom: -140px;
  background: rgba(255, 201, 74, .18);
  filter: blur(2px);
}

.hero-glow {
  position: absolute;
  inset: auto auto -30% 18%;
  width: 340px;
  height: 240px;
  border-radius: 50%;
  background: rgba(255, 107, 107, .16);
  filter: blur(50px);
  z-index: -1;
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, .8);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.hero-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sun);
  box-shadow: 0 0 0 4px rgba(255, 201, 74, .18);
}

.hero-sep {
  opacity: .55;
}

.hero-title {
  margin: 14px 0 12px;
  font-family: var(--round);
  font-size: clamp(38px, 3.6vw, 48px);
  font-weight: 850;
  line-height: .96;
  letter-spacing: -.055em;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.hero-text {
  max-width: 470px;
  color: rgba(255, 255, 255, .82);
  font-size: 15px;
  line-height: 1.58;
  text-wrap: pretty;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 16px;
}

.hero-meta > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .10);
  color: rgba(255, 255, 255, .86);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}

.hero-meta .icon {
  width: 14px;
  height: 14px;
  color: rgba(255, 255, 255, .7);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 750;
  white-space: nowrap;
  transition: transform .14s ease, background .16s ease, box-shadow .16s ease, color .16s ease;
}

.btn:active {
  transform: scale(.97);
}

.btn .icon {
  width: 18px;
  height: 18px;
}

.btn-coral {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 12px 26px rgba(255, 107, 107, .34);
}

.btn-coral:hover {
  background: var(--coral-deep);
  transform: translateY(-1px);
}

.btn-glass {
  border: 1px solid rgba(255, 255, 255, .26);
  background: rgba(255, 255, 255, .10);
  color: #fff;
}

.btn-glass:hover {
  background: rgba(255, 255, 255, .18);
}

.btn-ghost {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}

.btn-ghost:hover {
  background: var(--cream-2);
}

.hero-art {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 350px;
  margin: 0 auto;
  min-width: 0;
}

.hero-art-frame {
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 8px;
  border-radius: 26px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 28px 60px rgba(23, 18, 33, .34);
  transform: rotate(-1.6deg);
  transition: transform .35s ease;
}

.hero-card:hover .hero-art-frame {
  transform: rotate(0deg) translateY(-3px);
}

.hero-art-inner {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 19px;
  background: var(--cream-2);
}

.hero-pill {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 34px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  color: var(--ink);
  font-size: 12px;
  font-weight: 750;
  box-shadow: 0 12px 26px rgba(23, 18, 33, .18);
  white-space: nowrap;
}

.hero-pill .icon {
  width: 14px;
  height: 14px;
  color: var(--coral);
}

.hero-pill-top {
  right: -8px;
  top: 16px;
}

.hero-pill-bottom {
  left: -10px;
  bottom: 18px;
}

/* continue */

.continue-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, .85);
  border-radius: var(--r-xl);
  background: var(--paper);
  box-shadow: var(--shadow-md);
}

.continue-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.continue-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--coral-deep);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.continue-badge {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--coral-soft);
  color: var(--coral-deep);
}

.continue-badge .icon {
  width: 19px;
  height: 19px;
}

.continue-title {
  font-family: var(--round);
  font-size: clamp(26px, 2.4vw, 34px);
  font-weight: 850;
  line-height: 1.03;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.continue-body {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
}

.continue-cover {
  position: relative;
  width: 112px;
  flex: none;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 16px;
  background: var(--cream-2);
  box-shadow: inset 0 0 0 1px rgba(36, 30, 53, .04);
}

.continue-info {
  min-width: 0;
}

.continue-desc {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.continue-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
  color: var(--ink-2);
  font-size: 12.5px;
  font-weight: 650;
}

.dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--muted-2);
  flex: none;
}

.continue-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 48px;
  margin-top: 20px;
  padding: 0 15px;
  border: 1px solid #FFE2D2;
  border-radius: var(--r-sm);
  background: #FFF1E6;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 750;
  transition: background .16s ease, transform .14s ease;
}

.continue-btn:hover {
  background: #FFE8D4;
}

.continue-btn:active {
  transform: scale(.985);
}

.continue-btn .icon {
  width: 18px;
  height: 18px;
  color: var(--coral-deep);
}

.continue-note {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.continue-note .icon {
  width: 14px;
  height: 14px;
  color: var(--muted-2);
}

/* ---------- profile strip ---------- */

.profile-zone {
  padding-top: 18px;
  scroll-margin-top: calc(100px + env(safe-area-inset-top));
}

.profile-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr) minmax(0, .95fr) auto;
  gap: 24px;
  align-items: center;
  padding: 22px 24px;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: var(--r-lg);
  background:
    radial-gradient(420px 220px at 100% 0%, rgba(255, 201, 74, .14), transparent 65%),
    radial-gradient(360px 220px at 0% 100%, rgba(108, 92, 231, .10), transparent 65%),
    linear-gradient(145deg, rgba(255, 255, 255, .97), rgba(255, 248, 239, .9));
  box-shadow: var(--shadow-sm), inset 0 1px 0 #fff;
}

.profile-card::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -90px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 1px solid rgba(108, 92, 231, .12);
  box-shadow: 0 0 0 24px rgba(108, 92, 231, .03);
  pointer-events: none;
}

.profile-ident {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.profile-level {
  width: 56px;
  height: 56px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(145deg, var(--violet), var(--sky));
  color: #fff;
  font-family: var(--round);
  font-size: 24px;
  font-weight: 850;
  line-height: 1;
  box-shadow: 0 12px 26px rgba(90, 73, 214, .28), inset 0 1px 0 rgba(255, 255, 255, .35);
}

.profile-level-lg {
  width: 60px;
  height: 60px;
  border-radius: 19px;
  font-size: 26px;
}

.profile-ident-copy {
  min-width: 0;
}

.profile-kicker {
  color: var(--coral-deep);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 650;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.profile-title {
  margin-top: 2px;
  font-family: var(--round);
  font-size: clamp(21px, 1.9vw, 26px);
  font-weight: 850;
  line-height: 1.03;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.profile-xp {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin-top: 8px;
}

.profile-xp-track {
  position: relative;
  flex: 1 1 90px;
  min-width: 76px;
  height: 7px;
  border-radius: 999px;
  background: var(--cream-3);
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(36, 30, 53, .08);
}

.profile-xp-track i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--violet), var(--sky));
  transition: width .4s ease;
}

.profile-xp-text {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10.5px;
  line-height: 1.3;
}

.profile-block {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.profile-block-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 9px;
}

.profile-block-kicker {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.profile-block-head b {
  font-family: var(--round);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.profile-twohour-track {
  display: block;
  height: 9px;
  border-radius: 999px;
  background: var(--cream-3);
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(36, 30, 53, .08);
}

.profile-twohour-track i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--coral), var(--sun));
  transition: width .4s ease;
}

.profile-twohour-track i.is-done {
  background: linear-gradient(90deg, var(--mint), var(--sky));
}

.profile-next {
  margin-top: 8px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.4;
}

.profile-daily-count {
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--coral-soft);
  color: var(--coral-deep);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.35;
}

.profile-goals {
  display: grid;
  gap: 5px;
}

.profile-goals li {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.2;
}

.profile-goals li b {
  margin-left: auto;
  color: var(--ink-2);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  white-space: nowrap;
}

.goal-mark {
  position: relative;
  width: 14px;
  height: 14px;
  flex: none;
  border: 1.5px solid var(--line-2);
  border-radius: 50%;
  background: #fff;
}

.profile-goals li.is-done {
  color: var(--ink-2);
}

.profile-goals li.is-done .goal-mark {
  border-color: var(--mint);
  background: var(--mint);
}

.profile-goals li.is-done .goal-mark::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1.5px;
  width: 4px;
  height: 7px;
  border: solid #fff;
  border-width: 0 1.6px 1.6px 0;
  transform: rotate(42deg);
}

.profile-goals li.is-done b {
  color: #189A50;
}

.profile-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 9px;
  min-width: 148px;
}

.profile-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: var(--r-sm);
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 750;
  box-shadow: 0 10px 22px rgba(36, 30, 53, .18);
  transition: transform .14s ease, background .16s ease, box-shadow .16s ease;
}

.profile-open:hover {
  background: var(--ink-2);
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(36, 30, 53, .22);
}

.profile-open:active {
  transform: scale(.97);
}

.profile-open .icon {
  width: 16px;
  height: 16px;
  color: var(--sun);
}

.profile-mini {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 2px 10px;
  color: var(--muted);
  font-size: 10.5px;
  text-align: right;
}

.profile-mini b {
  color: var(--ink-2);
  font-family: var(--mono);
  font-size: 11px;
}

/* ---------- catalog ---------- */

.catalog {
  padding-top: 66px;
  scroll-margin-top: calc(96px + env(safe-area-inset-top));
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 26px;
}

.section-kicker {
  margin-bottom: 7px;
  color: var(--coral-deep);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.section-head h2,
.about-copy h2 {
  font-family: var(--round);
  font-size: clamp(32px, 3.4vw, 44px);
  font-weight: 850;
  line-height: 1.02;
  letter-spacing: -.05em;
  text-wrap: balance;
}

.section-count {
  color: var(--muted);
  font-size: .56em;
  font-weight: 750;
  letter-spacing: -.03em;
}

.section-note {
  max-width: 430px;
  padding-bottom: 4px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  text-align: right;
  text-wrap: pretty;
}

.catalog-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  scroll-margin-top: calc(100px + env(safe-area-inset-top));
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex: 1;
  min-width: 0;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
  transition: color .15s ease, background .15s ease, border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}

.filter-chip:hover:not(:disabled) {
  border-color: var(--line-2);
  background: #FFFDF9;
  transform: translateY(-1px);
}

.filter-chip .n {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
}

.filter-chip[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
  box-shadow: 0 8px 18px rgba(36, 30, 53, .16);
}

.filter-chip[aria-pressed="true"] .n {
  color: rgba(255, 255, 255, .6);
}

.results-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.fav-filter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
  transition: color .15s ease, background .15s ease, border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}

.fav-filter:hover:not(:disabled) {
  border-color: var(--line-2);
  background: #FFFDF9;
  transform: translateY(-1px);
}

.fav-filter .icon {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.fav-filter .n {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
}

.fav-filter[aria-pressed="true"] {
  border-color: var(--coral);
  background: var(--coral);
  color: #fff;
  box-shadow: 0 8px 18px rgba(255, 107, 107, .22);
}

.fav-filter[aria-pressed="true"] .icon {
  fill: currentColor;
}

.fav-filter[aria-pressed="true"] .n {
  color: rgba(255, 255, 255, .68);
}

.catalog-search {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
  width: 260px;
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--paper);
  box-shadow: 0 2px 8px rgba(36, 30, 53, .04);
  transition: border-color .16s ease, box-shadow .16s ease;
}

.catalog-search:focus-within {
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(255, 107, 107, .13);
}

.catalog-search > .icon {
  width: 17px;
  height: 17px;
  color: var(--muted-2);
}

.results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 40px;
  margin: 8px 2px 14px;
  flex-wrap: wrap;
}

.result-count {
  flex: 1;
  min-width: 0;
  color: var(--muted);
  font-size: 13px;
}

.clear-filters {
  min-height: 40px;
  padding: 0 4px;
  color: var(--coral-deep);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.clear-filters:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  min-height: 220px;
}

.game-card {
  position: relative;
  min-width: 0;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: var(--r-lg);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}

.game-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.game-card:focus-within {
  box-shadow: var(--shadow-md), 0 0 0 3px rgba(77, 171, 247, .28);
}

.game-cover {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 17px;
  background: linear-gradient(135deg, var(--cream-2), var(--cream-3));
}

.cover-stack {
  position: absolute;
  inset: 0;
  display: block;
}

.cover-img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--cream-2);
  transition: transform .4s ease;
}

.game-card:hover .cover-img {
  transform: scale(1.03);
}

.cover-img[hidden],
.cover-svg-fb[hidden] {
  display: none !important;
}

.cover-svg,
.cover-fallback {
  position: absolute;
  inset: 0;
  display: block;
}

.cover-svg svg {
  display: block;
  width: 100%;
  height: 100%;
}

.cover-fallback {
  --fb-a: #6C5CE7;
  --fb-b: #4DABF7;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(255, 255, 255, .26), transparent 58%),
    linear-gradient(135deg, var(--fb-a), var(--fb-b));
}

.cover-fallback::before {
  content: "";
  position: absolute;
  width: 150%;
  aspect-ratio: 1;
  right: -52%;
  top: -58%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .30);
  box-shadow: 0 0 0 30px rgba(255, 255, 255, .05), 0 0 0 70px rgba(255, 255, 255, .035);
}

.cover-fallback::after {
  content: "";
  position: absolute;
  width: 54px;
  height: 54px;
  left: -18px;
  bottom: -22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .15);
}

.cover-fallback b {
  position: relative;
  z-index: 1;
  max-width: 100%;
  color: #fff;
  font-family: var(--round);
  font-size: clamp(13px, 1.55vw, 19px);
  font-weight: 850;
  line-height: 1.05;
  letter-spacing: -.04em;
  overflow-wrap: anywhere;
  text-shadow: 0 3px 16px rgba(23, 18, 33, .22);
}

.hero-art-inner .cover-fallback {
  padding: 22px;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-art-inner .cover-fallback b {
  font-size: clamp(26px, 2.8vw, 32px);
}

.continue-cover .cover-fallback {
  padding: 10px;
}

.continue-cover .cover-fallback b {
  display: none;
}

.howto-cover .cover-fallback b {
  font-size: 22px;
}

.fb-numbers { --fb-a: #FF7A59; --fb-b: #FFC94A; }
.fb-logic { --fb-a: #6C5CE7; --fb-b: #4DABF7; }
.fb-sort { --fb-a: #2ED573; --fb-b: #4DABF7; }
.fb-words { --fb-a: #FF6B6B; --fb-b: #FF8FB1; }
.fb-cards { --fb-a: #5A49D6; --fb-b: #FF8FB1; }
.fb-arcade { --fb-a: #FF6B6B; --fb-b: #FFC94A; }
.fb-board { --fb-a: #241E35; --fb-b: #6C5CE7; }
.fb-sport { --fb-a: #4DABF7; --fb-b: #2ED573; }
.fb-idle { --fb-a: #FFC94A; --fb-b: #FF8FB1; }
.fb-strategy { --fb-a: #241E35; --fb-b: #4DABF7; }
.fb-it { --fb-a: #6C5CE7; --fb-b: #2ED573; }

.badge-daily, .badge-session {
  position: absolute;
  left: 9px;
  top: 9px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 26px;
  padding: 0 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #7A5200;
  font-size: 12px;
  font-weight: 750;
  line-height: 1;
  pointer-events: none;
  box-shadow: 0 2px 10px rgba(36, 30, 53, .08);
}

.badge-daily .icon {
  width: 13px;
  height: 13px;
  color: #D99A00;
}

.badge-session { color: #3A314D; background: rgba(255,255,255,.9); }
.badge-session::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #FF6B6B;
}

.fav-btn {
  position: absolute;
  right: 8px;
  top: 8px;
  z-index: 3;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--ink);
  box-shadow: 0 2px 10px rgba(36, 30, 53, .10);
  transition: transform .14s ease, background .16s ease, color .16s ease;
}

.fav-btn:hover {
  transform: scale(1.05);
  background: #fff;
}

.fav-btn:active {
  transform: scale(.94);
}

.fav-btn .icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.fav-btn[aria-pressed="true"] {
  color: var(--coral);
}

.fav-btn[aria-pressed="true"] .icon {
  fill: currentColor;
  stroke: currentColor;
}

.game-info {
  padding: 12px 8px 8px;
}

.game-title {
  font-family: var(--round);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -.025em;
  overflow-wrap: anywhere;
}

.game-title a {
  border-radius: 5px;
}

.game-title a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: var(--r-lg);
}

.game-card:hover .game-title {
  color: var(--coral-deep);
}

.game-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12.5px;
  white-space: nowrap;
  overflow: hidden;
}

.game-meta span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
}

.game-meta span:last-child {
  flex: none;
}

/* loading / empty / error */

.skeleton-card {
  padding: 8px;
  border-radius: var(--r-lg);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.skeleton-cover {
  aspect-ratio: 4 / 3;
  border-radius: 17px;
  background: linear-gradient(90deg, #F1E5D6 25%, #FAF3EA 50%, #F1E5D6 75%);
  background-size: 200% 100%;
  animation: shimmer 1.6s linear infinite;
}

.skeleton-line {
  width: 68%;
  height: 12px;
  margin: 13px 8px 7px;
  border-radius: 6px;
  background: #F1E5D6;
}

.skeleton-line.short {
  width: 42%;
  height: 9px;
  margin-top: 0;
}

@keyframes shimmer {
  from { background-position: 200% 0; }
  to { background-position: -200% 0; }
}

.catalog-empty,
.catalog-error {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px;
  border: 1px dashed var(--line-2);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .72);
}

.empty-icon,
.error-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 18px;
  background: var(--coral-soft);
  color: var(--coral-deep);
}

.empty-icon .icon,
.error-icon .icon {
  width: 26px;
  height: 26px;
}

.empty-copy h3,
.error-copy h3 {
  font-family: var(--round);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.03em;
}

.empty-copy p,
.error-copy p {
  max-width: 620px;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
}

.empty-action,
.error-action {
  margin-left: auto;
  flex: none;
}

.empty-action .btn,
.error-action .btn {
  min-height: 44px;
  padding: 0 16px;
  font-size: 13px;
}

/* ---------- about ---------- */

.about {
  padding-top: 72px;
  scroll-margin-top: calc(100px + env(safe-area-inset-top));
}

.about-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 46px;
  align-items: center;
  padding: 36px 40px;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: var(--r-xl);
  background:
    radial-gradient(520px 320px at 100% 0%, rgba(255, 201, 74, .16), transparent 62%),
    linear-gradient(145deg, #FFFFFF, #FFF5E9);
  box-shadow: var(--shadow-sm);
}

.about-card::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -60px;
  bottom: -100px;
  border-radius: 50%;
  background: rgba(255, 107, 107, .10);
  pointer-events: none;
}

.about-copy {
  position: relative;
  z-index: 1;
}

.about-copy p:last-child {
  max-width: 570px;
  margin-top: 13px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
  text-wrap: pretty;
}

.about-facts {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
}

.about-facts li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 11px 14px;
  border: 1px solid rgba(239, 227, 212, .9);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 2px 8px rgba(36, 30, 53, .035);
}

.fact-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 12px;
}

.fact-icon .icon {
  width: 20px;
  height: 20px;
}

.fact-icon-mint { background: #E5FBEE; color: #189A50; }
.fact-icon-sky { background: #E9F5FF; color: #1B74C4; }
.fact-icon-sun { background: #FFF6D9; color: #A97100; }

.about-facts b {
  display: block;
  font-family: var(--round);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.about-facts em {
  display: block;
  margin-top: 1px;
  color: var(--muted);
  font-size: 12.5px;
  font-style: normal;
}

/* ---------- footer ---------- */

.site-footer {
  position: relative;
  overflow: hidden;
  margin-top: 76px;
  border-radius: 40px 40px 0 0;
  background:
    radial-gradient(800px 420px at 92% -10%, rgba(108, 92, 231, .30), transparent 62%),
    radial-gradient(620px 360px at 2% 110%, rgba(255, 107, 107, .18), transparent 60%),
    var(--ink);
  color: #fff;
}

.footer-inner {
  padding-top: 46px;
  padding-bottom: calc(28px + env(safe-area-inset-bottom));
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}

.brand-footer .brand-name {
  color: #fff;
}

.footer-brand p {
  max-width: 370px;
  margin-top: 14px;
  color: rgba(255, 255, 255, .64);
  font-size: 14px;
  line-height: 1.55;
}

.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  color: rgba(255, 255, 255, .66);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.status-dot {
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 3px rgba(46, 213, 115, .16);
}

.footer-directory {
  margin-top: 36px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.footer-dir-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
}

.footer-dir-head h2 {
  font-family: var(--round);
  font-size: 23px;
  font-weight: 850;
  letter-spacing: -.04em;
}

.footer-dir-head a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 4px;
  color: rgba(255, 255, 255, .58);
  font-size: 12.5px;
  font-weight: 600;
  border-radius: 6px;
}

.footer-dir-head a:hover {
  color: #fff;
}

.footer-games {
  columns: 4;
  column-gap: 30px;
}

.footer-games li {
  break-inside: avoid;
}

.footer-games a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 2px 0;
  color: rgba(255, 255, 255, .70);
  font-size: 13.5px;
  line-height: 1.3;
  border-radius: 4px;
  transition: color .14s ease, transform .14s ease;
}

.footer-games a:hover {
  color: #fff;
  transform: translateX(2px);
}

.footer-games-loading,
.footer-games-error {
  color: rgba(255, 255, 255, .55);
  font-size: 13px;
  padding: 8px 0;
}

.footer-games-error a {
  color: var(--sun);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .10);
  color: rgba(255, 255, 255, .44);
  font-size: 12.5px;
}

/* ---------- dialog ---------- */

.howto-dialog {
  width: min(760px, calc(100vw - 32px));
  max-width: 760px;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 0;
  border-radius: var(--r-xl);
  background: transparent;
  overflow: visible;
}

.howto-dialog::backdrop {
  background: rgba(23, 18, 33, .58);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.howto-card {
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  overflow: auto;
  padding: 30px;
  border-radius: var(--r-xl);
  background: var(--cream);
  box-shadow: var(--shadow-lg);
}

.howto-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.howto-kicker {
  color: var(--coral-deep);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.howto-head h2 {
  margin-top: 2px;
  font-family: var(--round);
  font-size: clamp(30px, 4vw, 38px);
  font-weight: 850;
  line-height: 1;
  letter-spacing: -.05em;
}

.icon-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 14px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: background .16s ease, transform .14s ease;
}

.icon-btn:hover {
  background: var(--cream-2);
}

.icon-btn:active {
  transform: scale(.95);
}

.icon-btn .icon {
  width: 19px;
  height: 19px;
}

.howto-body {
  display: grid;
  grid-template-columns: 262px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  margin-top: 22px;
}

.howto-cover {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  border-radius: var(--r-md);
  background: var(--cream-2);
  box-shadow: var(--shadow-sm);
}

.howto-desc {
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.58;
  text-wrap: pretty;
}

.howto-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.howto-facts > div {
  min-width: 0;
  padding: 9px 11px;
  border-radius: 12px;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
}

.howto-facts dt {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.howto-facts dd {
  margin-top: 2px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.howto-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.howto-actions .btn {
  min-height: 48px;
}

/* ---------- profile dialog ---------- */

.profile-dialog {
  width: min(880px, calc(100vw - 32px));
  max-width: 880px;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 0;
  border-radius: var(--r-xl);
  background: transparent;
  overflow: visible;
}

.profile-dialog::backdrop {
  background: rgba(23, 18, 33, .58);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.profile-dialog-card {
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  overflow: auto;
  padding: 28px;
  border-radius: var(--r-xl);
  background:
    radial-gradient(560px 320px at 100% 0%, rgba(255, 201, 74, .14), transparent 62%),
    linear-gradient(160deg, var(--cream), #FFFDF9);
  box-shadow: var(--shadow-lg);
}

.profile-dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.profile-dialog-ident {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.profile-dialog-ident h2 {
  margin-top: 2px;
  font-family: var(--round);
  font-size: clamp(26px, 3.4vw, 34px);
  font-weight: 850;
  line-height: 1;
  letter-spacing: -.05em;
}

.profile-dialog-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.profile-panel {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.profile-panel-wide {
  grid-column: 1 / -1;
}

.profile-panel h3 {
  font-family: var(--round);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.profile-panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.profile-panel-head span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
}

.profile-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.profile-stat-grid > div {
  min-width: 0;
  padding: 9px 10px;
  border-radius: 10px;
  background: var(--cream);
}

.profile-stat-grid dt {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-stat-grid dd {
  margin: 2px 0 0;
  font-family: var(--round);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-dialog-level {
  margin-top: 12px;
}

.profile-dialog-track {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: var(--cream-3);
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(36, 30, 53, .08);
}

.profile-dialog-track i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--violet), var(--sky));
  transition: width .4s ease;
}

.profile-dialog-level p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

.ach-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin-top: 12px;
}

.ach-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--cream);
}

.ach-item.is-unlocked {
  border-color: #D7F3E1;
  background: #F1FBF5;
}

.ach-item.is-locked {
  opacity: .68;
}

.ach-mark {
  width: 26px;
  height: 26px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #fff;
  color: var(--muted-2);
  box-shadow: inset 0 0 0 1px var(--line);
}

.ach-mark svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ach-item.is-unlocked .ach-mark {
  background: var(--mint);
  color: #fff;
  box-shadow: none;
}

.ach-copy {
  flex: 1;
  min-width: 0;
}

.ach-copy b {
  display: block;
  font-family: var(--round);
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.2;
}

.ach-copy em {
  display: block;
  margin-top: 1px;
  color: var(--muted);
  font-size: 10.5px;
  font-style: normal;
  line-height: 1.35;
}

.ach-status {
  flex: none;
  padding-top: 2px;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 9px;
  white-space: nowrap;
}

.ach-item.is-unlocked .ach-status {
  color: #189A50;
}

.profile-dialog-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.profile-dialog-foot p {
  color: var(--muted);
  font-size: 12px;
}

.profile-dialog-foot .btn {
  min-height: 44px;
}

/* ---------- responsive ---------- */

@media (max-width: 1180px) {
  .header-inner { gap: 16px; }
  .nav a { padding: 0 10px; font-size: 13.5px; }
  .header-search { max-width: 250px; }
  .random-btn { padding: 0 15px; }
  .hero-grid { grid-template-columns: 1fr; }
}

@media (min-width: 721px) and (max-width: 1180px) {
  .continue-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .95fr);
    grid-template-areas:
      "head body"
      "title body"
      "title button"
      "note note";
    column-gap: 42px;
    align-items: start;
    padding: 28px 30px;
  }
  .continue-head { grid-area: head; margin-bottom: 6px; }
  .continue-title { grid-area: title; max-width: 430px; font-size: clamp(30px, 3.7vw, 38px); }
  .continue-body { grid-area: body; margin-top: 0; }
  .continue-btn { grid-area: button; margin-top: 16px; }
  .continue-note { grid-area: note; margin-top: 22px; padding-top: 16px; }
}

@media (max-width: 1099px) {
  .nav { display: none; }
  .header-search { max-width: none; margin-left: auto; }
  .mobile-nav {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding: 0 0 11px;
    scrollbar-width: none;
  }
  .mobile-nav::-webkit-scrollbar { display: none; }
  .mobile-nav a {
    flex: none;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(255,255,255,.72);
    box-shadow: inset 0 0 0 1px var(--line);
    color: var(--muted);
    font-size: 12px;
    font-weight: 650;
    text-decoration: none;
    white-space: nowrap;
  }
  .mobile-nav a:hover { color: var(--ink); background: #fff; }
}

@media (max-width: 1024px) {
  .container { padding: 0 max(26px, env(safe-area-inset-right)) 0 max(26px, env(safe-area-inset-left)); }
  .hero-card { padding: 32px; grid-template-columns: minmax(0, 1.15fr) minmax(220px, .85fr); gap: 20px; }
  .hero-art { max-width: 310px; }
  .continue-card { padding: 24px; }
  .continue-cover { width: 98px; }
  .games-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .about-card { gap: 32px; padding: 32px; }
  .footer-games { columns: 3; }
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .continue-card { min-height: 0; }
  .continue-note { margin-top: 18px; }
  .section-head { align-items: flex-start; }
  .section-note { max-width: 360px; }
  .catalog-toolbar { flex-wrap: wrap; }
  .catalog-search { width: 260px; }
  .about-card { grid-template-columns: 1fr; }
  .about-copy p:last-child { max-width: none; }
  .about-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .about-facts li { align-items: flex-start; }
}

@media (max-width: 820px) {
  .hero-card { grid-template-columns: 1fr; padding: 30px; }
  .hero-copy { max-width: 600px; }
  .hero-art { margin-top: 8px; max-width: 330px; }
  .hero-pill-top { right: 0; }
  .hero-pill-bottom { left: 0; }
  .continue-body { max-width: 560px; }
  .filters { gap: 6px; }
  .filter-chip { padding: 0 11px; font-size: 12.5px; }
  .section-note { max-width: 100%; text-align: left; padding-bottom: 0; }
  .section-head { flex-direction: column; gap: 10px; }
  .catalog-search { width: 100%; order: -1; }
  .about-facts { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; gap: 18px; }
  .footer-games { columns: 3; }
}

@media (max-width: 720px) {
  .container { padding: 0 max(20px, env(safe-area-inset-right)) 0 max(20px, env(safe-area-inset-left)); }
  .hero { padding-top: 22px; }
  .games-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .game-card { padding: 7px; border-radius: 22px; }
  .game-cover { border-radius: 16px; }
  .game-title { font-size: 15px; }
  .game-info { padding: 11px 6px 6px; }
  .catalog { padding-top: 52px; }
  .about { padding-top: 54px; }
  .about-card { padding: 26px; }
  .footer-games { columns: 2; }
  .footer-inner { padding-top: 38px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 4px; }
  .catalog-empty,
  .catalog-error { flex-wrap: wrap; padding: 22px; gap: 16px; }
  .empty-action,
  .error-action { margin-left: 0; width: 100%; }
  .empty-action .btn,
  .error-action .btn { width: 100%; }
  .howto-body { grid-template-columns: 1fr; }
  .howto-cover { max-width: 100%; aspect-ratio: 16 / 7; }
  .howto-card { padding: 22px; }
}

@media (max-width: 560px) {
  .header-inner { flex-wrap: wrap; min-height: 0; padding-top: 10px; padding-bottom: 10px; gap: 9px 12px; }
  .brand { flex: 1; }
  .brand-mark { width: 38px; height: 38px; border-radius: 12px; }
  .brand-mark svg { width: 24px; height: 24px; }
  .brand-name { font-size: 24px; }
  .header-search { order: 3; flex: 0 0 100%; margin-left: 0; }
  .search-field { height: 44px; }
  .search-field kbd { display: none; }
  .random-btn { width: 44px; padding: 0; }
  .random-btn .random-label { display: none; }
  .hero { scroll-margin-top: calc(132px + env(safe-area-inset-top)); }
  .catalog { scroll-margin-top: calc(132px + env(safe-area-inset-top)); }
  .about { scroll-margin-top: calc(132px + env(safe-area-inset-top)); }
  .catalog-toolbar { scroll-margin-top: calc(132px + env(safe-area-inset-top)); }
  .hero-card { padding: 24px; border-radius: 28px; }
  .hero-title { font-size: clamp(29px, 8vw, 35px); }
  .hero-text { font-size: 14.5px; }
  .hero-meta { gap: 6px; }
  .hero-meta > span { min-height: 28px; padding: 0 9px; font-size: 12px; }
  .hero-actions .btn { min-height: 46px; padding: 0 17px; }
  .hero-art { max-width: 300px; }
  .hero-pill { font-size: 11.5px; min-height: 32px; }
  .continue-card { padding: 22px; border-radius: 28px; }
  .continue-cover { width: 92px; }
  .continue-desc { -webkit-line-clamp: 3; }
  .section-head h2,
  .about-copy h2 { font-size: clamp(30px, 9vw, 38px); }
  .section-count { font-size: .52em; }
  .filter-chip { min-height: 40px; padding: 0 11px; font-size: 12px; }
  .filter-chip .n { font-size: 10.5px; }
  .results-bar { margin-bottom: 12px; }
  .result-count { font-size: 12.5px; }
  .clear-filters { font-size: 12.5px; }
  .results-actions { gap: 6px; }
  .fav-filter { padding: 0 10px; font-size: 12px; }
  .fav-filter .n { font-size: 10.5px; }
  .game-title { font-size: 14.5px; }
  .game-meta { font-size: 12px; gap: 6px; }
  .badge-daily { height: 24px; font-size: 11px; left: 7px; top: 7px; padding: 0 7px; }
  .fav-btn { width: 40px; height: 40px; right: 6px; top: 6px; }
  .about-card { padding: 24px; border-radius: 28px; }
  .footer-games a { min-height: 40px; }
  .howto-card { padding: 18px; border-radius: 26px; }
  .howto-facts { grid-template-columns: 1fr; }
  .howto-actions .btn { flex: 1; }
}

@media (max-width: 400px) {
  .container { padding: 0 max(16px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left)); }
  .games-grid { gap: 11px; }
  .game-card { padding: 6px; border-radius: 20px; }
  .game-cover { border-radius: 15px; }
  .game-info { padding: 10px 5px 5px; }
  .game-title { font-size: 14px; }
  .game-meta { font-size: 12px; }
  .badge-daily { font-size: 11px; height: 23px; padding: 0 6px; gap: 3px; }
  .badge-daily .icon { width: 12px; height: 12px; }
  .fav-btn { width: 40px; height: 40px; }
  .continue-body { gap: 12px; }
  .continue-cover { width: 84px; }
  .hero-pill-top { top: 10px; }
  .hero-pill-bottom { bottom: 12px; }
  .footer-games a { font-size: 13px; }
}

@media (max-width: 1180px) {
  .profile-card {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    row-gap: 18px;
  }
  .profile-twohours,
  .profile-daily {
    padding-top: 16px;
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
  .profile-actions {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
    padding-top: 14px;
    border-top: 1px solid var(--line);
  }
  .profile-mini {
    justify-content: flex-start;
    text-align: left;
  }
}

@media (max-width: 980px) {
  .profile-card {
    gap: 20px;
  }
}

@media (max-width: 720px) {
  .profile-zone {
    padding-top: 16px;
  }
  .profile-card {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px;
  }
  .profile-level {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    font-size: 21px;
  }
  .profile-block {
    padding-top: 14px;
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
  .profile-actions {
    padding-top: 14px;
  }
  .profile-open {
    flex: 1;
  }
  .profile-mini {
    flex: 1;
    justify-content: flex-end;
    text-align: right;
  }
  .profile-dialog-card {
    padding: 20px;
  }
  .profile-dialog-body {
    grid-template-columns: 1fr;
  }
  .profile-panel-wide {
    grid-column: auto;
  }
  .profile-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ach-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .profile-card {
    padding: 18px;
    border-radius: 24px;
  }
  .profile-title {
    font-size: clamp(20px, 6vw, 24px);
  }
  .profile-xp-text {
    flex-basis: 100%;
  }
  .profile-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .profile-open {
    width: 100%;
  }
  .profile-mini {
    justify-content: flex-start;
    text-align: left;
  }
  .profile-dialog {
    width: calc(100vw - 20px);
  }
  .profile-dialog-card {
    padding: 18px;
    border-radius: 24px;
  }
  .profile-dialog-head .icon-btn {
    width: 40px;
    height: 40px;
  }
  .profile-dialog-foot {
    flex-direction: column;
    align-items: stretch;
  }
  .profile-dialog-foot .btn {
    width: 100%;
  }
  .footer-status {
    white-space: normal;
    font-size: 11.5px;
  }
}

@media (max-width: 400px) {
  .profile-level {
    width: 46px;
    height: 46px;
    border-radius: 15px;
    font-size: 19px;
  }
  .profile-card {
    padding: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .game-card:hover,
  .hero-card:hover .hero-art-frame,
  .random-btn:hover:not(:disabled),
  .filter-chip:hover:not(:disabled),
  .footer-games a:hover,
  .profile-open:hover,
  .brand:hover .brand-mark {
    transform: none;
  }
  .game-card:hover .cover-img {
    transform: none;
  }
}

/* ---------- IT hub promo strip ---------- */

.it-promo {
  padding-top: 22px;
}

.it-promo-card {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(92, 242, 192, .26);
  border-radius: var(--r-lg);
  background:
    radial-gradient(520px 280px at 88% -30%, rgba(92, 242, 192, .22), transparent 66%),
    radial-gradient(420px 240px at 4% 130%, rgba(77, 171, 247, .13), transparent 64%),
    linear-gradient(135deg, #070D12, #0A191F 56%, #09141C);
  color: #ECF9F4;
  box-shadow: 0 18px 44px rgba(14, 32, 38, .18), inset 0 1px 0 rgba(255, 255, 255, .05);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.it-promo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(92, 242, 192, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(92, 242, 192, .045) 1px, transparent 1px);
  background-size: 38px 38px;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 74%);
  mask-image: linear-gradient(90deg, #000, transparent 74%);
}

.it-promo-card:hover {
  transform: translateY(-2px);
  border-color: rgba(92, 242, 192, .46);
  box-shadow: 0 24px 56px rgba(14, 32, 38, .24), inset 0 1px 0 rgba(255, 255, 255, .06);
}

.it-promo-card:focus-visible {
  outline-color: #5CF2C0;
  outline-offset: 3px;
}

.it-promo-bar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  border-bottom: 1px solid rgba(124, 231, 198, .14);
  background: rgba(255, 255, 255, .025);
  color: #7E9A96;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.it-promo-dots {
  display: flex;
  flex: none;
  gap: 4px;
}

.it-promo-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #23343A;
}

.it-promo-dots i:nth-child(1) { background: rgba(255, 107, 107, .8); }
.it-promo-dots i:nth-child(2) { background: rgba(255, 201, 74, .8); }
.it-promo-dots i:nth-child(3) { background: rgba(92, 242, 192, .8); }

.it-promo-path {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.it-promo-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: none;
  color: #5CF2C0;
}

.it-promo-live i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #5CF2C0;
  box-shadow: 0 0 8px rgba(92, 242, 192, .8);
  animation: it-promo-pulse 2.2s ease-in-out infinite;
}

.it-promo-body {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 17px 20px 19px;
}

.it-promo-copy {
  display: block;
  min-width: 0;
}

.it-promo-kicker {
  display: block;
  color: #5CF2C0;
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.it-promo-title {
  display: block;
  margin-top: 3px;
  color: #F1FBF7;
  font-family: var(--round);
  font-size: clamp(21px, 2.2vw, 27px);
  font-weight: 850;
  line-height: 1.1;
  letter-spacing: -.04em;
}

.it-promo-text {
  display: block;
  max-width: 560px;
  margin-top: 4px;
  color: #93ABA7;
  font-size: 12.5px;
  line-height: 1.5;
}

.it-promo-side {
  display: flex;
  align-items: center;
  flex: none;
  gap: 16px;
}

.it-promo-prompt {
  color: #7F9A96;
  font-family: var(--mono);
  font-size: 10.5px;
  white-space: nowrap;
}

.it-promo-prompt b {
  color: #5CF2C0;
  font-weight: 600;
}

.it-promo-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  padding: 0 15px;
  border-radius: 9px;
  background: #5CF2C0;
  color: #04100C;
  font-size: 12.5px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(92, 242, 192, .16);
  transition: background .16s ease;
}

.it-promo-cta .icon {
  width: 15px;
  height: 15px;
  transition: transform .16s ease;
}

.it-promo-card:hover .it-promo-cta {
  background: #78F7CE;
}

.it-promo-card:hover .it-promo-cta .icon {
  transform: translateX(2px);
}

@keyframes it-promo-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}

@media (max-width: 720px) {
  .it-promo {
    padding-top: 18px;
  }

  .it-promo-body {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 15px 16px 17px;
  }

  .it-promo-prompt {
    display: none;
  }

  .it-promo-side {
    justify-content: stretch;
  }

  .it-promo-cta {
    width: 100%;
  }

  .it-promo-text {
    font-size: 12px;
  }
}

@media (max-width: 400px) {
  .it-promo-bar {
    padding: 8px 14px;
    font-size: 9px;
  }

  .it-promo-body {
    padding: 14px 14px 15px;
  }

  .it-promo-title {
    font-size: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .it-promo-card:hover {
    transform: none;
  }

  .it-promo-live i {
    animation: none;
  }

  .it-promo-card:hover .it-promo-cta .icon {
    transform: none;
  }
}
