

/* Start:/local/templates/romza_bitronic2_2.23.10/new_css/elka.css?179603994214497*/
/* Ёлка Sibdroid 2026 — /elka/ (макет Elka-*, 18.11.2026). Темы: .ek--night (графит, по умолчанию) и .ek--light (зимняя).
   Ссылки — с тегом a в селекторе: тема красит .desktop a:hover (0,2,1). */
.ek {
  --ek-bg: linear-gradient(180deg, #0E1830 0%, #182746 60%, #1F3155 100%); --ek-fg: #fff; --ek-mute: #AFC0D8;
  --ek-box: rgba(255, 255, 255, .07); --ek-line: rgba(255, 255, 255, .12); --ek-kick: #FDCD3C; --ek-track: rgba(255, 255, 255, .12);
  --ek-dot: rgba(255, 255, 255, .28);
  font-family: Inter, Arial, sans-serif; color: #1D2229;
}
.ek--light {
  --ek-bg: linear-gradient(180deg, #EAF4FB 0%, #F6FAFD 70%, #FFFFFF 100%); --ek-fg: #1D2229; --ek-mute: #6b6e75;
  --ek-box: #fff; --ek-line: #E6E8EB; --ek-kick: #9A6A00; --ek-track: #E6E8EB; --ek-dot: rgba(29, 34, 41, .18);
}
.ek [hidden], .ek-modal[hidden] { display: none !important; }
.ek-hero { position: relative; overflow: hidden; background: var(--ek-bg); color: var(--ek-fg); }
.ek-sky, .ek-lights { position: absolute; left: 0; right: 0; pointer-events: none; }
.ek-sky { inset: 0; }
.ek-sky svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ek-lights { top: 0; height: 44px; }
.ek-lights svg { width: 100%; height: 44px; display: block; }
.ek-wrap { position: relative; max-width: 1200px; margin: 0 auto; padding: 56px 20px 70px; display: flex; gap: 40px; align-items: center; box-sizing: border-box; }
.ek-l { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.ek-r { flex: 0 0 560px; position: relative; }
.ek-kicker { font-size: 13px; font-weight: 800; letter-spacing: .08em; color: var(--ek-kick); }
.ek .ek-h1 { margin: -6px 0 0; font-size: 52px; line-height: 1.05; font-weight: 800; letter-spacing: -1px; color: var(--ek-fg); }
.ek-lead { margin: 0; font-size: 18px; line-height: 1.5; color: var(--ek-mute); }
.ek-box { background: var(--ek-box); border: 1px solid var(--ek-line); border-radius: 16px; padding: 16px 18px; }
.ek-goal { padding: 18px 20px 16px; }
.ek-goal__h { display: flex; align-items: baseline; gap: 8px; }
.ek-goal__h b { font-size: 30px; }
.ek-goal__h span { font-size: 15px; color: var(--ek-mute); }
.ek-goal__bar { position: relative; height: 8px; border-radius: 4px; background: var(--ek-track); margin-top: 12px; }
.ek-goal__bar > i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 4px; background: #FDCD3C; }
.ek-goal__m { position: absolute; top: -4px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; }
.ek-goal__m.is-last { transform: translateX(-100%); align-items: flex-end; }
.ek-goal__m i { width: 16px; height: 16px; border-radius: 8px; border: 2px solid var(--ek-mute); box-sizing: border-box; display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 800; font-style: normal; color: #1D2229; }
.ek-goal__m.is-done i { background: #FDCD3C; border-color: #FDCD3C; }
.ek-goal__m small { margin-top: 8px; font-size: 12px; font-weight: 500; color: var(--ek-mute); white-space: nowrap; }
.ek-goal__m.is-done small { font-weight: 700; color: var(--ek-fg); }
.ek-goal__note { font-size: 12px; color: var(--ek-mute); margin-top: 34px; }

.ek-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.ek .ek-btn { font: 700 16px Inter, Arial, sans-serif; border-radius: 12px; padding: 0 22px; height: 50px; cursor: pointer; display: inline-flex; align-items: center;
  justify-content: center; gap: 8px; box-sizing: border-box; white-space: nowrap; text-decoration: none; border: 0; }
.ek .ek-btn--y, .ek a.ek-btn--y:hover { background: #FDCD3C; color: #1D2229; }
.ek .ek-btn--y:hover { background: #ffd65a; }
.ek .ek-btn--y:disabled { opacity: .45; cursor: default; }
.ek .ek-btn--line, .ek a.ek-btn--line:hover { background: transparent; color: var(--ek-fg); border: 2px solid currentColor; }
.ek .ek-btn--ghost { background: #EEF0F2; color: #1D2229; }
.ek-small { margin: -8px 0 0; font-size: 13px; color: var(--ek-mute); }
.ek-has { display: flex; align-items: center; gap: 14px; }
.ek-has > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ek-has b { font-size: 17px; }
.ek-has small { font-size: 13px; color: var(--ek-mute); }
.ek-mine__h { display: block; font-size: 17px; margin-bottom: 4px; }
.ek-mine__r { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--ek-line); }
.ek-mine__r > div { flex: 1; min-width: 0; }
.ek-mine__r b { display: block; font-size: 15px; }
.ek-mine__r b span { font-weight: 500; color: var(--ek-mute); }
.ek-mine__r small { display: block; font-size: 12px; color: var(--ek-mute); margin-top: 2px; }
.ek-mine .ek-btns { margin-top: 12px; }
.ek-mine .ek-small { margin: 10px 0 0; font-size: 12px; }
.ek-pill { font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 10px; border: 1px dashed var(--ek-mute); color: var(--ek-mute); white-space: nowrap; }
.ek-pill.is-lit { background: #FDCD3C; border: 1px solid #FDCD3C; color: #1D2229; }
.ek-toyi { display: block; flex: 0 0 auto; overflow: visible; }
.ek-toyi.is-wait { opacity: .45; filter: saturate(.5); }

/* ёлка */
.ek-stage { position: relative; }
.ek-svg { display: block; width: 100%; height: auto; user-select: none; -webkit-user-select: none; }
.ek-main { aspect-ratio: 600 / 820; }
.ek-dot { fill: var(--ek-dot); }
.ek-t { cursor: pointer; }
.ek-t.is-wait use { opacity: .4; filter: saturate(.4); }
.ek-t:hover use { transform-box: fill-box; transform-origin: center; transform: scale(1.35); }
.ek-ring { fill: none; stroke: #FDCD3C; stroke-width: 1.6; }
.ek-t.is-found .ek-ring, .ek-t.is-found use { animation: ek-found 1.2s ease-out 2; transform-box: fill-box; transform-origin: center; }
@keyframes ek-found { 0% { transform: scale(1); } 40% { transform: scale(1.9); } 100% { transform: scale(1); } }
.ek-tw { animation: ek-tw 2.2s ease-in-out infinite; }
@keyframes ek-tw { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.ek-zoom { position: absolute; right: -10px; top: 30px; display: flex; flex-direction: column; gap: 6px; }
.ek-zoom button { width: 38px; height: 38px; border-radius: 10px; background: var(--ek-box); border: 1px solid var(--ek-line); color: var(--ek-fg); font-size: 20px; font-weight: 700;
  cursor: pointer; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(4px); }

/* как это работает */
.ek-how { max-width: 1200px; margin: 0 auto; padding: 36px 20px 48px; box-sizing: border-box; }
.ek-how h2 { margin: 0 0 16px; font-size: 30px; font-weight: 800; }
.ek-how__g { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.ek-how__c { position: relative; overflow: hidden; background: #fff; border: 1px solid #E6E8EB; border-radius: 16px; padding: 16px; display: flex; gap: 12px; }
.ek-how__n { width: 32px; height: 32px; flex: 0 0 32px; border-radius: 16px; background: #FDCD3C; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.ek-how__c b { display: block; font-size: 16px; font-weight: 800; }
.ek-how__c small { display: block; font-size: 13px; color: #6b6e75; margin-top: 4px; line-height: 1.45; }
.ek-how__d { position: absolute; right: -10px; bottom: -12px; opacity: .35; }
.ek-how__note { margin: 12px 0 0; font-size: 13px; color: #6b6e75; }

/* подсказка */
.ek-tip { position: absolute; z-index: 10400; max-width: 300px; background: #fff; color: #1D2229; border-radius: 14px; padding: 12px 14px; box-shadow: 0 10px 30px rgba(14, 24, 48, .28);
  display: flex; flex-direction: column; gap: 4px; pointer-events: none; }
.ek-tip b { font-size: 14px; font-weight: 800; }
.ek-tip small { font-size: 12px; color: #6b6e75; }
.ek-tip.is-mine { box-shadow: 0 0 0 3px #FDCD3C, 0 10px 30px rgba(14, 24, 48, .28); }
.ek-tip__go { margin-top: 8px; height: 44px !important; font-size: 14px !important; pointer-events: auto; }
.ek-toast { position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%); z-index: 10600; background: #1D2229; color: #fff; padding: 10px 16px; border-radius: 12px; font: 600 14px Inter, Arial, sans-serif; }

/* окно «Повесить шар» */
body.ek-lock { overflow: hidden; }
.ek-modal { position: fixed; inset: 0; z-index: 10500; background: rgba(14, 18, 28, .62); display: flex; align-items: center; justify-content: center; padding: 20px; box-sizing: border-box; }
.ek-modal[hidden] { display: none; }
.ek-dlg { width: 640px; max-width: 100%; max-height: calc(100vh - 40px); overflow: auto; background: #fff; color: #1D2229; border-radius: 20px; padding: 24px; box-sizing: border-box; }
.ek-dlg__h { display: flex; align-items: flex-start; gap: 12px; }
.ek-dlg__h > div { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.ek-dlg__step { font-size: 12px; font-weight: 700; color: #6b6e75; }
.ek-dlg__h b { font-size: 22px; font-weight: 800; }
.ek-dlg__x { width: 36px; height: 36px; border: 0; border-radius: 18px; background: #EEF0F2; font-size: 22px; cursor: pointer; }
.ek-dlg__dots { display: flex; gap: 6px; margin: 12px 0 16px; }
.ek-dlg__dots i { flex: 1; height: 4px; border-radius: 2px; background: #E6E8EB; }
.ek-dlg__dots i.is-on { background: #FDCD3C; }
.ek-dlg__note { margin: 12px 0 0; font-size: 13px; color: #6b6e75; }
.ek-dlg__btns { display: flex; gap: 8px; justify-content: flex-end; margin-top: 16px; }
.ek-toysel { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.ek-toy { position: relative; border: 2px solid #E6E8EB; border-radius: 14px; background: #F7F8F9; padding: 12px 6px 10px; display: flex; flex-direction: column; align-items: center; gap: 6px;
  cursor: pointer; font-family: inherit; color: #1D2229; }
.ek-toy b { font-size: 13px; font-weight: 700; }
.ek-toy small { position: absolute; top: 6px; right: 6px; font-size: 10px; font-weight: 700; background: #FFF3C4; color: #7A5C00; border-radius: 8px; padding: 1px 6px; }
.ek-toy.is-on { border-color: #FDCD3C; background: #FFFBEA; box-shadow: 0 0 0 2px #FDCD3C inset; }
.ek-pick { position: relative; background: linear-gradient(180deg, #0E1830 0%, #1F3155 100%); border-radius: 14px; overflow: hidden; height: 440px; }
.ek-pick .ek-svg { width: 100%; height: 100%; }
.ek-free { fill: rgba(255, 255, 255, .55); stroke: rgba(255, 255, 255, .9); stroke-width: .6; cursor: pointer; }
.ek-free:hover { fill: #FDCD3C; }
.ek-free.is-sel { fill: #FDCD3C; stroke: #fff; stroke-width: 1.2; animation: ek-pulse 1s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes ek-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.5); } }
.ek-zoom--in { right: 10px; top: 10px; }
.ek-zoom--in button { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .25); color: #fff; }
.ek-leg { display: inline-block; width: 10px; height: 10px; border-radius: 5px; margin: 0 4px 0 0; vertical-align: -1px; }
.ek-leg--f { background: #9aa0a9; }
.ek-leg--s { background: #FDCD3C; margin-left: 10px; }
.ek-wishes { display: flex; flex-wrap: wrap; gap: 8px; }
.ek-wish { border: 1px solid #E6E8EB; background: #fff; border-radius: 20px; padding: 10px 14px; font: 500 14px Inter, Arial, sans-serif; color: #1D2229; cursor: pointer; }
.ek-wish:hover { background: #F1F2F4; }
/* без смены веса: в Inter 500→700 меняет ширину, и фразы перескакивают по строкам (ловушка из CLAUDE.md) */
.ek-wish.is-on, .ek-wish.is-on:hover { background: #1D2229; border-color: #1D2229; color: #fff; }
.ek-prev { margin-top: 14px; background: #F7F8F9; border-radius: 14px; padding: 12px 14px; }
.ek-prev > small { font-size: 11px; font-weight: 800; letter-spacing: .06em; color: #6b6e75; }
.ek-prev > div { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.ek-prev b { display: block; font-size: 15px; }
.ek-prev div small { font-size: 12px; color: #6b6e75; }
.ek-err { margin: 10px 0 0; color: #B4374E; font-size: 13px; font-weight: 600; }
.ek-done { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 10px 0; }
.ek-done > b { font-size: 26px; font-weight: 800; }
.ek-done p { margin: 0; font-size: 15px; color: #4b4e55; max-width: 440px; }
.ek-done .ek-dlg__btns { justify-content: center; }
.ek-done__i { animation: ek-fly .9s cubic-bezier(.2, 1.3, .4, 1); }
@keyframes ek-fly { 0% { transform: translateY(-60px) scale(.4); opacity: 0; } 100% { transform: none; opacity: 1; } }

@media (max-width: 1100px) { .ek-r { flex-basis: 440px; } .ek .ek-h1 { font-size: 42px; } }
@media (max-width: 767px) {
  .ek-wrap { flex-direction: column; align-items: stretch; padding: 32px 16px 170px; gap: 16px; }   /* снизу — место под сугроб фона (макет Elka-*-m) */
  .ek-l { display: contents; }
  .ek-kicker { order: 1; }
  .ek .ek-h1 { order: 2; font-size: 30px; margin: -8px 0 0; }
  .ek-lead { order: 3; font-size: 15px; }
  .ek-r { order: 4; flex: 0 0 auto; margin: 0 -8px; }
  .ek-goal, .ek-has, .ek-mine, .ek-btns, .ek-small { order: 5; }
  .ek-small { margin: 0; }
  .ek-goal__h b { font-size: 24px; }
  .ek-goal__m small { font-size: 11px; }
  .ek-r::after { content: "Сведите пальцы, чтобы приблизить"; position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%); background: rgba(20, 23, 28, .72);
    color: #fff; font-size: 12px; padding: 6px 12px; border-radius: 14px; white-space: nowrap; pointer-events: none; }
  .ek-zoom { right: 8px; top: 8px; }
  .ek-has { flex-wrap: wrap; }
  .ek-has .ek-btn, .ek-btns .ek-btn { flex: 1 1 100%; }
  .ek-how { padding: 24px 16px 32px; }
  .ek-how h2 { font-size: 24px; }
  .ek-how__g { grid-template-columns: 1fr; }
  .ek-tip { position: fixed; left: 12px !important; right: 12px; bottom: 76px; top: auto !important; max-width: none; padding: 14px 16px; z-index: 10450; }
  .ek-modal { padding: 0; align-items: stretch; }
  .ek-dlg { border-radius: 0; max-height: none; height: 100%; padding: 16px; display: flex; flex-direction: column; }
  .ek-dlg [data-ek-pane]:not([hidden]) { flex: 1; display: flex; flex-direction: column; }
  .ek-dlg__btns { margin-top: auto; padding-top: 12px; }
  .ek-dlg__btns .ek-btn { flex: 1; }
  .ek-toysel { grid-template-columns: repeat(2, 1fr); }
  .ek-pick { height: auto; flex: 1; min-height: 320px; }
}
@media (prefers-reduced-motion: reduce) { .ek *, .ek-modal * { animation: none !important; transition: none !important; } }

/* End */
/* /local/templates/romza_bitronic2_2.23.10/new_css/elka.css?179603994214497 */
