/* «Ухлёстов» — презентационный сайт.
   Палитра и шрифты — по визуальному брендбуку. Красный (Вагю) в интерфейсе не используется. */

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-cyrillic-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-cyrillic-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F;
}

:root {
  --graphite: #22262B;
  --salt: #F4F6F8;
  --oak: #C9A98A;
  --pine: #2E6B52;
  --neva: #4FB3F2;

  --bg: var(--graphite);
  --bg-deep: #1A1D21;
  --ink: var(--salt);
  --ink-2: rgba(244, 246, 248, 0.68);
  --ink-3: rgba(244, 246, 248, 0.46);
  --line: rgba(244, 246, 248, 0.12);
  --accent: var(--neva);

  --header-h: 72px;
  --radius-slide: 16px;
  --radius: 10px;
  --ease: cubic-bezier(0.22, 0.61, 0.21, 1);
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
}

body[data-accent="oak"] { --accent: var(--oak); }
body[data-accent="pine"] { --accent: var(--pine); }

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

html {
  -webkit-text-size-adjust: 100%;
  /* Полоса прокрутки скрыта: положение показывает счётчик слайдов */
  scrollbar-width: none;
}
html::-webkit-scrollbar { display: none; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--salt);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--salt);
  color: var(--graphite);
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
}
.skip:focus { top: 12px; }

.mono {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

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

.top {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 0 32px;
  background: linear-gradient(to bottom, rgba(34, 38, 43, 0.96), rgba(34, 38, 43, 0.82));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.top__logo { flex: none; display: block; padding: 6px 0; }
.top__logo img { width: 150px; height: auto; }

.decks { min-width: 0; flex: 1; }
.decks__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 4px;
  justify-content: flex-end;
}

.decks__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--ink-2);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.decks__link:hover { color: var(--ink); background: rgba(244, 246, 248, 0.06); }
.decks__link[aria-current="page"] { color: var(--ink); background: rgba(244, 246, 248, 0.09); }
.decks__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}
.decks__lock { width: 12px; height: 12px; opacity: 0.75; }

/* ---------- desktop: сцена ---------- */

.deck-scroll { position: relative; }

.stage {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  perspective: 1400px;
  perspective-origin: 50% 50%;
  background:
    radial-gradient(ellipse 70% 60% at var(--cx, 50%) var(--cy, 55%), rgba(244, 246, 248, 0.045), transparent 70%),
    var(--bg);
}

.stage::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: calc(var(--rail-w, 212px) + 48px);
  z-index: 4;
  background: linear-gradient(90deg, var(--bg) 0%, var(--bg) 70%, rgba(34, 38, 43, 0));
  pointer-events: none;
}

.stage__field {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}

.frag {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--fw, 168px);
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-deep);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  will-change: transform, opacity;
  backface-visibility: hidden;
  pointer-events: none;
}
.frag img { width: 100%; height: 100%; object-fit: cover; }


.frame {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--sw);
  height: var(--sh);
  border-radius: var(--radius-slide);
  overflow: hidden;
  background: var(--bg-deep);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(244, 246, 248, 0.06);
  will-change: transform, opacity, filter;
  transform-origin: 50% 50%;
  backface-visibility: hidden;
}
.frame img { width: 100%; height: 100%; object-fit: cover; }

.intro {
  position: absolute;
  left: var(--icx, 50%);
  top: var(--icy, 50%);
  z-index: 5;
  width: min(900px, 80vw);
  text-align: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  will-change: opacity, transform;
  transform: translate(-50%, -50%);
}
.intro__kicker { color: var(--ink-2); margin: 0 0 20px; }
.intro__title {
  margin: 0;
  font-size: clamp(40px, 5vw, 76px);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.intro__meta { margin: 24px 0 0; color: var(--ink-2); font-size: 16px; }

.hint {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 5;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--ink-2);
  pointer-events: none;
}
.hint__line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--salt), transparent);
  animation: hint 2.2s var(--ease) infinite;
  transform-origin: top;
}
@keyframes hint {
  0% { transform: scaleY(0); opacity: 1; }
  60% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* навигация по слайдам */

.rail {
  position: fixed;
  left: 24px;
  top: calc(var(--header-h) + 28px);
  bottom: 28px;
  z-index: 30;
  width: var(--rail-w, 212px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.rail__deck { color: var(--ink-3); margin: 0; padding-left: 12px; }
.rail__list {
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  scrollbar-width: none;
  flex: 1;
}
.rail__list::-webkit-scrollbar { display: none; }
.rail__chapter + .rail__chapter { margin-top: 2px; }

.rail__btn {
  display: flex;
  align-items: baseline;
  gap: 10px;
  width: 100%;
  padding: 7px 12px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--ink-3);
  text-align: left;
  font-size: 14px;
  line-height: 1.35;
  cursor: pointer;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.rail__btn:hover { color: var(--ink); background: rgba(244, 246, 248, 0.05); }
/* Рамка фокуса внутри кнопки: список прокручивается и обрезал бы внешнюю рамку */
.rail__btn:focus-visible { outline-offset: -2px; }
.rail__btn .mono { color: inherit; font-size: 10px; flex: none; }
.rail__chapter.is-active > .rail__btn { color: var(--ink); font-weight: 600; }

.rail__slides {
  list-style: none;
  margin: 2px 0 8px 17px;
  padding: 0 0 0 12px;
  border-left: 1px solid var(--line);
  display: none;
}
.rail__chapter.is-active .rail__slides { display: block; }
.rail__slides .rail__btn { font-size: 13px; padding: 5px 10px; position: relative; }
.rail__slides .rail__btn[aria-current="step"] { color: var(--ink); }
.rail__slides .rail__btn[aria-current="step"]::before {
  content: "";
  position: absolute;
  left: -13px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  border-radius: 2px;
  background: var(--accent);
}

.rail__foot { display: flex; align-items: center; gap: 12px; padding-left: 12px; color: var(--ink-2); }
.rail__bar { flex: 1; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.rail__bar span { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(var(--progress, 0)); }

/* ---------- reduced motion и узкий desktop: список ---------- */

.list {
  padding: calc(var(--header-h) + 32px) 32px 64px calc(var(--rail-w, 212px) + 56px);
  display: grid;
  gap: 40px;
}
.list__slide { margin: 0; scroll-margin-top: calc(var(--header-h) + 24px); }
.list__slide img {
  height: auto;
  width: 100%;
  max-width: 1400px;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-slide);
  background: var(--bg-deep);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}
.list__head { margin: 0 0 24px; }
.list__head h1 { margin: 8px 0 0; font-size: 40px; line-height: 1.1; }

/* ---------- мобильный: свайп ---------- */

.swipe-wrap {
  padding-top: var(--header-h);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.swipe-head { padding: 20px 16px 8px; }
.swipe-head h1 { margin: 6px 0 0; font-size: 26px; line-height: 1.15; font-weight: 700; }
.swipe-head .mono { color: var(--ink-2); }

.swipe {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  touch-action: pan-x pan-y;
}
.swipe::-webkit-scrollbar { display: none; }
.swipe__slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  padding: 12px 16px;
  margin: 0;
}
.swipe__slide img {
  height: auto;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  background: var(--bg-deep);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}
.swipe__caption { margin: 12px 2px 0; color: var(--ink-2); font-size: 14px; }

.swipe-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px 12px;
}
.swipe-bar__count { flex: 1; text-align: center; color: var(--ink-2); }
.swipe-bar__count b { color: var(--ink); font-weight: 500; }
.icon-btn {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(244, 246, 248, 0.04);
  cursor: pointer;
}
.icon-btn:disabled { opacity: 0.35; cursor: default; }
.icon-btn svg { width: 18px; height: 18px; }

.swipe-progress { display: flex; gap: 3px; padding: 0 16px; }
.swipe-progress span { flex: 1; height: 2px; border-radius: 2px; background: var(--line); transition: background-color 0.3s var(--ease); }
.swipe-progress span.is-done { background: rgba(244, 246, 248, 0.4); }
.swipe-progress span.is-current { background: var(--accent); }

.chapters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 16px;
  scrollbar-width: none;
}
.chapters::-webkit-scrollbar { display: none; }
.chip {
  flex: none;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: none;
  color: var(--ink-2);
  font-size: 13px;
  cursor: pointer;
}
.chip[aria-current="true"] { color: var(--ink); border-color: var(--accent); background: rgba(244, 246, 248, 0.06); }

/* ---------- закрытые разделы ---------- */

.gate {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: calc(var(--header-h) + 32px) 16px 48px;
  /* «Фонарик»: зелёное свечение (Хвоя) следует за курсором, координаты задаёт JS */
  background:
    radial-gradient(circle 560px at var(--gx, 50%) var(--gy, 40%), rgba(46, 107, 82, 0.26), transparent 72%),
    var(--bg);
}
.gate__card {
  position: relative;
  width: min(440px, 100%);
  padding: 44px 40px 40px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(26, 29, 33, 0.8);
  overflow: hidden;
}
.gate__orbit {
  position: absolute;
  right: -120px;
  top: -140px;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(244, 246, 248, 0.14);
  border-radius: 50%;
  pointer-events: none;
}
.gate__orbit::after {
  content: "";
  position: absolute;
  left: 38px;
  bottom: 52px;
  width: 26px;
  height: 1px;
  background: rgba(244, 246, 248, 0.4);
  transform: rotate(-50deg);
}
.gate__sign { width: 44px; height: auto; margin-bottom: 28px; }
.gate__kicker { color: var(--ink-2); margin: 0 0 10px; }
.gate h1 { margin: 0 0 12px; font-size: 28px; line-height: 1.15; font-weight: 700; }
.gate p { margin: 0 0 28px; color: var(--ink-2); }
.gate__contact a { color: var(--ink); text-decoration-color: var(--salt); text-underline-offset: 3px; }
.gate__contact a:hover { color: var(--salt); }
.gate label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600; }
.gate input {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(244, 246, 248, 0.24);
  border-radius: var(--radius);
  background: var(--bg-deep);
  color: var(--ink);
  font: inherit;
}
.gate input:focus-visible { outline: 2px solid var(--salt); outline-offset: 2px; border-color: transparent; }
.gate input[aria-invalid="true"] { border-color: var(--salt); }
.gate__error { min-height: 24px; margin: 10px 0 0; font-size: 14px; color: var(--ink); }
.gate__error:empty { min-height: 0; margin: 0; }
.btn {
  width: 100%;
  height: 52px;
  margin-top: 20px;
  border: 0;
  border-radius: var(--radius);
  background: var(--salt);
  color: var(--graphite);
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s var(--ease);
}
.btn:hover { opacity: 0.9; }
.btn:disabled { opacity: 0.5; cursor: progress; }
.btn--ghost { background: none; color: var(--ink-2); border: 1px solid var(--line); height: 40px; width: auto; padding: 0 16px; margin: 0; font-size: 13px; }

.logout { position: fixed; right: 88px; bottom: 24px; z-index: 30; }

.noscript { padding: calc(var(--header-h) + 40px) 32px; }

/* ---------- адаптив ---------- */

@media (max-width: 1180px) {
  .decks__link { padding: 10px 10px; font-size: 13px; }
  .decks__link[aria-current="page"]::after { left: 10px; right: 10px; }
  .top { gap: 20px; padding: 0 20px; }
  .top__logo img { width: 128px; }
}

@media (max-width: 819px) {
  :root { --header-h: 108px; }
  .top {
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 6px;
    padding: 8px 0 4px;
  }
  .top__logo { padding: 4px 16px; align-self: flex-start; }
  .top__logo img { width: 124px; }
  .decks__list {
    justify-content: flex-start;
    overflow-x: auto;
    padding: 0 12px 2px;
    scrollbar-width: none;
  }
  .decks__list::-webkit-scrollbar { display: none; }
  .decks__link { padding: 10px 12px; }
  .gate__card { padding: 36px 24px 28px; }
  .logout { right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* «Орбита» вокруг шара: одна дуга, один штрих, в цвет контура (Нева, Дуб или Хвоя) */
.orbit {
  position: absolute;
  left: 0;
  top: 0;
  overflow: visible;
  fill: none;
  stroke: var(--accent);
  stroke-opacity: 0.95;
  stroke-width: 1.5;
  stroke-linecap: round;
  pointer-events: none;
  will-change: transform, opacity;
}
.orbit path { vector-effect: non-scaling-stroke; }


/* ---------- просмотр слайда с масштабированием ---------- */

.swipe__slide img { cursor: zoom-in; }
.swipe__caption { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.swipe__zoom { color: var(--ink-3); font-size: 10px; white-space: nowrap; }

.has-viewer, .has-viewer body { overflow: hidden; }

.viewer {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  flex-direction: column;
  background: #16181C;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}
.viewer__top, .viewer__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
}
.viewer__top { justify-content: space-between; }
.viewer__count { color: var(--ink-2); }
.viewer__bar { justify-content: center; }
.viewer__hint { flex: 1; text-align: center; color: var(--ink-3); font-size: 12px; line-height: 1.3; }
.viewer.is-zoomed .viewer__hint { visibility: hidden; }
.viewer__stage {
  position: relative;
  flex: 1;
  min-height: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  touch-action: none;
  cursor: grab;
}
.viewer__stage:active { cursor: grabbing; }
.viewer__img {
  width: min(100%, calc((100vh - 150px) * 16 / 9));
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  transform-origin: 50% 50%;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}
.viewer__img.is-animating { transition: transform 0.28s var(--ease); }
@media (orientation: landscape) and (max-height: 500px) {
  .viewer__top, .viewer__bar { padding: 6px 12px; }
  .viewer__img { width: min(100%, calc((100vh - 110px) * 16 / 9)); }
}

/* ---------- кнопка музыки ---------- */

.sound {
  flex: none;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(244, 246, 248, 0.04);
  cursor: pointer;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.sound:hover { background: rgba(244, 246, 248, 0.08); }
.sound.is-on { border-color: var(--accent); }
.sound__bars { display: flex; align-items: flex-end; gap: 2px; height: 14px; }
.sound__bars i {
  display: block;
  width: 2px;
  height: 3px;
  border-radius: 1px;
  background: var(--ink-2);
}
.sound.is-on .sound__bars i { background: var(--ink); animation: sound-bar 1.1s ease-in-out infinite; }
.sound.is-on .sound__bars i:nth-child(2) { animation-delay: -0.3s; }
.sound.is-on .sound__bars i:nth-child(3) { animation-delay: -0.6s; }
.sound.is-on .sound__bars i:nth-child(4) { animation-delay: -0.9s; }
@keyframes sound-bar {
  0%, 100% { height: 3px; }
  50% { height: 14px; }
}
@media (max-width: 819px) {
  .sound { position: absolute; right: 16px; top: 10px; width: 40px; height: 40px; }
}

/* ---------- кнопки связи ---------- */

.contact {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 35;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact__btn {
  position: relative;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(34, 38, 43, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.contact__btn:hover { border-color: var(--accent); background: rgba(44, 49, 55, 0.95); transform: translateX(-2px); }
.contact__btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.contact__max { font-family: var(--mono); font-weight: 500; font-size: 10px; letter-spacing: 0.08em; }
.contact__label {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--bg-deep);
  color: var(--ink);
  font-size: 13px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}
.contact__btn:hover .contact__label,
.contact__btn:focus-visible .contact__label { opacity: 1; transform: translateY(-50%); }

/* Телефон: нижняя панель из трёх кнопок */
@media (max-width: 819px) {
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .contact {
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: row;
    gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(26, 29, 33, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
  }
  .contact__btn {
    flex: 1;
    width: auto;
    height: 46px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 12px;
    box-shadow: none;
    background: rgba(244, 246, 248, 0.05);
  }
  .contact__btn:hover { transform: none; }
  .contact__label { position: static; opacity: 1; transform: none; padding: 0; background: none; font-size: 14px; font-weight: 500; }
  .contact__btn .contact__max + .contact__label { display: none; }
  .contact__max { font-size: 13px; }
  .logout { right: 16px; bottom: calc(80px + env(safe-area-inset-bottom)); }
}

.has-viewer .contact { display: none; }
