:root {
  --bg: #f4afc2;
  --pink-50: #fff6f9;
  --pink-100: #ffe8ef;
  --pink-200: #fbd2de;
  --rose: #c8567c;
  --rose-deep: #a63f64;
  --wine: #24060a;
  --ink: #2e1822;
  --ink-soft: #7c5f6d;
  --line: rgba(46, 24, 34, 0.09);
  --radius: 30px;
  --shadow: 0 30px 60px -32px rgba(140, 36, 76, 0.6), 0 10px 24px -16px rgba(140, 36, 76, 0.28);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --display: 'Pacifico', 'Comic Sans MS', cursive;
  --heading: 'Comfortaa', system-ui, sans-serif;
  --body: 'Nunito', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 20px; }
body {
  margin: 0;
  min-height: 100vh;
  font: 400 16px/1.6 var(--body);
  color: var(--ink);
  background:
    radial-gradient(900px 600px at 10% -10%, #ffd9e4 0, transparent 60%),
    radial-gradient(800px 700px at 110% 110%, #ea93ae 0, transparent 60%),
    var(--bg);
  background-attachment: fixed;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
:focus-visible { outline: 3px solid #fff; outline-offset: 3px; box-shadow: 0 0 0 6px var(--rose); border-radius: 12px; }
::selection { background: var(--rose); color: #fff; }

/* узор из лапок, медленно плывёт */
.paws {
  position: fixed;
  inset: -140px;
  z-index: -1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cdefs%3E%3Cg id='p'%3E%3Cellipse cy='6' rx='9.5' ry='8'/%3E%3Cellipse cx='-10' cy='-4.5' rx='3.3' ry='4.3'/%3E%3Cellipse cx='-3.8' cy='-11' rx='3.5' ry='4.7'/%3E%3Cellipse cx='3.8' cy='-11' rx='3.5' ry='4.7'/%3E%3Cellipse cx='10' cy='-4.5' rx='3.3' ry='4.3'/%3E%3C/g%3E%3C/defs%3E%3Cg fill='%23fff' fill-opacity='.36'%3E%3Cuse href='%23p' transform='translate(36 44) rotate(-18)'/%3E%3Cuse href='%23p' transform='translate(106 110) rotate(24) scale(.9)'/%3E%3Cpath d='M104 38c-6-4.4-8.6-8-6.6-11 1.6-2.4 4.8-2 6.6.6 1.8-2.6 5-3 6.6-.6 2 3-.6 6.6-6.6 11z'/%3E%3Cpath d='M30 112c-4.2-3-6-5.6-4.6-7.7 1.1-1.7 3.4-1.4 4.6.4 1.2-1.8 3.5-2.1 4.6-.4 1.4 2.1-.4 4.7-4.6 7.7z'/%3E%3C/g%3E%3C/svg%3E");
  animation: paws 50s linear infinite;
}
@keyframes paws { to { transform: translate3d(140px, 140px, 0); } }

/* ------------------------------------------------------------ заставка */

.gate {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  padding: 24px;
  background: rgba(244, 175, 194, 0.5);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
  backdrop-filter: blur(16px) saturate(1.1);
  cursor: pointer;
  transition: opacity 0.7s ease, visibility 0.7s;
}
.gate.is-leaving { opacity: 0; visibility: hidden; }
.gate.is-leaving .gate__enter { transform: scale(1.08); }
.gate__enter {
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: 20px;
  border: 0;
  background: none;
  cursor: pointer;
  transition: transform 0.7s var(--spring);
}
.gate__avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: 184px;
  height: 184px;
  border-radius: 50%;
  animation: bob 3.4s ease-in-out infinite;
}
.gate__avatar::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(var(--rose), #ffc4d6, #fff, #ffc4d6, var(--rose));
  animation: spin 6s linear infinite;
}
.gate__avatar::after {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 2px dashed rgba(255, 255, 255, 0.7);
  animation: spin 24s linear infinite reverse;
}
.gate__avatar img {
  position: relative;
  width: calc(100% - 14px);
  height: calc(100% - 14px);
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  background: var(--pink-100);
}
.gate__name {
  font-family: var(--display);
  font-size: 54px;
  line-height: 1.25;
  color: #fff;
  text-shadow: 0 3px 0 var(--rose), 0 12px 30px rgba(140, 36, 76, 0.45);
}
.gate__hint {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px 13px 18px;
  border-radius: 999px;
  background: #fff;
  color: var(--rose-deep);
  font: 700 15px/1 var(--heading);
  box-shadow: 0 14px 30px -12px rgba(140, 36, 76, 0.7);
  animation: pulse 2.2s ease-in-out infinite;
}
.gate__hint svg { width: 20px; height: 20px; animation: wiggle 2.2s ease-in-out infinite; }
.gate__quiet {
  border: 0;
  background: none;
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.95);
  font: 600 13px/1 var(--body);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-shadow: 0 1px 6px rgba(140, 36, 76, 0.5);
  cursor: pointer;
}

@keyframes spin { to { transform: rotate(1turn); } }
@keyframes bob { 50% { transform: translateY(-8px); } }
@keyframes pulse { 50% { transform: scale(1.05); box-shadow: 0 18px 36px -12px rgba(140, 36, 76, 0.8); } }
@keyframes wiggle { 0%, 60%, 100% { transform: rotate(0); } 70% { transform: rotate(-14deg); } 85% { transform: rotate(10deg); } }

/* ------------------------------------------------------------ страница */

.page {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 22px;
  margin: 0 auto;
  padding: 56px 20px 130px;
}
.page > * { width: min(900px, 100%); }
.page > .wide { width: min(1360px, 100%); }
.page > * { opacity: 0; transform: translateY(28px) scale(0.985); }
.is-entered .page > * {
  animation: rise 0.9s var(--spring) forwards;
  animation-delay: calc(var(--i, 0) * 110ms + 120ms);
}
@keyframes rise { to { opacity: 1; transform: none; } }

.card {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.section { padding: 34px 40px 38px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  border: 0;
  border-radius: 999px;
  font: 700 14px/1 var(--heading);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.35s var(--spring), box-shadow 0.25s, background-color 0.25s;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(0) scale(0.97); }
.btn--light { background: #fff; color: var(--wine); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.6); }
.btn--light:hover svg { animation: wiggle 0.9s ease-in-out; }
.btn--ghost { background: rgba(255, 255, 255, 0.1); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.45); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.2); }
.btn--accent { background: var(--rose); color: #fff; box-shadow: 0 12px 24px -12px var(--rose-deep); }
.btn--accent:hover { background: var(--rose-deep); }

/* ------------------------------------------------------------ шапка */

.hero__top {
  position: relative;
  isolation: isolate;
  padding: 52px 48px 48px;
  color: #fff;
  background: var(--wine);
  overflow: hidden;
}
.hero__cover {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-position: center 30%;
  background-size: cover;
  transform: scale(1.04);
  transition: transform 6s ease-out;
}
.hero:hover .hero__cover { transform: scale(1.09); }
.hero__cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(36, 6, 10, 0.9) 0%, rgba(36, 6, 10, 0.62) 42%, rgba(36, 6, 10, 0.3) 100%),
    linear-gradient(0deg, rgba(36, 6, 10, 0.7) 0%, transparent 55%);
}
.twinkle {
  position: absolute;
  z-index: -1;
  color: #ffc4d6;
  pointer-events: none;
  animation: twinkle 3.6s ease-in-out infinite;
}
.twinkle--1 { top: 22px; right: 34%; font-size: 18px; }
.twinkle--2 { top: 58%; right: 7%; font-size: 26px; animation-delay: 1.2s; }
.twinkle--3 { bottom: 20px; left: 36%; font-size: 16px; animation-delay: 2.1s; }
@keyframes twinkle { 0%, 100% { opacity: 0.15; transform: scale(0.7) rotate(0); } 50% { opacity: 1; transform: scale(1.1) rotate(25deg); } }

.hero__body { display: flex; align-items: center; gap: 40px; }
.avatar { position: relative; flex: none; width: 210px; height: 210px; }
.avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid var(--rose);
  background: var(--pink-100);
  box-shadow: 0 0 0 7px rgba(255, 255, 255, 0.13), 0 22px 40px -14px rgba(0, 0, 0, 0.7);
  transition: transform 0.6s var(--spring);
}
.avatar:hover img { transform: rotate(-5deg) scale(1.03); }
.avatar__badge {
  position: absolute;
  left: 50%;
  bottom: -6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff;
  color: var(--rose-deep);
  font: 700 12px/1 var(--heading);
  white-space: nowrap;
  box-shadow: 0 8px 18px -8px rgba(0, 0, 0, 0.55);
  transform: translateX(-50%);
}
.avatar__badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4cc38a;
  box-shadow: 0 0 0 3px rgba(76, 195, 138, 0.25);
}

.hero__text { min-width: 0; }
.hero__roles {
  margin: 0 0 4px;
  font: 700 12px/1.4 var(--body);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}
.hero__name {
  margin: 0;
  font: 400 68px/1.3 var(--display);
  color: #fff;
  text-shadow: 0 4px 0 var(--rose);
  overflow-wrap: anywhere;
}
/* логотип — значок справа на баннере; тонкая белая кромка, чтобы чёрный контур читался на тёмном фоне */
.hero__logo {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: 30px;
  width: 150px;
  height: auto;
  filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.95)) drop-shadow(0 0 1px rgba(255, 255, 255, 0.95)) drop-shadow(0 14px 22px rgba(0, 0, 0, 0.5));
  transform: translateY(-50%) rotate(6deg);
  transition: transform 0.6s var(--spring);
  -webkit-user-select: none;
  user-select: none;
}
.hero__logo:hover { transform: translateY(-50%) rotate(-3deg) scale(1.06); }
/* широкий баннер: справа место под логотип, чтобы текст до него не доходил */
@media (min-width: 940px) {
  .hero__top.has-logo .hero__body { padding-right: 150px; }
}
/* баннер поуже: логотип — маленький значок в правом верхнем углу */
@media (min-width: 721px) and (max-width: 939px) {
  .hero__logo { top: 14px; right: 16px; width: 96px; transform: rotate(6deg); }
  .hero__logo:hover { transform: rotate(-3deg) scale(1.06); }
  /* строка «художник · дизайнер · аниматор» доходит до правого края — опускаем её под значок */
  .hero__top.has-logo { padding-top: 88px; }
}
.hero__greeting {
  margin: 8px 0 24px;
  max-width: 44ch;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  white-space: pre-line;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ------------------------------------------------------------ ссылки */

.links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 24px 28px 28px;
}
.links:empty { display: none; }
.link {
  --brand: var(--rose);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 17px 6px 6px;
  border-radius: 999px;
  background: var(--pink-50);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink);
  font: 700 14px/1 var(--body);
  text-decoration: none;
  transition: transform 0.4s var(--spring), box-shadow 0.25s, background-color 0.25s;
}
.link__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  color: var(--rose);
  box-shadow: 0 3px 8px -3px rgba(140, 36, 76, 0.4);
  transition: background-color 0.25s, color 0.25s, transform 0.45s var(--spring);
}
.link__icon svg { width: 18px; height: 18px; }
.link:hover {
  background: #fff;
  box-shadow: inset 0 0 0 1.5px var(--brand), 0 12px 22px -14px var(--brand);
  transform: translateY(-4px);
}
.link:hover .link__icon { background: var(--brand); color: #fff; transform: rotate(-12deg) scale(1.1); }

/* ------------------------------------------------------------ заголовки разделов */

.title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font: 700 26px/1.2 var(--heading);
  color: var(--ink);
}
.title__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--pink-100);
  color: var(--rose);
  transform: rotate(-8deg);
}
.title__icon svg { width: 24px; height: 24px; fill: currentColor; }

/* ------------------------------------------------------------ обо мне */

.about__text { margin-top: 20px; font-size: 17px; line-height: 1.75; color: #4a2f3c; }
.about__text p { margin: 0 0 14px; }
.about__text p:last-child { margin-bottom: 0; }
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.facts:empty { display: none; }
.fact {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 18px;
  background: var(--pink-50);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform 0.4s var(--spring);
}
.fact:hover { transform: translateY(-3px) rotate(-1deg); }
.fact { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.fact.is-pop { animation: fact-pop 0.65s var(--spring); }
.fact.is-pop .fact__emoji { animation: fact-emoji 0.7s var(--spring); }
@keyframes fact-pop {
  0% { transform: none; }
  25% { transform: scale(0.94) rotate(-1.5deg); background: var(--pink-100); box-shadow: inset 0 0 0 2px var(--pink-200); }
  60% { transform: scale(1.04) rotate(1deg); }
  100% { transform: none; }
}
@keyframes fact-emoji {
  0% { transform: none; }
  40% { transform: scale(1.4) rotate(-16deg); box-shadow: 0 8px 18px -6px rgba(200, 86, 124, 0.7); }
  70% { transform: scale(0.92) rotate(8deg); }
  100% { transform: none; }
}
.fact-float { position: fixed; z-index: 100; pointer-events: none; font-size: 22px; line-height: 1; }
.fact__emoji {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  font-size: 20px;
  box-shadow: 0 3px 8px -4px rgba(140, 36, 76, 0.45);
}
.fact__label { display: block; font: 700 11px/1.3 var(--body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--rose); }
.fact__value { display: block; font-weight: 700; line-height: 1.35; }
.signature {
  margin: 22px 0 0;
  text-align: right;
  font: 400 26px/1.3 var(--display);
  color: var(--rose);
  transform: rotate(-3deg);
}
.signature:empty { display: none; }

/* ------------------------------------------------------------ заказы */

.order__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; }
.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #e8f7ef;
  color: #217a50;
  font: 700 13px/1 var(--heading);
}
.status i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: blink 1.8s ease-in-out infinite; }
.status.is-closed { background: #f1ecee; color: #806571; }
.status.is-closed i { animation: none; }
@keyframes blink { 50% { box-shadow: 0 0 0 5px rgba(33, 122, 80, 0.15); } }

.tabs {
  position: relative;
  display: inline-flex;
  gap: 4px;
  margin: 24px 0 22px;
  padding: 5px;
  border-radius: 999px;
  background: var(--pink-100);
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs::before {
  content: "";
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 0;
  width: var(--w, 0);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 4px 12px -6px rgba(140, 36, 76, 0.5);
  transform: translateX(var(--x, 0));
  transition: transform 0.5s var(--spring), width 0.4s var(--spring);
}
.tab {
  position: relative;
  flex: none;
  padding: 10px 22px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--ink-soft);
  font: 700 15px/1 var(--heading);
  cursor: pointer;
  transition: color 0.2s;
}
.tab[aria-selected="true"] { color: var(--rose-deep); }

/* слева прайс, справа всё остальное место под арты */
.order__grid {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.order__grid.is-switching .gallery-wrap { animation: swap 0.45s ease; }
@keyframes swap { from { opacity: 0; transform: translateY(8px); } }
.order__side { display: grid; gap: 14px; }
/* прилипает, только если целиком влезает в экран */
@media (min-width: 721px) and (min-height: 820px) {
  .order__side { position: sticky; top: 20px; }
}

.prices {
  display: grid;
  gap: 16px;
  padding: 22px;
  border-radius: 22px;
  background: linear-gradient(160deg, var(--pink-50), var(--pink-100));
  box-shadow: inset 0 0 0 1px var(--line);
}
.prices__list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.price { display: flex; align-items: baseline; gap: 8px; font-weight: 600; }
.price__dots { flex: 1; min-width: 12px; border-bottom: 2px dotted rgba(200, 86, 124, 0.35); transform: translateY(-4px); }
.price__value { font: 700 16px/1 var(--heading); color: var(--rose-deep); white-space: nowrap; }
/* калькулятор: пункты прайса можно отмечать */
.price__label { min-width: 0; }
.price--pick { display: block; margin: -5px -8px; }
.price__row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 5px 8px;
  border-radius: 12px;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
.price__row:hover { background: rgba(255, 255, 255, 0.7); }
.price__row:has(input:focus-visible) { outline: 2px solid var(--rose); outline-offset: 1px; }
.price__mark {
  position: relative;
  flex: none;
  align-self: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 2px rgba(200, 86, 124, 0.45);
  transition: box-shadow 0.2s, background-color 0.2s, transform 0.3s var(--spring);
}
.price--add .price__mark { border-radius: 5px; }
.price.is-on .price__row { background: #fff; color: var(--rose-deep); box-shadow: 0 6px 14px -10px rgba(140, 36, 76, 0.55); }
.price.is-on .price__mark { background: var(--rose); box-shadow: none; transform: scale(1.08); }
.price.is-on .price__mark::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 4px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.price--each { flex-wrap: wrap; align-items: center; padding-left: 24px; row-gap: 6px; }
.price--each .price__dots { transform: none; align-self: center; }
.price--each.is-on .price__label { color: var(--rose-deep); }
.stepper { display: inline-flex; flex: none; align-items: center; gap: 2px; padding: 2px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.stepper__btn {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--pink-100);
  color: var(--rose-deep);
  font: 700 16px/1 var(--heading);
  cursor: pointer;
  transition: background-color 0.2s, transform 0.3s var(--spring);
}
.stepper__btn:hover:not(:disabled) { background: var(--rose); color: #fff; transform: scale(1.08); }
.stepper__btn:disabled { opacity: 0.4; cursor: default; }
.stepper__n { min-width: 18px; font: 700 14px/1 var(--heading); text-align: center; }
.calc { display: grid; gap: 4px; padding: 12px 14px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.calc__total { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font: 700 13px/1.2 var(--heading); color: var(--ink-soft); }
.calc__total b { font-size: 16px; color: var(--ink-soft); transition: color 0.2s; }
.calc.is-ready .calc__total b { font-size: 20px; color: var(--rose-deep); }
.calc__hint { margin: 0; font-size: 12.5px; line-height: 1.35; color: var(--ink-soft); }
.site-toast {
  position: fixed;
  z-index: 90;
  left: 50%;
  bottom: calc(96px + env(safe-area-inset-bottom));
  max-width: calc(100% - 32px);
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--wine);
  color: #fff;
  font: 700 14px/1.3 var(--heading);
  text-align: center;
  box-shadow: 0 16px 30px -14px rgba(36, 6, 10, 0.7);
  transform: translateX(-50%);
  animation: toast-in 0.35s var(--spring);
  transition: opacity 0.3s, transform 0.3s;
}
.site-toast.is-out { opacity: 0; transform: translate(-50%, 10px); }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 14px); } }
.prices__deadline { display: flex; gap: 8px; margin: 0; font-size: 14px; line-height: 1.45; color: var(--ink-soft); }
.prices__deadline svg { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--rose); }
.prices__empty { margin: 0; color: var(--ink-soft); }

.sheet {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  background: var(--pink-100);
  cursor: zoom-in;
  box-shadow: 0 10px 22px -14px rgba(140, 36, 76, 0.7);
}
.sheet img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.6s ease; }
.sheet:hover img { transform: scale(1.04); }
.sheet__label {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 7px 13px;
  border-radius: 999px;
  background: #fff;
  color: var(--rose-deep);
  font: 700 12px/1 var(--heading);
  box-shadow: 0 6px 14px -8px rgba(0, 0, 0, 0.5);
}
/* ряды одной высоты на всю ширину: размеры считает app.js по пропорциям артов */
.gallery { display: flex; flex-wrap: wrap; gap: var(--gap, 10px); }
.shot {
  display: block;
  flex: none;
  width: 220px;
  height: 240px;
  padding: 0;
  border: 0;
  border-radius: 14px;
  overflow: hidden;
  background: var(--pink-100);
  cursor: zoom-in;
  box-shadow: 0 6px 14px -10px rgba(140, 36, 76, 0.6);
}
.shot.is-grow { flex-grow: 1; }
.shot img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: transform 0.5s ease, filter 0.3s, opacity 0.4s; }
.shot img.is-loaded { opacity: 1; }
.shot:hover img { transform: scale(1.06); filter: saturate(1.1); }
.gallery__empty { margin: 0; padding: 40px 20px; border-radius: 18px; background: var(--pink-50); color: var(--ink-soft); text-align: center; }
.more {
  display: block;
  width: 100%;
  margin-top: 14px;
  padding: 12px;
  border: 2px dashed rgba(200, 86, 124, 0.35);
  border-radius: 14px;
  background: none;
  color: var(--rose-deep);
  font: 700 14px/1 var(--heading);
  cursor: pointer;
  transition: background-color 0.2s;
}
.more:hover { background: var(--pink-50); }

.rules { margin-top: 26px; border-radius: 20px; background: var(--pink-50); box-shadow: inset 0 0 0 1px var(--line); }
.order > .btn { margin-top: 22px; }
.rules summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
  font: 700 16px/1.2 var(--heading);
  cursor: pointer;
  list-style: none;
}
.rules summary::-webkit-details-marker { display: none; }
.rules summary::before { content: "!"; display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--rose); color: #fff; font: 800 15px/1 var(--body); }
.rules summary span { flex: 1; }
.rules summary svg { width: 20px; height: 20px; color: var(--rose); transition: transform 0.35s var(--spring); }
.rules[open] summary svg { transform: rotate(180deg); }
.rules__list { display: grid; gap: 10px; margin: 0; padding: 0 22px 22px 58px; }
.rules__list li { padding-left: 4px; line-height: 1.5; }
.rules__list li::marker { color: var(--rose); font-weight: 800; }

.footer { padding: 6px 0 0; text-align: center; font: 700 14px/1.5 var(--heading); color: rgba(255, 255, 255, 0.95); text-shadow: 0 1px 8px rgba(140, 36, 76, 0.45); }

/* ------------------------------------------------------------ плеер */

.player {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: calc(100vw - 36px);
  padding: 7px 10px 7px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px -16px rgba(140, 36, 76, 0.65), inset 0 0 0 1px rgba(255, 255, 255, 0.9);
  transform: translateY(160%);
  transition: transform 0.8s var(--spring);
}
.player.is-shown { transform: none; }
.player__disc {
  position: relative;
  flex: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  cursor: pointer;
}
.disc {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, #2e1822 0 2px, #432634 2px 3px);
  animation: spin 3.5s linear infinite;
  animation-play-state: paused;
}
.disc img { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; border: 2px solid var(--rose); }
.is-playing .disc { animation-play-state: running; }
.player__state {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(200, 86, 124, 0.85);
  color: #fff;
  opacity: 0;
  transition: opacity 0.2s;
}
.player__state svg { width: 20px; height: 20px; fill: currentColor; }
.player__disc:hover .player__state, .player__disc:focus-visible .player__state, .player:not(.is-playing) .player__state { opacity: 1; }
.player .i-play, .player.is-playing .i-pause { display: block; }
.player .i-pause, .player.is-playing .i-play { display: none; }
.player__info { display: grid; min-width: 0; max-width: 170px; line-height: 1.25; }
.player__title, .player__artist { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.player__title { font: 700 13px/1.3 var(--heading); }
.player__artist { font-size: 12px; color: var(--ink-soft); }
.eq { display: flex; align-items: flex-end; gap: 2px; height: 16px; }
.eq i { width: 3px; height: 100%; border-radius: 2px; background: var(--rose); transform: scaleY(0.25); transform-origin: bottom; }
.is-playing .eq i { animation: eq 0.9s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: -0.3s !important; }
.eq i:nth-child(3) { animation-delay: -0.6s !important; }
.eq i:nth-child(4) { animation-delay: -0.15s !important; }
@keyframes eq { 0%, 100% { transform: scaleY(0.25); } 50% { transform: scaleY(1); } }

.player__volume { display: flex; }
.player__volume input {
  --v: 50%;
  width: 84px;
  height: 18px;
  margin: 0;
  background: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.player__volume input::-webkit-slider-runnable-track { height: 5px; border-radius: 5px; background: linear-gradient(90deg, var(--rose) var(--v), var(--pink-200) var(--v)); }
.player__volume input::-moz-range-track { height: 5px; border-radius: 5px; background: linear-gradient(90deg, var(--rose) var(--v), var(--pink-200) var(--v)); }
.player__volume input::-webkit-slider-thumb { width: 14px; height: 14px; margin-top: -4.5px; border: 3px solid var(--rose); border-radius: 50%; background: #fff; -webkit-appearance: none; appearance: none; }
.player__volume input::-moz-range-thumb { width: 9px; height: 9px; border: 3px solid var(--rose); border-radius: 50%; background: #fff; }
.player__mute {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--pink-100);
  color: var(--rose-deep);
  cursor: pointer;
  transition: background-color 0.2s;
}
.player__mute:hover { background: var(--pink-200); }
.player__mute svg { width: 18px; height: 18px; }
.player .i-muted, .player.is-muted .i-sound { display: none; }
.player.is-muted .i-muted { display: block; }

/* ------------------------------------------------------------ просмотр работ */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 24px;
  background: rgba(36, 6, 10, 0.86);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  animation: fade 0.25s ease;
}
@keyframes fade { from { opacity: 0; } }
.lightbox__figure { display: grid; justify-items: center; gap: 10px; margin: 0; min-width: 0; }
.lightbox__figure img {
  max-width: 100%;
  max-height: calc(100vh - 110px);
  border-radius: 18px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8);
  animation: pop 0.4s var(--spring);
}
@keyframes pop { from { opacity: 0; transform: scale(0.94); } }
@keyframes sheet-up { from { transform: translateY(100%); } }
.lightbox__figure figcaption { font: 700 13px/1 var(--heading); color: rgba(255, 255, 255, 0.75); }
.lightbox__btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.3s var(--spring);
}
.lightbox__btn:hover { background: var(--rose); transform: scale(1.08); }
.lightbox__btn svg { width: 22px; height: 22px; }
.lightbox__close { position: absolute; top: 18px; right: 18px; }

/* ------------------------------------------------------------ мерч */

.merch__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 28px; }
.merch__intro { flex: 1 1 360px; }
.merch__lead { margin: 10px 0 0; max-width: 62ch; color: var(--ink-soft); }
.search {
  display: flex;
  flex: 0 1 320px;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--pink-50);
  box-shadow: inset 0 0 0 1.5px var(--pink-200);
  color: var(--rose);
  transition: box-shadow 0.2s, background-color 0.2s;
}
.search:focus-within { background: #fff; box-shadow: inset 0 0 0 2px var(--rose), 0 0 0 5px rgba(200, 86, 124, 0.12); }
.search svg { flex: none; width: 18px; height: 18px; }
.search input { flex: 1; min-width: 0; padding: 12px 0; border: 0; outline: none; background: none; color: var(--ink); font: 600 15px/1.2 var(--body); }
.search input::placeholder { color: #b894a5; }
.search input::-webkit-search-cancel-button { filter: hue-rotate(290deg); }

.chips {
  display: flex;
  gap: 8px;
  /* ряд прокручивается вбок и поэтому обрезает всё, что вылезает за него, — оставляем место
     сверху под подпрыгивание вкладки при наведении */
  margin: 16px -4px 14px;
  padding: 6px 4px 6px;
  overflow-x: auto;
  scrollbar-width: none;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none;
  padding: 9px 16px;
  border: 0;
  border-radius: 999px;
  background: var(--pink-50);
  box-shadow: inset 0 0 0 1.5px var(--pink-200);
  color: var(--ink-soft);
  font: 700 14px/1 var(--heading);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, box-shadow 0.2s, transform 0.35s var(--spring);
}
.chip small { margin-left: 5px; font: 800 11px/1 var(--body); opacity: 0.7; }
.chip:hover { transform: translateY(-2px); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--rose); box-shadow: none; color: #fff; }

.merch__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.product {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 20px;
  background: #fff;
  box-shadow: inset 0 0 0 1.5px var(--line), 0 10px 22px -20px rgba(140, 36, 76, 0.7);
  color: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.4s var(--spring), box-shadow 0.25s;
  animation: fade 0.35s ease both;
}
.product:hover { transform: translateY(-5px); box-shadow: inset 0 0 0 2px var(--pink-200), 0 18px 30px -18px rgba(140, 36, 76, 0.65); }
.product__img { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--pink-50); }
.product__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product:hover .product__img img { transform: scale(1.05); }
.product__kind {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--rose-deep);
  font: 700 11px/1 var(--heading);
}
.product__body { display: flex; flex: 1; flex-direction: column; gap: 3px; padding: 12px 14px 14px; }
.product__title { font: 700 16px/1.25 var(--heading); }
.product__sub { font-size: 13px; line-height: 1.35; color: var(--ink-soft); }
.product__markets { display: flex; flex-wrap: wrap; gap: 5px; margin-top: auto; padding-top: 10px; }
.mk {
  --mk: var(--rose);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px 3px 3px;
  border-radius: 999px;
  background: var(--pink-50);
  box-shadow: inset 0 0 0 1px var(--line);
  font: 700 12px/1 var(--body);
  white-space: nowrap;
}
.mk__logo {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--mk);
  color: var(--mk-text, #fff);
  font: 800 8.5px/1 var(--body);
  letter-spacing: -0.02em;
}
.mk__logo svg { width: 12px; height: 12px; }
.mk--bare { padding-right: 3px; }
.merch__empty { margin: 0; padding: 40px 20px; border-radius: 18px; background: var(--pink-50); color: var(--ink-soft); text-align: center; }

/* окно «где купить» */
.picker { position: fixed; inset: 0; z-index: 75; display: grid; place-items: center; padding: 20px; }
.picker__backdrop { position: absolute; inset: 0; background: rgba(36, 6, 10, 0.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: fade 0.25s ease; }
.picker__panel {
  position: relative;
  display: grid;
  gap: 16px;
  width: min(420px, 100%);
  padding: 20px;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 30px 70px -20px rgba(36, 6, 10, 0.6);
  animation: pop 0.4s var(--spring);
}
.picker__close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--pink-50);
  color: var(--rose-deep);
  cursor: pointer;
}
.picker__close svg { width: 18px; height: 18px; }
.picker__product { display: flex; align-items: center; gap: 14px; padding-right: 40px; }
.picker__product img { flex: none; width: 72px; height: 96px; border-radius: 14px; object-fit: cover; background: var(--pink-50); }
.picker__kicker { margin: 0; font: 800 11px/1.2 var(--body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--rose); }
.picker__title { margin: 4px 0 2px; font: 700 20px/1.2 var(--heading); }
.picker__sub { margin: 0; font-size: 13px; color: var(--ink-soft); }
.picker__list { display: grid; gap: 8px; }
.market {
  --mk: var(--rose);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px 10px 10px;
  border-radius: 16px;
  background: var(--pink-50);
  box-shadow: inset 0 0 0 1.5px var(--line);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.35s var(--spring), box-shadow 0.2s, background-color 0.2s;
}
.market:hover, .market:focus-visible { background: #fff; box-shadow: inset 0 0 0 2px var(--mk); transform: translateX(4px); }
.market .mk__logo { width: 40px; height: 40px; border-radius: 12px; font-size: 13px; }
.market .mk__logo svg { width: 22px; height: 22px; }
.market__name { flex: 1; font: 700 16px/1.2 var(--heading); }
.market__price { font: 700 14px/1 var(--body); color: var(--rose-deep); white-space: nowrap; }
.market__arrow { width: 18px; height: 18px; color: var(--ink-soft); }

/* ------------------------------------------------------------ курсор-лапка (только мышь) */

@media (pointer: fine) {
  html, body {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cg transform='rotate(-20 16 17)'%3E%3Cg fill='%23a63f64' stroke='%23a63f64' stroke-width='3.4'%3E%3Cellipse cx='16' cy='21' rx='6.4' ry='5.4'/%3E%3Cellipse cx='8.4' cy='13.6' rx='2.3' ry='3'/%3E%3Cellipse cx='13' cy='8.8' rx='2.4' ry='3.2'/%3E%3Cellipse cx='19' cy='8.8' rx='2.4' ry='3.2'/%3E%3Cellipse cx='23.6' cy='13.6' rx='2.3' ry='3'/%3E%3C/g%3E%3Cg fill='%23ff8fb6' stroke='%23fff' stroke-width='1.5'%3E%3Cellipse cx='16' cy='21' rx='6.4' ry='5.4'/%3E%3Cellipse cx='8.4' cy='13.6' rx='2.3' ry='3'/%3E%3Cellipse cx='13' cy='8.8' rx='2.4' ry='3.2'/%3E%3Cellipse cx='19' cy='8.8' rx='2.4' ry='3.2'/%3E%3Cellipse cx='23.6' cy='13.6' rx='2.3' ry='3'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") 9 6, auto;
  }
  a, button, summary, label.switch, .shot, .sheet, .product, .chip, .gate, .fact, .price__row, input[type="range"] {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cg transform='rotate(-20 16 17)'%3E%3Cg fill='%23a63f64' stroke='%23a63f64' stroke-width='3.4'%3E%3Cellipse cx='16' cy='21' rx='6.4' ry='5.4'/%3E%3Cellipse cx='8.4' cy='13.6' rx='2.3' ry='3'/%3E%3Cellipse cx='13' cy='8.8' rx='2.4' ry='3.2'/%3E%3Cellipse cx='19' cy='8.8' rx='2.4' ry='3.2'/%3E%3Cellipse cx='23.6' cy='13.6' rx='2.3' ry='3'/%3E%3C/g%3E%3Cg fill='%23ff4f93' stroke='%23fff' stroke-width='1.5'%3E%3Cellipse cx='16' cy='21' rx='6.4' ry='5.4'/%3E%3Cellipse cx='8.4' cy='13.6' rx='2.3' ry='3'/%3E%3Cellipse cx='13' cy='8.8' rx='2.4' ry='3.2'/%3E%3Cellipse cx='19' cy='8.8' rx='2.4' ry='3.2'/%3E%3Cellipse cx='23.6' cy='13.6' rx='2.3' ry='3'/%3E%3C/g%3E%3Cpath d='M16 24.4c-2.5-1.6-3.4-2.9-2.9-4 .5-.9 1.8-.9 2.9.3 1.1-1.2 2.4-1.2 2.9-.3.5 1.1-.4 2.4-2.9 4z' fill='%23fff'/%3E%3C/g%3E%3C/svg%3E") 9 6, pointer;
  }
  input[type="search"], input[type="text"] { cursor: text; }
}

/* искорки по клику */
.spark {
  position: fixed;
  z-index: 100;
  pointer-events: none;
  font-size: 16px;
  line-height: 1;
  text-shadow: 0 1px 3px rgba(140, 36, 76, 0.45);
}

/* ------------------------------------------------------------ телефон */

@media (min-width: 721px) and (max-width: 1040px) {
  .order__grid { grid-template-columns: 280px minmax(0, 1fr); gap: 20px; }
}

@media (max-width: 720px) {
  .merch__head { align-items: stretch; }
  .search { flex-basis: 100%; }
  .chips { margin: 10px -20px 10px; padding-inline: 20px; }
  .merch__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .product { border-radius: 16px; }
  .product__body { padding: 10px 10px 12px; }
  .product__title { font-size: 14px; }
  .product__sub { font-size: 12px; }
  .product__kind { top: 6px; left: 6px; font-size: 10px; }
  .mk { padding-right: 6px; font-size: 11px; }
  .picker { align-items: end; padding: 0; }
  .picker__panel { width: 100%; padding: 18px 16px calc(18px + env(safe-area-inset-bottom)); border-radius: 26px 26px 0 0; animation: sheet-up 0.4s var(--spring); }
  .hero__actions .btn { padding: 12px 18px; }
  .page { gap: 16px; padding: 16px 12px 110px; }
  .section { padding: 26px 20px 28px; }
  .hero__top { padding: 36px 20px 30px; }
  .hero__body { flex-direction: column; gap: 22px; text-align: center; }
  .avatar { width: 160px; height: 160px; }
  .hero__name { font-size: 52px; }
  .hero__logo { top: 14px; right: 12px; width: 82px; transform: rotate(6deg); }
  .hero__logo:hover { transform: rotate(-3deg) scale(1.06); }
  .hero__greeting { margin-inline: auto; font-size: 16px; }
  .hero__actions { justify-content: center; }
  .hero__cover::after { background: linear-gradient(0deg, rgba(36, 6, 10, 0.92) 0%, rgba(36, 6, 10, 0.55) 100%); }
  .links { padding: 20px 14px 22px; gap: 8px; }
  .link { padding-right: 14px; font-size: 13px; }
  .link__icon { width: 32px; height: 32px; }
  .title { font-size: 22px; }
  .order__grid { grid-template-columns: 1fr; gap: 16px; }
  .order__side { grid-template-columns: 1fr; }
  .gallery { --gap: 6px; }
  .shot { border-radius: 10px; }
  .rules__list { padding-left: 44px; }
  .hero__roles { font-size: 11px; letter-spacing: 0.2em; }
  .player { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  .player__info { flex: 1; max-width: none; }
  .player__volume { display: none; }
  .lightbox { grid-template-columns: 1fr; padding: 70px 12px 90px; }
  .lightbox__prev, .lightbox__next { position: absolute; bottom: 20px; }
  .lightbox__prev { left: calc(50% - 60px); }
  .lightbox__next { right: calc(50% - 60px); }
  .gate__name { font-size: 44px; }
}

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