/*
Theme Name: TolyaShorts
Theme URI: https://tolya.me
Author: TolyaShorts
Description: Официальный сайт канала TolyaShorts — тёмный Apple-стиль с iPhone-концептом.
Version: 12.9
 *
 * © 2024–2026 TolyaShorts / Tolya Media. All rights reserved.
 * Author: janinjo@gmail.com
 * Site: https://tolya.me
 *
 * Этот код является объектом авторского права и защищён законодательством РФ
 * (ФЗ №230 «Об авторском праве»), а также международными конвенциями.
 * Несанкционированное копирование, воспроизведение, распространение или
 * создание производных работ без письменного разрешения автора запрещено.
 *
 * This code is protected by copyright law. Unauthorized copying, reproduction,
 * distribution or creation of derivative works is strictly prohibited.
 * Unique fingerprint: TLY-2026-4F8A2B-CE91D3
Text Domain: tolyashorts
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

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

:root {
  --sf: -apple-system, 'SF Pro Display', 'Inter', sans-serif;
  --ios-blue:   #007AFF;
  --ios-red:    #FF3B30;
  --ios-green:  #30d158;
  --ios-orange: #FF9F0A;
}

html, body {
  width: 100%; min-height: 100vh;
  font-family: var(--sf);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  background: #000;
}

/* ===== BG ===== */
.apple-bg {
  position: fixed; inset: 0; z-index: 0; overflow: hidden;
  background: radial-gradient(ellipse 140% 90% at 50% -5%, #5a5fa8 0%, #32366a 55%, #22264e 100%);
}
.apple-bg::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 18% 38%, rgba(120,85,240,.42) 0%, transparent 60%),
    radial-gradient(ellipse 50% 42% at 82% 28%, rgba(0,100,240,.36) 0%, transparent 55%),
    radial-gradient(ellipse 42% 58% at 50% 102%, rgba(0,65,175,.38) 0%, transparent 55%);
}
.apple-bg::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 32px 32px;
}
.orb {
  position: absolute; border-radius: 50%;
  filter: blur(90px); opacity: .18;
  animation: orbFloat 14s ease-in-out infinite;
}
.orb1 { width:500px;height:500px;background:#3b5bdb;top:-180px;left:-80px; }
.orb2 { width:380px;height:380px;background:#7048e8;top:32%;right:-120px;animation-delay:-5s; }
.orb3 { width:330px;height:330px;background:#1864ab;bottom:-80px;left:28%;animation-delay:-9s; }
@keyframes orbFloat {
  0%,100%{transform:translate(0,0) scale(1);}
  33%{transform:translate(28px,-36px) scale(1.04);}
  66%{transform:translate(-18px,26px) scale(.97);}
}
.bg-vignette {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse 85% 85% at 50% 50%, transparent 30%, rgba(20,22,50,.55) 100%);
}
.bg-vignette::after {
  content: ''; position: fixed; inset: 0;
  background: radial-gradient(ellipse 55% 70% at 50% 50%, transparent 0%, rgba(0,0,10,.7) 100%);
}

/* ===== PAGE ===== */
.page {
  position: relative; z-index: 1; min-height: 100vh;
  display: flex; flex-direction: column; align-items: center;
  padding: 24px 24px 80px;
}

/* ===== NAV — фиксированный вверху, стекло ===== */
.nav-row {
  position: fixed;
  top: 14px; left: 0; right: 0;
  z-index: 200;
  display: flex; align-items: center; justify-content: center;
  gap: 10px; flex-wrap: wrap;
  padding: 0 16px;
  pointer-events: none; /* клики только по пилюлям */
  opacity: 0; animation: fadeDown .6s ease .2s forwards;
}
.nav-row > * { pointer-events: all; } /* пилюли кликабельны */
@keyframes fadeDown { to { opacity:1; } }

/* Общий стиль пилюли */
.nav-pill {
  display: flex; align-items: center; gap: 0;
  flex-wrap: nowrap; /* никогда не переносить внутри пилюли */
  background: rgba(255,255,255,.09);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border: .5px solid rgba(255,255,255,.18); border-radius: 100px;
  padding: 5px 6px;
  box-shadow: 0 8px 32px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.15);
  white-space: nowrap;
}

/* Пилюля 1 — лого + ссылки */
.nav-logo { font-size:14px;font-weight:700;color:#fff;padding:6px 14px;letter-spacing:-.3px; }
.nav-logo span { color:rgba(255,255,255,.38);font-weight:400; }
.nav-link {
  font-size:14px;font-weight:500;color:rgba(255,255,255,.55);
  padding:6px 12px;border-radius:100px;cursor:pointer;
  transition:all .2s;text-decoration:none;border:none;background:none;
  white-space:nowrap;
}
.nav-link:hover,.nav-link.active { color:#fff;background:rgba(255,255,255,.1); }

/* Пилюля 2 — языки (те же стили что nav-pill) */
.nav-langs {
  display: flex; align-items: center; gap: 0;
  background: rgba(255,255,255,.09);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border: .5px solid rgba(255,255,255,.18); border-radius: 100px;
  padding: 5px 6px;
  box-shadow: 0 8px 32px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.15);
  white-space: nowrap;
}
.lang-btn {
  font-size:13px;font-weight:600;color:rgba(255,255,255,.35);
  padding:6px 10px;border-radius:100px;cursor:pointer;border:none;background:none;
  transition:all .18s;letter-spacing:.3px;
}
.lang-btn:hover { color:#fff;background:rgba(255,255,255,.08); }
.lang-btn.active { color:#fff;background:rgba(255,255,255,.13); }

/* Мобильный: языки на второй строке, nav фиксирован */
@media (max-width: 600px) {
  .nav-row { gap: 6px; top: 10px; padding: 0 10px; }
  .nav-logo { font-size:11px;padding:4px 8px; }
  .nav-link { font-size:10px;padding:4px 7px; }
  .lang-btn { font-size:10px;padding:4px 6px; }
  .nav-pill { padding:3px 4px; }
  .nav-langs { padding:3px 4px; }
  /* Место под двухстрочное меню на мобильном */
  .page { padding-top: 90px; }
}

/* ===== DESKTOP TWO-COLUMN LAYOUT ===== */
@media (min-width: 860px) {
  .page { align-items: center; padding-top: 72px; } /* nav top:14px + height~42px + gap~16px */

  .desktop-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
  }
  .desktop-row .hero {
    flex: 1; min-width: 0;
    display: flex; flex-direction: column; align-items: flex-start;
    text-align: left;
  }
  /* Строка: текст слева + часы справа */
  /* Eyebrow над desktop-row — без большого отступа снизу */
  .hero-eyebrow-wrap {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto 2px;
    text-align: center;
  }
  .hero-eyebrow-wrap .hero-eyebrow {
    display: inline-block;
    text-align: center;
  }

  .hero-top-row {
    display: flex;
    align-items: center;
    gap: 28px;
    width: 100%;
    margin-bottom: 8px;
  }
  .hero-top-text {
    flex: 1; min-width: 0;
    display: flex; flex-direction: column; align-items: flex-start;
    text-align: left;
  }
  .hero-eyebrow-wrap { display: block; }
  .hero-top-text .hero-eyebrow { display: none; }
  .hero-top-text .hero-title   { text-align:left; align-self:flex-start; margin-bottom:60px; }
  .hero-top-text .hero-sub     { text-align:left; align-self:flex-start; margin-bottom:0; }
  /* Часы внутри hero */
  .hero .watch-wrap {
    position: static !important;
    transform: none !important;
    flex-shrink: 0;
    margin-top: 52px; /* +20px */
    margin-bottom: 20px; /* отступ снизу чтобы не залезать на кнопки */
    opacity: 0;
    animation: fadeUp .8s cubic-bezier(.22,1,.36,1) .6s forwards;
  }
  .desktop-row .iphone-wrap { flex-shrink: 0; }
  .hero {
    flex: 1; min-width: 0;
    text-align: left;
    align-items: flex-start;
    padding-top: 0;
    margin-bottom: 0;
  }
  .hero-watch-row { align-items: flex-start; }
  .watch-row-main { justify-content: flex-start; }
  .watch-row-ig   { justify-content: flex-start; }
  .iphone-wrap { flex-shrink: 0; }

  /* Статистика и поддержка — в левой колонке */
  .stats {
    justify-content: flex-start;
    margin-top: 20px;
    animation: none; opacity: 1;
  }
  .support-card {
    margin-top: 20px;
    /* На десктопе — ширина по колонке */
    display: flex;
    width: 100%;
    box-sizing: border-box;
  }
  .visitor { text-align: center; width: 100%; max-width: 960px; }
}

/* ===== HERO ===== */
.hero { display:flex;flex-direction:column;align-items:center;text-align:center;padding-top:40px;margin-bottom:44px;width:100%;max-width:480px; }
.hero-eyebrow {
  font-size:11px;font-weight:600;letter-spacing:2.5px;text-transform:uppercase;
  color:rgba(255,255,255,.35);margin-bottom:18px;
  opacity:0;animation:fadeUp .7s ease .4s forwards;
}
.hero-title {
  font-size:clamp(34px,6vw,50px);font-weight:800;letter-spacing:-2px;line-height:1.05;
  color:#fff;margin-bottom:14px;opacity:0;animation:fadeUp .7s ease .55s forwards;
}
.hero-title .accent {
  background:linear-gradient(90deg,#5e9fff,#a78bfa,#f472b6);
  -webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;
}
.hero-sub {
  font-size:15px;font-weight:400;color:rgba(255,255,255,.42);max-width:370px;
  line-height:1.65;margin-bottom:26px;opacity:0;animation:fadeUp .7s ease .7s forwards;
}
.hero-watch-row {
  display:flex; flex-direction:column; align-items:center; gap:10px;
  opacity:0; animation:fadeUp .7s ease .85s forwards;
  width:100%;
}
.watch-row-main {
  display:flex; align-items:center; justify-content:center; gap:10px; flex-wrap:wrap;
}
.watch-row-ig {
  display:flex; justify-content:center;
  width:100%;
}
.hero-watch-label { display:none; } /* убираем "Смотреть:" */
.btn-platform {
  display:flex;align-items:center;gap:6px;font-size:13px;font-weight:600;
  padding:9px 16px;border-radius:100px;border:none;cursor:pointer;
  transition:transform .15s,opacity .15s;white-space:nowrap;
}
.btn-platform:hover { opacity:.9;transform:scale(.98); }
.btn-yt { background:#FF0000;color:#fff; }
.btn-tt { background:#000;color:#fff;border:.5px solid rgba(255,255,255,.22); }
.btn-tg { background:#229ED9;color:#fff; }
.btn-ig { background:linear-gradient(45deg,#f09433,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888);color:#fff; }
@keyframes fadeUp {
  from{opacity:0;transform:translateY(14px);}
  to{opacity:1;transform:translateY(0);}
}

/* ===== APPLE WATCH ULTRA ===== */
.watch-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: phoneReveal 1s cubic-bezier(.22,1,.36,1) .4s forwards;
}
/* На мобильном — скрываем */
@media (max-width: 859px) {
  .watch-wrap { display: none; margin-bottom: 32px; } /* отступ под ремешком */
  .hero-eyebrow-wrap { display: none; }
  .hero-top-text .hero-eyebrow { display: block; }
  /* Мобильные кнопки — сетка 2 столбика */
  .hero-watch-row { align-items:center; width:100%; margin-top: 8px; }
  .watch-row-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
    justify-items: stretch;
  }
  .watch-row-main .btn-platform { justify-content:center; width:100%; }
  .watch-row-ig { width:100%; }
  .watch-row-ig .btn-platform { width:100%; justify-content:center; }
}

/* ── Apple Watch Ultra — корпус ── */
.watch-outer {
  position: relative;
  display: inline-block; /* как iPhone — не растягивается */
  /* Внутренняя рамка — равномерная, верх/низ на 1px больше для компенсации */
  padding: 4px 3px; /* бока уменьшены на ~30% (5→3px) */
  /* Алюминиевый корпус */
  background: linear-gradient(155deg,
    #3a3a3c 0%, #2c2c2e 15%,
    #3a3a3c 30%, #242426 45%,
    #323234 60%, #2a2a2c 75%,
    #404042 90%, #303032 100%);
  border-radius: 46px;
  box-shadow:
    /* Внутренняя обводка — 1px */
    0 0 0 1px #505052,
    0 0 0 2px #404042,
    0 0 0 3px #2a2a2c,
    0 0 0 4px #1a1a1c,
    /* Тень */
    0 35px 90px rgba(0,0,0,.9),
    0 15px 40px rgba(0,0,0,.5),
    inset 0 2px 0 rgba(255,255,255,.12),
    inset 0 -2px 0 rgba(0,0,0,.5),
    inset 0 0 10px 2px rgba(0,0,0,.4);
}
/* Рамка = padding на корпусе, как у iPhone */
/* watch-outer уже имеет padding, переопределяем его */
.watch-outer::after { display:none; }

/* ── Цифровая корона справа ── */
.watch-crown {
  position: absolute;
  right: -13px; /* вплотную к внешней рамке */
  top: 55px;
  width: 9px;
  height: 40px;
  background: linear-gradient(90deg,#303032 0%,#484848 30%,#383838 60%,#282828 100%);
  border-radius: 0 5px 5px 0;
  cursor: ns-resize;
  z-index: 10;
  box-shadow: 1px 0 3px rgba(0,0,0,.4), inset -1px 0 0 rgba(0,0,0,.2), inset 0 1px 0 rgba(255,255,255,.4);
}
.watch-crown::before {
  content:''; position:absolute; inset:3px 1px;
  background: repeating-linear-gradient(
    180deg,
    rgba(255,255,255,.5) 0px, rgba(255,255,255,.5) 1.5px,
    rgba(0,0,0,.15) 1.5px, rgba(0,0,0,.15) 2px,
    transparent 2px, transparent 4px
  );
  border-radius:3px;
}
/* ::after убран — больше нет серой точки */

/* ── Кнопка Action — скрыта (нет на правой стороне Ultra) ── */
.watch-btn { display: none; }

/* ── Экран ── */
.watch-screen {
  width: 158px;
  border-radius: 42px; /* 46px корпус − 4px padding = 42px → равномерные углы */
  overflow: hidden;
  background: #000;
  position: relative;
}
.watch-face {
  width: 100%;
  background: #06071c;
  height: 192px; /* фиксированная высота — не растягивается */
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.watch-face::before {
  content:''; position:absolute; inset:0; z-index:1;
  background:
    radial-gradient(ellipse 120% 70% at 50% 0%, rgba(35,55,170,.75) 0%,transparent 60%),
    radial-gradient(ellipse at 85% 85%, rgba(75,18,155,.45) 0%,transparent 50%),
    #06071c;
}
/* Блик — на фоне (z-index:0), не перекрывает контент */
.watch-face::after {
  content:''; position:absolute; inset:0; z-index:0;
  background: linear-gradient(
    160deg,
    rgba(255,255,255,.06) 0%,
    rgba(255,255,255,.02) 33%,
    transparent 34%
  );
  pointer-events: none;
  border-radius: inherit;
}
.watch-face {
  user-select:none; -webkit-user-select:none;
}
/* Весь контент поверх блика */
.wf-header, .wf-scroll-wrap { position: relative; z-index: 2; }

/* ── Текст на экране ── */
/* Фиксированный хедер часов */
.wf-header {
  position: relative; z-index: 4;
  background: rgba(6,7,28,.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: .5px solid rgba(255,255,255,.08);
}
/* Строка канала — по центру, без времени */
.wf-channel-row {
  display:flex; align-items:center; justify-content:center;
  padding:8px 10px 3px;
}
.wf-channel {
  font-size:9px; font-weight:600; color:rgba(255,255,255,.45);
  letter-spacing:.3px;
  user-select:none; -webkit-user-select:none;
}
.wf-title { user-select:none; -webkit-user-select:none; }

/* Сердечко перед Поддержка */
.wf-heart {
  display: inline-block;
  font-size: 10px; line-height: 1;
  animation: wfHeartbeat 1.2s ease-in-out infinite;
  transform-origin: center;
  vertical-align: middle;
}
@keyframes wfHeartbeat {
  0%,100% { transform:scale(1);   opacity:.7; }
  14%     { transform:scale(1.3); opacity:1;  }
  28%     { transform:scale(1);   opacity:.7; }
  42%     { transform:scale(1.2); opacity:1;  }
  70%     { transform:scale(1);   opacity:.7; }
}
.wf-title {
  font-size:9px; font-weight:700; color:rgba(255,255,255,.38);
  text-transform:uppercase; letter-spacing:1.2px;
  padding:0 10px 5px; text-align:center;
}
/* Обёртка скролла */
.wf-scroll-wrap {
  position: relative;
  flex: 1;
  overflow: hidden;
}
/* Fade-маски через mask-image на контейнере — не перекрывают контент */
.wf-scroll-wrap {
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    black 14%,
    black 86%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    black 14%,
    black 86%,
    transparent 100%
  );
}
/* Blur-элементы скрываем — маска уже на враппере */
.wf-blur-top, .wf-blur-bot { display: none; }
.wf-list {
  display:flex; flex-direction:column; gap:2px;
  padding:4px 8px 4px;
  will-change:transform;
}
.wf-item {
  display:flex; align-items:center; gap:7px;
  padding:5px 7px; border-radius:10px; flex-shrink:0;
  background:rgba(255,255,255,.07);
  border:.5px solid rgba(255,255,255,.1);
}
.wf-item.top { background:rgba(255,215,0,.1); border-color:rgba(255,215,0,.25); }
.wf-item.new { background:rgba(10,132,255,.15); border-color:rgba(10,132,255,.3); }
.wf-icon   { font-size:12px; flex-shrink:0; }
.wf-name-wrap { flex:1; min-width:0; overflow:hidden; position:relative; }
.wf-name   { font-size:10px; font-weight:600; color:#fff; white-space:nowrap; display:inline-block; }
.wf-amount { font-size:9px; font-weight:700; color:rgba(255,215,0,.9); white-space:nowrap; flex-shrink:0; }
/* Бегущая строка */
.marquee-wrap .wf-name {
  animation: wfMarquee 7s ease-in-out 1s infinite;
}
@keyframes wfMarquee {
  0%,15%  { transform:translateX(0); }
  70%,85% { transform:translateX(calc(-1 * var(--marquee-dist))); }
  100%    { transform:translateX(0); }
}

/* ── Ремешок — силиконовые сегменты (дизайн автора) ── */
.strap-segment {
  border-radius: 4px;
  margin: 0;
  flex-shrink: 0;
  background-color: #e86c13;
  position: relative;
  height: 20px;
  background-image: linear-gradient(to bottom, #f7954d 0%, #b84a0a 50%, #f7954d 100%);
  border: none;
  border-left: 4px solid #9e4709;
  border-right: 4px solid #e86c13;
  box-sizing: border-box;
}
.strap-segment::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 4px;
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,.05) 0px, rgba(255,255,255,.05) 1px, transparent 1px, transparent 3px),
    repeating-linear-gradient(-45deg, rgba(0,0,0,.05) 0px, rgba(0,0,0,.05) 1px, transparent 1px, transparent 3px);
  pointer-events: none;
  mix-blend-mode: overlay;
}

/* Верхний ремешок */
.strap-top-container {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  z-index: 0;
  margin-bottom: -12px;
}
.strap-top-container .strap-segment:nth-child(1) { border-top-left-radius: 8px; border-top-right-radius: 8px; }
.strap-top-container .strap-segment:nth-child(2) { border-top-left-radius: 6px; border-top-right-radius: 6px; }
.strap-top-container .strap-segment:last-child {
  -webkit-mask-image: linear-gradient(to top, black 40%, transparent 90%);
  mask-image: linear-gradient(to top, black 40%, transparent 90%);
}
.top-taper-1 { width: 120px; }
.top-taper-2 { width: 114px; }
.top-taper-3 { width: 108px; }

/* Нижний ремешок */
.strap-bottom-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 0;
  margin-top: -12px;
}
.strap-bottom-container .strap-segment:nth-child(1) { border-bottom-left-radius: 8px; border-bottom-right-radius: 8px; }
.strap-bottom-container .strap-segment:nth-child(2) { border-bottom-left-radius: 6px; border-bottom-right-radius: 6px; }
.strap-bottom-container .strap-segment:last-child {
  -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 90%);
  mask-image: linear-gradient(to bottom, black 40%, transparent 90%);
}
.bot-taper-1 { width: 120px; }
.bot-taper-2 { width: 114px; }
.bot-taper-3 { width: 108px; }

/* Корпус поверх ремешка */
.watch-outer { z-index: 1; }



/* ===== iPHONE ===== */
.iphone-wrap {
  position:relative;opacity:0;
  animation:phoneReveal 1s cubic-bezier(.22,1,.36,1) .3s forwards;
}
@keyframes phoneReveal {
  from{opacity:0;transform:translateY(38px) scale(.94);}
  to{opacity:1;transform:translateY(0) scale(1);}
}
.iphone-reflection {
  position:absolute;bottom:-48px;left:50%;transform:translateX(-50%);
  width:190px;height:48px;
  background:radial-gradient(ellipse,rgba(200,100,40,.28) 0%,transparent 70%);
  filter:blur(14px);
}

/* Корпус — Desert Titanium Orange */
.iphone-outer {
  position:relative;
  display:inline-block; /* не растягивается шире телефона */
  background:linear-gradient(160deg,#f0823a 0%,#c85e22 18%,#e8782e 32%,#b85220 48%,#d46828 62%,#f08838 78%,#c05a20 100%);
  border-radius:50px;padding:4px;
  box-shadow:
    0 0 0 .5px rgba(255,255,255,.15),0 0 0 1px rgba(0,0,0,.5),
    0 40px 100px rgba(0,0,0,.92),0 20px 50px rgba(180,80,20,.28),
    inset 0 1.5px 0 rgba(255,210,140,.5),inset 0 -1px 0 rgba(0,0,0,.4),
    inset 1px 0 0 rgba(255,180,80,.2),inset -1px 0 0 rgba(0,0,0,.2);
}
.iphone-outer::before {
  content:'';position:absolute;inset:0;border-radius:50px;
  background:linear-gradient(105deg,rgba(255,200,100,.3) 0%,rgba(255,160,60,.1) 15%,transparent 35%,transparent 65%,rgba(100,40,0,.15) 85%,rgba(60,20,0,.25) 100%);
  pointer-events:none;
}
/* Боковые кнопки — overflow:visible но без влияния на ширину блока */
.iphone-outer { overflow:visible; }
.btn-vol-up,.btn-vol-d1,.btn-vol-d2 {
  position:absolute;left:-4px;width:3px;
  background:linear-gradient(90deg,#a04c18,#d86820,#a04c18);
  border-radius:2px 0 0 2px;box-shadow:inset 0 1px 0 rgba(255,180,80,.4);
  pointer-events:none;
}
.btn-vol-up{top:110px;height:30px;}.btn-vol-d1{top:158px;height:26px;}.btn-vol-d2{top:194px;height:26px;}
.btn-power {
  position:absolute;right:-4px;top:148px;width:3px;height:58px;
  background:linear-gradient(90deg,#d86820,#a04c18,#d86820);
  border-radius:0 2px 2px 0;box-shadow:inset 0 1px 0 rgba(255,180,80,.3);
  pointer-events:all;
  cursor:pointer;
  transition:background .15s;
  z-index:50; /* поверх всего */
}
/* Большая невидимая область нажатия 40px */
.btn-power::after {
  content:'';
  position:absolute;
  top:-10px;bottom:-10px;
  left:-20px;right:-16px;
  cursor:pointer;
}
.btn-power:hover { background:linear-gradient(90deg,#f09030,#c07020,#f09030); }
.btn-power:active { background:linear-gradient(90deg,#a04c18,#803810,#a04c18); }

/* Фото Толи — кликабельно */
.ip-av-ring { cursor:pointer; transition:transform .2s,box-shadow .2s; }
.ip-av-ring:hover { transform:scale(1.06); box-shadow:0 8px 28px rgba(10,132,255,.5); }

/* Микровибрация — только крошечный translateX, как телефон на столе */
@keyframes phoneMicro {
  0%   { transform: var(--phone-drift) translateX(0px); }
  12%  { transform: var(--phone-drift) translateX(-1px); }
  25%  { transform: var(--phone-drift) translateX(1px); }
  37%  { transform: var(--phone-drift) translateX(-1px); }
  50%  { transform: var(--phone-drift) translateX(1px); }
  62%  { transform: var(--phone-drift) translateX(-1px); }
  75%  { transform: var(--phone-drift) translateX(1px); }
  87%  { transform: var(--phone-drift) translateX(-1px); }
  100% { transform: var(--phone-drift) translateX(0px); }
}
.iphone-outer {
  --phone-drift: translateX(0px) rotate(0deg);
  transition: --phone-drift 0s;
}
.iphone-outer.vibrating {
  animation: phoneMicro 0.08s linear infinite;
}
/* Наклон после вибрации */
.iphone-outer.tilted {
  transform: rotate(3deg);
  transition: transform .6s cubic-bezier(.22,1,.36,1);
}
.iphone-outer.tilted-reset {
  transform: rotate(0deg);
  transition: transform .6s cubic-bezier(.22,1,.36,1);
}
.iphone { width:272px;background:#000;border-radius:46px;position:relative;overflow:hidden; }

/* ===== SCREEN ===== */
.ip-screen { border-radius:46px;overflow:hidden;position:relative;background:#050510;min-height:510px; }
.ip-wallpaper {
  position:absolute;inset:0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%,rgba(35,55,170,.92) 0%,transparent 58%),
    radial-gradient(ellipse 60% 50% at 18% 62%,rgba(75,18,155,.58) 0%,transparent 48%),
    radial-gradient(ellipse 50% 42% at 82% 72%,rgba(18,55,155,.48) 0%,transparent 48%),
    linear-gradient(180deg,#06071c 0%,#020208 100%);
}

/* Dynamic Island */
.ip-di {
  position:absolute;top:10px;left:50%;transform:translateX(-50%);
  width:106px;height:30px;background:#000;border-radius:20px;z-index:20;
  display:flex;align-items:center;justify-content:space-between;padding:0 14px;
  box-shadow:0 0 0 1px rgba(255,255,255,.04);
}
.di-cam { width:10px;height:10px;background:#111;border-radius:50%;border:1.5px solid #1a1a1a; }
.di-light {
  width:6px;height:6px;background:#30d158;border-radius:50%;
  box-shadow:0 0 8px #30d158;animation:diPulse 2s ease-in-out infinite;
}
@keyframes diPulse{0%,100%{opacity:1;}50%{opacity:.32;}}

/* Status bar */
.ip-status {
  display:flex;justify-content:space-between;align-items:center;
  padding:14px 0 4px;position:relative;z-index:10;
}
.ip-time { font-size:15px;font-weight:600;color:#fff;letter-spacing:-.3px;white-space:nowrap;padding-left:30px; }
.ip-icons { display:flex;align-items:center;gap:5px;padding-right:30px; }
.ip-signal { display:flex;align-items:flex-end;gap:1.5px;height:11px; }
.ip-signal span { width:3px;background:rgba(255,255,255,.85);border-radius:1px;transition:opacity .35s ease; }
.ip-signal span:nth-child(1){height:4px;}
.ip-signal span:nth-child(2){height:6px;}
.ip-signal span:nth-child(3){height:8px;}
.ip-signal span:nth-child(4){height:11px;}
.ip-signal span.dim { opacity:.15; }
.ip-batt { display:flex;align-items:center; }
.ip-batt-icon {
  width:22px;height:11px;border:1.5px solid rgba(255,255,255,.52);
  border-radius:3px;position:relative;display:flex;align-items:center;
}
.ip-batt-icon::after {
  content:'';position:absolute;right:-4px;top:50%;transform:translateY(-50%);
  width:2px;height:5px;background:rgba(255,255,255,.38);border-radius:0 1px 1px 0;
}
.ip-batt-fill { position:absolute;left:2px;top:2px;bottom:2px;width:48%;background:#FFD60A;border-radius:1px; }

/* Avatar */
.ip-hero-screen {
  display:flex;flex-direction:column;align-items:center;
  padding:10px 0 12px;position:relative;z-index:5;
}
.ip-av-ring {
  width:70px;height:70px;border-radius:50%;
  background:linear-gradient(135deg,#0a84ff 0%,#5e5ce6 50%,#30d158 100%);
  padding:2.5px;display:flex;align-items:center;justify-content:center;
  margin-bottom:7px;box-shadow:0 8px 22px rgba(10,132,255,.38);
}
.ip-av-inner {
  width:100%;height:100%;border-radius:50%;background:#0d0d1a;
  display:flex;align-items:center;justify-content:center;font-size:30px;border:2.5px solid #000;
  overflow:hidden;
}
.ip-av-inner img { width:100%;height:100%;object-fit:cover; }
.ip-av-name { font-size:16px;font-weight:600;color:#fff;margin-bottom:2px;letter-spacing:-.3px; }
.ip-av-sub { font-size:11px;color:rgba(255,255,255,.42); }

/* Notifications */
.ip-notifs { padding:0 11px;display:flex;flex-direction:column;gap:7px;position:relative;z-index:5; }
.ip-notif {
  background:rgba(255,255,255,.11);
  backdrop-filter:blur(40px) saturate(200%);-webkit-backdrop-filter:blur(40px) saturate(200%);
  border-radius:16px;border:.5px solid rgba(255,255,255,.2);padding:10px 12px;
  box-shadow:0 4px 18px rgba(0,0,0,.3),inset 0 1px 0 rgba(255,255,255,.22),inset 0 -1px 0 rgba(0,0,0,.1);
  position:relative;overflow:hidden;
  opacity:0;transform:translateY(12px) scale(.97);
  transition:transform .15s ease,box-shadow .15s ease;
}
.ip-notif::before {
  content:'';position:absolute;left:0;top:13px;bottom:13px;width:3px;border-radius:0 2px 2px 0;
}
.ip-notif.yt::before{background:#FF3B30;}
.ip-notif.tt::before{background:#fff;}
.ip-notif.vote::before{background:#0A84FF;}
.ip-notif::after {
  content:'';position:absolute;top:0;left:0;right:0;height:44%;
  background:linear-gradient(180deg,rgba(255,255,255,.055) 0%,transparent 100%);
  border-radius:16px 16px 0 0;pointer-events:none;
}
.ip-notif-head { display:flex;align-items:center;gap:6px;margin-bottom:4px;padding-left:5px; }
.ip-notif-icon {
  width:20px;height:20px;border-radius:6px;
  display:flex;align-items:center;justify-content:center;font-size:11px;flex-shrink:0;overflow:hidden;
}
.ic-yt{background:#FF3B30;}.ic-tt{background:#000;border:.5px solid rgba(255,255,255,.22);}.ic-vote{background:#0A84FF;}
.ip-notif-app { font-size:11px;font-weight:600;color:rgba(255,255,255,.48);letter-spacing:.2px; }
.ip-notif-time { font-size:11px;color:rgba(255,255,255,.28);margin-left:auto; }
.ip-notif-title { font-size:13px;font-weight:600;color:#fff;line-height:1.32;padding-left:5px; }
.ip-notif-body { font-size:12px;color:rgba(255,255,255,.52);line-height:1.42;padding-left:5px;margin-top:2px; }

/* Vote chips */
.ip-vote-chips { display:flex;gap:5px;margin-top:8px;padding-left:5px; }
.ip-chip {
  flex:1;
  background:rgba(255,255,255,.08);border:.5px solid rgba(255,255,255,.15);
  border-radius:10px;
  padding:7px 4px 6px;
  text-align:center;font-size:11px;font-weight:600;
  color:rgba(255,255,255,.7);cursor:pointer;transition:all .2s;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.1);
  user-select:none;
  /* фиксированная высота + flex чтобы число было внизу */
  height:52px;
  display:flex;flex-direction:column;
  align-items:center;justify-content:space-between;
}
.ip-chip:hover:not(.voted-chip){background:rgba(255,255,255,.14);color:#fff;}
.ip-chip.top{background:rgba(10,132,255,.22);border-color:rgba(10,132,255,.4);color:#5ac8fa;}
.ip-chip.voted-chip{background:rgba(120,120,140,.18);border-color:rgba(255,255,255,.08);color:rgba(255,255,255,.3);cursor:not-allowed;}
/* Текст названия — сверху, может переноситься */
.ip-chip .chip-label{
  font-size:11px;font-weight:600;line-height:1.2;
  display:block;width:100%;
}
/* Цифра — всегда прижата к низу */
.ip-chip-num{
  font-size:11px;font-weight:700;opacity:.75;
  display:block;margin-top:auto;line-height:1;
  padding-bottom:1px;
}

/* Toast */
.ip-toast {
  position:absolute;bottom:55px;left:50%;transform:translateX(-50%) scale(.85);
  background:rgba(30,30,50,.95);backdrop-filter:blur(30px);-webkit-backdrop-filter:blur(30px);
  border:.5px solid rgba(255,255,255,.18);border-radius:14px;
  padding:10px 18px;font-size:12px;font-weight:600;color:#fff;
  white-space:nowrap;z-index:50;
  box-shadow:0 8px 30px rgba(0,0,0,.5),inset 0 1px 0 rgba(255,255,255,.15);
  opacity:0;pointer-events:none;transition:opacity .25s ease,transform .25s cubic-bezier(.22,1,.36,1);
}
.ip-toast.show{opacity:1;transform:translateX(-50%) scale(1);}

/* Fireworks */
.fw-particle{position:absolute;pointer-events:none;z-index:9999;}
@keyframes fwBurst{
  0%  {transform:translate(-50%,-50%) translate(0,0) scale(1);   opacity:1;}
  70% {opacity:.8;}
  100%{transform:translate(-50%,-50%) translate(var(--tx),var(--ty)) scale(.05); opacity:0;}
}
/* Фон фейерверка поверх страницы */
#fw-overlay{
  position:fixed; inset:0; z-index:9000;
  pointer-events:none; overflow:hidden;
  background: transparent;
}

/* Drag — защита от выделения текста на мобильных */
.ip-notif {
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  touch-action: none;
  /* Защитный псевдослой поверх текста */
  isolation: isolate;
}
/* Прозрачный слой сверху блокирует выделение на iOS */
.ip-notif::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 10;
  border-radius: 16px;
  pointer-events: none; /* не мешает кликам через pointer events */
}
/* Чипы голосования — pointer events работают поверх защитного слоя */
.ip-vote-chips {
  position: relative;
  z-index: 11;
  -webkit-user-select: none;
  user-select: none;
}
.ip-notif.is-dragging{
  cursor:grabbing;transform:scale(1.028)!important;
  box-shadow:0 14px 40px rgba(0,0,0,.65),inset 0 1px 0 rgba(255,255,255,.3)!important;
  border-color:rgba(255,255,255,.38)!important;z-index:20;opacity:.92;
  transition:transform .18s cubic-bezier(.34,1.56,.64,1),box-shadow .18s ease!important;
}
/* Разрешить выделение текста внутри чипов голосования */
.ip-vote-chips { -webkit-user-select:none; user-select:none; }

/* Vote highlight — стеклянный блик, без синей тени */
.ip-notif.vote.highlighted{
  border-color:rgba(255,255,255,.45)!important;
  background:rgba(255,255,255,.18)!important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.6),
    inset 0 -1px 0 rgba(255,255,255,.05),
    0 8px 24px rgba(0,0,0,.3)!important;
  transform:scale(1.04) translateY(-2px)!important;
  transition:all .4s cubic-bezier(.22,1,.36,1)!important;
}
/* Анимированный блик по стеклу */
.ip-notif.vote.highlighted::after{
  content:'';position:absolute;top:0;left:-100%;width:60%;height:100%;
  background:linear-gradient(105deg,transparent 20%,rgba(255,255,255,.25) 50%,transparent 80%);
  animation:glassShine .6s ease .1s forwards;
  border-radius:16px;pointer-events:none;z-index:15;
}
@keyframes glassShine{
  from{left:-100%;}
  to{left:160%;}
}

.ip-home{margin:8px auto 0;padding-bottom:10px;width:98px;height:4px;background:rgba(255,255,255,.26);border-radius:4px;}

/* ===== STATS ===== */
.stats {
  display:flex;gap:10px;flex-wrap:wrap;justify-content:center;
  margin-top:24px;opacity:0;animation:fadeUp .7s ease .9s forwards;
}
.stat-pill {
  background:rgba(255,255,255,.06);backdrop-filter:blur(30px) saturate(180%);
  -webkit-backdrop-filter:blur(30px) saturate(180%);border:.5px solid rgba(255,255,255,.12);
  border-radius:100px;padding:10px 20px;text-align:center;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.09);
}
.stat-num{font-size:18px;font-weight:700;color:#fff;letter-spacing:-.5px;}
.stat-lbl{font-size:11px;color:rgba(255,255,255,.32);font-weight:500;margin-top:1px;}

/* ===== SUPPORT CARD ===== */
.support-card {
  margin-top:24px;
  display:inline-flex;flex-direction:column;align-items:flex-start;
  /* На мобиле — ширина по контенту, центрируется вместе с текстом */
  width:auto;
  background:rgba(255,255,255,.06);backdrop-filter:blur(40px) saturate(180%);
  -webkit-backdrop-filter:blur(40px) saturate(180%);border:.5px solid rgba(255,255,255,.12);
  border-radius:20px;padding:16px 20px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 8px 28px rgba(0,0,0,.3);
  opacity:0;animation:fadeUp .7s ease 1.2s forwards;
}
.support-label{font-size:11px;color:rgba(255,255,255,.28);font-weight:600;text-transform:uppercase;letter-spacing:1px;margin-bottom:3px;}
.support-title{font-size:14px;font-weight:700;color:#fff;margin-bottom:12px;white-space:nowrap;}
.support-btns{display:flex;flex-direction:row;gap:8px;flex-wrap:wrap;}
.boosty-btn,.da-btn{
  display:inline-flex;align-items:center;gap:7px;font-size:13px;font-weight:700;
  padding:9px 16px;border-radius:12px;border:none;cursor:pointer;
  white-space:nowrap;transition:transform .15s,opacity .15s;
}
.boosty-btn{background:linear-gradient(135deg,#FF9F0A,#FF6B00);color:#fff;box-shadow:0 4px 14px rgba(255,150,10,.30);}
.boosty-btn:hover{transform:scale(.97);opacity:.92;}
.da-btn{background:linear-gradient(135deg,#a259f7,#7c3aed);color:#fff;box-shadow:0 4px 14px rgba(140,60,240,.30);}
.da-btn:hover{transform:scale(.97);opacity:.92;}

/* GDPR checkbox */
.gdpr-field { margin-top:4px; }
.gdpr-label {
  display:flex;align-items:flex-start;gap:10px;cursor:pointer;
  font-size:12px;color:rgba(255,255,255,.4);line-height:1.5;
}
.gdpr-label input[type="checkbox"] {
  width:16px;height:16px;flex-shrink:0;margin-top:2px;
  accent-color:#5e9fff;cursor:pointer;
}
.gdpr-label.error-gdpr .gdpr-short { color:rgba(255,100,100,.8); }
/* Collapsible GDPR */
.gdpr-short { font-size:12px;color:rgba(255,255,255,.45);line-height:1.5; }
.gdpr-more-btn {
  background:none;border:none;cursor:pointer;
  color:#5e9fff;font-size:12px;font-family:var(--sf);
  padding:0;text-decoration:underline;text-underline-offset:2px;
  margin-left:4px;
}
.gdpr-full {
  font-size:11px;color:rgba(255,255,255,.3);line-height:1.55;
  margin-top:6px;display:none;
}
.gdpr-full.open { display:block; }

/* Coming soon toast */
.coming-soon-toast{
  position:fixed;bottom:32px;left:50%;transform:translateX(-50%) scale(.88);
  background:rgba(30,30,50,.96);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);
  border:.5px solid rgba(255,255,255,.18);border-radius:14px;
  padding:11px 22px;font-size:13px;font-weight:600;color:#fff;
  white-space:nowrap;z-index:500;
  box-shadow:0 8px 30px rgba(0,0,0,.55),inset 0 1px 0 rgba(255,255,255,.15);
  opacity:0;pointer-events:none;transition:opacity .25s ease,transform .25s cubic-bezier(.22,1,.36,1);
}
.coming-soon-toast.show{opacity:1;transform:translateX(-50%) scale(1);}

.visitor{margin-top:28px;font-size:12px;color:rgba(255,255,255,.18);letter-spacing:.5px;position:relative;display:inline-block;}

/* Огненный счётчик — когда есть непрочитанные */
.visitor.on-fire {
  color: #ff6b00;
  text-shadow: 0 0 8px rgba(255,100,0,.8), 0 0 20px rgba(255,60,0,.5);
  animation: fireFlicker 1.8s ease-in-out infinite;
}
.visitor.on-fire::before {
  content: '';
  position: absolute;
  left: 50%; top: -28px;
  transform: translateX(-50%);
  width: 28px; height: 28px;
  background: radial-gradient(ellipse at 50% 100%, #ff4500 0%, #ff8c00 40%, #ffd700 70%, transparent 100%);
  border-radius: 50% 50% 30% 30%;
  animation: flameDance 0.4s ease-in-out infinite alternate;
  filter: blur(1px);
}
.visitor.on-fire::after {
  content: '';
  position: absolute;
  left: 50%; top: -18px;
  transform: translateX(-50%);
  width: 16px; height: 16px;
  background: radial-gradient(ellipse at 50% 100%, #fff 0%, #ffd700 40%, transparent 100%);
  border-radius: 50% 50% 30% 30%;
  animation: flameDance 0.4s ease-in-out infinite alternate-reverse;
  filter: blur(0.5px);
}

@keyframes fireFlicker {
  0%,100% { text-shadow: 0 0 8px rgba(255,100,0,.8), 0 0 20px rgba(255,60,0,.5); color:#ff6b00; }
  25%      { text-shadow: 0 0 12px rgba(255,80,0,1),  0 0 30px rgba(255,40,0,.7); color:#ff4500; }
  50%      { text-shadow: 0 0 6px rgba(255,120,0,.6), 0 0 15px rgba(255,80,0,.4); color:#ff8c00; }
  75%      { text-shadow: 0 0 14px rgba(255,60,0,1),  0 0 28px rgba(255,30,0,.8); color:#ff3d00; }
}
@keyframes flameDance {
  from { transform: translateX(-50%) scaleX(1)   scaleY(1)    rotate(-3deg); }
  to   { transform: translateX(-50%) scaleX(0.85) scaleY(1.15) rotate(3deg);  }
}


/* ===== CONTACT PAGE ===== */
.contact-container{justify-content:flex-start;padding-top:48px;padding-bottom:48px;}
.contact-card{
  width:100%;max-width:560px;background:rgba(255,255,255,.07);
  backdrop-filter:blur(30px) saturate(180%);-webkit-backdrop-filter:blur(30px) saturate(180%);
  border-radius:28px;border:.5px solid rgba(255,255,255,.18);
  padding:40px 36px 36px;
  box-shadow:0 20px 60px rgba(0,0,0,.4),inset 0 1px 0 rgba(255,255,255,.15);
  text-align:left;
}
.contact-header{text-align:center;margin-bottom:32px;}
.contact-paw{font-size:48px;line-height:1;margin-bottom:12px;}
.contact-title{font-size:28px;font-weight:700;letter-spacing:-.03em;color:#fff;margin-bottom:6px;}
.contact-desc{font-size:14px;color:rgba(255,255,255,.4);}
.contact-form{display:flex;flex-direction:column;gap:20px;}
.form-field{display:flex;flex-direction:column;gap:7px;}
.form-label{font-size:13px;font-weight:600;color:rgba(255,255,255,.4);text-transform:uppercase;letter-spacing:.06em;}
.form-input{
  font-family:var(--sf);font-size:16px;color:#fff;
  background:rgba(255,255,255,.08);border:.5px solid rgba(255,255,255,.18);
  border-radius:14px;padding:13px 16px;outline:none;
  transition:border-color .2s,background .2s;width:100%;-webkit-appearance:none;
}
.form-input:focus{border-color:rgba(0,122,255,.5);background:rgba(255,255,255,.12);}
.form-input::placeholder{color:rgba(255,255,255,.22);}
.form-textarea{resize:vertical;min-height:120px;line-height:1.5;}
/* captcha-row defined in popup section above */
.char-counter{font-size:12px;color:rgba(255,255,255,.25);text-align:right;margin-top:-2px;}
.form-error{
  font-size:13px;font-weight:500;color:#ff6b6b;
  background:rgba(255,59,48,.1);border:.5px solid rgba(255,59,48,.25);
  border-radius:12px;padding:10px 14px;display:none;
}
.contact-submit-btn{
  width:100%;height:54px;font-size:16px;font-weight:700;
  background:linear-gradient(135deg,#FF3B30,#FF6B00);color:#fff;
  border:none;border-radius:16px;cursor:pointer;
  box-shadow:0 4px 20px rgba(255,59,48,.3);transition:opacity .15s,transform .15s;
}
.contact-submit-btn:hover{opacity:.92;transform:scale(.99);}
.contact-success{text-align:center;padding:32px 20px;display:none;}
.success-icon{font-size:52px;margin-bottom:16px;}
.contact-success p{font-size:18px;font-weight:500;color:#fff;}

/* ===== POPUP СОТРУДНИЧЕСТВО ===== */
.popup-overlay{
  position:fixed;inset:0;z-index:300;display:flex;align-items:center;justify-content:center;
  background:rgba(0,0,0,.62);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
  opacity:0;pointer-events:none;transition:opacity .3s ease;
}
.popup-overlay.open{opacity:1;pointer-events:all;}
.popup-card{
  width:92%;max-width:420px;background:rgba(22,22,42,.88);
  backdrop-filter:blur(60px) saturate(200%);-webkit-backdrop-filter:blur(60px) saturate(200%);
  border:.5px solid rgba(255,255,255,.2);border-radius:28px;padding:30px 26px 26px;
  box-shadow:0 24px 80px rgba(0,0,0,.65),inset 0 1px 0 rgba(255,255,255,.18);
  transform:scale(.9) translateY(24px);transition:transform .35s cubic-bezier(.22,1,.36,1);position:relative;
}
.popup-overlay.open .popup-card{transform:scale(1) translateY(0);}
.popup-close{
  position:absolute;top:14px;right:16px;background:rgba(255,255,255,.1);
  border:none;color:rgba(255,255,255,.55);width:28px;height:28px;border-radius:50%;
  font-size:14px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s;
}
.popup-close:hover{background:rgba(255,255,255,.18);color:#fff;}
.popup-title{font-size:19px;font-weight:700;color:#fff;margin-bottom:5px;letter-spacing:-.4px;}
.popup-sub{font-size:13px;color:rgba(255,255,255,.38);margin-bottom:20px;line-height:1.5;}
.popup-field{margin-bottom:12px;}
.popup-field label{display:block;font-size:11px;font-weight:600;color:rgba(255,255,255,.38);text-transform:uppercase;letter-spacing:1px;margin-bottom:5px;}
.popup-field input,.popup-field textarea{
  width:100%;background:rgba(255,255,255,.08);border:.5px solid rgba(255,255,255,.14);
  border-radius:12px;padding:10px 13px;font-size:14px;color:#fff;font-family:var(--sf);
  outline:none;transition:border-color .2s,background .2s;resize:none;
}
.popup-field input:focus,.popup-field textarea:focus{border-color:rgba(100,140,255,.5);background:rgba(255,255,255,.11);}
.popup-field input::placeholder,.popup-field textarea::placeholder{color:rgba(255,255,255,.22);}
.captcha-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap;}
.captcha-row canvas{max-width:130px;flex-shrink:0;border-radius:10px;cursor:pointer;}
.captcha-row input{flex:1;min-width:80px;max-width:140px;}
.captcha-q{font-size:14px;color:#fff;font-weight:600;white-space:nowrap;background:rgba(255,255,255,.07);padding:8px 14px;border-radius:10px;border:.5px solid rgba(255,255,255,.12);}
.popup-error{font-size:12px;color:#ff6b6b;margin-top:-6px;margin-bottom:8px;display:none;}
.popup-send{
  width:100%;background:linear-gradient(135deg,#5e9fff,#a78bfa);color:#fff;
  font-size:15px;font-weight:700;padding:13px;border-radius:14px;border:none;cursor:pointer;
  margin-top:6px;transition:opacity .15s,transform .15s;box-shadow:0 4px 20px rgba(100,140,255,.32);
}
.popup-send:hover{opacity:.92;transform:scale(.99);}
.popup-success{text-align:center;padding:20px 0;display:none;}
.popup-success .s-icon{font-size:44px;margin-bottom:12px;}
.popup-success p{font-size:16px;font-weight:600;color:#fff;}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 14px 20px;
  background: rgba(18, 18, 30, 0.97);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-top: 0.5px solid rgba(255,255,255,.14);
  box-shadow: 0 -8px 32px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.06);
  transform: translateY(100%);
  transition: transform .4s cubic-bezier(.22,1,.36,1);
}
.cookie-banner.visible { transform: translateY(0); }

.cookie-inner {
  max-width: 900px; margin: 0 auto;
  display: flex; align-items: center;
  justify-content: space-between; gap: 16px;
  flex-wrap: wrap;
}
.cookie-text {
  display: flex; align-items: flex-start; gap: 10px;
  flex: 1; min-width: 200px;
}
.cookie-icon { font-size: 20px; flex-shrink: 0; line-height: 1.4; }
#cookie-msg {
  font-size: 13px; color: rgba(255,255,255,.65); line-height: 1.55;
}
.cookie-btns {
  display: flex; gap: 8px; flex-shrink: 0; flex-wrap: wrap;
}
.cookie-btn-accept {
  background: linear-gradient(135deg,#5e9fff,#a78bfa);
  color: #fff; font-size: 13px; font-weight: 700;
  padding: 9px 22px; border-radius: 100px; border: none;
  cursor: pointer; white-space: nowrap;
  box-shadow: 0 4px 14px rgba(100,140,255,.3);
  transition: opacity .15s, transform .15s;
  font-family: var(--sf);
}
.cookie-btn-accept:hover { opacity: .9; transform: scale(.98); }
.cookie-btn-decline {
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.5); font-size: 13px; font-weight: 500;
  padding: 9px 18px; border-radius: 100px;
  border: .5px solid rgba(255,255,255,.15);
  cursor: pointer; white-space: nowrap;
  transition: all .15s; font-family: var(--sf);
}
.cookie-btn-decline:hover { color: rgba(255,255,255,.8); background: rgba(255,255,255,.12); }

@media (max-width: 480px) {
  .cookie-inner { flex-direction: column; align-items: flex-start; }
  .cookie-btns { width: 100%; }
  .cookie-btn-accept, .cookie-btn-decline { flex: 1; text-align: center; }
}

/* safe area для телефонов */
@supports (padding: max(0px)) {
  .cookie-banner { padding-bottom: max(14px, env(safe-area-inset-bottom)); }
}

/* ===== RESPONSIVE ===== */
@media(max-width:600px){
  .hero{padding-top:16px;margin-bottom:28px;}
  /* Телефон по центру на мобильном */
  .iphone-wrap{ display:flex;justify-content:center;width:100%; }
  .contact-card{padding:24px 18px 20px;border-radius:20px;}
}
@supports(padding:max(0px)){
  body{padding-top:env(safe-area-inset-top);}
  .visitor{padding-bottom:max(28px,env(safe-area-inset-bottom));}
}


/* ── Боковая кнопка (Side Button) под Digital Crown ── */
.watch-side-btn {
  position: absolute;
  right: -8px;
  top: 89px;
  width: 11px;
  height: 112px;
  background: linear-gradient(160deg, #484848 0%, #383838 25%, #404040 50%, #303030 75%, #3a3a3a 100%);
  border-radius: 0 4px 4px 0;
  z-index: 1; /* под корпусом z-index:2 */
  box-shadow: 1px 0 3px rgba(0,0,0,.35);
}

.watch-mic-top, .watch-mic-bot { display: none; }


/* ── © TolyaShorts Signature ── */
/* Unique fingerprint: TLY-2026-4F8A2B-CE91D3 */
/* Author: janinjo@gmail.com | tolya.me */
.tolya-signature-4f8a2b-ce91d3 {
  /* © 2024-2026 TolyaShorts Media. All rights reserved. */
  /* Unauthorized use is prohibited and legally actionable. */
  display: none !important;
  content: "© TolyaShorts 2026 | tolya.me | TLY-4F8A2B";
}
