/* aysdarles.com — стили. Палитра снята с её фото (30.09, 545 кадров): светлая стена, серо-бежевый, камень, глина (кожа, платок), какао, почти-чёрный (одежда).
   Нейтральная, поэтому к ней подходит любое фото — цветное и чёрно-белое. Без бирюзы, солнца и арок. Поле Лилы — отдельно, «песок и золото» (.cube-sec).
   Имена переменных исторические: --cream = фон, --sand = второй фон, --terracotta = глина (акцент), --indigo = какао (кнопки). */
:root {
  --cream: #F6F4F1;       /* светлая стена */
  --sand: #ECE8E3;        /* серо-бежевый */
  --sand-deep: #D9D2CA;   /* линии */
  --stone: #BFB5AC;       /* камень */
  --indigo: #5E4A3F;      /* какао — кнопки, акцентный текст */
  --indigo-soft: #BFB5AC;
  --terracotta: #A8725A;  /* глина — курсив, цены, номера */
  --terracotta-dark: #8C5C47;
  --night: #EEEAE5;
  --night-soft: #FBFAF8;
  --sage: #8A9A7B;
  --ink: #1F1B19;         /* почти-чёрный, как одежда на фото */
  --muted: #6F6660;
  --white: #FBFAF8;
  --radius: 14px;
  --max: 1120px;
  --display: 'Cormorant Garamond', Georgia, serif;
  --body: 'Golos Text', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 18px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.1rem); }
h2 { font-size: clamp(2.1rem, 4vw, 3.1rem); }
h3 { font-size: 1.55rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
section { padding: clamp(64px, 9vw, 120px) 0; }
.eyebrow { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 1em; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 36em; }

/* Кнопки */
.btn { display: inline-flex; align-items: center; gap: .5em; padding: .95em 1.6em; border-radius: 999px; border: 0;
  font: 500 1rem var(--body); text-decoration: none; cursor: pointer; transition: transform .15s, background .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-hot { background: var(--terracotta); color: var(--white); }
.btn-hot:hover { background: var(--terracotta-dark); }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px currentColor; }
.btn-light { background: var(--terracotta); color: #fff; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6em; }

/* Шапка */
.top { position: sticky; top: 0; z-index: 20; background: rgba(246, 240, 231, .92); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(42,37,33,.06); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-family: var(--display); font-size: 1.35rem; text-decoration: none; }
.nav { display: flex; gap: 22px; font-size: .95rem; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--ink); }
.lang { font-size: .85rem; letter-spacing: .08em; }
@media (max-width: 820px) { .nav { display: none; } }

/* Первый экран (30.09): имя как знак, солнце за фото — то же солнце, что в 68-й клетке поля */
.hero { position: relative; overflow: hidden; background: var(--sand); padding: clamp(20px, 3vw, 36px) 0 clamp(56px, 7vw, 96px); }
.hero-name { font-family: var(--display); font-weight: 500; font-size: 23vw; line-height: .8; letter-spacing: -.04em; white-space: nowrap; text-align: center;
  position: relative; z-index: 3; color: var(--ink); mix-blend-mode: multiply; }
.hero-name em { color: var(--indigo); }
.hero-stage { position: relative; display: grid; grid-template-columns: 1fr minmax(0, 1fr) 1fr; align-items: end; margin-top: -6vw; }
  background: radial-gradient(circle at 50% 45%, #F4E3BF 0%, #E6C78F 35%, rgba(176,138,78,.35) 62%, rgba(176,138,78,0) 72%); animation: sunglow 9s ease-in-out infinite; }
.hero-photo { position: relative; z-index: 2; border-radius: 999px 999px 0 0; overflow: hidden; aspect-ratio: 4/5; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-left, .hero-right { position: relative; z-index: 4; }
.hero-left { padding-right: 32px; }
.hero h1 { font-size: clamp(1.7rem, 2.3vw, 2.2rem); line-height: 1.15; max-width: 12em; }
.hero h1 em, h2 em { font-style: italic; color: var(--terracotta); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pills span { padding: 6px 14px; border: 1px solid rgba(46,42,38,.22); border-radius: 999px; font-size: .82rem; }
.hero-right { padding-left: 32px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.hero-right p { color: var(--muted); font-size: 1rem; margin: 0 0 6px; max-width: 18em; }
.hero-right small { color: var(--muted); font-size: .82rem; }
@media (max-width: 820px) {
  .hero-name { font-size: 25vw; }
  .hero-stage { grid-template-columns: 1fr; margin-top: 16px; }
  .hero-photo { max-width: 340px; width: 100%; margin: 24px auto 0; order: 2; }
  .hero-left { order: 1; padding: 0; } .hero-right { order: 3; padding: 24px 0 0; }
  }

/* Кубик */
.cube-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 820px) { .cube-grid { grid-template-columns: 1fr; } }
.ask { width: 100%; padding: 1em 1.1em; border-radius: var(--radius); border: 1.5px solid var(--sand-deep); background: var(--white);
  font: 1rem var(--body); color: var(--ink); margin: .6em 0 1em; resize: vertical; min-height: 88px; }
.ask:focus { outline: 2px solid var(--terracotta); outline-offset: 2px; }
.stage { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.scene { width: 120px; height: 120px; perspective: 700px; margin: 24px 0; }
.die { width: 100%; height: 100%; position: relative; transform-style: preserve-3d; transform: rotateX(-24deg) rotateY(32deg); transition: transform 1.4s cubic-bezier(.2,.8,.2,1); }
.face { position: absolute; inset: 0; background: var(--terracotta); border-radius: 18px; display: grid; grid-template: repeat(3, 1fr) / repeat(3, 1fr);
  padding: 16px; box-shadow: inset 0 0 0 2px rgba(255,255,255,.12), inset 0 -10px 24px rgba(0,0,0,.18); }
.face i { width: 17px; height: 17px; border-radius: 50%; background: var(--cream); align-self: center; justify-self: center; opacity: 0; }
.face i.on { opacity: 1; }
.f1 { transform: translateZ(60px); } .f6 { transform: rotateY(180deg) translateZ(60px); }
.f2 { transform: rotateY(90deg) translateZ(60px); } .f5 { transform: rotateY(-90deg) translateZ(60px); }
.f3 { transform: rotateX(90deg) translateZ(60px); } .f4 { transform: rotateX(-90deg) translateZ(60px); }
.card { background: var(--white); border-radius: var(--radius); padding: clamp(22px, 3vw, 34px); box-shadow: 0 18px 40px -24px rgba(42,37,33,.35); width: 100%; }
.card .num { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--terracotta); }
.card h3 { font-size: 1.9rem; margin: .2em 0 .6em; }
.card .intro p { margin-bottom: .5em; }
.card .q { font-family: var(--display); font-size: 1.25rem; font-style: italic; border-left: 3px solid var(--terracotta); padding-left: .8em; margin: 1.2em 0; }
.card .move { font-size: .92rem; color: var(--muted); }
.card[hidden] { display: none; }
.hint { font-size: .9rem; color: var(--muted); }

/* Лила онлайн: в палитре сайта — глина, какао, камень (30.09: «поле сильно выделяется»); было «песок и золото» 29.09. У каждой клетки свой знак. */
.cube-sec { --gold: #A8725A; --gold-lt: #C9A08C; --gold-dk: #5E4A3F;
  background: radial-gradient(ellipse 60% 40% at 50% 0%, #F6F4F1 0%, rgba(246,244,241,0) 70%), #F6F4F1; }
.cube-sec .face { background: linear-gradient(145deg, #FFFFFF, #EFEBE6 75%, #E0D6CD); box-shadow: inset 0 0 0 1px rgba(168,114,90,.35), inset 0 -8px 18px rgba(168,114,90,.15), 0 10px 30px -12px rgba(94,74,63,.4); }
.cube-sec .face i { background: #5E4A3F; }
.cube-sec .card { box-shadow: 0 20px 50px -30px rgba(94,74,63,.35), 0 0 0 1px rgba(168,114,90,.15); }
.cube-sec .card .num { color: var(--gold-dk); }

.game-head { max-width: 50em; }
.game { margin-top: 2em; }

/* рамка поля: тёплый песок, звёздная пыль, орбиты */
.board-wrap { position: relative; overflow: hidden; padding: clamp(8px, 2vw, 22px); border-radius: 30px;
  background: radial-gradient(ellipse 70% 45% at 50% 0%, #F6F4F1 0%, rgba(246,244,241,0) 70%), linear-gradient(180deg, #F6F4F1 0%, #ECE8E3 100%);
  box-shadow: 0 30px 70px -40px rgba(94,74,63,.55), inset 0 0 0 1px rgba(168,114,90,.28); }
.sky { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.board-inner { position: relative; }
.art { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; overflow: visible; }
.board { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(9, 1fr); grid-template-rows: repeat(8, 1fr); gap: 5px; aspect-ratio: 9/8; }

/* клетка — маленькая карта: номер в углу, знак, название, плашка перехода */
.cell { position: relative; min-width: 0; overflow: hidden; border-radius: 12px; cursor: default;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 14px 3px 4px; text-align: center;
  background: var(--tint); box-shadow: inset 0 0 0 1px rgba(168,114,90,.16), 0 2px 10px -4px rgba(94,74,63,.18); transition: background .3s, box-shadow .3s; }
.cell:hover { background: rgba(251,250,248,.85); }
.cell .sym { position: relative; z-index: 1; width: 30%; aspect-ratio: 1; color: #8C5C47; opacity: .85; flex: none; pointer-events: none;
  filter: drop-shadow(0 0 4px rgba(201,160,140,.45)); }
.cell b { position: absolute; z-index: 1; left: 8px; top: 5px; font: 700 1.15rem/1 var(--display); color: var(--gold-dk); text-shadow: 0 0 6px #FBFAF8; }
.cell span { position: relative; z-index: 1; font-size: .68rem; font-weight: 600; line-height: 1.12; color: #2E2622; max-width: 100%;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-shadow: 0 0 4px #FBFAF8, 0 0 8px #FBFAF8; }
.pill, .cell em { position: relative; z-index: 1; display: inline-block; font: 700 .64rem/1 var(--body); font-style: normal; color: #fff; border-radius: 999px; padding: 3px 8px; }
.pill.p, .cell em.p { background: linear-gradient(135deg, #A8725A, #5E4A3F); }
.pill.a, .cell em.a { background: linear-gradient(135deg, #C9A08C, #A8725A); }
.cell.home { background: radial-gradient(circle at 50% 55%, #FBFAF8 0%, #EADCD2 55%, rgba(232,216,206,.5) 100%); }
.cell.seen { box-shadow: inset 0 0 0 1px rgba(168,114,90,.55), 0 2px 10px -4px rgba(94,74,63,.18); }
.cell.here { box-shadow: inset 0 0 0 2px var(--gold), 0 0 16px rgba(201,160,140,.55); }
.cell.target { box-shadow: inset 0 0 0 2px var(--gold-lt), 0 0 22px 4px rgba(201,160,140,.7); background: rgba(247,241,236,.95); }
/* спираль портала раскрывается в клетке, когда фишка на неё попадает */
.cell .spiral { position: absolute; z-index: 2; left: 50%; top: 50%; width: 90%; aspect-ratio: 1; transform: translate(-50%, -50%); color: var(--gold);
  filter: drop-shadow(0 0 6px rgba(201,160,140,.7)); animation: open .4s ease-out; }
.cell .spiral svg { width: 100%; height: 100%; animation: turn .7s linear infinite; }
@keyframes turn { to { transform: rotate(-360deg); } }
@keyframes open { from { opacity: 0; transform: translate(-50%, -50%) scale(.3); } }
@media (max-width: 640px) {
  .board { gap: 2px; } .cell { border-radius: 7px; padding: 2px; } .cell span { display: none; }
  .cell b { font-size: .75rem; left: 3px; top: 2px; } .cell .sym { width: 56%; } .cell em { font-size: .5rem; padding: 1px 3px; }
}
.links { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 4; overflow: visible; }
.token { position: absolute; z-index: 5; left: 50%; top: 50%; width: 3.4%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%);
  background: radial-gradient(circle at 38% 34%, #FFFFFF 0%, #F2E9E3 40%, #C9A08C 100%);
  box-shadow: 0 0 0 2px rgba(255,255,255,.9), 0 0 18px 4px rgba(201,160,140,.55);
  transition: left .16s ease, top .16s ease, transform .5s, opacity .5s; pointer-events: none; }
.token.in { transform: translate(-50%, -50%) scale(.1) rotate(-240deg); opacity: 0; }
.ring { position: absolute; z-index: 4; width: 4%; aspect-ratio: 1; border-radius: 50%; border: 2px solid var(--gold-lt); transform: translate(-50%, -50%) scale(.5); opacity: 0; pointer-events: none; }
.ring.go { animation: ring 1s ease-out; }
@keyframes ring { 0% { opacity: .9; transform: translate(-50%, -50%) scale(.6); } 100% { opacity: 0; transform: translate(-50%, -50%) scale(4); } }
.legend { margin: 14px 0 0; font-size: .92rem; color: var(--muted); max-width: 60em; }
.legend .pill { margin: 0 2px; }

/* игра: поле слева, справа закреплённая колонка (запрос, кубик, карточка клетки) */
.cube-sec > .wrap { max-width: 1380px; }
.game { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(330px, 1fr); gap: clamp(18px, 2.4vw, 32px); align-items: start; margin-top: 1.6em; }
.side { position: sticky; top: 76px; max-height: calc(100vh - 90px); overflow: auto; display: flex; flex-direction: column; gap: 14px;
  padding: 2px 6px 12px 2px; scrollbar-width: thin; }
@media (max-width: 980px) { .game { grid-template-columns: 1fr; } .side { position: static; max-height: none; overflow: visible; } }
.playbar { display: grid; grid-template-columns: 84px 1fr; gap: 14px 16px; align-items: center; padding: 14px 18px;
  background: rgba(255,253,248,.96); border-radius: 20px; box-shadow: 0 0 0 1px rgba(168,114,90,.25), 0 14px 34px -24px rgba(94,74,63,.6); }
.pb-ask { grid-column: 1 / -1; }
.playbar .ask { margin: .3em 0 0; min-height: 0; resize: none; }
.playbar .small { font-size: .8rem; margin: .3em 0 0; }
.playbar .scene { width: 120px; height: 120px; margin: -14px -18px -20px; transform: scale(.6); }
.pb-go { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.playbar .status { grid-column: 1 / -1; margin: 0; text-align: left; min-height: 0; font-size: .95rem; }
.playbar .status:empty { display: none; }
.cube-sec .card { margin: 0; }
.cube-sec .restart { align-self: center; }

/* карточка клетки */
.turn + .turn { margin-top: 1.6em; padding-top: 1.4em; border-top: 1px solid #E6E0D9; }
.cellblock + .cellblock { margin-top: 1.6em; padding-top: 1.4em; border-top: 1px dashed #D9D2CA; }
.cellblock .head { display: flex; gap: 16px; align-items: center; margin-bottom: .6em; }
.cellblock .head .sym { width: 64px; height: 64px; flex: none; color: #8C5C47; filter: drop-shadow(0 0 5px rgba(201,160,140,.45)); }
.cellblock .head h3 { margin: .1em 0 .1em; }
.cellblock .head .meaning { font-size: .88rem; font-style: italic; color: var(--muted); margin: 0; }
.cellblock audio { width: 100%; margin: .2em 0 1em; }
.cell-about { font-size: 1.02rem; }
.qs { padding-left: 1.1em; margin: 1em 0; color: #4A433C; }
.qs li { margin-bottom: .45em; }
.turn.pass p { font-size: .92rem; margin: .5em 0; color: var(--muted); }
.turn.pass b { color: var(--ink); font-weight: 500; }
.turn.combo { background: linear-gradient(160deg, #F4F0EC, #EFEBE6); border-radius: 12px; padding: 14px 16px; border-top: 0; box-shadow: inset 0 0 0 1px rgba(168,114,90,.4); }
.turn.combo p { margin: .3em 0 0; }
.jump { display: flex; gap: 10px; align-items: flex-start; background: #EFEBE6; border-radius: 10px; padding: 12px 14px; font-size: .95rem; }
.jump .glyph { width: 22px; height: 22px; flex: none; color: var(--gold); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: .4em 0 1.2em; }
.chips span { background: #EFEBE6; border-radius: 999px; padding: .25em .75em; font-size: .85rem; }
.finish { margin-top: 1.4em; padding-top: 1.4em; border-top: 1px solid #E6E0D9; }
.restart { background: none; border: 0; color: var(--muted); text-decoration: underline; font: .9rem var(--body); cursor: pointer; }
.restart[hidden] { display: none; }
.refl { margin-top: 1.6em; background: #FBFAF8; border-radius: 12px; padding: 18px; box-shadow: inset 0 0 0 1px #B8927E, 0 10px 30px -18px rgba(168,114,90,.6); }
.refl .num { margin-bottom: .3em; }
.refl-q { font-family: var(--display); font-size: 1.35rem; font-style: italic; margin: .2em 0 .6em; }
.refl .ask { margin: .4em 0 .8em; }
.answers { padding-left: 1.2em; margin: .4em 0 1.2em; font-size: .95rem; }
.answers li { margin-bottom: .5em; }
.ays-note { border-left: 2px solid #B8927E; padding: .2em 0 .2em 1em; margin: 1em 0; }
.ays-note p { margin: .2em 0 0; font-style: italic; }

/* Что такое Лила */
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 2.4em; }
.three > div { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: 0 0 0 1px rgba(176,138,78,.14); }
@media (max-width: 820px) { .three { grid-template-columns: 1fr; } }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }
.photo { border-radius: var(--radius); overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* Дыхание — светлый блок, утренний воздух */
.breath { background: linear-gradient(180deg, #EEF3F2 0%, #F6F3EC 100%); color: var(--ink); }
.breath .eyebrow, .breath .lead { color: var(--muted); }
.player { background: var(--white); border-radius: var(--radius); padding: 22px; margin: 1.4em 0; box-shadow: 0 0 0 1px rgba(111,163,163,.25); }
.player audio { width: 100%; }
.player .soon { color: var(--muted); font-size: .95rem; margin: 0; }
.safe { font-size: .92rem; color: var(--muted); border-top: 1px solid var(--sand-deep); padding-top: 1em; }

/* Форматы */
.formats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 2.2em; }
@media (max-width: 900px) { .formats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .formats { grid-template-columns: 1fr; } }
.fmt { background: var(--white); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; box-shadow: 0 0 0 1px rgba(176,138,78,.14); }
.fmt .price { font-family: var(--display); font-size: 2rem; color: var(--terracotta-dark); margin: .2em 0 .6em; }
.fmt p { color: var(--muted); font-size: .98rem; flex: 1; }
.fmt a { margin-top: .6em; font-weight: 500; color: var(--terracotta-dark); text-decoration: none; }
.fmt.wide { grid-column: 1 / -1; }
.fmt.main { background: linear-gradient(160deg, #FFFDF8, #F7F0E1); box-shadow: inset 0 0 0 1.5px var(--terracotta); }

/* Обо мне */
.about { background: var(--sand); }
.facts { list-style: none; padding: 0; margin: 1.4em 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.facts li { border-top: 1px solid var(--sand-deep); padding-top: .6em; font-size: .98rem; }
.facts b { display: block; font-family: var(--display); font-size: 1.9rem; font-weight: 500; color: var(--terracotta-dark); }

/* Отзывы */
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 2em; }
@media (max-width: 720px) { .quotes { grid-template-columns: 1fr; } }
blockquote { margin: 0; background: var(--white); border-radius: var(--radius); padding: 28px; font-family: var(--display); font-size: 1.4rem; line-height: 1.4; box-shadow: 0 0 0 1px rgba(176,138,78,.14); }
blockquote cite { display: block; margin-top: 1em; font: .88rem var(--body); color: var(--muted); font-style: normal; }

/* Вопросы */
details { border-top: 1px solid var(--sand-deep); padding: 1.1em 0; }
details:last-of-type { border-bottom: 1px solid var(--sand-deep); }
summary { cursor: pointer; font-family: var(--display); font-size: 1.45rem; list-style: none; }
summary::after { content: '+'; float: right; color: var(--terracotta); }
details[open] summary::after { content: '–'; }
details p { margin: .8em 0 0; color: var(--muted); max-width: 44em; }
.card details:last-of-type { border-bottom: 0; }

/* Финал и подвал — светлые */
.end { background: radial-gradient(ellipse 60% 70% at 50% 100%, rgba(232,206,150,.3), transparent 70%), linear-gradient(180deg, #F3EDE2, #FBF8F2); color: var(--ink); text-align: center; }
.end .lead { color: var(--muted); margin: 0 auto; }
.end .btns { justify-content: center; }
footer { background: #F1EBDF; color: var(--muted); font-size: .88rem; padding: 28px 0; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

@media (prefers-reduced-motion: reduce) { .die { transition: none; } .token { animation: none; } html { scroll-behavior: auto; } }

/* ===== Стиль 30.09.2026: сайт в своих цветах (жемчуг, бирюза, тонкое золото), фото ч/б, без сеток из карточек ===== */
.bw { filter: grayscale(1) contrast(1.05); }
.btn-hot { background: var(--indigo); color: var(--cream); }
.btn-hot:hover { background: #2C454E; }
.cube-sec .btn-hot { background: #8A6630; }
.cube-sec .btn-hot:hover { background: #6F5226; }
.btn-light { background: var(--indigo); color: var(--cream); }
.top { background: rgba(243,237,226,.9); border-bottom-color: transparent; }
.eyebrow { display: flex; align-items: baseline; gap: 14px; }
.eyebrow .n { font-family: var(--display); font-style: italic; font-size: 1.35rem; letter-spacing: 0; text-transform: none; color: var(--terracotta); }
h2 { letter-spacing: -.015em; }

/* Бегущая строка с её фразами */
.band { background: var(--indigo); color: var(--cream); padding: 22px 0; overflow: hidden; white-space: nowrap; }
.band div { display: inline-block; font-family: var(--display); font-style: italic; font-size: clamp(1.4rem, 2.4vw, 2rem); animation: marquee 50s linear infinite; }
.band b { font-weight: 400; font-style: normal; color: #D8BE8C; margin: 0 26px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Лила: три мысли колонками под линией, без карточек */
.three { gap: 0; border-top: 1px solid var(--ink); margin-top: 4em; }
.three > div { background: none; box-shadow: none; border-radius: 0; padding: 26px 28px 0 0; }
.three .big { display: block; font-family: var(--display); font-style: italic; font-size: 3rem; line-height: 1; color: var(--indigo-soft); margin-bottom: 14px; }
.three p { color: var(--muted); }
#leela .photo { aspect-ratio: 4/5; max-height: 620px; }

/* Дыхание: глубокая бирюза, волны и дышащий круг */
.breath { position: relative; overflow: hidden; background: #2C454E; color: var(--cream); }
.breath .wrap { position: relative; z-index: 1; }
.breath .eyebrow, .breath .lead, .breath .safe { color: rgba(251,248,242,.72); }
.breath h2 em { color: #D8BE8C; }
.breath .safe { border-top-color: rgba(251,248,242,.18); }
.breath .player { background: rgba(251,248,242,.07); box-shadow: inset 0 0 0 1px rgba(216,190,140,.35); }
.breath .player .soon { color: rgba(251,248,242,.75); }
.waves { position: absolute; inset: 0; width: 100%; height: 100%; }
.waves path { fill: none; stroke-width: 1.3; animation: drift 14s ease-in-out infinite alternate; }
@keyframes drift { from { transform: translateX(-4%) translateY(-10px); } to { transform: translateX(4%) translateY(12px); } }
.breath-visual { position: relative; }
.breath-visual .photo { aspect-ratio: 4/5; border-radius: 999px 999px var(--radius) var(--radius); }
.inhale { position: absolute; left: -44px; bottom: 40px; width: 150px; height: 150px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid #D8BE8C; background: radial-gradient(circle, rgba(216,190,140,.35), rgba(44,69,78,.85) 70%); backdrop-filter: blur(4px);
  animation: inhale 10s ease-in-out infinite; }
.inhale span { grid-area: 1 / 1; font-family: var(--display); font-style: italic; font-size: 1.4rem; color: var(--cream); }
.inhale .in { animation: word-in 10s ease-in-out infinite; }
.inhale .out { animation: word-out 10s ease-in-out infinite; }
@keyframes inhale { 0%,100% { transform: scale(.74); } 40%,55% { transform: scale(1.1); } }
@keyframes word-in { 0%,40% { opacity: 1; } 50%,95% { opacity: 0; } 100% { opacity: 1; } }
@keyframes word-out { 0%,45% { opacity: 0; } 55%,90% { opacity: 1; } 100% { opacity: 0; } }
@media (max-width: 820px) { .inhale { left: 12px; bottom: 12px; width: 110px; height: 110px; } }

/* Форматы: строки с тонкими линиями, цена крупно справа */
.formats { display: block; margin-top: 3em; }
.fmt { display: grid; grid-template-columns: 200px 1fr 1.25fr 130px; gap: 32px; align-items: baseline; padding: 30px 12px; margin: 0 -12px;
  background: none; border-radius: 0; box-shadow: none; border-top: 1px solid var(--sand-deep); text-decoration: none; color: inherit; transition: background .3s; }
.fmt:last-child { border-bottom: 1px solid var(--sand-deep); }
.fmt:hover { background: var(--sand); }
.fmt .k { font-size: .82rem; color: var(--muted); letter-spacing: .04em; }
.fmt h3 { font-size: 1.9rem; margin: 0; }
.fmt p { margin: 0; color: var(--muted); font-size: .98rem; }
.fmt .cta { display: block; margin-top: .5em; color: var(--indigo); font-weight: 500; font-size: .92rem; opacity: 0; transform: translateY(-4px); transition: opacity .3s, transform .3s; }
.fmt:hover .cta, .fmt:focus .cta { opacity: 1; transform: none; }
.fmt .price { font-family: var(--display); font-size: 2.2rem; color: var(--terracotta); text-align: right; margin: 0; }
.fmt .price.small { font-size: 1.3rem; font-style: italic; }
.fmt.main { background: none; box-shadow: none; }
.fmt.main h3 { white-space: nowrap; }
.fmt.main h3::after { content: "главное"; display: table; margin-top: 8px; font: 500 .7rem var(--body); letter-spacing: .12em; text-transform: uppercase;
  color: var(--indigo); border: 1px solid var(--indigo); border-radius: 999px; padding: 3px 9px; }
@media (max-width: 900px) {
  .fmt { grid-template-columns: 1fr auto; gap: 6px 16px; }
  .fmt .k, .fmt p { grid-column: 1 / -1; } .fmt .k { order: -1; }
  .fmt h3 { font-size: 1.6rem; } .fmt .price { font-size: 1.8rem; }
  .fmt .cta { opacity: 1; transform: none; }
}

/* Обо мне */
.about .photo { aspect-ratio: 4/5; max-height: 640px; }
.facts b { color: var(--indigo); }

/* Отзывы: большие цитаты под линией, без карточек */
.quotes { gap: 0 48px; }
blockquote { background: none; box-shadow: none; border-radius: 0; padding: 30px 0; border-top: 1px solid var(--sand-deep); font-style: italic; font-size: clamp(1.4rem, 2vw, 1.75rem); line-height: 1.3; }

/* Финал */
.end h2 { font-size: clamp(2.6rem, 6vw, 5rem); }
summary::after { color: var(--indigo); }
.photo img.bw { transition: filter .8s; }
.photo:hover img.bw { filter: grayscale(.5) contrast(1.05); }
@media (prefers-reduced-motion: reduce) { .band div, .waves path, .inhale, .inhale span { animation: none !important; } .inhale .out { opacity: 0; } }
/* ===== Правка 30.09 (Айс: «мрачно, давит»): светлые цветные фото, светлое дыхание и строка ===== */
.band { background: #E9F0EE; color: var(--indigo); }
.band b { color: var(--terracotta); }
.breath { background: linear-gradient(180deg, #EEF4F2 0%, #F7F4EC 100%); color: var(--ink); }
.breath .eyebrow, .breath .lead, .breath .safe { color: var(--muted); }
.breath h2 em { color: var(--terracotta); }
.breath .safe { border-top-color: var(--sand-deep); }
.breath .player { background: rgba(255,253,248,.8); box-shadow: inset 0 0 0 1px rgba(111,163,163,.35); }
.breath .player .soon { color: var(--muted); }
.inhale { border-color: rgba(176,138,78,.6); background: radial-gradient(circle, rgba(255,246,226,.95), rgba(233,240,238,.85) 70%); }
.inhale span { color: var(--indigo); }

/* ===== Правка 30.09, вторая (Айс: без бирюзы, без солнца, без арок) — крем, песок, золото, тёплый тёмный ===== */
:root { --accent: #8A6630; }
.hero-name em { color: var(--terracotta); }
.hero-photo, .breath-visual .photo { border-radius: 4px; }
.btn-hot, .btn-light { background: var(--accent); color: #fff; }
.btn-hot:hover, .btn-light:hover { background: #6F5226; }
.band { background: var(--sand); color: var(--ink); border-top: 1px solid var(--sand-deep); border-bottom: 1px solid var(--sand-deep); }
.three .big, .facts b, summary::after { color: var(--terracotta); }
.breath { background: linear-gradient(180deg, #F6F0E4 0%, #FBF8F2 100%); }
.breath .player { box-shadow: inset 0 0 0 1px rgba(176,138,78,.3); }
.inhale { border-color: rgba(176,138,78,.6); background: radial-gradient(circle, #FFFBF2, rgba(246,240,228,.9) 70%); }
.inhale span { color: var(--accent); }
.fmt .cta { color: var(--accent); }
.fmt.main h3::after { color: var(--accent); border-color: var(--accent); }

/* постоянное предложение сыграть с Айс в колонке игры */
.with-ays { background: linear-gradient(160deg, #FBF5E8, #F4ECDC); border-radius: 16px; padding: 16px 18px; box-shadow: inset 0 0 0 1px rgba(176,138,78,.35); }
.with-ays .num { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-dk, #8A6630); }
.with-ays p { font-size: .92rem; margin: .4em 0 .8em; }
.with-ays .btn { padding: .6em 1.2em; font-size: .92rem; }

/* ===== Палитра из фото (30.09): убираем жёлтый крем и золото с сайта ===== */
:root { --accent: #5E4A3F; }
.btn-hot:hover, .btn-light:hover { background: #45362E; }
.top { background: rgba(246,244,241,.92); }
.end { background: linear-gradient(180deg, var(--sand), var(--cream)); }
footer { background: var(--sand); }
.breath { background: linear-gradient(180deg, var(--sand) 0%, var(--cream) 100%); }
.breath .player { box-shadow: inset 0 0 0 1px var(--sand-deep); }
.inhale { border-color: var(--stone); background: radial-gradient(circle, var(--white), rgba(236,232,227,.9) 70%); }
.waves path { stroke: rgba(168,114,90,.25) !important; }
.band b { color: var(--terracotta); }
.hero-photo img, .photo img { filter: saturate(.92); }

/* сонастройка перед игрой и практика интеграции после */
.practice { background: #FFFDF8; border-radius: 16px; padding: 16px 18px; box-shadow: inset 0 0 0 1px rgba(111,163,163,.35), 0 10px 26px -20px rgba(63,119,117,.5); }
.practice[hidden] { display: none; }
.practice .num { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: #3F7775; }
.practice p { font-size: .92rem; margin: .4em 0 .7em; }
.practice audio { width: 100%; }
.practice .small { font-size: .8rem; color: var(--muted); margin: .5em 0 0; }
.finish .practice { margin: 1em 0 1.2em; }
.mini-die { width: 20px; height: 20px; margin-right: 8px; vertical-align: -4px; }

/* Дыхание без волн (30.09: «линии как у Кати — не копируем») */
.ptitle { font-family: var(--display); font-size: 1.35rem; margin: 0 0 .5em; }
.ptitle span { font-family: var(--body); font-size: .85rem; color: var(--muted); }
.check { margin: .2em 0 1em; }
.check .q { display: block; font-size: .95rem; margin: 0 0 .5em; }
.check .q span { color: var(--muted); font-size: .82rem; margin-left: 6px; }
.scale { display: flex; gap: 4px; flex-wrap: wrap; }
.scale button { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--sand-deep); background: var(--white); color: var(--ink); font: 500 .85rem var(--body); cursor: pointer; transition: background .2s, color .2s; }
.scale button:hover { border-color: var(--terracotta); }
.scale button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.check.after { margin-top: 1.2em; padding-top: 1em; border-top: 1px solid var(--sand-deep); }
.check.after[hidden] { display: none; }
.check .diff { font-family: var(--display); font-style: italic; font-size: 1.2rem; color: var(--terracotta); margin: .7em 0; }
.check .diff:empty { display: none; }
.check .ask { margin-top: .2em; }
.player audio { margin: .4em 0 .2em; }
.parts { margin: 1.4em 0; padding: 0; list-style: none; counter-reset: part; }
.parts li { counter-increment: part; position: relative; padding: .7em 0 .7em 2.4em; border-top: 1px solid var(--sand-deep); font-size: .98rem; color: var(--muted); }
.parts li:last-child { border-bottom: 1px solid var(--sand-deep); }
.parts li::before { content: counter(part); position: absolute; left: 0; top: .45em; font-family: var(--display); font-style: italic; font-size: 1.4rem; color: var(--terracotta); }
.parts b { color: var(--ink); font-weight: 500; }

/* ===== Форматы, третий заход (30.09: «теряюсь») — три шага пути, в каждом два продукта, кнопки видны сразу ===== */
.formats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 2.6em; }
.step { background: var(--white); border-radius: 8px; padding: 26px 26px 10px; box-shadow: 0 0 0 1px var(--sand-deep); }
.step.main { box-shadow: 0 0 0 1.5px var(--terracotta); }
.step-name { display: flex; align-items: baseline; gap: 10px; margin: 0 0 6px; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.step-name span { font-family: var(--display); font-style: italic; font-size: 1.6rem; letter-spacing: 0; color: var(--terracotta); }
.prod { padding: 18px 0 20px; border-top: 1px solid var(--sand-deep); }
.step-name + .prod { border-top: 0; }
.prod .ph { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.prod h3 { font-size: 1.55rem; margin: 0; }
.prod .price { font-family: var(--display); font-size: 1.5rem; color: var(--terracotta); white-space: nowrap; }
.prod p { color: var(--muted); font-size: .95rem; margin: .4em 0 .8em; }
.prod a:not(.btn) { color: var(--accent); font-weight: 500; font-size: .95rem; text-decoration: none; border-bottom: 1px solid var(--sand-deep); }
.prod a:not(.btn)::after { content: " →"; }
.prod .btn { padding: .75em 1.3em; font-size: .92rem; }
.retreat { margin-top: 26px; padding: 18px 22px; background: var(--sand); border-radius: 8px; color: var(--muted); font-size: .95rem; }
.retreat b { color: var(--ink); font-weight: 500; }
.retreat a { color: var(--accent); font-weight: 500; text-decoration: none; }
@media (max-width: 900px) { .formats { grid-template-columns: 1fr; } }

/* ===== Клетки (30.09): «куда ведёт» — мелко в правом верхнем углу напротив номера, не перекрывает название; без ↓↑ ===== */
.cell em { position: absolute; z-index: 1; top: 7px; right: 8px; padding: 0; border-radius: 0; background: none !important;
  font: 600 .66rem/1 var(--body); letter-spacing: .02em; }
.cell em.p { color: #5E4A3F; }
.cell em.a { color: #A8725A; }
@media (max-width: 640px) { .cell em { top: 2px; right: 3px; font-size: .5rem; } }

/* Результат броска в карточке (30.09) */
.rollres { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; margin-bottom: 1.2em; border-radius: 10px; background: var(--sand); }
.res-die { width: 44px; height: 44px; flex: none; color: #5E4A3F; animation: resin .5s ease-out; }
@keyframes resin { from { transform: rotate(-90deg) scale(.6); opacity: 0; } }
.res-v { font-family: var(--display); font-size: 1.5rem; line-height: 1.1; }
.rollres p { margin: .25em 0 0; font-size: .95rem; color: var(--muted); }
.rollres p:empty { display: none; }
.rollres .btn { margin-top: .8em; }
@media (prefers-reduced-motion: reduce) { .res-die { animation: none; } }

/* ===== Клетка дня (30.09) ===== */
.day { padding: clamp(48px, 6vw, 80px) 0; border-bottom: 1px solid var(--sand-deep); }
.day[hidden] { display: none; }
.day-grid { display: grid; grid-template-columns: 150px 1.3fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.day-sym { color: var(--terracotta); }
.day-svg { width: 100%; height: auto; display: block; }
.day-title { font-family: var(--display); font-size: clamp(2rem, 3.6vw, 2.8rem); line-height: 1.05; margin: .2em 0 .4em; }
.day-n { color: var(--terracotta); font-style: italic; }
.day-msg { font-family: var(--display); font-style: italic; font-size: 1.45rem; line-height: 1.3; margin: 0 0 .7em; }
.day-msg:empty { display: none; }
.day-about { color: var(--muted); font-size: .95rem; margin: 0; }
.day-side { padding-left: clamp(0px, 3vw, 40px); border-left: 1px solid var(--sand-deep); }
.day-q { font-family: var(--display); font-size: 1.4rem; line-height: 1.3; margin: .3em 0 1.2em; }
.day-tg { display: inline-block; margin-top: 14px; color: var(--accent); font-weight: 500; font-size: .92rem; text-decoration: none; }
@media (max-width: 900px) {
  .day-grid { grid-template-columns: 90px 1fr; }
  .day-side { grid-column: 1 / -1; border-left: 0; padding-left: 0; border-top: 1px solid var(--sand-deep); padding-top: 20px; }
}

/* клетка дня — своя у каждого: рубашка до нажатия, мягкое появление после */
.day-side[hidden] { display: none; }
.day.closed .day-sym { opacity: .45; }
.day.closed .day-n { font-style: normal; color: var(--ink, inherit); }
.day-draw { margin-top: 4px; }
.day.reveal .day-grid > * { animation: dayIn .7s ease both; }
@keyframes dayIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .day.reveal .day-grid > * { animation: none; } }

/* «Отправить Айс» в финале игры (30.09) */
.share { margin: 1.2em 0 0; padding: 14px 16px; border: 1px solid #E6E0D9; border-radius: 14px; }
.share .consent { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; cursor: pointer; }
.share .consent input { margin-top: .25em; accent-color: #5E4A3F; flex: none; }
.share .btn { margin-top: .9em; }
.share .btn:disabled { opacity: .45; cursor: default; }

/* Оплата прямо на сайте (30.09) */
.payform { margin-top: 1.2em; display: grid; gap: 10px; max-width: 420px; }
.payform .ask { min-height: 0; padding: .7em .9em; }
.payform .cur { display: flex; flex-wrap: wrap; gap: 8px; }
.payform .chip { font: inherit; font-size: .9rem; padding: .45em .9em; border-radius: 999px; border: 1px solid #D9D2CA; background: transparent; color: inherit; cursor: pointer; }
.payform .chip.on { background: #5E4A3F; border-color: #5E4A3F; color: #F6F4F1; }
.payform .btn { justify-self: start; }
.payform .btn:disabled { opacity: .5; }

/* «Другие способы оплаты» под продуктом (30.09) */
.prod .pay-other { display: block; margin-top: .55em; font-size: .82rem; color: #8C7F75; text-decoration: underline; text-underline-offset: 3px; }
.prod .pay-other:hover { color: #A8725A; }
.prod a.pay-other { border-bottom: 0; font-weight: 400; font-size: .82rem; color: #8C7F75; text-decoration: underline; }
.prod a.pay-other::after { content: none; }
