* {
  box-sizing: border-box;
}

html,
body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
}

body {
  color: var(--text);
  background:
    radial-gradient(circle at 72% 0%, rgba(125, 94, 232, 0.22), transparent 36%),
    radial-gradient(circle at 18% 18%, rgba(232, 90, 168, 0.1), transparent 30%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 55%, var(--bg-deep) 100%);
  font-family: Onest, system-ui, sans-serif;
  font-weight: 600;
}

body::before {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
  background-image:
    radial-gradient(circle at 8% 12%, rgba(255, 242, 231, 0.46) 0 1px, transparent 1.7px),
    radial-gradient(circle at 42% 15%, rgba(255, 242, 231, 0.3) 0 1px, transparent 1.7px),
    radial-gradient(circle at 82% 8%, rgba(255, 242, 231, 0.38) 0 1px, transparent 1.7px),
    linear-gradient(rgba(132, 109, 210, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(132, 109, 210, 0.028) 1px, transparent 1px);
  background-size: 360px 220px, 380px 240px, 340px 210px, 42px 42px, 42px 42px;
  opacity: 0.62;
  mask-image: linear-gradient(to bottom, #000, transparent 72%);
}

button,
a,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.page-shell {
  width: min(1140px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 22px 0 48px;
}

/* СЃС‚СЂР°РЅРёС†С‹ Р±РµР· РґР»РёРЅРЅРѕРіРѕ РєРѕРЅС‚РµРЅС‚Р°: С„СѓС‚РµСЂ РїСЂРёР¶Р°С‚ Рє РЅРёР·Сѓ РІСЊСЋРїРѕСЂС‚Р° */
.page-shell--full {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
}

.page-footer {
  margin-top: auto;
  padding-top: 64px;
  color: var(--text-muted);
  text-align: center;
}

.page-footer p {
  margin: 0;
  color: inherit;
  font-size: 0.85rem;
  font-weight: 500;
}

.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 8px 0 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
}

.brand strong {
  display: block;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.1;
}

.brand span span {
  display: block;
  margin-top: 3px;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.logo-slot {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  padding: 5px;
  overflow: hidden;
  border: 1px solid rgba(255, 200, 106, 0.28);
  border-radius: 19px;
  background: #050507;
}

.logo-slot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.button,
.copy-button,
.rules-open-button,
.rules-close-button {
  min-height: 42px;
  border: 0;
  border-radius: var(--radius-sm);
  font-weight: 800;
  line-height: 1;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: var(--text);
  text-decoration: none;
}

.button-primary {
  color: #fff8ef;
  background: linear-gradient(180deg, #f06dad 0%, #c84987 100%);
  box-shadow: 0 12px 30px rgba(232, 90, 168, 0.28);
}

.button-secondary {
  border: 1px solid rgba(132, 109, 210, 0.28);
  background: rgba(255, 255, 255, 0.055);
}

.profile-button {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.avatar-profile {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
}

.avatar-profile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;

  /* РїСЂРёРіР»СѓС€Р°РµРј СЂРѕР·РѕРІС‹Р№ Р°РІР°С‚Р°СЂ вЂ” РіР»Р°РІРЅС‹Р№ Р°РєС†РµРЅС‚ СЃС‚СЂР°РЅРёС†С‹ РЅРµ РѕРЅ */
  filter: saturate(0.45) brightness(0.96);
}

.game-hero {
  display: grid;
  grid-template-columns: minmax(420px, 0.9fr) minmax(560px, 1fr);
  gap: 22px;
  align-items: start;
  margin-bottom: 18px;
}

.game-title-block {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.hero-label,
.meta-label,
.countdown-label,
.invite-label {
  color: var(--accent-warm);
  font-size: 0.76rem;
  font-weight: 800;
}

.hero-label,
.meta-label {
  margin: 0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  color: #fff3e7;
  font-size: clamp(2.2rem, 4.1vw, 3.35rem);
  font-weight: 900;
  line-height: 0.95;
}

h2 {
  margin-bottom: 8px;
  font-size: 1.28rem;
  font-weight: 800;
  line-height: 1.2;
}

p {
  color: var(--text-soft);
  font-weight: 500;
  line-height: 1.55;
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  align-items: stretch;
  gap: 12px;
}

.meta-card,
.description-card,
.side-card,
.participants-card,
.chat-card {
  min-width: 0;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(18px);
}

.meta-card {
  position: relative;
  display: grid;
  align-content: center;
  height: 100%;
  min-height: 126px;
  overflow: hidden;
  padding: 20px 22px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 82% 48%, rgba(168, 95, 255, 0.2), transparent 42%),
    linear-gradient(135deg, rgba(31, 26, 68, 0.94), rgba(10, 16, 42, 0.96));
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.meta-card-level {
  border-color: rgba(255, 255, 255, 0.09);
}

.meta-card-status {
  border-color: rgba(255, 255, 255, 0.09);
  background:
    radial-gradient(circle at 82% 44%, rgba(168, 95, 255, 0.26), transparent 40%),
    radial-gradient(circle at 16% 76%, rgba(125, 94, 232, 0.14), transparent 18%),
    linear-gradient(135deg, rgba(31, 26, 68, 0.94), rgba(10, 16, 42, 0.96));
}

.meta-card strong {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 62%;
  margin-top: 10px;
  color: #fffaf4;
  font-size: clamp(1.25rem, 2vw, 1.72rem);
  font-weight: 900;
  line-height: 1.08;
  hyphens: auto;
}

.meta-card .meta-label {
  position: relative;
  z-index: 1;
  color: #a875ff;
  font-size: 0.74rem;
}

.meta-note {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 52%;
  margin-top: 8px;
  color: rgba(232, 222, 239, 0.66);
  font-size: 0.78rem;
  font-weight: 600;
}

.meta-card-art {
  position: absolute;
  z-index: 0;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.meta-card-art-pinecone {
  right: 12px;
  bottom: 8px;
  width: auto;
  height: calc(100% - 22px);
}

.meta-card-art-clock {
  right: 16px;
  bottom: 11px;
  width: auto;
  height: calc(100% - 34px);
}

.layout-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.description-card {
  grid-column: 1 / -1;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.52fr) minmax(320px, 0.48fr);
  min-height: 520px;
  overflow: hidden;
  padding: 38px;
  border-radius: var(--radius-lg);
  background: #0d1024 url("assets/hero and covers/hero-girl-cat.png") 92% bottom / auto 100% no-repeat;
}

.description-card::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(90deg, rgba(7, 10, 24, 0.86) 0%, rgba(7, 10, 24, 0.66) 24%, rgba(7, 10, 24, 0.24) 42%, transparent 64%);
}

.description-copy {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: start;
  gap: 14px;
  max-width: 560px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.42);
}

.description-text {
  max-height: 180px;
  overflow: hidden;
  mask-image: linear-gradient(to bottom, #000 74%, transparent 100%);
}

.description-text p {
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.rules-open-button {
  justify-self: start;
  padding: 0 16px;
  color: #fff8ef;
  border: 1px solid rgba(255, 200, 106, 0.26);
  background: rgba(255, 255, 255, 0.075);
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(72px, 1fr));
  max-width: 390px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 22px;
  background: rgba(7, 9, 20, 0.52);
  backdrop-filter: blur(16px);
}

.countdown-label {
  display: block;
  margin-bottom: 9px;
}

.countdown-item {
  display: grid;
  gap: 2px;
  justify-items: center;
  min-height: 76px;
  padding: 12px 13px;
  border-right: 1px solid rgba(255, 255, 255, 0.082);
  text-align: center;
}

.countdown-item:last-child {
  border-right: 0;
}

.countdown-item strong {
  color: #ff86d0;
  font-size: 1.62rem;
  font-weight: 900;
  line-height: 1;
}

.countdown-item small {
  color: rgba(185, 180, 208, 0.68);
  font-size: 0.74rem;
  font-weight: 500;
}

.invite-block {
  display: grid;
  gap: 7px;
  width: min(100%, 430px);
}

.invite-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 5px 8px 5px 10px;
  border: 1px solid rgba(132, 109, 210, 0.16);
  border-radius: 14px;
  background: rgba(7, 9, 20, 0.34);
  backdrop-filter: blur(8px);
}

.link-icon {
  position: relative;
  flex: 0 0 auto;
  width: 20px;
  height: 16px;
}

.link-icon::before,
.link-icon::after {
  position: absolute;
  top: 5px;
  width: 10px;
  height: 6px;
  content: "";
  border: 1.6px solid rgba(255, 200, 106, 0.58);
  border-radius: 999px;
  transform: rotate(-34deg);
}

.link-icon::before {
  left: 0;
}

.link-icon::after {
  right: 0;
}

.invite-row code {
  min-width: 0;
  margin-right: auto;
  overflow: hidden;
  color: rgba(232, 222, 239, 0.58);
  font-size: 0.8rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-button {
  flex: 0 0 auto;
  min-height: 32px;
  padding: 0 11px;
  color: rgba(255, 242, 231, 0.68);
  border: 1px solid rgba(255, 200, 106, 0.14);
  background: rgba(255, 255, 255, 0.032);
  font-size: 0.78rem;
}

.side-card {
  position: relative;
  align-self: stretch;
  display: grid;
  grid-template-columns: minmax(0, 58%) minmax(0, 42%);
  height: 100%;
  min-height: 220px;
  overflow: hidden;
  padding: 22px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 82% 42%, rgba(168, 95, 255, 0.2), transparent 44%),
    linear-gradient(145deg, rgba(17, 24, 47, 0.94), rgba(29, 23, 49, 0.92));
  color: var(--text);
  cursor: pointer;
  text-decoration: none;
}

.side-card:focus-visible {
  outline: 2px solid rgba(255, 122, 203, 0.85);
  outline-offset: 3px;
}

.side-card::before {
  content: "";
  display: none;
}

.side-card-copy {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 10px;
  align-content: start;
  max-width: 210px;
}

.side-card-copy .button {
  justify-self: start;
  min-height: 44px;
  margin-top: 10px;
}

.side-card p {
  margin-bottom: 0;
  font-size: 0.93rem;
}

.side-card-art {
  position: absolute;
  top: 50%;
  z-index: 1;
  width: auto;
  height: auto;
  max-height: calc(100% - 24px);
  object-fit: contain;
  pointer-events: none;
  transform: translateY(-50%);
  user-select: none;
}

.side-card-art-goodboy {
  right: 8px;
  height: min(210px, calc(100% - 24px));
  max-width: min(54%, 210px);
}

.side-card-art-wishlist {
  right: 10px;
  height: min(210px, calc(100% - 24px));
  max-width: min(48%, 190px);
}

.side-card-art-data {
  right: 12px;
  height: min(210px, calc(100% - 24px));
  max-width: min(46%, 180px);
}

.goodboy-card.is-revealed {
  grid-template-columns: minmax(0, 54%) minmax(0, 46%);
  min-height: 250px;
  padding: 26px 28px;
  border: 1px solid rgba(143, 126, 238, 0.22);
  background:
    radial-gradient(circle at 86% 14%, rgba(255, 198, 92, 0.2), transparent 28%),
    radial-gradient(circle at 82% 66%, rgba(232, 90, 168, 0.12), transparent 36%),
    linear-gradient(90deg, rgba(5, 13, 31, 0.96) 0%, rgba(8, 17, 38, 0.83) 48%, rgba(17, 20, 47, 0.42) 100%),
    url("assets/goodboy-page/sonya-night-city.webp") center / cover;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 24px 58px rgba(0, 0, 0, 0.36);
}

.goodboy-card.is-revealed::before {
  position: absolute;
  inset: 0;
  display: block;
  background:
    radial-gradient(circle at 52% 22%, rgba(255, 198, 92, 0.28), transparent 2px),
    radial-gradient(circle at 64% 11%, rgba(255, 198, 92, 0.22), transparent 2px),
    radial-gradient(circle at 75% 26%, rgba(255, 198, 92, 0.2), transparent 3px),
    linear-gradient(180deg, transparent 0%, rgba(3, 5, 14, 0.12) 100%);
  pointer-events: none;
}

.goodboy-card.is-revealed .side-card-copy {
  gap: 13px;
  max-width: 270px;
  text-shadow: 0 3px 16px rgba(2, 5, 18, 0.58);
}

.goodboy-card.is-revealed .goodboy-card-kicker {
  color: #fffaf4;
  font-size: 1.16rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
  text-transform: none;
}

.goodboy-card-kicker {
  color: #ffd246;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

.goodboy-card.is-revealed h2 {
  margin: 0;
  color: #fff7ee;
  font-size: clamp(3.2rem, 5.6vw, 4.35rem);
  font-weight: 900;
  line-height: 0.92;
}

.goodboy-card.is-revealed p {
  max-width: 230px;
  color: rgba(232, 222, 239, 0.78);
  line-height: 1.35;
}

.goodboy-card.is-revealed .button-secondary {
  border-color: rgba(255, 210, 70, 0.24);
  background: rgba(9, 16, 36, 0.48);
  backdrop-filter: blur(8px);
}

.goodboy-card.is-revealed .side-card-art-goodboy {
  top: auto;
  right: -2px;
  bottom: -12px;
  left: auto;
  width: min(47%, 220px);
  height: 94%;
  max-height: none;
  border: 0;
  border-radius: 0;
  object-fit: contain;
  object-position: center bottom;
  transform: none;
  filter: drop-shadow(0 26px 34px rgba(2, 5, 18, 0.42));
  box-shadow: none;
}

.mobile-text {
  display: none;
}

.participants-card,
.chat-card {
  height: 664px;
  padding: 22px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 88% 20%, rgba(232, 90, 168, 0.12), transparent 36%),
    linear-gradient(145deg, rgba(15, 20, 40, 0.96), rgba(20, 18, 37, 0.94));
}

.participants-card {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  grid-column: span 1;
}

.section-head {
  display: flex;
  align-items: center;
  margin-bottom: 14px;
}

.section-head h2 {
  margin: 0;
}

.section-head span {
  color: var(--text-muted);
  font-weight: 700;
}

.participant-list {
  display: grid;
  gap: 8px;
  min-height: 0;
  padding: 0 4px 0 0;
  margin: 0;
  overflow-y: auto;
  list-style: none;
  scrollbar-color: rgba(255, 200, 106, 0.28) rgba(7, 9, 20, 0.18);
  scrollbar-width: thin;
}

.participant-row {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 58px;
  padding: 8px 10px;
  border: 1px solid rgba(132, 109, 210, 0.13);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.034);
}

.avatar {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  overflow: hidden;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 15px;
  background: rgba(255, 241, 223, 0.08);
}

.avatar-clay img,
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.participant-row strong {
  min-width: 0;
  overflow: hidden;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.inline-you {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  color: #f0eaff;
  background: rgba(125, 94, 232, 0.24);
  font-size: 0.75rem;
  font-weight: 800;
}

.chat-card {
  display: grid;
  grid-column: span 2;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 18px;
  padding: 18px 22px 20px;
}

.chat-tabs {
  display: grid;
  grid-template-columns: minmax(120px, 0.72fr) repeat(2, minmax(130px, 1fr));
  gap: 8px;
  overflow: hidden;
  border: 1px solid rgba(132, 109, 210, 0.13);
  border-radius: 16px;
  background: rgba(7, 9, 20, 0.22);
}

.chat-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 14px;
  color: rgba(232, 222, 239, 0.68);
  border: 0;
  border-radius: 14px;
  background: transparent;
  font-weight: 700;
}

.chat-tab.is-active {
  color: #fff8ef;
  background: linear-gradient(180deg, #f06dad 0%, #c84987 100%);
  box-shadow: 0 14px 32px rgba(232, 90, 168, 0.28);
}

.chat-tab.is-locked span:last-child {
  color: rgba(185, 180, 208, 0.58);
  font-size: 0.78rem;
}

.chat-feed {
  display: grid;
  gap: 12px;
  align-content: start;
  min-height: 0;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-color: rgba(255, 200, 106, 0.28) rgba(7, 9, 20, 0.18);
  scrollbar-width: thin;
}

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

.chat-system {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: min(100%, 420px);
  min-height: 44px;
  padding: 8px 16px;
  color: rgba(232, 222, 239, 0.72);
  border: 1px solid rgba(132, 109, 210, 0.13);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.038);
  font-weight: 500;
}

.event-gift::before {
  content: "🎁";
}

.event-broom::before {
  content: "🧹";
}

.event-spark::before {
  content: "🎄";
}

.chat-message {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 10px;
  align-items: end;
}

.chat-author {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #9fb5ff;
  font-size: 0.86rem;
  font-weight: 800;
}

.chat-author time {
  color: rgba(185, 180, 208, 0.58);
  font-size: 0.74rem;
  font-weight: 500;
}

.chat-message p {
  max-width: 100%;
  margin: 4px 0 0;
  padding: 10px 14px;
  color: rgba(255, 242, 231, 0.9);
  border: 1px solid rgba(132, 109, 210, 0.13);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.042);
  font-size: 0.94rem;
  line-height: 1.35;
}

.chat-message-own .chat-author {
  color: #ffc86a;
}

.chat-message-own p {
  border-color: rgba(255, 200, 106, 0.22);
  background: rgba(255, 200, 106, 0.078);
}

.chat-message-anonymous .chat-author {
  color: #d9ccff;
}

.chat-composer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 52px;
  gap: 10px;
  align-items: center;
  padding: 8px;
  border: 1px solid rgba(132, 109, 210, 0.16);
  border-radius: 18px;
  background: rgba(7, 9, 20, 0.34);
}

.chat-composer input {
  min-width: 0;
  min-height: 42px;
  padding: 0 12px;
  color: var(--text);
  border: 0;
  outline: 0;
  background: transparent;
}

.chat-composer input::placeholder {
  color: rgba(185, 180, 208, 0.72);
}

.chat-composer button {
  display: grid;
  place-items: center;
  width: 52px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(180deg, #f06dad 0%, #c84987 100%);
  box-shadow: 0 14px 30px rgba(232, 90, 168, 0.28);
}

.chat-composer button span {
  width: 20px;
  height: 18px;
  background: #fff8ef;
  clip-path: polygon(0 43%, 100% 0, 63% 100%, 43% 60%);
  transform: translateX(1px) rotate(-8deg);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.rules-modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(3, 5, 14, 0.68);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.rules-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.rules-modal-panel {
  width: min(720px, calc(100vw - 32px));
  max-height: 82vh;
  overflow: hidden;
  border: 1px solid rgba(132, 109, 210, 0.32);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(17, 24, 47, 0.98), rgba(29, 23, 49, 0.98));
}

.rules-modal-header,
.rules-modal-footer,
.rules-modal-body {
  padding: 20px 24px;
}

.rules-modal-header,
.rules-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(7, 9, 20, 0.62);
}

.rules-modal-body {
  max-height: 58vh;
  overflow: auto;
}

body.rules-modal-open {
  overflow: hidden;
}

@media (max-width: 1180px) {
  .game-hero {
    grid-template-columns: minmax(300px, 1fr) minmax(390px, 430px);
    gap: 16px;
  }

  .meta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .meta-card {
    min-height: 96px;
    padding: 14px 12px;
    border-radius: 16px;
  }

  .meta-card strong {
    max-width: 62%;
    margin-top: 6px;
    font-size: clamp(1rem, 2vw, 1.22rem);
  }

  .meta-card .meta-label {
    font-size: 0.68rem;
  }

  .meta-note {
    max-width: 48%;
    margin-top: 5px;
    font-size: 0.68rem;
  }

  .meta-card-art-pinecone {
    right: 6px;
    bottom: 5px;
    height: calc(100% - 18px);
  }

  .meta-card-art-clock {
    right: 8px;
    bottom: 14px;
    height: calc(100% - 42px);
  }
}

@media (max-width: 960px) {
  .description-card {
    grid-template-columns: 1fr;
    min-height: 0;
    /* РЅР° РјРѕР±РёР»Рµ РїРѕРєР°Р·С‹РІР°РµРј РїСЂР°РІС‹Рµ ~58% РєР°РґСЂР° (СЃС†РµРЅР°), С‚РёС…Р°СЏ Р·РѕРЅР° СЃР»РµРІР° РЅРµ РЅСѓР¶РЅР°:
       Р·СѓРј 172% в†’ РІС‹СЃРѕС‚Р° РїРѕР»РѕСЃС‹ = 1.72 Г— 46.49% С€РёСЂРёРЅС‹ в‰€ 80% */
    padding: calc(80% + 18px) 18px 18px;
    background:
      url("assets/hero and covers/hero-girl-cat.png") right top / 172% auto no-repeat,
      linear-gradient(180deg, #0d1228, #11162f);
  }

  .description-card::before {
    display: none;
  }
}

@media (max-width: 960px) {
  .layout-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .side-card {
    grid-template-columns: 1fr;
    min-height: 112px;
    padding: 0;
    border-radius: 18px;
  }

  .goodboy-card.is-revealed {
    min-height: 224px;
  }

  .side-card-copy {
    position: static;
    justify-items: start;
    align-content: stretch;
    gap: 0;
    max-width: none;
    min-height: 100%;
    padding-top: 0;
    text-align: left;
  }

  .side-card-copy .button {
    display: none;
  }

  .side-card h2 {
    position: absolute;
    left: 14px;
    bottom: 14px;
    z-index: 3;
    max-width: calc(100% - 28px);
    margin-bottom: 0;
    color: #fffaf4;
    font-size: 0.98rem;
    line-height: 0.98;
    text-align: left;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
  }

  .side-card p {
    display: none;
  }

  .desktop-text {
    display: none;
  }

  .mobile-text {
    display: inline;
  }

  .side-card-art {
    top: 50%;
    bottom: auto;
    opacity: 1;
    height: calc(100% - 18px);
    max-height: calc(100% - 18px);
    transform: translateY(-50%);
  }

  .side-card-art-goodboy {
    right: 0px;
    left: auto;
    width: auto;
    max-width: 48%;
  }

  .goodboy-card.is-revealed .side-card-art-goodboy {
    top: auto;
    right: auto;
    bottom: -36px;
    left: 50%;
    width: min(142%, 286px);
    height: auto;
    max-width: none;
    max-height: none;
    border-radius: 0;
    transform: translateX(-50%);
  }

  .goodboy-card.is-revealed .side-card-copy {
    min-height: 100%;
    padding: 14px;
  }

  .goodboy-card.is-revealed .goodboy-card-kicker {
    position: absolute;
    bottom: 14px;
    left: 14px;
    z-index: 3;
    display: block;
    color: #fffaf4;
    max-width: calc(100% - 28px);
    font-size: 0.82rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
  }

  .goodboy-card.is-revealed h2 {
    top: 14px;
    left: 14px;
    bottom: auto;
    max-width: calc(100% - 28px);
    font-size: 1.85rem;
    line-height: 0.9;
  }

  .side-card-art-wishlist {
    right: auto;
    left: 50%;
    width: auto;
    max-width: 42%;
    transform: translate(-50%, -50%);
  }

  .side-card-art-data {
    right: auto;
    left: 50%;
    width: auto;
    height: calc(100% - 24px);
    max-height: calc(100% - 24px);
    max-width: 42%;
    transform: translate(-50%, -50%) rotate(-4deg);
  }

  .participants-card,
  .chat-card {
    grid-column: 1 / -1;
  }

  .participants-card {
    height: auto;
    padding: 16px 14px 14px;
    overflow: hidden;
    border-color: rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    background:
      radial-gradient(circle at 18% 0%, rgba(232, 90, 168, 0.08), transparent 34%),
      rgba(23, 21, 48, 0.72);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
  }

  .participants-card h2 {
    margin-bottom: 14px;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.1;
    white-space: nowrap;
  }

  .participants-card h2 span {
    color: rgba(220, 214, 255, 0.62);
  }

  .participant-list {
    display: flex;
    gap: 12px;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 0 12px;
    scroll-snap-type: x proximity;
    scrollbar-color: rgba(255, 122, 203, 0.58) rgba(255, 255, 255, 0.08);
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .participant-list::-webkit-scrollbar {
    display: block;
    height: 8px;
  }

  .participant-list::-webkit-scrollbar-track {
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
  }

  .participant-list::-webkit-scrollbar-thumb {
    border: 2px solid rgba(23, 21, 48, 0.92);
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(255, 122, 203, 0.86), rgba(168, 95, 255, 0.72));
  }

  .participant-row {
    display: flex;
    flex: 0 0 104px;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 104px;
    min-height: 132px;
    padding: 10px 8px 9px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.062), rgba(255, 255, 255, 0.032)),
      rgba(255, 255, 255, 0.045);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.055),
      0 12px 26px rgba(0, 0, 0, 0.18);
    text-align: center;
    scroll-snap-align: start;
  }

  .participant-row .avatar {
    width: 82px;
    height: 82px;
    overflow: hidden;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background:
      radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.08), transparent 44%),
      rgba(9, 13, 31, 0.72);
    box-shadow:
      inset 0 0 0 1px rgba(255, 255, 255, 0.08),
      0 8px 18px rgba(0, 0, 0, 0.25);
  }

  .participant-row .avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .participant-row strong {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: 100%;
    min-width: 0;
    height: 18px;
    margin-top: 9px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
  }

  .inline-you {
    flex: 0 0 auto;
    min-height: 0;
    margin-left: 4px;
    padding: 2px 6px;
    color: #d9c2ff;
    border-radius: 999px;
    background: rgba(168, 95, 255, 0.25);
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
  }
}

@media (max-width: 760px) {
  .game-hero {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .meta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .meta-card {
    min-height: 108px;
    padding: 14px 12px;
    border-radius: 16px;
  }

  .meta-card strong {
    max-width: 62%;
    font-size: clamp(1rem, 4.4vw, 1.22rem);
  }

  .meta-card .meta-label {
    font-size: 0.68rem;
  }

  .meta-note {
    max-width: 48%;
    font-size: 0.68rem;
  }

  .meta-card-art-pinecone {
    right: 6px;
    bottom: 5px;
    height: calc(100% - 18px);
  }

  .meta-card-art-clock {
    right: 8px;
    bottom: 14px;
    height: calc(100% - 42px);
  }
}

@media (max-width: 560px) {
  .page-shell {
    width: calc(100% - 32px);
    padding: 18px 0 44px;
  }

  .app-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 8px;
  }

  /* СЂР°СЃС‚РІРѕСЂСЏРµРј nav, С‡С‚РѕР±С‹ РїСЂРѕС„РёР»СЊ РІСЃС‚Р°Р» РІ РѕРґРЅСѓ СЃС‚СЂРѕРєСѓ СЃ Р±СЂРµРЅРґРѕРј,
     Р° В«РњРѕРё РёРіСЂС‹В» СѓС€Р»Р° РЅР° СЃС‚СЂРѕРєСѓ РЅРёР¶Рµ */
  .header-actions {
    display: contents;
  }

  .brand {
    flex: 1 1 auto;
  }

  .header-actions .button {
    order: 1;
    flex-basis: 100%;
  }

  .logo-slot {
    width: 48px;
    height: 48px;
    border-radius: 16px;
  }

  .avatar-profile {
    width: 40px;
    height: 40px;
  }

  .game-hero {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .meta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .meta-card {
    min-height: 106px;
    padding: 14px 12px;
    border-radius: 16px;
  }

  .meta-card strong {
    max-width: 62%;
    font-size: clamp(0.98rem, 4.8vw, 1.18rem);
  }

  .meta-note {
    max-width: 48%;
    font-size: 0.66rem;
  }

  .meta-card-art-pinecone {
    right: 5px;
    bottom: 6px;
    width: auto;
    height: calc(100% - 22px);
  }

  .meta-card-art-clock {
    right: 6px;
    bottom: 16px;
    width: auto;
    height: calc(100% - 46px);
  }

  h1 {
    font-size: clamp(1.72rem, 10vw, 2.2rem);
  }

  .description-card {
    min-height: 0;
    padding: calc(80% + 18px) 18px 18px;
    background:
      url("assets/hero and covers/hero-girl-cat.png") right top / 172% auto no-repeat,
      linear-gradient(180deg, #0d1228, #11162f);
  }

  .description-card::before {
    display: none;
  }

  .description-text {
    max-height: none;
    mask-image: none;
  }

  .description-text p {
    display: none;
    margin-bottom: 0;
    font-size: 0.88rem;
  }

  .description-text p:first-child {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
  }

  .countdown {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    max-width: none;
  }

  .countdown-item {
    min-height: 60px;
    padding: 9px 8px;
  }

  .countdown-item strong {
    font-size: 1.25rem;
  }

  .layout-grid {
    gap: 16px;
  }

  .participant-list {
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .participant-list::-webkit-scrollbar {
    display: none;
  }

  .side-card {
    min-height: 106px;
    padding: 0;
  }

  .goodboy-card h2 {
    font-size: 0.82rem;
  }

  .side-card h2 {
    left: 12px;
    bottom: 12px;
    font-size: 0.82rem;
  }

  .side-card-art-goodboy {
    top: 50%;
    right: 18px;
    height: calc(100% - 18px);
  }

  .goodboy-card.is-revealed .side-card-art-goodboy {
    top: auto;
    right: auto;
    bottom: -30px;
    left: 50%;
    width: min(190%, 206px);
    height: auto;
    max-width: none;
    max-height: none;
    border-radius: 0;
    transform: translateX(-50%);
  }

  .goodboy-card.is-revealed .goodboy-card-kicker {
    bottom: 12px;
    left: 12px;
    max-width: calc(100% - 24px);
    font-size: 0.68rem;
  }

  .goodboy-card.is-revealed h2 {
    top: 12px;
    left: 12px;
    bottom: auto;
    max-width: calc(100% - 24px);
    font-size: 1.42rem;
  }

  .side-card-art-wishlist {
    top: 50%;
    right: auto;
    left: 50%;
    height: calc(100% - 18px);
    transform: translate(-50%, -50%);
  }

  .side-card-art-data {
    top: 50%;
    right: auto;
    left: 50%;
    height: calc(100% - 24px);
    transform: translate(-50%, -50%) rotate(-4deg);
  }

  .chat-card {
    height: auto;
    min-height: 780px;
    gap: 14px;
    padding: 18px;
  }

  .chat-tabs {
    grid-template-columns: minmax(84px, 1fr) repeat(2, minmax(76px, 1fr));
    gap: 4px;
  }

  .chat-tab {
    flex-direction: column;
    gap: 2px;
    min-height: 42px;
    padding: 0 6px;
    font-size: 0.66rem;
    line-height: 1.04;
  }

  .chat-tab.is-active {
    font-size: 0.76rem;
  }

  .chat-tab.is-locked span:last-child {
    font-size: 0.58rem;
  }

  .chat-system {
    width: 100%;
    justify-content: center;
    padding-inline: 12px;
    font-size: 0.86rem;
    text-align: center;
  }

  .chat-message {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 8px;
  }

  .chat-message .avatar {
    width: 36px;
    height: 36px;
    border-radius: 13px;
  }

  .chat-message p {
    padding: 10px 12px;
    font-size: 0.86rem;
  }

  .chat-composer {
    grid-template-columns: minmax(0, 1fr) 46px;
    gap: 6px;
    padding: 7px;
  }

  .chat-composer button {
    width: 46px;
    height: 42px;
  }
}

/* ===== РЎС‚СЂР°РЅРёС†Р° В«РњРѕРё РёРіСЂС‹В» ===== */

.games-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 4px 0 28px;
}

.games-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 900;
  letter-spacing: 0.01em;
}

.games-account {
  margin: 8px 0 0;
  color: var(--text-soft);
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0.85;
}

.games-hero .button-primary {
  margin-bottom: 6px;
}

.game-list {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.game-row {
  position: relative;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  transition: transform 0.16s ease, border-color 0.16s ease;
}

.game-row-body {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  min-width: 0;
  padding: 20px 24px;
}

.game-row-main {
  flex: 1 1 320px;
  min-width: 0;
}

.game-row:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.game-row:focus-within {
  border-color: var(--accent);
}

.game-row h2 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 800;
}

.game-row-title {
  color: var(--text);
  text-decoration: none;
}

.game-row-title::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  content: "";
}

.game-row-title:focus-visible {
  outline: none;
}

.game-row-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 7px 0 0;
  color: var(--text-soft);
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0.8;
}

.game-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  margin-left: auto;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-strong);
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
}

.game-status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.game-status-waiting {
  border-color: rgba(255, 200, 106, 0.3);
  background: rgba(255, 200, 106, 0.1);
  color: var(--accent-warm);
}

.game-status-waiting i {
  background: var(--accent-warm);
  box-shadow: 0 0 8px rgba(255, 200, 106, 0.65);
}

.game-status-live {
  border-color: rgba(143, 178, 232, 0.3);
  background: rgba(143, 178, 232, 0.1);
  color: var(--frost);
}

.game-status-live i {
  background: var(--frost);
  box-shadow: 0 0 8px rgba(143, 178, 232, 0.6);
}

.game-status-done {
  color: var(--text-muted);
}

.game-status-done i {
  background: var(--text-muted);
}

.game-row-roles {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin-top: 12px;
}

/* РѕР±Р»РѕР¶РєР°-bleed: РЅР° РІСЃСЋ РІС‹СЃРѕС‚Сѓ РєР°СЂС‚РѕС‡РєРё, СЃРІРµС‚РёС‚ С‚РёРЅС‚РѕРј РІРЅСѓС‚СЂСЊ СЃС‚СЂРѕРєРё;
   --tint Р·Р°РґР°СЋС‚ РјРѕРґРёС„РёРєР°С‚РѕСЂС‹ cover-*; РїРѕРєР° Р°СЂС‚ РЅРµ СЃРіРµРЅРµСЂС‘РЅ, РїРѕ С†РµРЅС‚СЂСѓ СЌРјРѕРґР·Рё
   (clay-РѕР±Р»РѕР¶РєРё вЂ” СЃРј. docs/illustration-guide.md) */
.game-cover {
  --tint: 143, 178, 232;

  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 104px;
  overflow: hidden;
  border-right: 1px solid rgba(var(--tint), 0.2);
  background:
    radial-gradient(circle at 32% 28%, rgba(var(--tint), 0.4), transparent 72%),
    linear-gradient(165deg, rgba(var(--tint), 0.22), rgba(var(--tint), 0.05));
  box-shadow: 22px 0 80px -16px rgba(var(--tint), 0.5);
  font-size: 2.4rem;
  text-shadow: 0 6px 24px rgba(var(--tint), 0.55);
}

.cover-frost {
  --tint: 143, 178, 232;
}

.cover-amber {
  --tint: 255, 200, 106;
}

.cover-pine {
  --tint: 116, 217, 156;
}

.cover-rose {
  --tint: 232, 90, 168;
}

.game-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;

  /* РёРЅРґРёРІРёРґСѓР°Р»СЊРЅС‹Р№ СЃРґРІРёРі РєСЂРѕРїР°: РЅР° img РїРёС€РµРј style="--art-pos: 35% 50%" */
  object-position: var(--art-pos, 50% 50%);
}

.game-row.is-finished .game-cover {
  box-shadow: none;
  filter: grayscale(1) brightness(0.85);
  opacity: 0.6;
}

.role-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 11px;
  border: 1px solid rgba(116, 217, 156, 0.32);
  border-radius: 999px;
  background: rgba(116, 217, 156, 0.09);
  color: var(--success);
  font-size: 0.8rem;
  font-weight: 700;
}

.role-badge--admin {
  border-color: rgba(255, 200, 106, 0.35);
  background: rgba(255, 200, 106, 0.12);
  color: var(--accent-warm);
}

.admin-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  color: var(--frost);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
}

.admin-link:hover {
  text-decoration: underline;
}

.game-row.is-finished {
  background: rgba(17, 24, 47, 0.55);
}

.game-row.is-finished .game-row-title,
.game-row.is-finished .game-row-meta {
  color: var(--text-muted);
}

.join-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 20px;
  margin-top: 26px;
  padding: 22px 26px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.025);
}

.join-card-art {
  flex: 0 0 auto;
  height: 78px;
  margin: -6px 0;
}

.join-card h2 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 800;
}

.join-card p {
  margin: 6px 0 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

@media (max-width: 760px) {
  .games-hero {
    align-items: flex-start;
    flex-direction: column;
    padding-bottom: 22px;
  }

  .games-hero .button-primary {
    width: 100%;
    margin-bottom: 0;
  }

  .game-row-body {
    padding: 16px 18px;
  }

  .game-cover {
    flex-basis: 72px;
    font-size: 1.9rem;
  }

  .game-status {
    margin-left: 0;
  }

  .join-card-art {
    height: 64px;
  }

  .join-card {
    padding: 18px;
  }

  .join-card .button {
    width: 100%;
  }
}

/* С‚РµРјР°С‚РёС‡РµСЃРєРёРµ hero-СЃС†РµРЅС‹ СЃС‚СЂР°РЅРёС† РёРіСЂ (СЃРј. docs/illustration-guide.md, Рї. 5.1);
   РІ РєРѕРЅС†Рµ С„Р°Р№Р»Р°, С‡С‚РѕР±С‹ background-image РїРѕР±РµР¶РґР°Р» Рё РІ РјРѕР±РёР»СЊРЅС‹С… РјРµРґРёР°Р·Р°РїСЂРѕСЃР°С… */
.description-card--feast {
  background-image: url("assets/hero and covers/hero-family-feast.webp"), linear-gradient(180deg, #0d1228, #11162f);
}

.description-card--it {
  background-image: url("assets/hero and covers/hero-it-corporate.webp"), linear-gradient(180deg, #0d1228, #11162f);
}

.description-card--kids {
  background-image: url("assets/hero and covers/hero-kids-party.webp"), linear-gradient(180deg, #0d1228, #11162f);
}

/* С„РѕРЅ kids-Р°СЂС‚Р° СЏСЂС‡Рµ РЅРѕСЂРјС‹ РіР°Р№РґР° (Рї. 5.1) вЂ” СЃРІРѕРґРёРј РєСЂР°СЏ СѓРґР»РёРЅС‘РЅРЅС‹Рј Р·Р°С‚РµРјРЅРµРЅРёРµРј;
   РїСЂРё РїРµСЂРµРіРµРЅРµСЂР°С†РёРё Р°СЂС‚Р° СЃ С„РѕРЅРѕРј ~#0d1024 РїСЂР°РІРёР»Рѕ РјРѕР¶РЅРѕ СѓР±СЂР°С‚СЊ */
.description-card--kids::before {
  background: linear-gradient(
    90deg,
    #0d1024 0%,
    rgba(13, 16, 36, 0.92) 22%,
    rgba(13, 16, 36, 0.6) 44%,
    rgba(13, 16, 36, 0.22) 64%,
    transparent 84%
  );
}

/* ===== РЎС‚СЂР°РЅРёС†Р° РїРѕРґРѕРїРµС‡РЅРѕРіРѕ ===== */

body.goodboy-page-body {
  background:
    radial-gradient(circle at 72% 0%, rgba(125, 94, 232, 0.18), transparent 34%),
    radial-gradient(circle at 18% 18%, rgba(232, 90, 168, 0.08), transparent 28%),
    linear-gradient(180deg, #070918 0%, #080a19 100%);
}

.goodboy-page {
  width: min(1180px, calc(100vw - 32px));
}

.goodboy-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-items: end;
  margin-bottom: 20px;
}

.goodboy-title-block {
  display: grid;
  gap: 14px;
  justify-items: start;
  min-width: 0;
}

.goodboy-title-block h1 {
  font-size: 3rem;
}

.goodboy-group-pill {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-height: 70px;
  max-width: 100%;
  padding: 8px 18px 8px 8px;
  color: var(--text);
  border: 1px solid rgba(132, 109, 210, 0.22);
  border-radius: 22px;
  background:
    radial-gradient(circle at 16% 20%, rgba(116, 217, 156, 0.12), transparent 45%),
    rgba(255, 255, 255, 0.052);
  text-decoration: none;
  box-shadow: var(--shadow-card);
}

.goodboy-group-pill .game-cover {
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 16px;
  box-shadow: 0 12px 26px rgba(116, 217, 156, 0.2);
}

.goodboy-group-pill span:last-child {
  display: grid;
  min-width: 0;
  gap: 2px;
  overflow-wrap: anywhere;
  font-size: 1rem;
  font-weight: 800;
}

.goodboy-group-pill small {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.goodboy-card,
.goodboy-summary-card {
  min-width: 0;
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at 86% 14%, rgba(232, 90, 168, 0.1), transparent 34%),
    linear-gradient(145deg, rgba(15, 20, 40, 0.96), rgba(20, 18, 37, 0.94));
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(18px);
}

.goodboy-eyebrow {
  color: var(--accent-warm);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.goodboy-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(520px, 1.18fr);
  gap: 22px;
  align-items: start;
}

.goodboy-left-column {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.goodboy-card {
  border-radius: var(--radius-lg);
}

.goodboy-profile-card {
  position: relative;
  min-height: 326px;
  overflow: hidden;
  padding: 30px;
  background:
    radial-gradient(circle at 78% 22%, rgba(116, 217, 156, 0.2), transparent 34%),
    radial-gradient(circle at 28% 96%, rgba(125, 94, 232, 0.16), transparent 36%),
    linear-gradient(145deg, rgba(15, 20, 40, 0.96), rgba(22, 19, 42, 0.94));
}

.goodboy-profile-card::after {
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 270px;
  height: 270px;
  content: "";
  border-radius: 50%;
  background: rgba(255, 200, 106, 0.08);
  filter: blur(2px);
}

.goodboy-profile-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  min-width: 0;
  max-width: calc(100% - 190px);
}

.goodboy-profile-copy h2,
.goodboy-card-head h2,
.goodboy-address-card h2,
.goodboy-wishlist-head h2 {
  margin: 4px 0 0;
  color: #fff7ee;
  font-size: 1.7rem;
  line-height: 1.08;
}

.goodboy-profile-copy p {
  min-width: 0;
  max-width: 100%;
  margin: 0;
  color: rgba(232, 222, 239, 0.86);
  font-size: 0.98rem;
  overflow-wrap: anywhere;
}

.goodboy-portrait {
  position: absolute;
  right: 22px;
  bottom: 0;
  z-index: 1;
  aspect-ratio: 1;
  width: auto;
  height: 50%;
  margin: 0;
  overflow: visible;
  border-radius: 0;
  filter: drop-shadow(0 22px 38px rgba(0, 0, 0, 0.44));
}

.goodboy-portrait img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

.goodboy-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.goodboy-summary-card {
  position: relative;
  min-height: 178px;
  overflow: hidden;
  padding: 22px;
  border-radius: var(--radius-md);
}

.goodboy-summary-card.is-done {
  border-color: rgba(116, 217, 156, 0.4);
  background:
    radial-gradient(circle at 80% 20%, rgba(116, 217, 156, 0.16), transparent 38%),
    linear-gradient(145deg, rgba(15, 20, 40, 0.96), rgba(20, 18, 37, 0.94));
}

.goodboy-summary-card strong {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 10px;
  color: #fff7ee;
  font-size: 1.24rem;
  font-weight: 900;
}

.goodboy-summary-card p {
  position: relative;
  z-index: 1;
  margin: 8px 0 0;
  color: rgba(232, 222, 239, 0.74);
  font-size: 0.86rem;
}

.goodboy-summary-icon {
  position: absolute;
  right: 18px;
  bottom: 14px;
  color: rgba(255, 200, 106, 0.46);
  font-size: 3.8rem;
  font-weight: 900;
  line-height: 1;
}

.goodboy-address-card,
.goodboy-hints-card {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.goodboy-address-card {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
}

.goodboy-address-card p {
  margin: 10px 0 0;
  color: rgba(255, 242, 231, 0.9);
  font-size: 1rem;
}

.goodboy-card-head {
  display: grid;
  gap: 2px;
}

.goodboy-hint-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  color: rgba(232, 222, 239, 0.86);
  list-style: none;
}

.goodboy-hint-list li {
  position: relative;
  padding-left: 20px;
  font-weight: 600;
  line-height: 1.42;
}

.goodboy-hint-list li::before {
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 7px;
  height: 7px;
  content: "";
  border-radius: 50%;
  background: var(--accent-warm);
  box-shadow: 0 0 12px rgba(255, 200, 106, 0.55);
}

.goodboy-note-line {
  display: flex;
  position: relative;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 10px 14px 10px 48px;
  margin: 0;
  color: rgba(232, 222, 239, 0.84);
  border: 1px solid rgba(143, 178, 232, 0.18);
  border-radius: var(--radius-sm);
  background: rgba(143, 178, 232, 0.06);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.36;
}

.goodboy-note-line::before {
  position: absolute;
  left: 14px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  content: "i";
  color: #0d1024;
  border-radius: 50%;
  background: var(--frost);
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1;
  transform: translateY(-50%);
}

.goodboy-wishlist-card {
  position: sticky;
  top: 18px;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  gap: 18px;
  height: calc(100svh - 40px);
  min-height: 760px;
  max-height: 920px;
  padding: 28px;
}

.goodboy-wishlist-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
}

.goodboy-wishlist-note {
  margin: 0;
  color: rgba(232, 222, 239, 0.78);
  font-size: 0.92rem;
}

.goodboy-wishlist-list {
  display: grid;
  gap: 9px;
  min-height: 0;
  margin: 0;
  padding: 0 5px 0 0;
  overflow-y: auto;
  list-style: none;
  scrollbar-color: rgba(255, 200, 106, 0.32) rgba(7, 9, 20, 0.18);
  scrollbar-width: thin;
}

.wishlist-row {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 78px 34px;
  gap: 12px;
  align-items: center;
  width: 100%;
  min-height: 54px;
  padding: 8px 10px;
  color: rgba(255, 242, 231, 0.92);
  border: 1px solid rgba(132, 109, 210, 0.13);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  text-align: left;
  transition: border-color 0.16s ease, background 0.16s ease;
}

.wishlist-row:hover {
  border-color: rgba(255, 200, 106, 0.34);
  background: rgba(255, 255, 255, 0.06);
}

.wishlist-number {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: rgba(255, 242, 231, 0.78);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  font-weight: 900;
}

.wishlist-text {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.3;
}

.wishlist-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  color: var(--frost);
  border: 1px solid rgba(143, 178, 232, 0.2);
  border-radius: 12px;
  background: rgba(143, 178, 232, 0.07);
  font-size: 0.78rem;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.wishlist-link:hover,
.wishlist-link:focus-visible {
  color: #fff7ee;
  border-color: rgba(255, 200, 106, 0.34);
  background: rgba(255, 200, 106, 0.1);
  outline: none;
}

.goodboy-action-bar {
  display: grid;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(132, 109, 210, 0.16);
}

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

.goodboy-status-action {
  min-height: 58px;
  width: 100%;
  color: rgba(255, 242, 231, 0.88);
  border: 1px solid rgba(143, 178, 232, 0.22);
  background:
    radial-gradient(circle at 50% 0%, rgba(143, 178, 232, 0.08), transparent 60%),
    rgba(255, 255, 255, 0.052);
  font-size: 1rem;
  box-shadow: none;
}

.goodboy-status-action:hover,
.goodboy-status-action.is-active {
  color: #fff7ee;
  border-color: rgba(255, 200, 106, 0.34);
  background: rgba(255, 200, 106, 0.1);
}

.goodboy-action-bar p {
  margin: 0;
  color: rgba(185, 180, 208, 0.78);
  font-size: 0.88rem;
  text-align: center;
}

.goodboy-thanks-banner {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
  padding: 18px 24px;
  border: 1px solid rgba(132, 109, 210, 0.22);
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at 86% 34%, rgba(116, 217, 156, 0.12), transparent 38%),
    rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow-card);
}

.goodboy-thanks-banner img {
  flex: 0 0 auto;
  width: 86px;
  height: 86px;
  object-fit: contain;
}

.goodboy-thanks-banner strong {
  color: #ff8dce;
  font-size: 1.16rem;
  font-weight: 900;
}

.goodboy-thanks-banner p {
  margin: 5px 0 0;
  color: rgba(232, 222, 239, 0.78);
  font-size: 0.92rem;
}

@media (max-width: 1020px) {
  .goodboy-hero,
  .goodboy-layout {
    grid-template-columns: 1fr;
  }

  .goodboy-wishlist-card {
    position: static;
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .goodboy-wishlist-list {
    max-height: 620px;
  }
}

@media (max-width: 760px) {
  .goodboy-title-block h1 {
    font-size: 2.2rem;
  }

  .goodboy-group-pill {
    width: 100%;
  }

  .goodboy-profile-card {
    min-height: 292px;
    padding: 24px;
  }

  .goodboy-profile-copy {
    max-width: calc(100% - 138px);
    padding-right: 0;
  }

  .goodboy-portrait {
    right: 18px;
    bottom: 0;
    width: auto;
    height: 50%;
  }

  .goodboy-summary-grid,
  .goodboy-action-buttons {
    grid-template-columns: 1fr;
  }

  .goodboy-address-card {
    grid-template-columns: 1fr;
  }

  .goodboy-address-card .copy-button {
    justify-self: start;
  }

  .goodboy-wishlist-card {
    padding: 22px;
  }

  .goodboy-wishlist-head {
    align-items: stretch;
    flex-direction: column;
  }

  .goodboy-thanks-banner {
    align-items: flex-start;
    padding: 16px 18px;
  }

  .goodboy-thanks-banner img {
    width: 66px;
    height: 66px;
  }
}

@media (max-width: 520px) {
  .goodboy-profile-card {
    display: grid;
    gap: 18px;
  }

  .goodboy-profile-copy {
    max-width: calc(100% - 118px);
  }

  .goodboy-portrait {
    position: absolute;
    right: 14px;
    bottom: 0;
    width: auto;
    height: 50%;
    margin: 0;
  }

  .wishlist-row {
    grid-template-columns: 32px minmax(0, 1fr) 66px 30px;
    gap: 8px;
    padding: 8px;
  }

  .wishlist-number {
    width: 30px;
    height: 30px;
    border-radius: 10px;
  }

  .wishlist-text {
    font-size: 0.88rem;
  }

  .wishlist-link {
    min-height: 30px;
    padding: 0 8px;
    font-size: 0.72rem;
  }
}

/* ===== РЎС‚СЂР°РЅРёС†Р° РїРѕРґРѕРїРµС‡РЅРѕРіРѕ: С„РёРЅР°Р»СЊРЅС‹Р№ РјР°РєРµС‚ ===== */

.goodboy-page {
  width: min(1220px, calc(100vw - 32px));
  padding-bottom: 28px;
}

.goodboy-page .app-header {
  margin-bottom: 28px;
}

.goodboy-page .header-actions .button-secondary {
  border-color: rgba(143, 126, 238, 0.28);
  background:
    radial-gradient(circle at 26% 0%, rgba(143, 126, 238, 0.2), transparent 58%),
    rgba(255, 255, 255, 0.055);
}

.goodboy-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0 18px;
  color: rgba(232, 222, 239, 0.82);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.16s ease, transform 0.16s ease;
}

.goodboy-back-link:hover,
.goodboy-back-link:focus-visible {
  color: #fff7ee;
  outline: none;
  transform: translateX(-2px);
}

.goodboy-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.78fr) minmax(560px, 1fr);
  gap: 22px;
  align-items: start;
}

.goodboy-left-column {
  display: grid;
  gap: 20px;
  min-width: 0;
}

.goodboy-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(143, 178, 232, 0.12);
  border-radius: 18px;
  background:
    radial-gradient(circle at 85% 18%, rgba(232, 90, 168, 0.1), transparent 34%),
    linear-gradient(145deg, rgba(12, 20, 44, 0.96), rgba(18, 17, 42, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    var(--shadow-card);
  backdrop-filter: blur(18px);
}

.goodboy-eyebrow {
  color: #ffd246;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.goodboy-profile-card {
  position: relative;
  min-height: 308px;
  padding: 28px 30px;
  border-color: rgba(143, 178, 232, 0.1);
  background:
    radial-gradient(circle at 74% 33%, rgba(255, 198, 92, 0.18), transparent 30%),
    linear-gradient(90deg, rgba(8, 18, 39, 0.34) 0%, rgba(9, 20, 43, 0.18) 46%, rgba(18, 20, 47, 0.04) 100%),
    url("assets/goodboy-page/sonya-night-city.webp") center / cover;
}

.goodboy-profile-card::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 56% 40%, rgba(255, 198, 92, 0.18), transparent 3px),
    radial-gradient(circle at 44% 62%, rgba(255, 198, 92, 0.16), transparent 2px),
    linear-gradient(180deg, transparent 0%, rgba(5, 8, 21, 0.08) 100%);
  pointer-events: none;
}

.goodboy-profile-copy {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 16px;
  max-width: 260px;
  text-shadow: 0 3px 14px rgba(2, 5, 18, 0.58);
}

.goodboy-profile-copy h2 {
  margin: 0;
  color: #fff7ee;
  font-size: clamp(3.6rem, 8vw, 4.95rem);
  font-weight: 900;
  line-height: 0.94;
}

.goodboy-group-chip {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: fit-content;
  max-width: 100%;
  min-height: 60px;
  padding: 8px 16px 8px 8px;
  color: #fff7ee;
  border: 1px solid rgba(143, 126, 238, 0.18);
  border-radius: 10px;
  background: rgba(10, 16, 36, 0.46);
  backdrop-filter: blur(8px);
  text-decoration: none;
}

.goodboy-group-chip .game-cover {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 10px;
}

.goodboy-group-chip span:last-child {
  display: grid;
  gap: 3px;
  font-weight: 800;
  line-height: 1.22;
}

.goodboy-group-chip small {
  color: rgba(232, 222, 239, 0.68);
  font-size: 0.76rem;
  font-weight: 600;
}

.goodboy-portrait {
  position: absolute;
  right: 10px;
  bottom: -8px;
  z-index: 1;
  width: min(54%, 300px);
  height: 96%;
  margin: 0;
  overflow: visible;
  border-radius: 0;
  filter: drop-shadow(0 28px 38px rgba(2, 5, 18, 0.44));
}

.goodboy-portrait img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

.goodboy-info-card {
  position: relative;
  display: grid;
  min-height: 170px;
  padding: 28px 30px;
}

.goodboy-card-copy {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 12px;
  justify-items: start;
  max-width: 64%;
}

.goodboy-card-copy strong {
  color: #fff7ee;
  font-size: clamp(1.82rem, 4vw, 2.55rem);
  font-weight: 900;
  line-height: 1;
}

.goodboy-card-copy p {
  margin: 0;
  color: rgba(232, 222, 239, 0.82);
  font-size: 1rem;
  line-height: 1.55;
}

.goodboy-card-copy small {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(232, 222, 239, 0.66);
  font-size: 0.83rem;
  line-height: 1.35;
}

.goodboy-card-copy small::before {
  content: "◇";
  color: rgba(143, 178, 232, 0.82);
  font-size: 0.84rem;
}

.goodboy-budget-card {
  background:
    radial-gradient(circle at 72% 46%, rgba(255, 198, 92, 0.12), transparent 34%),
    linear-gradient(145deg, rgba(8, 27, 52, 0.94), rgba(19, 17, 47, 0.94));
}

.goodboy-address-card {
  min-height: 214px;
  border-color: rgba(143, 178, 232, 0.3);
  background:
    radial-gradient(circle at 86% 18%, rgba(143, 178, 232, 0.13), transparent 34%),
    radial-gradient(circle at 8% 100%, rgba(255, 210, 70, 0.08), transparent 30%),
    linear-gradient(145deg, rgba(8, 27, 52, 0.98), rgba(13, 20, 43, 0.98));
}

.goodboy-address-card .goodboy-card-copy {
  max-width: 100%;
  gap: 16px;
}

.goodboy-address-card [data-address-text] {
  margin: 0;
  color: #fff7ee;
  font-size: clamp(1.34rem, 2.5vw, 1.72rem);
  font-weight: 900;
  line-height: 1.34;
  overflow-wrap: anywhere;
}

.goodboy-address-card .copy-button {
  min-height: 52px;
  padding-inline: 24px;
  border-color: rgba(143, 178, 232, 0.34);
  background:
    radial-gradient(circle at 50% 0%, rgba(143, 178, 232, 0.16), transparent 62%),
    rgba(255, 255, 255, 0.07);
}

.goodboy-card-art--mailbox {
  display: none;
}

.goodboy-status-card {
  min-height: 116px;
  padding-block: 24px;
  border-color: rgba(116, 217, 156, 0.28);
  background:
    radial-gradient(circle at 72% 34%, rgba(116, 217, 156, 0.12), transparent 34%),
    linear-gradient(145deg, rgba(8, 27, 52, 0.94), rgba(24, 17, 43, 0.94));
}

.goodboy-status-card .goodboy-card-copy {
  max-width: calc(100% - 180px);
  gap: 9px;
}

.goodboy-status-card strong {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.24rem;
}

.goodboy-status-card strong::before {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  content: "✓";
  color: #0d1024;
  border-radius: 50%;
  background: #74d99c;
  font-size: 0.86rem;
  font-weight: 900;
}

.goodboy-card-art {
  position: absolute;
  z-index: 1;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 22px 28px rgba(2, 5, 18, 0.34));
}

.goodboy-card-art--gift {
  right: 18px;
  bottom: -14px;
  width: min(40%, 190px);
}

.goodboy-card-art--mailbox {
  right: 18px;
  bottom: -18px;
  width: min(42%, 210px);
}

.goodboy-card-art--reindeer {
  right: 16px;
  bottom: -10px;
  width: min(38%, 190px);
}

.copy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 22px;
  color: #b7c6ff;
  border: 1px solid rgba(143, 178, 232, 0.24);
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 0%, rgba(143, 178, 232, 0.12), transparent 62%),
    rgba(255, 255, 255, 0.06);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.copy-button:hover,
.copy-button:focus-visible {
  color: #fff7ee;
  border-color: rgba(255, 210, 70, 0.38);
  background: rgba(255, 210, 70, 0.1);
  outline: none;
}

.goodboy-hints-card {
  display: grid;
  gap: 18px;
  padding: 30px;
  background:
    radial-gradient(circle at 96% 0%, rgba(232, 90, 168, 0.12), transparent 32%),
    linear-gradient(145deg, rgba(10, 25, 49, 0.96), rgba(24, 16, 48, 0.96));
}

.goodboy-card-head {
  display: grid;
  gap: 9px;
}

.goodboy-card-head h2 {
  margin: 0;
}

.goodboy-card-head p {
  margin: 0;
  color: rgba(232, 222, 239, 0.74);
  font-size: 0.96rem;
  line-height: 1.48;
}

.goodboy-hint-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  color: rgba(232, 222, 239, 0.84);
  list-style: none;
}

.goodboy-hint-list li {
  position: relative;
  padding-left: 24px;
  font-weight: 600;
  line-height: 1.42;
}

.goodboy-hint-list li::before {
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 5px;
  height: 5px;
  content: "";
  border-radius: 50%;
  background: rgba(255, 210, 70, 0.92);
  box-shadow: 0 0 10px rgba(255, 210, 70, 0.44);
}

.goodboy-note-line {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 60px;
  margin: 0;
  padding: 12px 14px 12px 58px;
  border: 1px solid rgba(143, 178, 232, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.052);
  color: rgba(232, 222, 239, 0.78);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.34;
}

.goodboy-note-line::before {
  position: absolute;
  left: 18px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  content: "i";
  color: #0d1024;
  border-radius: 50%;
  background: #aebdff;
  font-size: 1rem;
  font-weight: 900;
  transform: translateY(-50%);
}

.goodboy-note-line a {
  color: inherit;
  text-decoration: none;
}

.goodboy-note-line a:hover,
.goodboy-note-line a:focus-visible {
  color: #fff7ee;
  outline: none;
}

.goodboy-note-badge {
  flex: 0 0 auto;
  padding: 5px 9px;
  color: #ffd246;
  border-radius: 999px;
  background: rgba(255, 210, 70, 0.1);
  font-size: 0.74rem;
  font-weight: 900;
}

.goodboy-wishlist-card {
  position: sticky;
  top: 18px;
  display: grid;
  grid-template-rows: auto auto auto minmax(0, 1fr) auto;
  gap: 18px;
  min-height: 0;
  height: auto;
  max-height: none;
  padding: 30px;
  background:
    radial-gradient(circle at 72% 0%, rgba(143, 126, 238, 0.12), transparent 32%),
    linear-gradient(145deg, rgba(13, 19, 43, 0.98), rgba(18, 17, 42, 0.98));
}

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

.goodboy-wishlist-head h2 {
  margin: 10px 0 0;
  color: #fff7ee;
  font-size: clamp(2.4rem, 4.2vw, 3.25rem);
  font-weight: 900;
  line-height: 1;
}

.goodboy-wishlist-note {
  margin: 0;
  max-width: 650px;
  color: rgba(232, 222, 239, 0.78);
  font-size: 1rem;
  line-height: 1.55;
}

.goodboy-wishlist-note--soft {
  color: rgba(232, 222, 239, 0.84);
}

.goodboy-wishlist-list {
  display: grid;
  gap: 10px;
  min-height: 0;
  margin: 8px 0 0;
  padding: 0;
  overflow: visible;
  list-style: none;
}

.wishlist-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 72px;
  padding: 10px;
  color: rgba(255, 242, 231, 0.92);
  border: 1px solid rgba(143, 126, 238, 0.17);
  border-radius: 14px;
  background:
    radial-gradient(circle at 92% 50%, rgba(143, 126, 238, 0.07), transparent 32%),
    rgba(255, 255, 255, 0.04);
  text-align: left;
  text-decoration: none;
  transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}

.wishlist-row--linked {
  grid-template-columns: 42px minmax(0, 1fr) 38px;
  cursor: pointer;
}

.wishlist-row--linked:hover,
.wishlist-row--linked:focus-visible {
  border-color: rgba(143, 178, 232, 0.28);
  background:
    radial-gradient(circle at 92% 50%, rgba(143, 178, 232, 0.1), transparent 32%),
    rgba(255, 255, 255, 0.055);
  outline: none;
  transform: translateY(-1px);
}

.wishlist-number {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #fff7ee;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  font-size: 1.05rem;
  font-weight: 900;
}

.wishlist-text {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

.wishlist-link {
  display: grid;
  grid-column: 3;
  place-items: center;
  width: 38px;
  height: 38px;
  color: rgba(183, 198, 255, 0.9);
  border: 0;
  border-radius: 12px;
  background: transparent;
  pointer-events: none;
  transition: color 0.16s ease, background 0.16s ease;
}

.wishlist-link::before {
  content: "🔗";
  font-size: 1.08rem;
  line-height: 1;
}

.wishlist-row--linked:hover .wishlist-link,
.wishlist-row--linked:focus-visible .wishlist-link {
  color: #ffd246;
  background: rgba(143, 178, 232, 0.1);
}

.goodboy-action-bar {
  padding-top: 8px;
  border-top: 0;
}

.goodboy-action-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.goodboy-status-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 78px;
  color: #b7c6ff;
  border: 1px solid rgba(143, 178, 232, 0.24);
  border-radius: 14px;
  background:
    radial-gradient(circle at 50% 0%, rgba(143, 178, 232, 0.12), transparent 62%),
    rgba(255, 255, 255, 0.055);
  font-size: 1rem;
  font-weight: 800;
  box-shadow: none;
}

.goodboy-status-action:hover,
.goodboy-status-action:focus-visible,
.goodboy-status-action.is-active {
  color: #fff7ee;
  border-color: rgba(143, 178, 232, 0.42);
  background:
    radial-gradient(circle at 50% 0%, rgba(143, 178, 232, 0.18), transparent 62%),
    rgba(143, 178, 232, 0.1);
  outline: none;
}

.goodboy-status-action.is-active {
  box-shadow: inset 0 0 0 1px rgba(143, 178, 232, 0.14);
}

.goodboy-thanks-banner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 112px;
  margin-top: 26px;
  padding: 18px 34px;
  overflow: hidden;
  border: 1px solid rgba(143, 178, 232, 0.1);
  border-radius: 18px;
  background:
    linear-gradient(100deg, rgba(8, 27, 52, 0.94) 0%, rgba(19, 16, 45, 0.92) 58%, rgba(105, 54, 50, 0.72) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    var(--shadow-card);
}

.goodboy-thanks-banner::after {
  position: absolute;
  right: 190px;
  top: 24px;
  width: 72px;
  height: 42px;
  content: "";
  background:
    radial-gradient(circle at 12px 10px, #ffd246 0 3px, transparent 4px),
    radial-gradient(circle at 44px 27px, #ffd246 0 3px, transparent 4px),
    radial-gradient(circle at 60px 7px, #fff7b5 0 2px, transparent 3px);
  opacity: 0.9;
}

.goodboy-thanks-banner img {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: 96px;
  height: 96px;
  object-fit: contain;
}

.goodboy-thanks-banner div {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.goodboy-thanks-banner strong {
  color: #ff77bd;
  font-size: clamp(1.28rem, 3vw, 1.65rem);
  font-weight: 900;
  line-height: 1.12;
}

.goodboy-thanks-banner p {
  margin: 6px 0 0;
  color: rgba(232, 222, 239, 0.82);
  font-size: 1rem;
}

@media (max-width: 1080px) {
  .goodboy-layout {
    grid-template-columns: 1fr;
  }

  .goodboy-wishlist-card {
    position: static;
  }
}

@media (max-width: 760px) {
  .goodboy-page {
    width: min(100% - 24px, 680px);
  }

  .goodboy-page .app-header {
    margin-bottom: 20px;
  }

  .goodboy-profile-card {
    min-height: 280px;
    padding: 24px;
  }

  .goodboy-profile-copy {
    max-width: 58%;
  }

  .goodboy-profile-copy h2 {
    font-size: clamp(3rem, 14vw, 4rem);
  }

  .goodboy-portrait {
    right: -16px;
    width: min(58%, 250px);
  }

  .goodboy-card-copy {
    max-width: 66%;
  }

  .goodboy-address-card .goodboy-card-copy {
    max-width: 100%;
  }

  .goodboy-status-card .goodboy-card-copy {
    max-width: calc(100% - 142px);
  }

  .goodboy-card-art--gift,
  .goodboy-card-art--mailbox,
  .goodboy-card-art--reindeer {
    right: 8px;
    width: min(40%, 160px);
  }

  .goodboy-wishlist-card {
    padding: 24px;
  }

  .goodboy-wishlist-head h2 {
    font-size: clamp(2rem, 10vw, 2.6rem);
  }

  .wishlist-row {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 8px;
    min-height: 66px;
  }

  .wishlist-row--linked {
    grid-template-columns: 38px minmax(0, 1fr) 36px;
  }

  .goodboy-action-buttons {
    grid-template-columns: 1fr;
  }

  .goodboy-status-action {
    min-height: 58px;
  }

  .goodboy-thanks-banner {
    padding: 16px 18px;
  }

  .goodboy-thanks-banner img {
    width: 72px;
    height: 72px;
  }
}

@media (max-width: 640px) {
  .goodboy-page .header-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    align-items: center;
    flex: 1 1 100%;
    gap: 10px;
    order: 1;
  }

  .goodboy-page .header-actions .button {
    min-width: 0;
    width: 100%;
    flex: 0 1 auto;
    flex-basis: auto;
    order: 0;
  }

  .goodboy-page .profile-button {
    display: grid;
    justify-self: end;
    width: 44px;
    height: 44px;
    order: 0;
  }
}

@media (max-width: 520px) {
  .goodboy-layout,
  .goodboy-left-column {
    gap: 14px;
  }

  .goodboy-page .header-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    align-items: center;
    flex: 1 1 100%;
    gap: 10px;
    order: 1;
  }

  .goodboy-page .header-actions .button {
    min-width: 0;
    width: 100%;
    flex: 0 1 auto;
    flex-basis: auto;
    order: 0;
  }

  .goodboy-page .profile-button {
    display: grid;
    justify-self: end;
    width: 44px;
    height: 44px;
    order: 0;
  }

  .goodboy-back-link {
    margin-bottom: 14px;
  }

  .goodboy-profile-card {
    min-height: 250px;
  }

  .goodboy-profile-copy {
    max-width: 62%;
    gap: 12px;
  }

  .goodboy-group-chip {
    min-height: 52px;
    padding-right: 12px;
  }

  .goodboy-group-chip .game-cover {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .goodboy-info-card,
  .goodboy-hints-card,
  .goodboy-wishlist-card {
    padding: 20px;
  }

  .goodboy-card-copy {
    max-width: 100%;
    padding-right: 112px;
  }

  .goodboy-address-card {
    min-height: 0;
  }

  .goodboy-address-card .goodboy-card-copy {
    max-width: 100%;
    padding-right: 0;
  }

  .goodboy-status-card .goodboy-card-copy {
    max-width: 100%;
    padding-right: 104px;
  }

  .goodboy-card-art--gift {
    right: 24px;
    bottom: -8px;
    width: 122px;
  }

  .goodboy-card-art--mailbox {
    right: 24px;
    bottom: -8px;
    width: 126px;
  }

  .goodboy-card-art--reindeer {
    right: 18px;
    bottom: -24px;
    width: 124px;
  }

  .copy-button {
    min-height: 44px;
    padding: 0 14px;
  }

  .goodboy-note-line {
    align-items: flex-start;
    flex-direction: column;
    padding-right: 12px;
  }

  .goodboy-note-badge {
    margin-top: 2px;
  }

  .wishlist-row {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 7px;
    min-height: 62px;
    padding: 9px;
  }

  .wishlist-row--linked {
    grid-template-columns: 34px minmax(0, 1fr) 34px;
  }

  .wishlist-number {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    font-size: 0.94rem;
  }

  .wishlist-text {
    font-size: 0.92rem;
  }

  .wishlist-link {
    width: 34px;
    height: 34px;
  }

  .goodboy-thanks-banner {
    align-items: flex-start;
    gap: 14px;
  }
}

/* ===== Единая праздничная дизайн-логика ===== */

:root {
  --surface-card: linear-gradient(145deg, rgba(18, 26, 52, 0.96), rgba(36, 27, 62, 0.92));
  --surface-card-glow: radial-gradient(circle at 88% 18%, rgba(232, 90, 168, 0.13), transparent 34%);
  --surface-card-border: rgba(138, 127, 255, 0.24);
  --surface-card-shadow: 0 18px 48px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  --radius-card: 20px;
  --radius-inner: 14px;
}

.page-shell,
.goodboy-page {
  width: min(1120px, calc(100vw - 64px));
  padding: 24px 0 56px;
}

.app-header,
.goodboy-page .app-header {
  min-height: 72px;
  margin-bottom: 36px;
  padding: 0;
}

h1,
.games-hero h1 {
  font-size: 3rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.button,
.copy-button,
.rules-open-button,
.rules-close-button {
  border-radius: var(--radius-inner);
}

.button-primary {
  color: #fff8ef;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.24), transparent 58%),
    linear-gradient(180deg, #ff7bc7 0%, #d94b91 100%);
  box-shadow: 0 16px 34px rgba(232, 90, 168, 0.34);
}

.button-secondary,
.copy-button,
.rules-open-button {
  color: #dfe6ff;
  border: 1px solid rgba(143, 178, 232, 0.24);
  background:
    radial-gradient(circle at 50% 0%, rgba(143, 178, 232, 0.12), transparent 62%),
    rgba(255, 255, 255, 0.058);
  box-shadow: none;
}

.button-secondary:hover,
.button-secondary:focus-visible,
.copy-button:hover,
.copy-button:focus-visible,
.rules-open-button:hover,
.rules-open-button:focus-visible {
  color: #fff7ee;
  border-color: rgba(255, 200, 106, 0.38);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 200, 106, 0.13), transparent 62%),
    rgba(255, 200, 106, 0.08);
  outline: none;
}

.rules-modal .rules-close-button {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  min-height: 40px;
  padding: 0;
  color: rgba(255, 248, 239, 0.9);
  border: 1px solid rgba(143, 178, 232, 0.2);
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 0%, rgba(143, 178, 232, 0.12), transparent 62%),
    rgba(255, 255, 255, 0.055);
  box-shadow: none;
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1;
}

.rules-modal .rules-close-button:hover,
.rules-modal .rules-close-button:focus-visible {
  color: #fff7ee;
  border-color: rgba(255, 200, 106, 0.38);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 200, 106, 0.13), transparent 62%),
    rgba(255, 200, 106, 0.08);
  outline: none;
}

.hero-label {
  color: #ffd246;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: uppercase;
}

.goodboy-eyebrow {
  line-height: 1.2;
}

.meta-card,
.participants-card,
.chat-card,
.goodboy-info-card,
.goodboy-hints-card,
.goodboy-wishlist-card {
  border-color: var(--surface-card-border);
  background:
    var(--surface-card-glow),
    var(--surface-card);
  box-shadow: var(--surface-card-shadow);
}

.goodboy-layout {
  grid-template-columns: minmax(330px, 0.78fr) minmax(500px, 1fr);
  gap: 24px;
}

.goodboy-back-link {
  margin-bottom: 24px;
}

.goodboy-card {
  border-radius: var(--radius-card);
}

.goodboy-profile-card {
  min-height: 328px;
  border-color: rgba(255, 200, 106, 0.18);
  box-shadow:
    0 24px 62px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(255, 200, 106, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.goodboy-profile-card::before {
  background:
    radial-gradient(circle at 54% 34%, rgba(255, 198, 92, 0.24), transparent 3px),
    radial-gradient(circle at 44% 62%, rgba(255, 198, 92, 0.18), transparent 2px),
    radial-gradient(circle at 18% 12%, rgba(232, 90, 168, 0.14), transparent 32%),
    linear-gradient(180deg, transparent 0%, rgba(5, 8, 21, 0.08) 100%);
}

.goodboy-wishlist-card {
  gap: 18px;
  padding: 28px;
  border-color: rgba(143, 126, 238, 0.28);
  background:
    radial-gradient(ellipse at 50% -8%, rgba(232, 90, 168, 0.2), transparent 44%),
    radial-gradient(circle at 86% 14%, rgba(143, 178, 232, 0.13), transparent 34%),
    linear-gradient(145deg, rgba(18, 26, 52, 0.98), rgba(36, 27, 62, 0.94));
}

.goodboy-wishlist-head h2 {
  margin: 0;
  color: #fff7ee;
  font-size: clamp(2.25rem, 4vw, 2.9rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.goodboy-wishlist-note {
  font-size: 0.94rem;
  line-height: 1.5;
}

.goodboy-wishlist-list {
  gap: 13px;
  margin-top: 6px;
}

.wishlist-row {
  min-height: 68px;
  padding: 12px 14px;
  border-color: rgba(143, 126, 238, 0.24);
  border-radius: 16px;
  background:
    radial-gradient(circle at 92% 18%, rgba(255, 200, 106, 0.08), transparent 34%),
    radial-gradient(circle at 96% 72%, rgba(232, 90, 168, 0.08), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.034));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.055),
    0 10px 22px rgba(0, 0, 0, 0.1);
}

.wishlist-number {
  width: 38px;
  height: 38px;
  color: #fff7c5;
  border: 1px solid rgba(255, 200, 106, 0.38);
  border-radius: 999px;
  background:
    radial-gradient(circle at 34% 24%, rgba(255, 255, 255, 0.26), transparent 28%),
    linear-gradient(145deg, rgba(255, 210, 70, 0.24), rgba(116, 70, 24, 0.2));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 8px 18px rgba(255, 200, 106, 0.08);
  font-size: 0.95rem;
}

.wishlist-link {
  width: 38px;
  height: 38px;
  color: #cdd7ff;
  border: 1px solid rgba(143, 178, 232, 0.22);
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 0%, rgba(143, 178, 232, 0.14), transparent 62%),
    rgba(143, 178, 232, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.wishlist-link::before {
  content: "🔗";
  font-size: 1rem;
  font-weight: 400;
}

.wishlist-row--linked:hover .wishlist-link,
.wishlist-row--linked:focus-visible .wishlist-link {
  color: #0d1024;
  background: #ffd246;
}

.goodboy-action-bar {
  padding-top: 2px;
}

@media (max-width: 1080px) {
  .goodboy-layout {
    grid-template-columns: 1fr;
  }

  .goodboy-wishlist-card {
    grid-template-rows: auto auto auto auto auto;
  }

  .goodboy-wishlist-list {
    height: auto;
    max-height: none;
  }
}

@media (max-width: 760px) {
  .page-shell,
  .goodboy-page {
    width: calc(100% - 32px);
    padding: 18px 0 44px;
  }

  .app-header,
  .goodboy-page .app-header {
    min-height: 0;
    margin-bottom: 24px;
  }

  h1,
  .games-hero h1 {
    font-size: 2.2rem;
  }

  .goodboy-wishlist-card {
    padding: 22px;
  }

  .goodboy-wishlist-head h2 {
    font-size: 1.78rem;
  }

  .wishlist-row,
  .wishlist-row--linked {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .wishlist-row--linked {
    grid-template-columns: 34px minmax(0, 1fr) 34px;
  }

  .wishlist-text {
    font-size: 0.92rem;
  }

}

@media (max-width: 520px) {
  .goodboy-card.is-revealed .side-card-art-goodboy {
    bottom: -18px;
    width: min(104%, 114px);
  }
}

/* ===== Страница создания игры ===== */

.create-page {
  --create-glass:
    radial-gradient(circle at 88% 0%, rgba(143, 178, 232, 0.11), transparent 36%),
    radial-gradient(circle at 12% 8%, rgba(232, 90, 168, 0.08), transparent 30%),
    linear-gradient(145deg, rgba(18, 26, 52, 0.96), rgba(31, 24, 56, 0.92));
  --create-inner: rgba(10, 15, 34, 0.62);
}

.create-game-hero {
  display: grid;
  justify-items: start;
  gap: 12px;
  max-width: 680px;
  padding: 4px 0 30px;
  text-align: left;
}

.create-game-hero h1 {
  margin: 0;
  font-size: clamp(2.25rem, 4.2vw, 3rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0;
}

.create-game-lead {
  max-width: 620px;
  margin: 0;
  color: rgba(232, 222, 239, 0.86);
  font-size: clamp(1rem, 1.8vw, 1.16rem);
  line-height: 1.5;
}

.create-game-layout {
  display: grid;
  grid-template-columns: minmax(0, 58fr) minmax(0, 42fr);
  gap: 24px;
  align-items: start;
  min-width: 0;
}

.create-game-form,
.create-preview-card,
.create-next-card {
  min-width: 0;
  border: 1px solid var(--surface-card-border);
  border-radius: var(--radius-card);
  background: var(--create-glass);
  box-shadow: var(--surface-card-shadow);
  backdrop-filter: blur(18px);
}

.create-game-form {
  display: grid;
  gap: 20px;
  padding: clamp(22px, 3.6vw, 34px);
}

.create-side {
  display: grid;
  gap: 24px;
  min-width: 0;
}

.create-card-head {
  min-width: 0;
}

.create-card-head .hero-label {
  margin: 0;
}

.create-field,
.create-fieldset {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 0;
  margin: 0;
  border: 0;
}

.create-field[hidden] {
  display: none;
}

.create-fieldset {
  gap: 15px;
}

.create-fieldset > legend.create-label {
  margin-bottom: 10px;
}

.create-label {
  color: #fff7ee;
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.2;
}

.create-label--primary {
  font-size: 1.12rem;
}

.create-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.create-field-hint,
.create-type-note {
  margin: -2px 0 0;
  color: rgba(232, 222, 239, 0.68);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.4;
}

.create-type-note {
  margin-top: -3px;
}

.create-counter {
  color: rgba(185, 180, 208, 0.76);
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
}

.create-input,
.create-textarea {
  width: 100%;
  min-width: 0;
  min-height: 56px;
  padding: 0 18px;
  color: var(--text);
  border: 1px solid rgba(150, 140, 255, 0.22);
  border-radius: 16px;
  background: var(--create-inner);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  font: inherit;
  font-weight: 600;
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.create-textarea {
  min-height: 144px;
  padding: 18px;
  line-height: 1.45;
  resize: vertical;
}

.create-input::placeholder,
.create-textarea::placeholder {
  color: rgba(185, 180, 208, 0.7);
}

.create-input:focus,
.create-textarea:focus {
  border-color: rgba(255, 123, 199, 0.88);
  background: rgba(12, 18, 40, 0.74);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 0 0 3px rgba(232, 90, 168, 0.22),
    0 0 30px rgba(232, 90, 168, 0.16);
}

.create-input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  filter: invert(1) sepia(0.26) saturate(3) hue-rotate(186deg);
  opacity: 0.72;
}

.create-ideas {
  display: grid;
  gap: 14px;
  min-width: 0;
  padding: 18px;
  color: rgba(255, 242, 231, 0.9);
  border: 1px solid rgba(232, 90, 168, 0.3);
  border-radius: 18px;
  background:
    radial-gradient(circle at 16% 0%, rgba(255, 123, 199, 0.22), transparent 36%),
    linear-gradient(135deg, rgba(125, 94, 232, 0.3), rgba(232, 90, 168, 0.17)),
    rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.create-ideas-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}

.create-ideas h2 {
  margin: 0;
  color: #ff7bc7;
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: uppercase;
}

.create-ideas-refresh {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  padding: 0;
  color: #fff7ee;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(5, 8, 21, 0.34);
  font-size: 1rem;
  line-height: 1;
  transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}

.create-ideas-refresh:hover,
.create-ideas-refresh:focus-visible {
  border-color: rgba(255, 123, 199, 0.56);
  background: rgba(232, 90, 168, 0.14);
  outline: none;
  transform: rotate(18deg);
}

.create-ideas p {
  margin: 6px 0 0;
  color: rgba(232, 222, 239, 0.82);
  font-size: 0.92rem;
  line-height: 1.45;
}

.create-idea-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  min-width: 0;
}

.create-idea-chips button {
  min-width: 0;
  min-height: 38px;
  padding: 0 13px;
  color: #fff7ee;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(5, 8, 21, 0.36);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.2;
  overflow-wrap: anywhere;
  transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}

.create-idea-chips button:hover,
.create-idea-chips button:focus-visible {
  border-color: rgba(255, 200, 106, 0.48);
  background: rgba(255, 200, 106, 0.12);
  outline: none;
  transform: translateY(-1px);
}

.create-radio-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.create-radio-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  min-width: 0;
  padding: 15px;
  color: rgba(232, 222, 239, 0.84);
  border: 1px solid rgba(143, 178, 232, 0.24);
  border-radius: 18px;
  background: rgba(5, 8, 21, 0.46);
  font-weight: 900;
  cursor: pointer;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.create-radio-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radio-dot {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(232, 222, 239, 0.62);
  border-radius: 50%;
}

.radio-dot::before {
  width: 10px;
  height: 10px;
  content: "";
  border-radius: inherit;
  background: #ff7bc7;
  transform: scale(0);
  transition: transform 0.12s ease;
}

.create-radio-card:has(input:checked) {
  color: #fff7ee;
  border-color: rgba(255, 123, 199, 0.88);
  background:
    radial-gradient(circle at 50% 0%, rgba(232, 90, 168, 0.15), transparent 58%),
    rgba(5, 8, 21, 0.62);
  box-shadow:
    0 0 0 1px rgba(232, 90, 168, 0.16),
    0 18px 36px rgba(232, 90, 168, 0.12);
}

.create-radio-card:has(input:checked) .radio-dot {
  border-color: #ff7bc7;
}

.create-radio-card:has(input:checked) .radio-dot::before {
  transform: scale(1);
}

.create-radio-card:has(input:focus-visible) {
  outline: 3px solid rgba(232, 90, 168, 0.26);
  outline-offset: 3px;
}

.create-money-field {
  position: relative;
  min-width: 0;
}

.create-money-field .create-input {
  padding-right: 54px;
}

.create-money-field span {
  position: absolute;
  top: 50%;
  right: 20px;
  color: #fff7ee;
  font-size: 1.05rem;
  font-weight: 900;
  transform: translateY(-50%);
}

.create-date-field {
  position: relative;
  min-width: 0;
}

.create-date-field .create-input {
  padding-right: 60px;
}

.create-date-picker {
  position: absolute;
  top: 50%;
  right: 10px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  color: rgba(255, 247, 238, 0.92);
  border: 1px solid rgba(150, 140, 255, 0.2);
  border-radius: 13px;
  background:
    radial-gradient(circle at 50% 0%, rgba(143, 178, 232, 0.12), transparent 62%),
    rgba(255, 255, 255, 0.045);
  font-size: 1rem;
  line-height: 1;
  transform: translateY(-50%);
  transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}

.create-date-picker:hover,
.create-date-picker:focus-visible {
  border-color: rgba(255, 123, 199, 0.5);
  background: rgba(232, 90, 168, 0.12);
  outline: none;
  transform: translateY(-50%) translateY(-1px);
}

.create-date-native {
  position: absolute;
  right: 20px;
  bottom: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.create-form-note {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  justify-self: start;
  max-width: 100%;
  margin: 0;
  color: rgba(185, 180, 208, 0.82);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.35;
}

.create-note-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: rgba(255, 242, 231, 0.92);
  border: 1px solid rgba(143, 178, 232, 0.28);
  border-radius: 50%;
  background: rgba(143, 178, 232, 0.1);
  font-size: 0.72rem;
  font-weight: 900;
  font-style: normal;
  line-height: 1;
}

.create-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 12px;
  padding-top: 2px;
}

.create-actions .button {
  min-width: 150px;
  min-height: 50px;
}

.create-actions .button-primary {
  min-width: 300px;
  box-shadow: 0 16px 34px rgba(232, 90, 168, 0.25);
}

.create-actions .button-secondary {
  min-width: 150px;
}

.create-preview-card,
.create-next-card {
  display: grid;
  gap: 18px;
  padding: 22px;
}

.create-preview-card {
  gap: 25px;
}

.create-cover-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(143, 178, 232, 0.18);
  border-radius: 18px;
  background: rgba(5, 8, 21, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.create-cover-frame img,
.create-cover-thumbs img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.create-cover-label {
  margin: 0;
  color: rgba(255, 242, 231, 0.92);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.25;
}

.create-cover-picker {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.create-cover-carousel {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 34px;
  gap: 9px;
  align-items: center;
  min-width: 0;
}

.create-cover-window {
  min-width: 0;
  overflow: hidden;
}

.create-cover-thumbs {
  display: flex;
  gap: 10px;
  min-width: 0;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.create-cover-thumbs::-webkit-scrollbar {
  display: none;
}

.create-cover-thumbs button {
  position: relative;
  flex: 0 0 calc((100% - 30px) / 4);
  min-width: 76px;
  height: clamp(72px, 6.2vw, 84px);
  padding: 0;
  overflow: hidden;
  border: 2px solid rgba(143, 178, 232, 0.2);
  border-radius: 14px;
  background: rgba(5, 8, 21, 0.54);
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.create-cover-arrow {
  display: grid;
  place-items: center;
  width: 34px;
  height: 46px;
  padding: 0;
  color: rgba(255, 242, 231, 0.82);
  border: 1px solid rgba(150, 140, 255, 0.2);
  border-radius: 13px;
  background:
    radial-gradient(circle at 50% 0%, rgba(143, 178, 232, 0.12), transparent 62%),
    rgba(255, 255, 255, 0.045);
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
  transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.create-cover-arrow:hover,
.create-cover-arrow:focus-visible {
  color: #fff7ee;
  border-color: rgba(255, 123, 199, 0.46);
  background: rgba(232, 90, 168, 0.12);
  outline: none;
}

.create-cover-thumbs button:hover,
.create-cover-thumbs button:focus-visible {
  border-color: rgba(255, 200, 106, 0.42);
  outline: none;
  transform: translateY(-1px);
}

.create-cover-thumbs span {
  position: absolute;
  top: 6px;
  right: 6px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: #fff7ee;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff7bc7 0%, #d94b91 100%);
  font-size: 0.78rem;
  font-weight: 900;
  opacity: 0;
  transform: scale(0.84);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.create-cover-thumbs .is-selected {
  border-color: rgba(255, 123, 199, 0.92);
  box-shadow:
    0 0 0 3px rgba(232, 90, 168, 0.26),
    0 0 26px rgba(255, 123, 199, 0.22),
    0 16px 34px rgba(232, 90, 168, 0.26);
}

.create-cover-thumbs .is-selected span {
  opacity: 1;
  transform: scale(1);
}

.create-live-preview {
  display: grid;
  gap: 22px;
  min-width: 0;
}

.create-live-preview h2 {
  margin: 0 0 10px;
  color: #fff7ee;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 900;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.create-live-line,
.create-preview-pills,
.create-participants {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.create-live-line {
  gap: 7px;
  color: rgba(185, 180, 208, 0.88);
  font-size: 0.92rem;
  font-weight: 700;
}

.create-preview-pills {
  gap: 10px;
  margin-bottom: 6px;
}

.create-participants {
  min-height: 34px;
  padding: 0 12px;
  color: rgba(232, 222, 239, 0.78);
  border: 1px solid rgba(143, 178, 232, 0.2);
  border-radius: 16px;
  background: rgba(143, 178, 232, 0.08);
  font-size: 0.85rem;
  font-weight: 800;
}

.create-preview-card .game-status {
  width: fit-content;
  margin-left: 0;
}

.create-preview-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 2px 0 0;
}

.create-preview-meta div {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(143, 178, 232, 0.16);
  border-radius: 14px;
  background: rgba(5, 8, 21, 0.42);
}

.create-preview-meta dt {
  margin-bottom: 5px;
  color: rgba(255, 210, 70, 0.86);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.create-preview-meta dd {
  min-width: 0;
  margin: 0;
  color: rgba(255, 242, 231, 0.9);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.create-timeline {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.create-timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  min-width: 0;
}

.create-timeline li::before {
  position: absolute;
  top: 38px;
  bottom: -14px;
  left: 17px;
  width: 2px;
  content: "";
  background: linear-gradient(180deg, rgba(255, 123, 199, 0.28), rgba(125, 94, 232, 0.1));
}

.create-timeline li:last-child::before {
  display: none;
}

.create-timeline span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: #fff7ee;
  border: 1px solid rgba(255, 123, 199, 0.42);
  border-radius: 999px;
  background:
    radial-gradient(circle at 34% 22%, rgba(255, 255, 255, 0.24), transparent 30%),
    linear-gradient(145deg, rgba(255, 123, 199, 0.42), rgba(125, 94, 232, 0.3)),
    rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
  font-weight: 900;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 10px 24px rgba(232, 90, 168, 0.2);
}

.create-timeline-copy {
  min-width: 0;
}

.create-timeline p {
  margin: 5px 0 0;
  color: rgba(232, 222, 239, 0.82);
  font-size: 0.92rem;
  line-height: 1.45;
}

.create-timeline strong {
  display: block;
  color: #fff7ee;
  font-size: 0.98rem;
  font-weight: 900;
  line-height: 1.25;
}

@media (max-width: 959px) {
  .create-game-layout {
    grid-template-columns: 1fr;
  }

  .create-side {
    gap: 20px;
  }
}

@media (max-width: 760px) {
  .create-game-hero {
    padding-bottom: 24px;
  }

  .create-game-form,
  .create-preview-card,
  .create-next-card {
    padding: 20px;
  }

  .create-textarea {
    min-height: 132px;
    padding: 18px;
  }

  .create-preview-meta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .create-page .app-header {
    flex-wrap: wrap;
  }

  .create-page .header-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    align-items: center;
    flex: 1 1 100%;
    gap: 10px;
    order: 1;
  }

  .create-page .header-actions .button {
    min-width: 0;
    width: 100%;
    padding-inline: 12px;
    order: 0;
  }

  .create-page .profile-button,
  .create-page .avatar-profile {
    width: 44px;
    height: 44px;
  }

  .create-page .profile-button {
    order: 1;
  }
}

@media (max-width: 520px) {
  .create-game-form,
  .create-preview-card,
  .create-next-card {
    padding: 18px;
  }

  .create-radio-group {
    grid-template-columns: 1fr;
  }

  .create-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .create-actions .button {
    width: 100%;
  }

  .create-actions .button-primary {
    order: -1;
  }

  .create-cover-thumbs {
    display: flex;
    gap: 10px;
    margin: 0;
    padding: 2px 0 8px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .create-cover-thumbs button {
    flex: 0 0 78px;
    height: 58px;
  }

  .create-cover-carousel {
    grid-template-columns: 30px minmax(0, 1fr) 30px;
    gap: 7px;
  }

  .create-cover-arrow {
    width: 30px;
    height: 42px;
  }

  .create-idea-chips button {
    max-width: 100%;
  }
}

/* Mobile scroll performance: avoid full-screen fixed paint and live blur. */
@media (max-width: 760px), (hover: none) and (pointer: coarse) {
  :root {
    --shadow-card: 0 14px 34px rgba(0, 0, 0, 0.26);
    --surface-card-shadow: 0 12px 30px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  }

  body::before {
    content: none;
    display: none;
  }

  .meta-card,
  .description-card,
  .side-card,
  .participants-card,
  .chat-card,
  .countdown,
  .invite-row,
  .goodboy-group-chip,
  .goodboy-card,
  .goodboy-card.is-revealed .button-secondary,
  .goodboy-summary-card,
  .create-game-form,
  .create-preview-card,
  .create-next-card {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

/* Final layout pass for the recipient page. */
.goodboy-layout {
  align-items: start;
  grid-template-columns: minmax(320px, 0.72fr) minmax(520px, 1fr);
  gap: 22px;
}

.goodboy-profile-card,
.goodboy-address-card,
.goodboy-budget-card,
.goodboy-status-card {
  grid-column: 1;
}

.goodboy-wishlist-card {
  grid-column: 2;
  grid-row: 1 / span 4;
  position: sticky;
  top: 18px;
  align-content: start;
  grid-template-rows: none;
  gap: 18px;
}

.goodboy-choice-context {
  display: grid;
  gap: 8px;
}

.goodboy-choice-context h2,
.goodboy-section-head h2 {
  margin: 0;
  color: #fff7ee;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.15;
}

.goodboy-choice-context h2 {
  max-width: 13ch;
  font-size: clamp(1.45rem, 2.7vw, 2rem);
}

.goodboy-choice-context p,
.goodboy-section-head p,
.goodboy-wishlist-note,
.goodboy-link-hint,
.goodboy-chat-note {
  margin: 0;
  color: rgba(232, 222, 239, 0.78);
  line-height: 1.5;
}

.goodboy-hints-compact {
  display: grid;
  gap: 12px;
  padding: 14px 0 2px;
  border-top: 1px solid rgba(143, 178, 232, 0.16);
}

.goodboy-section-head h2 {
  font-size: clamp(1.08rem, 2vw, 1.26rem);
}

.goodboy-section-head p {
  margin-top: 4px;
  font-size: 0.88rem;
}

.goodboy-hint-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.goodboy-hint-chips li {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  color: #fff7ee;
  border: 1px solid rgba(255, 200, 106, 0.24);
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 200, 106, 0.1), transparent 58%),
    rgba(255, 255, 255, 0.055);
  font-size: 0.86rem;
  font-weight: 850;
}

.goodboy-wishlist-head h2 {
  font-size: clamp(1.55rem, 2.8vw, 2.1rem);
}

.goodboy-wishlist-note {
  padding: 13px 15px;
  border: 1px solid rgba(143, 178, 232, 0.16);
  border-radius: 14px;
  background: rgba(10, 15, 34, 0.38);
  font-size: 0.93rem;
}

.goodboy-link-hint {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  padding: 8px 11px;
  border: 1px solid rgba(143, 178, 232, 0.14);
  border-radius: 999px;
  background: rgba(143, 178, 232, 0.07);
  font-size: 0.84rem;
  font-weight: 760;
}

.goodboy-wishlist-empty {
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px dashed rgba(255, 200, 106, 0.28);
  border-radius: 16px;
  background:
    radial-gradient(circle at 94% 10%, rgba(255, 200, 106, 0.08), transparent 30%),
    rgba(10, 15, 34, 0.34);
}

.goodboy-wishlist-empty[hidden] {
  display: none;
}

.goodboy-wishlist-empty strong {
  color: #fff7ee;
  font-size: 0.98rem;
  font-weight: 900;
}

.goodboy-wishlist-empty p {
  margin: 0;
  color: rgba(232, 222, 239, 0.78);
  line-height: 1.5;
}

.goodboy-chat-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid rgba(143, 178, 232, 0.13);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.88rem;
}

.goodboy-chat-note a {
  color: #ffd246;
  font-weight: 900;
  text-decoration: none;
}

.goodboy-chat-note a:hover,
.goodboy-chat-note a:focus-visible {
  text-decoration: underline;
  outline: none;
}

.goodboy-budget-card,
.goodboy-status-card {
  min-height: 0;
  padding: 22px 24px;
}

.goodboy-budget-card {
  border-color: rgba(255, 200, 106, 0.17);
  background:
    radial-gradient(circle at 95% 18%, rgba(255, 200, 106, 0.1), transparent 32%),
    radial-gradient(circle at 8% 0%, rgba(232, 90, 168, 0.08), transparent 30%),
    linear-gradient(145deg, rgba(18, 26, 52, 0.94), rgba(27, 24, 50, 0.9));
}

.goodboy-budget-card .goodboy-card-copy,
.goodboy-status-card .goodboy-card-copy {
  max-width: calc(100% - 118px);
  gap: 8px;
}

.goodboy-budget-card .goodboy-card-copy strong {
  color: #fff7ee;
  font-size: clamp(1.55rem, 3vw, 2.05rem);
}

.goodboy-budget-card .goodboy-card-copy p,
.goodboy-status-card .goodboy-card-copy p {
  margin: 0;
  font-size: 0.92rem;
}

.goodboy-address-card [data-address-text] {
  overflow-wrap: anywhere;
  word-break: normal;
}

.goodboy-card-art--gift {
  right: 16px;
  bottom: -10px;
  width: min(29%, 132px);
  opacity: 0.84;
}

.goodboy-status-card {
  border-color: rgba(143, 178, 232, 0.18);
  background:
    radial-gradient(circle at 96% 18%, rgba(143, 178, 232, 0.11), transparent 32%),
    linear-gradient(145deg, rgba(18, 26, 52, 0.94), rgba(25, 25, 48, 0.9));
}

.goodboy-status-card[data-gift-state="picked"] {
  border-color: rgba(255, 200, 106, 0.24);
}

.goodboy-status-card[data-gift-state="sent"] {
  border-color: rgba(112, 232, 182, 0.26);
}

.goodboy-status-card strong {
  color: #fff7ee;
  font-size: 1.16rem;
}

.goodboy-status-card strong::before {
  background: #8fb2e8;
  box-shadow: 0 0 14px rgba(143, 178, 232, 0.36);
}

.goodboy-status-card[data-gift-state="sent"] strong::before {
  background: #70e8b6;
  box-shadow: 0 0 16px rgba(112, 232, 182, 0.34);
}

.goodboy-card-art--reindeer {
  right: 12px;
  bottom: -12px;
  width: min(30%, 136px);
  opacity: 0.84;
}

.goodboy-action-bar {
  padding-top: 2px;
}

.goodboy-action-buttons {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

.goodboy-status-action {
  min-height: 52px;
  justify-content: center;
  border-radius: 18px;
  font-size: 0.98rem;
}

.goodboy-status-action[hidden] {
  display: none;
}

.goodboy-status-action--primary {
  color: #fff8ef;
  border: 1px solid rgba(255, 123, 199, 0.36);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.24), transparent 58%),
    linear-gradient(180deg, #ff7bc7 0%, #d94b91 100%);
  box-shadow: 0 16px 34px rgba(232, 90, 168, 0.28);
}

.goodboy-status-action--secondary {
  color: #dfe6ff;
  border: 1px solid rgba(143, 178, 232, 0.22);
  background:
    radial-gradient(circle at 50% 0%, rgba(143, 178, 232, 0.1), transparent 62%),
    rgba(255, 255, 255, 0.05);
  box-shadow: none;
}

.wishlist-row {
  min-height: 62px;
}

.wishlist-link {
  width: 32px;
  height: 32px;
  color: #dfe6ff;
  border-color: rgba(143, 178, 232, 0.18);
  background:
    radial-gradient(circle at 50% 0%, rgba(143, 178, 232, 0.12), transparent 58%),
    rgba(143, 178, 232, 0.055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.wishlist-row--linked:hover .wishlist-link,
.wishlist-row--linked:focus-visible .wishlist-link {
  color: #0d1024;
  border-color: rgba(255, 210, 70, 0.78);
  background: #ffd246;
  box-shadow: 0 8px 18px rgba(255, 200, 106, 0.18);
}

@media (max-width: 1080px) {
  .goodboy-layout {
    grid-template-columns: 1fr;
  }

  .goodboy-profile-card,
  .goodboy-address-card,
  .goodboy-budget-card,
  .goodboy-status-card,
  .goodboy-wishlist-card {
    grid-column: 1;
    grid-row: auto;
  }

  .goodboy-profile-card {
    order: 1;
  }

  .goodboy-address-card {
    order: 2;
  }

  .goodboy-wishlist-card {
    position: static;
    order: 3;
  }

  .goodboy-budget-card {
    order: 4;
  }

  .goodboy-status-card {
    order: 5;
  }
}

@media (max-width: 760px) {
  .goodboy-layout {
    gap: 16px;
  }

  .goodboy-choice-context {
    display: none;
  }

  .goodboy-choice-context h2 {
    max-width: none;
    font-size: 1.48rem;
  }

  .goodboy-wishlist-card {
    gap: 15px;
    padding: 20px;
  }

  .goodboy-wishlist-head h2 {
    font-size: 1.54rem;
  }

  .goodboy-wishlist-note {
    padding: 12px;
    font-size: 0.89rem;
  }

  .goodboy-link-hint,
  .goodboy-chat-note {
    font-size: 0.82rem;
  }

  .goodboy-budget-card,
  .goodboy-status-card {
    padding: 20px;
  }

  .goodboy-address-card [data-address-text] {
    font-size: clamp(1.28rem, 7vw, 1.65rem);
    line-height: 1.18;
  }

  .goodboy-budget-card .goodboy-card-copy,
  .goodboy-status-card .goodboy-card-copy {
    max-width: calc(100% - 88px);
  }

  .goodboy-card-art--gift,
  .goodboy-card-art--reindeer {
    width: min(28%, 98px);
  }
}

@media (max-width: 520px) {
  .goodboy-hint-chips li {
    min-height: 30px;
    padding: 0 10px;
    font-size: 0.82rem;
  }

  .goodboy-card-art--gift,
  .goodboy-card-art--reindeer {
    width: 86px;
  }

  .goodboy-budget-card .goodboy-card-copy,
  .goodboy-status-card .goodboy-card-copy {
    max-width: calc(100% - 74px);
  }
}

/* Column wrappers keep the desktop rhythm independent from the tall wishlist. */
.goodboy-layout {
  align-items: start;
}

.goodboy-practical-column,
.goodboy-semantic-column {
  display: grid;
  align-content: start;
  gap: 22px;
  min-width: 0;
}

.goodboy-practical-column {
  grid-column: 1;
}

.goodboy-semantic-column {
  grid-column: 2;
}

.goodboy-practical-column > .goodboy-card,
.goodboy-semantic-column > .goodboy-card {
  grid-column: auto;
  grid-row: auto;
}

.goodboy-semantic-column > .goodboy-wishlist-card {
  position: sticky;
  top: 18px;
}

@media (max-width: 1080px) {
  .goodboy-practical-column,
  .goodboy-semantic-column {
    display: contents;
  }

  .goodboy-profile-card {
    order: 1;
  }

  .goodboy-address-card {
    order: 2;
  }

  .goodboy-wishlist-card {
    order: 3;
  }

  .goodboy-budget-card {
    order: 4;
  }

  .goodboy-status-card {
    order: 5;
  }
}

/* Simplified semantic column: hints, question, wishlist. */
.goodboy-wishlist-card {
  gap: 16px;
}

.goodboy-sonya-hints {
  display: grid;
  gap: 12px;
  padding-bottom: 2px;
}

.goodboy-sonya-hints h2 {
  margin: 0;
  color: #fff7ee;
  font-size: clamp(1.6rem, 3vw, 2.12rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.1;
}

.goodboy-sonya-hints p {
  max-width: 64ch;
  margin: 0;
  color: rgba(232, 222, 239, 0.82);
  font-size: 0.98rem;
  line-height: 1.58;
}

.goodboy-sonya-hints .goodboy-hint-chips {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 10px;
  margin-top: 2px;
}

.goodboy-sonya-hints .goodboy-hint-chips li {
  justify-content: center;
  min-height: 34px;
  padding: 0 13px;
  border-color: rgba(255, 123, 199, 0.38);
  background:
    radial-gradient(circle at 90% 20%, rgba(255, 123, 199, 0.2), transparent 38%),
    radial-gradient(circle at 16% 0%, rgba(143, 178, 232, 0.14), transparent 36%),
    rgba(255, 255, 255, 0.055);
  color: rgba(255, 247, 238, 0.92);
  font-size: 0.82rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 8px 18px rgba(232, 90, 168, 0.08);
}

.goodboy-wishlist-head {
  margin-top: 6px;
  padding-top: 18px;
  border-top: 1px solid rgba(143, 178, 232, 0.14);
}

.goodboy-wishlist-note {
  padding: 0;
  border: 0;
  background: transparent;
}

.goodboy-wishlist-list {
  height: auto;
  max-height: none;
  overflow: visible;
}

.goodboy-status-card {
  display: grid;
  gap: 16px;
}

.goodboy-status-card .goodboy-action-bar {
  position: relative;
  z-index: 1;
  width: min(100%, 250px);
  padding-top: 0;
}

.goodboy-status-card .goodboy-action-buttons {
  gap: 8px;
}

.goodboy-status-card .goodboy-status-action {
  min-height: 46px;
  padding-inline: 14px;
  border-radius: 16px;
  font-size: 0.9rem;
}

.goodboy-status-card[data-gift-state="sent"] .goodboy-action-bar {
  width: min(100%, 184px);
}

@media (max-width: 1080px) {
  .goodboy-wishlist-card {
    order: 3;
  }

  .goodboy-budget-card {
    order: 4;
  }

  .goodboy-status-card {
    order: 5;
  }
}

@media (max-width: 760px) {
  .goodboy-sonya-hints h2 {
    font-size: 1.46rem;
  }

  .goodboy-sonya-hints p {
    font-size: 0.91rem;
  }

  .goodboy-status-card .goodboy-action-bar {
    width: min(100%, 220px);
  }

  .goodboy-budget-card {
    margin-top: 16px;
  }
}

@media (max-width: 520px) {
  .goodboy-sonya-hints .goodboy-hint-chips {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .goodboy-sonya-hints .goodboy-hint-chips li {
    min-width: 0;
    padding: 0 8px;
    font-size: 0.76rem;
    line-height: 1.12;
    text-align: center;
  }

  .goodboy-status-card .goodboy-action-bar {
    width: 100%;
  }
}

/* ===== Страница входа в игру 1 ===== */

.page-shell.game-entry-1-page {
  --entry-card:
    radial-gradient(circle at 87% 8%, rgba(84, 139, 102, 0.16), transparent 30%),
    radial-gradient(circle at 28% 0%, rgba(255, 200, 106, 0.1), transparent 32%),
    linear-gradient(145deg, rgba(15, 24, 52, 0.95), rgba(22, 19, 50, 0.96));
  --entry-card-quiet:
    radial-gradient(circle at 85% 10%, rgba(232, 90, 168, 0.12), transparent 34%),
    radial-gradient(circle at 16% 0%, rgba(143, 178, 232, 0.13), transparent 34%),
    linear-gradient(145deg, rgba(18, 26, 56, 0.96), rgba(21, 18, 49, 0.96));
  --entry-border: rgba(143, 178, 232, 0.28);
  --entry-border-warm: rgba(255, 200, 106, 0.34);
  position: relative;
  isolation: isolate;
  width: min(1120px, calc(100vw - 64px));
  padding: 20px 0 46px;
}

.game-entry-1-page .app-header {
  margin-bottom: 26px;
}

.game-entry-1-page .avatar-profile {
  border-radius: 16px;
  transition:
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.game-entry-1-page .profile-button:hover .avatar-profile,
.game-entry-1-page .profile-button:focus-visible .avatar-profile {
  box-shadow:
    0 0 0 3px rgba(255, 200, 106, 0.18),
    0 14px 28px rgba(232, 90, 168, 0.16);
  transform: translateY(-1px);
}

.game-entry-1-page .profile-button:focus-visible {
  outline: none;
}

.game-entry-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  margin-bottom: 22px;
}

.game-entry-title {
  display: grid;
  gap: 8px;
}

.game-entry-label {
  margin: 0;
  color: #ffd246;
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.2;
}

.game-entry-title h1 {
  margin: 0;
  color: #fff3e7;
  font-size: 3rem;
  line-height: 1.08;
  letter-spacing: 0;
  text-shadow: 0 7px 24px rgba(0, 0, 0, 0.3);
}

.game-entry-title p:last-child {
  margin: 0;
  max-width: 560px;
  color: rgba(232, 222, 239, 0.86);
  font-size: clamp(1.02rem, 1.8vw, 1.18rem);
  line-height: 1.45;
}

.game-entry-progress {
  position: relative;
  display: grid;
  grid-template-columns: auto auto;
  gap: 66px;
  align-items: center;
  min-width: min(100%, 520px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.game-entry-progress::before {
  position: absolute;
  top: 50%;
  left: calc(50% - 48px);
  width: 64px;
  border-top: 1px dashed rgba(216, 220, 255, 0.32);
  content: "";
  transform: translateY(-50%);
}

.game-entry-progress-step {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  color: rgba(232, 222, 239, 0.68);
  font-size: 0.92rem;
  font-weight: 900;
  white-space: nowrap;
}

.game-entry-progress-step.is-active {
  padding: 9px 17px 9px 10px;
  color: #ff7bc7;
  border: 1px solid rgba(255, 123, 199, 0.28);
  border-radius: 999px;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 123, 199, 0.24), transparent 30%),
    rgba(255, 255, 255, 0.045);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 14px 38px rgba(232, 90, 168, 0.12);
}

.game-entry-step-number {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: rgba(232, 222, 239, 0.72);
  border: 1px solid rgba(216, 220, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.075);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.game-entry-progress-step.is-active .game-entry-step-number {
  color: #fff7ee;
  border-color: rgba(255, 255, 255, 0.28);
  background:
    radial-gradient(circle at 32% 18%, rgba(255, 255, 255, 0.35), transparent 28%),
    linear-gradient(145deg, #d963b5, #8e3a86);
  box-shadow:
    0 0 0 4px rgba(232, 90, 168, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.game-entry-hero-card,
.game-entry-form-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--entry-border);
  border-radius: 26px;
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
}

.game-entry-hero-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(390px, 0.45fr) minmax(430px, 0.55fr);
  min-height: 430px;
  margin-bottom: 10px;
  background:
    linear-gradient(90deg, rgba(10, 14, 35, 0.98) 0%, rgba(13, 19, 47, 0.9) 42%, rgba(13, 19, 47, 0.18) 66%),
    #0d1230;
}

.game-entry-hero-copy {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  justify-items: start;
  gap: 18px;
  min-width: 0;
  max-width: 560px;
  padding: 36px;
}

.game-entry-hero-copy h2,
.game-entry-name-panel h2 {
  margin: 0;
  color: #fff8ef;
  font-size: clamp(1.35rem, 2vw, 1.58rem);
  font-weight: 900;
  line-height: 1.12;
}

.game-entry-hero-copy p {
  margin: 0;
  color: rgba(232, 222, 239, 0.9);
  font-size: 1rem;
  line-height: 1.72;
}

.game-entry-read-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 24px;
  color: #dfe6ff;
  border: 1px solid rgba(143, 178, 232, 0.24);
  border-radius: 14px;
  background:
    radial-gradient(circle at 50% 0%, rgba(143, 178, 232, 0.12), transparent 62%),
    rgba(255, 255, 255, 0.058);
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease;
}

.game-entry-read-more[hidden] {
  display: none;
}

.game-entry-read-more:hover,
.game-entry-read-more:focus-visible {
  color: #fff7ee;
  border-color: rgba(255, 200, 106, 0.38);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 200, 106, 0.13), transparent 62%),
    rgba(255, 200, 106, 0.08);
  outline: none;
  transform: translateY(-1px);
}

.game-entry-gold-chip {
  display: inline-flex;
  align-items: center;
  min-height: 50px;
  margin-top: -4px;
  margin-bottom: 2px;
  padding: 0 22px;
  color: #ffe6a3;
  border: 1px solid rgba(255, 213, 111, 0.54);
  border-radius: 999px;
  background:
    radial-gradient(circle at 14% 12%, rgba(255, 255, 255, 0.24), transparent 26%),
    linear-gradient(135deg, rgba(255, 211, 96, 0.21), rgba(255, 142, 66, 0.09)),
    rgba(255, 200, 106, 0.095);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.11),
    0 10px 24px rgba(255, 190, 88, 0.12);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.2;
}

.game-entry-gold-chip span {
  min-width: 0;
  white-space: nowrap;
}

.game-entry-meta-list {
  display: grid;
  grid-template-columns: minmax(130px, 0.74fr) minmax(0, 1.26fr);
  align-items: stretch;
  gap: 10px;
  justify-self: stretch;
  width: 100%;
  max-width: 450px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.game-entry-meta-list li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-width: 0;
  height: 44px;
  min-height: 44px;
  padding: 0 16px;
  color: rgba(255, 248, 241, 0.94);
  border: 1px solid rgba(143, 178, 232, 0.2);
  border-radius: 12px;
  background:
    radial-gradient(circle at 16% 0%, rgba(255, 255, 255, 0.07), transparent 45%),
    rgba(255, 255, 255, 0.052);
  font-size: 0.92rem;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
}

.game-entry-meta-list li:last-child {
  justify-content: flex-start;
}

.game-entry-meta-list li span:first-child {
  font-size: 1.08rem;
  line-height: 1;
}

.game-entry-meta-list li span:last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.game-entry-hero-art {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
}

.game-entry-hero-art::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, rgba(10, 14, 35, 0.98) 0%, rgba(10, 14, 35, 0.82) 31%, rgba(10, 14, 35, 0.28) 54%, transparent 76%),
    linear-gradient(180deg, transparent 64%, rgba(7, 9, 20, 0.12));
}

.game-entry-hero-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  transform: scale(1.08);
  transform-origin: 86% 50%;
}

.game-entry-form-card {
  display: grid;
  grid-template-columns: minmax(0, 660px) minmax(280px, 1fr);
  gap: 28px;
  align-items: center;
  min-height: 0;
  padding: 32px 36px;
  background: var(--entry-card-quiet);
}

.game-entry-name-panel {
  display: grid;
  gap: 13px;
  min-width: 0;
  max-width: 660px;
}

.game-entry-name-panel p {
  margin: 0;
  color: rgba(232, 222, 239, 0.76);
  line-height: 1.45;
}

.game-entry-name-panel label {
  margin-top: 8px;
  color: #fff7ee;
  font-size: 0.9rem;
  font-weight: 900;
}

.game-entry-name-panel input {
  width: 100%;
  min-height: 50px;
  padding: 0 18px;
  color: #fff8ef;
  border: 1px solid rgba(143, 178, 232, 0.22);
  border-radius: 12px;
  background: rgba(4, 8, 24, 0.58);
  outline: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.game-entry-name-panel input::placeholder {
  color: rgba(224, 221, 241, 0.72);
}

.game-entry-name-panel input:hover {
  border-color: rgba(143, 178, 232, 0.38);
  background: rgba(8, 12, 30, 0.74);
}

.game-entry-name-panel input:focus {
  border-color: rgba(255, 200, 106, 0.68);
  background: rgba(9, 13, 31, 0.86);
  box-shadow:
    0 0 0 4px rgba(255, 200, 106, 0.13),
    0 0 34px rgba(255, 200, 106, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.game-entry-name-hint {
  justify-self: start;
  padding: 0;
  color: #ff7bc7;
  border: 0;
  background: transparent;
  font-weight: 900;
  line-height: 1.2;
  transition: color 0.18s ease;
}

.game-entry-name-hint:hover,
.game-entry-name-hint:focus-visible {
  color: #ffc86a;
  outline: none;
}

.game-entry-info-box {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  width: 100%;
  padding: 16px 18px;
  color: rgba(255, 244, 230, 0.84);
  border: 1px solid rgba(255, 200, 106, 0.18);
  border-radius: 14px;
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 200, 106, 0.12), transparent 34%),
    rgba(255, 255, 255, 0.045);
  font-size: 0.88rem;
  line-height: 1.48;
}

.game-entry-info-box span {
  color: #ffd98a;
  font-weight: 900;
}

.game-entry-cta-panel {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 12px;
  align-self: stretch;
  isolation: isolate;
  min-height: 0;
  padding-left: 10px;
}

.game-entry-cta-panel::before {
  position: absolute;
  inset: 18px 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 50% 45%, rgba(232, 90, 168, 0.17), transparent 62%),
    radial-gradient(circle at 54% 58%, rgba(255, 200, 106, 0.08), transparent 48%);
  filter: blur(8px);
}

.game-entry-cta {
  align-self: center;
  width: min(100%, 410px);
  min-height: 64px;
  padding: 0 28px;
  color: #fff8ef;
  border: 0;
  border-radius: 14px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.32), transparent 60%),
    linear-gradient(180deg, #ff7bc7 0%, #d94b91 100%);
  box-shadow:
    0 18px 46px rgba(232, 90, 168, 0.36),
    0 8px 26px rgba(255, 157, 95, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  font-size: 1.04rem;
  font-weight: 900;
  line-height: 1;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease;
}

.game-entry-cta:hover,
.game-entry-cta:focus-visible {
  outline: none;
  filter: brightness(1.05) saturate(1.04);
  transform: translateY(-2px);
  box-shadow:
    0 22px 52px rgba(232, 90, 168, 0.44),
    0 10px 30px rgba(255, 157, 95, 0.18),
    0 0 0 4px rgba(255, 123, 199, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.game-entry-cta:disabled,
.game-entry-cta.is-disabled {
  cursor: not-allowed;
  filter: saturate(0.55) brightness(0.78);
  opacity: 0.62;
  transform: none;
}

.game-entry-cta-panel p {
  max-width: 300px;
  margin: 0;
  color: rgba(232, 222, 239, 0.62);
  font-size: 0.92rem;
  line-height: 1.45;
  text-align: center;
}

@media (max-width: 1130px) {
  .game-entry-intro {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .game-entry-progress {
    justify-self: start;
  }

  .game-entry-hero-card {
    grid-template-columns: minmax(320px, 0.5fr) minmax(360px, 0.5fr);
  }

  .game-entry-hero-art {
    width: 100%;
  }

  .game-entry-form-card {
    grid-template-columns: minmax(0, 1.18fr) minmax(260px, 0.82fr);
    gap: 24px;
  }

  .game-entry-cta-panel {
    padding-left: 8px;
  }
}

@media (min-width: 961px) and (max-width: 1080px) {
  .game-entry-meta-list {
    grid-template-columns: minmax(0, 1fr);
    max-width: 360px;
  }
}

@media (max-width: 960px) {
  .game-entry-meta-list {
    width: 100%;
    max-width: 520px;
  }

  .game-entry-hero-card {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 0;
    background: #0d1230;
  }

  .game-entry-hero-art {
    position: relative;
    inset: auto;
    order: -1;
    width: 100%;
    aspect-ratio: 1.25 / 1;
    min-height: 0;
    background:
      url("assets/hero and covers/hero-kids-party.webp") right top / 172% auto no-repeat,
      linear-gradient(180deg, #0d1228, #11162f);
  }

  .game-entry-hero-art::after {
    background:
      linear-gradient(180deg, transparent 52%, rgba(10, 14, 35, 0.84) 100%),
      linear-gradient(90deg, rgba(10, 14, 35, 0.46), transparent 38%);
  }

  .game-entry-hero-art img {
    display: none;
  }

  .game-entry-hero-copy {
    max-width: none;
    padding: 24px;
  }
}

@media (max-width: 820px) {
  .page-shell.game-entry-1-page {
    padding: 18px 0 38px;
  }

  .game-entry-1-page .app-header {
    flex-wrap: wrap;
    margin-bottom: 22px;
  }

  .game-entry-1-page .header-actions {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 44px;
    flex: 1 1 100%;
    gap: 10px;
    order: 1;
    width: 100%;
  }

  .game-entry-1-page .header-actions .button {
    order: 0;
    width: 100%;
    min-width: 0;
    padding-inline: 12px;
    white-space: nowrap;
  }

  .game-entry-1-page .profile-button {
    order: 1;
    justify-self: end;
  }

  .game-entry-1-page .profile-button,
  .game-entry-1-page .avatar-profile {
    width: 44px;
    height: 44px;
  }

  .game-entry-progress {
    grid-template-columns: repeat(2, max-content);
    gap: clamp(8px, 2.4vw, 18px);
    justify-content: start;
    width: 100%;
    min-width: 0;
    padding: 8px;
    border: 1px solid rgba(143, 178, 232, 0.16);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.035);
  }

  .game-entry-progress::before {
    display: block;
    top: 50%;
    left: clamp(132px, 43vw, 178px);
    width: clamp(20px, 6vw, 40px);
    border-top: 1px dashed rgba(216, 220, 255, 0.34);
    border-left: 0;
    transform: translateY(-50%);
  }

  .game-entry-progress-step {
    gap: 8px;
    min-height: 44px;
    font-size: clamp(0.7rem, 3vw, 0.86rem);
    white-space: nowrap;
  }

  .game-entry-progress-step.is-active {
    width: auto;
    min-height: 44px;
    padding: 5px 10px 5px 6px;
  }

  .game-entry-step-number {
    flex: 0 0 clamp(30px, 8.6vw, 36px);
    width: clamp(30px, 8.6vw, 36px);
    height: clamp(30px, 8.6vw, 36px);
  }

  .game-entry-form-card {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px;
  }

  .game-entry-cta-panel {
    padding: 16px 0 0;
    border-top: 0;
    border-left: 0;
  }

  .game-entry-cta {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .page-shell.game-entry-1-page {
    width: calc(100% - 48px);
  }

  .game-entry-title h1 {
    font-size: 2.2rem;
  }

  .game-entry-meta-list {
    gap: 8px;
    width: 100%;
    max-width: none;
  }

  .game-entry-meta-list li {
    justify-content: flex-start;
    min-width: 0;
    padding: 0 12px;
    font-size: 0.86rem;
  }
}

@media (max-width: 520px) {
  .page-shell.game-entry-1-page {
    width: calc(100% - 32px);
  }

  .game-entry-hero-card,
  .game-entry-form-card {
    border-radius: 20px;
  }

  .game-entry-hero-art {
    min-height: 0;
  }

  .game-entry-hero-art img {
    object-position: 76% center;
    transform: scale(1.12);
    transform-origin: 76% 50%;
  }

  .game-entry-hero-copy,
  .game-entry-form-card {
    padding: 20px;
  }

  .game-entry-gold-chip {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border-radius: 18px;
    font-size: 0.9rem;
    line-height: 1.22;
  }

  .game-entry-meta-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .game-entry-meta-list li {
    gap: 7px;
    padding: 0 12px;
    font-size: 0.86rem;
  }

  .game-entry-meta-list li span:first-child {
    font-size: 1rem;
  }

  .game-entry-info-box {
    padding: 14px;
  }
}

@media (max-width: 380px) {
  .game-entry-progress {
    gap: 4px;
    padding: 6px;
  }

  .game-entry-progress-step {
    gap: 6px;
    font-size: 0.66rem;
  }

  .game-entry-progress-step.is-active {
    padding: 5px 8px 5px 5px;
  }

  .game-entry-step-number {
    flex-basis: 28px;
    width: 28px;
    height: 28px;
  }

  .game-entry-gold-chip {
    min-height: 0;
    padding-block: 9px;
    font-size: 0.82rem;
  }

  .game-entry-gold-chip span {
    white-space: normal;
  }

}

/* ===== Game entry 2 ===== */

.page-shell.game-entry-2-page {
  --entry-card:
    radial-gradient(circle at 88% 0%, rgba(143, 178, 232, 0.12), transparent 34%),
    radial-gradient(circle at 12% 0%, rgba(232, 90, 168, 0.1), transparent 32%),
    linear-gradient(145deg, rgba(17, 26, 55, 0.96), rgba(21, 18, 49, 0.96));
  --entry-card-quiet:
    radial-gradient(circle at 82% 6%, rgba(255, 200, 106, 0.08), transparent 33%),
    radial-gradient(circle at 16% 0%, rgba(125, 94, 232, 0.16), transparent 36%),
    linear-gradient(145deg, rgba(16, 24, 53, 0.97), rgba(20, 17, 47, 0.97));
  --entry-inner: rgba(4, 8, 24, 0.56);
  --entry-border: rgba(143, 178, 232, 0.24);
  --entry-border-warm: rgba(255, 200, 106, 0.3);
  position: relative;
  isolation: isolate;
  width: min(1120px, calc(100vw - 64px));
  padding: 20px 0 46px;
}

.game-entry-2-page .app-header {
  margin-bottom: 26px;
}

.game-entry-2-page .avatar-profile {
  border-radius: 16px;
  transition:
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.game-entry-2-page .profile-button:hover .avatar-profile,
.game-entry-2-page .profile-button:focus-visible .avatar-profile {
  box-shadow:
    0 0 0 3px rgba(255, 200, 106, 0.18),
    0 14px 28px rgba(232, 90, 168, 0.16);
  transform: translateY(-1px);
}

.game-entry-2-page .profile-button:focus-visible {
  outline: none;
}

.game-entry-progress-step.is-complete {
  color: rgba(232, 222, 239, 0.82);
}

.game-entry-progress-step.is-complete .game-entry-step-number {
  color: #fff7ee;
  border-color: rgba(255, 123, 199, 0.36);
  background:
    radial-gradient(circle at 30% 16%, rgba(255, 255, 255, 0.22), transparent 28%),
    rgba(255, 123, 199, 0.14);
}

.entry2-status-card,
.entry2-form-card,
.entry2-side-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--entry-border);
  border-radius: 26px;
  box-shadow:
    0 22px 62px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
}

.entry2-status-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(440px, 0.48fr) minmax(420px, 0.52fr);
  align-items: stretch;
  min-height: 250px;
  margin-bottom: 18px;
  background:
    linear-gradient(90deg, rgba(10, 14, 35, 0.98), rgba(13, 19, 47, 0.9) 52%, rgba(13, 19, 47, 0.22)),
    #0d1230;
}

.entry2-status-copy {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 15px;
  min-width: 0;
  padding: 32px 36px;
}

.entry2-status-copy h2,
.entry2-section-head h2,
.entry2-side-card h2 {
  margin: 0;
  color: #fff8ef;
  font-size: clamp(1.35rem, 2vw, 1.62rem);
  font-weight: 900;
  line-height: 1.12;
}

.entry2-status-copy p {
  max-width: 560px;
  margin: 0;
  color: rgba(232, 222, 239, 0.88);
  font-size: 1rem;
  line-height: 1.48;
}

.entry2-privacy-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 17px;
  color: #ffe6a3 !important;
  border: 1px solid rgba(255, 200, 106, 0.38);
  border-radius: 999px;
  background:
    radial-gradient(circle at 16% 0%, rgba(255, 255, 255, 0.16), transparent 34%),
    rgba(255, 200, 106, 0.09);
  font-size: 0.9rem !important;
  font-weight: 900;
  line-height: 1.2 !important;
}

.entry2-status-card .game-entry-meta-list {
  grid-template-columns: minmax(130px, 0.74fr) minmax(0, 1.26fr);
  max-width: 430px;
}

.entry2-status-art {
  position: relative;
  z-index: 1;
  min-width: 0;
  min-height: 250px;
}

.entry2-status-art::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, rgba(10, 14, 35, 0.92) 0%, rgba(10, 14, 35, 0.22) 28%, transparent 58%),
    linear-gradient(180deg, transparent 64%, rgba(7, 9, 20, 0.18));
}

.entry2-status-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.entry2-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(280px, 0.75fr);
  gap: 22px;
  align-items: start;
  min-width: 0;
}

.entry2-form-card {
  display: grid;
  gap: 0;
  padding: clamp(24px, 3vw, 34px);
  background: var(--entry-card-quiet);
}

.entry2-form-section {
  display: grid;
  gap: 16px;
  min-width: 0;
  padding: 0 0 26px;
  border-bottom: 1px solid rgba(143, 178, 232, 0.14);
}

.entry2-form-section + .entry2-form-section {
  padding-top: 26px;
}

.entry2-form-section:last-of-type {
  border-bottom: 0;
}

.entry2-section-head {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.entry2-section-head p {
  max-width: 760px;
  margin: 0;
  color: rgba(232, 222, 239, 0.74);
  font-size: 0.95rem;
  line-height: 1.48;
}

.entry2-section-kicker {
  margin: 0 !important;
  color: #ffd246 !important;
  font-size: 0.82rem !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
}

.entry2-prompt-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  min-width: 0;
}

.entry2-prompt-chips button,
.entry2-add-wish {
  min-width: 0;
  min-height: 38px;
  color: #fff7ee;
  border: 1px solid rgba(143, 178, 232, 0.2);
  border-radius: 999px;
  background:
    radial-gradient(circle at 16% 0%, rgba(255, 255, 255, 0.07), transparent 45%),
    rgba(255, 255, 255, 0.052);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1.1;
  transition:
    border-color 0.16s ease,
    background 0.16s ease,
    transform 0.16s ease;
}

.entry2-prompt-chips button {
  padding: 0 14px;
}

.entry2-prompt-chips button:hover,
.entry2-prompt-chips button:focus-visible,
.entry2-add-wish:hover,
.entry2-add-wish:focus-visible {
  border-color: rgba(255, 200, 106, 0.42);
  background: rgba(255, 200, 106, 0.12);
  outline: none;
  transform: translateY(-1px);
}

.entry2-field {
  display: grid;
  gap: 9px;
  min-width: 0;
  color: #fff7ee;
  font-size: 0.9rem;
  font-weight: 900;
}

.entry2-input,
.entry2-textarea {
  width: 100%;
  min-width: 0;
  min-height: 52px;
  padding: 0 17px;
  color: #fff8ef;
  border: 1px solid rgba(143, 178, 232, 0.22);
  border-radius: 14px;
  background: var(--entry-inner);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  font: inherit;
  font-weight: 650;
  outline: none;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.entry2-textarea {
  min-height: 146px;
  padding: 17px;
  line-height: 1.48;
  resize: vertical;
}

.entry2-input::placeholder,
.entry2-textarea::placeholder {
  color: rgba(224, 221, 241, 0.68);
}

.entry2-input:hover,
.entry2-textarea:hover {
  border-color: rgba(143, 178, 232, 0.38);
  background: rgba(8, 12, 30, 0.72);
}

.entry2-input:focus,
.entry2-textarea:focus {
  border-color: rgba(255, 123, 199, 0.82);
  background: rgba(9, 13, 31, 0.84);
  box-shadow:
    0 0 0 4px rgba(232, 90, 168, 0.16),
    0 0 30px rgba(232, 90, 168, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.entry2-field-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  min-width: 0;
  color: rgba(185, 180, 208, 0.72);
  font-size: 0.84rem;
  font-weight: 800;
}

.entry2-private-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin: 0;
  color: rgba(232, 222, 239, 0.72);
  font-size: 0.86rem;
  font-weight: 750;
  line-height: 1.36;
}

.entry2-private-note span {
  flex: 0 0 auto;
}

.entry2-wishlist-list {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.entry2-wishlist-row {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) minmax(0, 1fr) 42px;
  gap: 10px;
  align-items: center;
  min-width: 0;
}

.entry2-wishlist-row label {
  min-width: 0;
}

.entry2-wish-number {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: #fff7ee;
  border: 1px solid rgba(255, 123, 199, 0.46);
  border-radius: 999px;
  background:
    radial-gradient(circle at 34% 18%, rgba(255, 255, 255, 0.24), transparent 30%),
    linear-gradient(145deg, rgba(255, 123, 199, 0.4), rgba(125, 94, 232, 0.26)),
    rgba(255, 255, 255, 0.08);
  font-size: 0.92rem;
  font-weight: 900;
}

.entry2-icon-button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  color: rgba(232, 222, 239, 0.86);
  border: 1px solid rgba(143, 178, 232, 0.2);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.045);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
  transition:
    border-color 0.16s ease,
    background 0.16s ease,
    color 0.16s ease;
}

.entry2-icon-button:hover,
.entry2-icon-button:focus-visible {
  color: #fff7ee;
  border-color: rgba(255, 123, 199, 0.44);
  background: rgba(232, 90, 168, 0.12);
  outline: none;
}

.entry2-add-wish {
  justify-self: start;
  padding: 0 20px;
  color: #ff9bd5;
  border-style: dashed;
  border-color: rgba(255, 123, 199, 0.42);
  background: rgba(232, 90, 168, 0.07);
}

.entry2-delivery-toggle {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.entry2-delivery-toggle label {
  position: relative;
  min-width: 0;
}

.entry2-delivery-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.entry2-delivery-toggle span {
  display: grid;
  place-items: center;
  min-height: 52px;
  padding: 0 16px;
  color: rgba(232, 222, 239, 0.78);
  border: 1px solid rgba(143, 178, 232, 0.2);
  border-radius: 14px;
  background: rgba(5, 8, 21, 0.46);
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  transition:
    border-color 0.16s ease,
    background 0.16s ease,
    box-shadow 0.16s ease,
    color 0.16s ease;
}

.entry2-delivery-toggle label:has(input:checked) span {
  color: #fff7ee;
  border-color: rgba(255, 123, 199, 0.84);
  background:
    radial-gradient(circle at 50% 0%, rgba(232, 90, 168, 0.15), transparent 58%),
    rgba(5, 8, 21, 0.62);
  box-shadow:
    0 0 0 1px rgba(232, 90, 168, 0.14),
    0 16px 32px rgba(232, 90, 168, 0.12);
}

.entry2-delivery-toggle label:has(input:focus-visible) span {
  outline: 3px solid rgba(232, 90, 168, 0.24);
  outline-offset: 3px;
}

.entry2-address-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  min-width: 0;
}

.entry2-address-grid[hidden],
.entry2-private-note[hidden] {
  display: none;
}

.entry2-field-wide {
  grid-column: 1 / -1;
  min-width: 0;
}

.entry2-form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 28px;
}

.entry2-form-actions .game-entry-cta {
  width: min(100%, 390px);
}

.entry2-form-actions a {
  color: rgba(232, 222, 239, 0.7);
  font-size: 0.94rem;
  font-weight: 900;
  text-decoration: none;
  transition: color 0.16s ease;
}

.entry2-form-actions a:hover,
.entry2-form-actions a:focus-visible {
  color: #ffc86a;
  outline: none;
}

.entry2-side {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 18px;
  min-width: 0;
}

.entry2-side-card {
  display: grid;
  gap: 16px;
  min-height: 0;
  padding: 24px;
  background: var(--entry-card);
}

.entry2-side-card:first-child {
  grid-template-columns: minmax(0, 1fr) 92px;
  align-items: end;
}

.entry2-side-card p {
  margin: 8px 0 0;
  color: rgba(232, 222, 239, 0.76);
  line-height: 1.46;
}

.entry2-side-card img {
  display: block;
  width: min(100%, 92px);
  justify-self: end;
  align-self: end;
  filter: drop-shadow(0 18px 28px rgba(232, 90, 168, 0.16));
}

.entry2-side-card-action ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.entry2-side-card-action li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-width: 0;
  color: rgba(255, 248, 241, 0.88);
  font-size: 0.92rem;
  font-weight: 850;
  line-height: 1.28;
}

.entry2-side-card-action li span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: #fff7ee;
  border: 1px solid rgba(255, 200, 106, 0.3);
  border-radius: 999px;
  background: rgba(255, 200, 106, 0.1);
  font-size: 0.8rem;
  font-weight: 900;
}

.game-entry-2-page .entry2-receive-section {
  gap: 18px;
  margin-top: 26px;
  padding: 22px;
  border: 1px solid rgba(255, 200, 106, 0.2);
  border-radius: 22px;
  background:
    radial-gradient(circle at 88% 0%, rgba(255, 200, 106, 0.12), transparent 34%),
    radial-gradient(circle at 14% 0%, rgba(232, 90, 168, 0.12), transparent 32%),
    rgba(255, 255, 255, 0.035);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 18px 42px rgba(0, 0, 0, 0.12);
}

.game-entry-2-page .entry2-receive-section .entry2-section-head h2 {
  font-size: clamp(1.5rem, 2.2vw, 1.86rem);
}

.game-entry-2-page .entry2-receive-section .entry2-section-head p {
  color: rgba(255, 244, 230, 0.78);
  font-size: 0.98rem;
}

.game-entry-2-page .entry2-receive-section .entry2-delivery-toggle {
  gap: 5px;
  padding: 5px;
  border: 1px solid rgba(143, 178, 232, 0.18);
  border-radius: 18px;
  background: rgba(5, 8, 21, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.game-entry-2-page .entry2-receive-section .entry2-delivery-toggle span {
  min-height: 48px;
  border-color: transparent;
  border-radius: 13px;
  background: transparent;
  box-shadow: none;
}

.game-entry-2-page .entry2-receive-section .entry2-delivery-toggle label:has(input:checked) span {
  color: #fff8ef;
  border-color: rgba(255, 123, 199, 0.5);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.1), transparent 56%),
    linear-gradient(180deg, rgba(232, 90, 168, 0.24), rgba(125, 94, 232, 0.14));
  box-shadow:
    0 12px 26px rgba(232, 90, 168, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.entry2-field-note {
  margin-top: -2px;
  color: rgba(232, 222, 239, 0.62);
  font-size: 0.8rem;
  font-weight: 750;
  line-height: 1.35;
}

.entry2-form-actions.entry2-form-actions-soft {
  display: grid;
  justify-content: center;
  justify-items: center;
  gap: 11px;
  padding-top: 24px;
  text-align: center;
}

.entry2-form-actions.entry2-form-actions-soft .game-entry-cta {
  width: min(100%, 430px);
}

.entry2-form-actions.entry2-form-actions-soft a {
  max-width: 430px;
  color: rgba(232, 222, 239, 0.68);
  font-size: 0.92rem;
  line-height: 1.36;
}

@media (max-width: 1130px) {
  .entry2-status-card {
    grid-template-columns: minmax(360px, 0.48fr) minmax(360px, 0.52fr);
  }

  .entry2-layout {
    grid-template-columns: minmax(0, 1.6fr) minmax(260px, 0.8fr);
  }

  .entry2-field-wide {
    grid-column: 1 / -1;
  }
}

@media (max-width: 960px) {
  .entry2-status-card,
  .entry2-layout {
    grid-template-columns: 1fr;
  }

  .entry2-status-card {
    min-height: 0;
  }

  .entry2-status-art {
    order: -1;
    min-height: 0;
    aspect-ratio: 2.75 / 1;
  }

  .entry2-status-art::after {
    background:
      linear-gradient(180deg, transparent 52%, rgba(10, 14, 35, 0.86) 100%),
      linear-gradient(90deg, rgba(10, 14, 35, 0.5), transparent 44%);
  }

  .entry2-status-copy {
    padding: 24px;
  }

  .entry2-status-card .game-entry-meta-list {
    width: 100%;
    max-width: 520px;
  }

  .entry2-side {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .page-shell.game-entry-2-page {
    padding: 18px 0 38px;
  }

  .game-entry-2-page .app-header {
    flex-wrap: wrap;
    margin-bottom: 22px;
  }

  .game-entry-2-page .header-actions {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 44px;
    flex: 1 1 100%;
    gap: 10px;
    order: 1;
    width: 100%;
  }

  .game-entry-2-page .header-actions .button {
    order: 0;
    width: 100%;
    min-width: 0;
    padding-inline: 12px;
    white-space: nowrap;
  }

  .game-entry-2-page .profile-button {
    order: 1;
    justify-self: end;
  }

  .game-entry-2-page .profile-button,
  .game-entry-2-page .avatar-profile {
    width: 44px;
    height: 44px;
  }

  .entry2-form-card,
  .entry2-side-card {
    border-radius: 22px;
  }

  .entry2-side {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .page-shell.game-entry-2-page {
    width: calc(100% - 48px);
  }

  .entry2-status-art {
    aspect-ratio: 2.25 / 1;
  }

  .entry2-status-copy,
  .entry2-form-card,
  .entry2-side-card {
    padding: 20px;
  }

  .entry2-wishlist-row {
    grid-template-columns: 34px minmax(0, 1fr) 42px;
  }

  .entry2-wishlist-row label:first-of-type {
    grid-column: 2 / 3;
  }

  .entry2-wishlist-row label:nth-of-type(2) {
    grid-column: 2 / 3;
  }

  .entry2-wishlist-row .entry2-icon-button {
    grid-column: 3;
    grid-row: 1 / 3;
  }

  .entry2-address-grid {
    grid-template-columns: 1fr;
  }

  .entry2-form-actions {
    justify-content: stretch;
  }

  .entry2-form-actions .game-entry-cta,
  .entry2-form-actions a {
    width: 100%;
  }

  .entry2-form-actions a {
    text-align: center;
  }
}

@media (max-width: 520px) {
  .page-shell.game-entry-2-page {
    width: calc(100% - 32px);
  }

  .entry2-status-card,
  .entry2-form-card,
  .entry2-side-card {
    border-radius: 20px;
  }

  .entry2-status-art {
    aspect-ratio: 2.05 / 1;
  }

  .entry2-status-art img {
    object-position: 68% center;
  }

  .entry2-status-card .game-entry-meta-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .entry2-status-card .game-entry-meta-list li:last-child {
    grid-column: 1 / -1;
  }

  .entry2-privacy-pill {
    width: 100%;
    min-height: 0;
    padding: 11px 14px;
    border-radius: 18px;
  }

  .entry2-prompt-chips button {
    max-width: 100%;
  }

  .entry2-field-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .entry2-delivery-toggle {
    grid-template-columns: 1fr;
  }

  .entry2-side-card:first-child {
    grid-template-columns: minmax(0, 1fr) 72px;
  }

  .entry2-side-card img {
    width: 72px;
  }
}

@media (max-width: 380px) {
  .entry2-status-copy,
  .entry2-form-card,
  .entry2-side-card {
    padding: 18px;
  }

  .entry2-wishlist-row {
    grid-template-columns: 30px minmax(0, 1fr) 38px;
    gap: 8px;
  }

  .entry2-wish-number {
    width: 30px;
    height: 30px;
  }

  .entry2-icon-button {
    width: 38px;
    height: 38px;
  }
}
