/* Караоке «Родина» — премиальное оформление: тёмное стекло и золото */

@font-face { font-family: 'Playfair Display'; font-weight: 400; font-display: swap; src: url(/fonts/playfair-display-cyrillic-400-normal.woff2) format('woff2'); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: 'Playfair Display'; font-weight: 400; font-display: swap; src: url(/fonts/playfair-display-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Playfair Display'; font-weight: 700; font-display: swap; src: url(/fonts/playfair-display-cyrillic-700-normal.woff2) format('woff2'); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: 'Playfair Display'; font-weight: 700; font-display: swap; src: url(/fonts/playfair-display-latin-700-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
/* Montserrat — одна «переменная» версия на все начертания 400–700: 2 файла вместо 8, на ~55 КБ меньше */
@font-face { font-family: 'Montserrat'; font-weight: 100 900; font-display: swap; src: url(/fonts/montserrat-cyrillic-wght-normal.woff2) format('woff2-variations'), url(/fonts/montserrat-cyrillic-wght-normal.woff2) format('woff2'); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: 'Montserrat'; font-weight: 100 900; font-display: swap; src: url(/fonts/montserrat-latin-wght-normal.woff2) format('woff2-variations'), url(/fonts/montserrat-latin-wght-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

:root {
  --bg: #07070C;
  --surface: #13111A;
  --surface-hi: #1E1A24;
  --line: rgba(233, 194, 94, .22);
  --gold: #E9C25E;
  --gold-light: #FBE9A9;
  --gold-grad: linear-gradient(180deg, #FFF3C4 0%, #F2D27A 30%, #D9A93F 62%, #A87622 100%);
  --gold-btn: linear-gradient(180deg, #FCEBAE 0%, #EBC664 36%, #CC9A33 68%, #A57322 100%);
  --magenta: #E23F84;
  --green: #6FD6A0;
  --text: #FBF6EA;
  --text-dim: #B5AA94;
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Montserrat', 'Segoe UI', Arial, sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; background: transparent; color: var(--text); font-family: var(--font-body); min-height: 100vh; }
.hidden { display: none !important; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select { font: inherit; }
a { color: inherit; }
::selection { background: rgba(233,194,94,.35); }

/* Золотой текст */
.gold-text { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.ornament { text-align: center; color: var(--gold); opacity: .55; letter-spacing: .6em; font-size: 12px; }

/* ---------- Фон ---------- */
.bg-video { position: fixed; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; pointer-events: none; background: #000; }
.bg-overlay { position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse at 50% 0%, rgba(7,7,12,.05), rgba(7,7,12,.55) 70%), linear-gradient(180deg, rgba(7,7,12,.25) 0%, rgba(7,7,12,.45) 50%, rgba(7,7,12,.7) 100%); }

/* ---------- Экран загрузки ---------- */
.splash { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 50% 40%, rgba(233,194,94,.16), transparent 55%), var(--bg); transition: opacity .5s; }
.splash.fade { opacity: 0; pointer-events: none; }
.splash-content { text-align: center; }
.splash-crown { font-size: 40px; color: var(--gold); text-shadow: 0 0 24px rgba(233,194,94,.6); }
.brand-big { font-family: var(--font-display); font-size: 56px; font-weight: 700; line-height: 1.1; }
.splash-lights { width: 220px; height: 4px; margin: 24px auto 18px;
  background-image: radial-gradient(circle, var(--gold) 2px, transparent 2.2px); background-size: 16px 4px;
  background-repeat: repeat-x; animation: marquee-chase .9s linear infinite; opacity: .85; }
.splash-text { color: var(--text-dim); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; }

/* ---------- Логотип ---------- */
.brand-mark { color: var(--gold); font-size: 28px; text-shadow: 0 0 16px rgba(233,194,94,.55); }
.brand-rodina { display: inline-flex; gap: 1px; font-size: 20px; }
.brand-rodina-big { font-size: 38px; margin-top: 6px; justify-content: center; }
.brand-rodina span { display: inline-block; font-family: var(--font-display); font-weight: 700; animation: rodina-bounce 2.2s ease-in-out infinite; text-shadow: 0 0 14px currentColor; }
.brand-rodina span:nth-child(1) { color: hsl(0,78%,66%); }
.brand-rodina span:nth-child(2) { color: hsl(45,80%,62%); animation-delay: .1s; }
.brand-rodina span:nth-child(3) { color: hsl(95,65%,60%); animation-delay: .2s; }
.brand-rodina span:nth-child(4) { color: hsl(165,65%,58%); animation-delay: .3s; }
.brand-rodina span:nth-child(5) { color: hsl(215,75%,68%); animation-delay: .4s; }
.brand-rodina span:nth-child(6) { color: hsl(280,65%,70%); animation-delay: .5s; }
@keyframes rodina-bounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.brand-live { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-words { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.brand-karaoke { font-family: var(--font-display); font-weight: 700; font-size: 24px; }

/* ---------- Раскладка ---------- */
.app { display: flex; min-height: 100vh; }
.sidebar { width: 268px; flex-shrink: 0; padding: 24px 18px 30px; display: flex; flex-direction: column; gap: 12px;
  background: linear-gradient(180deg, rgba(14,12,18,.86), rgba(8,7,11,.86)); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-right: 1px solid var(--line); box-shadow: 12px 0 40px rgba(0,0,0,.35);
  position: sticky; top: 0; height: 100vh; overflow-y: auto; z-index: 20; scrollbar-width: thin; scrollbar-color: rgba(233,194,94,.3) transparent; }
.side-title { margin: 12px 0 2px; font-family: var(--font-display); font-weight: 400; font-style: italic; font-size: 15px; color: var(--gold); letter-spacing: .04em;
  display: flex; align-items: center; gap: 10px; }
.side-title::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line), transparent); }
.content { flex: 1; min-width: 0; padding: 22px 32px 0; display: flex; flex-direction: column; }

/* ---------- Кнопки: золото ---------- */
.btn-primary, .btn-gold { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--gold-btn); color: #2A1B04; border: 1px solid #F8DE8C; font-weight: 700; letter-spacing: .02em;
  padding: 12px 22px; border-radius: 10px; text-decoration: none; text-shadow: 0 1px 0 rgba(255,255,255,.35);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.65), inset 0 -2px 0 rgba(0,0,0,.18), 0 6px 20px rgba(204,154,51,.32);
  transition: transform .15s, box-shadow .2s, filter .2s; }
.btn-primary::after, .btn-gold::after { content: ""; position: absolute; top: 0; left: -80%; width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent); transform: skewX(-20deg); transition: left .6s; }
.btn-primary:hover, .btn-gold:hover { transform: translateY(-1px); filter: brightness(1.06); box-shadow: inset 0 1px 0 rgba(255,255,255,.7), inset 0 -2px 0 rgba(0,0,0,.18), 0 10px 28px rgba(233,194,94,.45); }
.btn-primary:hover::after, .btn-gold:hover::after { left: 130%; }
.btn-primary:active, .btn-gold:active { transform: translateY(1px); }
.btn-primary:disabled { filter: grayscale(.5) brightness(.8); cursor: default; }

.btn-ghost, .btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  background: linear-gradient(180deg, rgba(42,33,16,.55), rgba(16,13,9,.6)); border: 1px solid rgba(233,194,94,.42); color: #EDCB73;
  font-size: 13.5px; font-weight: 500; padding: 10px 14px; border-radius: 10px; text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255,236,170,.08); transition: border-color .2s, color .2s, box-shadow .2s, background .2s, transform .15s; }
.btn-ghost:hover, .btn:hover { border-color: #F6D98A; color: #FFEAAE; background: linear-gradient(180deg, rgba(70,54,22,.65), rgba(26,20,10,.7));
  box-shadow: inset 0 1px 0 rgba(255,236,170,.15), 0 0 18px rgba(233,194,94,.22); }
.btn-small { padding: 8px 16px; font-size: 13.5px; }
.btn-big { font-size: 16px; padding: 15px 26px; border-radius: 12px; }
.btn-wide { width: 100%; }
.btn-scoring.active, #singers-btn.has-singers { border-color: #F6D98A; color: #FFEAAE; background: linear-gradient(180deg, rgba(90,68,24,.7), rgba(36,27,10,.75));
  box-shadow: 0 0 16px rgba(233,194,94,.3), inset 0 0 10px rgba(233,194,94,.12); }
.btn-staff { border-color: rgba(255,140,120,.55); color: #FFB4A3; }
.badge { display: inline-block; background: var(--gold-btn); color: #2A1B04; font-weight: 700; font-size: 11px; min-width: 18px; padding: 1px 6px; border-radius: 10px; margin-left: 2px; }

/* ---------- Сайдбар ---------- */
.pinned { display: flex; flex-direction: column; gap: 6px; }
.genre-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.genre-btn { position: relative; text-align: center; background: rgba(20,16,10,.5); border: 1px solid rgba(233,194,94,.24); color: #D9BE7E;
  font-size: 12.5px; padding: 9px 8px; border-radius: 9px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: all .18s; }
.genre-btn:hover { color: #FFE6A3; border-color: rgba(246,217,138,.7); background: rgba(60,46,18,.55); }
.genre-btn.active { background: var(--gold-btn); color: #2A1B04 !important; border-color: #F8DE8C; font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 4px 14px rgba(204,154,51,.35); }
.pinned-btn { text-align: left; font-size: 13.5px; padding: 10px 12px; }
.sidebar-tools { display: flex; flex-direction: column; gap: 6px; }
.sidebar-tools .btn-ghost { justify-content: flex-start; }
@keyframes marquee-chase { from { background-position: 0 0; } to { background-position: 16px 0; } }

/* ---------- Верхняя панель ---------- */
.topbar { display: flex; align-items: center; gap: 10px; position: sticky; top: 0; z-index: 15; margin: -22px -32px 22px; padding: 14px 32px;
  background: linear-gradient(180deg, rgba(7,7,12,.9), rgba(7,7,12,.66)); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(233,194,94,.12); }
.menu-toggle { display: none; font-size: 18px; padding: 10px 14px; }
#search { flex: 1; min-width: 0; background-color: rgba(12,10,16,.82); border: 1px solid rgba(233,194,94,.3); color: var(--text); font-size: 16px;
  padding: 13px 18px 13px 44px; border-radius: 12px; outline: none; transition: border-color .2s, box-shadow .2s;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23E9C25E' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: 16px center; }
#search:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(233,194,94,.15); }
#search::placeholder { color: #8E8572; }
.btn-top { padding: 12px 14px; white-space: nowrap; }
.account { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.balance { padding: 11px 14px; border-radius: 10px; background: rgba(12,10,16,.82); border: 1px solid rgba(233,194,94,.3); white-space: nowrap; font-size: 14px; }
.balance b { font-family: var(--font-display); font-size: 17px; color: var(--gold-light); }
.account .btn-ghost { padding: 12px 14px; }

/* ---------- Заголовки разделов ---------- */
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-bottom: 14px; flex-wrap: wrap; }
.section-title { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 30px; letter-spacing: .01em; filter: drop-shadow(0 2px 10px rgba(0,0,0,.7)); }
.section-title .orn { color: var(--gold); font-size: 16px; vertical-align: middle; opacity: .8; }
.section-sub, .results-count { color: var(--text-dim); font-size: 13.5px; text-shadow: 0 1px 8px rgba(0,0,0,.9); }

/* ---------- Главный экран ---------- */
.hero { position: relative; display: grid; grid-template-columns: 1.35fr 1fr; gap: 30px; padding: 38px 40px; margin-bottom: 34px; border-radius: 22px;
  background: radial-gradient(circle at 10% 0%, rgba(233,194,94,.16), transparent 50%), linear-gradient(160deg, rgba(22,18,12,.82), rgba(8,7,11,.84));
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(233,194,94,.38); box-shadow: inset 0 1px 0 rgba(255,236,170,.12), 0 30px 60px rgba(0,0,0,.45); }
.hero::before { content: ""; position: absolute; inset: 8px; border-radius: 16px; border: 1px solid rgba(233,194,94,.12); pointer-events: none; }
.eyebrow { color: var(--gold); font-size: 12px; letter-spacing: .28em; text-transform: uppercase; margin: 0 0 12px; font-weight: 600; }
.hero h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 3.6vw, 50px); line-height: 1.1; margin: 0 0 16px; }
.hero-sub { color: #D8CDB4; font-size: 16px; line-height: 1.6; margin: 0 0 24px; max-width: 580px; }
.hero-sub b { color: var(--gold-light); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-note { margin: 16px 0 0; color: var(--gold); font-size: 13.5px; }
.hero-steps { display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.step { display: flex; gap: 14px; align-items: center; padding: 13px 16px; border-radius: 14px; background: rgba(0,0,0,.35); border: 1px solid rgba(233,194,94,.18); }
.step-n { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 18px;
  color: #2A1B04; background: var(--gold-btn); box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 4px 12px rgba(204,154,51,.35); }
.step b { display: block; font-family: var(--font-display); font-size: 17px; color: var(--gold-light); }
.step span:not(.step-n) { color: var(--text-dim); font-size: 13px; }
.hero-prices { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.price-chip { flex: 1; min-width: 92px; text-align: center; padding: 10px 8px; border-radius: 12px; border: 1px solid rgba(233,194,94,.35); font-size: 12.5px; color: var(--text-dim); background: rgba(0,0,0,.25); }
.price-chip b { display: block; font-family: var(--font-display); font-size: 19px; color: var(--gold-light); }
.hero-close { position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: transparent; color: var(--text-dim); z-index: 1; }
.hero-close:hover { background: rgba(233,194,94,.15); color: var(--gold-light); }

/* ---------- Рекомендуем ---------- */
.reco { margin-bottom: 38px; }
.reco-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.reco-card { position: relative; cursor: pointer; padding: 18px 18px 16px; border-radius: 18px; min-height: 150px; display: flex; flex-direction: column;
  background: radial-gradient(circle at 100% 0%, rgba(233,194,94,.18), transparent 55%), linear-gradient(160deg, rgba(34,27,14,.9), rgba(10,9,13,.92));
  border: 1px solid rgba(233,194,94,.45); box-shadow: inset 0 1px 0 rgba(255,236,170,.14), 0 14px 34px rgba(0,0,0,.4); transition: transform .2s, box-shadow .25s, border-color .2s; overflow: hidden; }
.reco-card::before { content: ""; position: absolute; inset: 5px; border-radius: 14px; border: 1px solid rgba(233,194,94,.12); pointer-events: none; }
.reco-card:hover, .reco-card:focus-visible { transform: translateY(-4px); border-color: #F6D98A; outline: none;
  box-shadow: inset 0 1px 0 rgba(255,236,170,.2), 0 18px 44px rgba(0,0,0,.5), 0 0 30px rgba(233,194,94,.22); }
.reco-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.reco-num { font-family: var(--font-display); font-weight: 700; font-size: 40px; line-height: .9; }
.reco-tag { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 5px 9px; border-radius: 999px; border: 1px solid rgba(233,194,94,.45); color: var(--gold-light); background: rgba(0,0,0,.35); white-space: nowrap; }
.reco-tag.hit { background: var(--gold-btn); color: #2A1B04; border-color: #F8DE8C; }
.reco-artist { color: var(--gold); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; margin-top: auto; padding-right: 44px; }
.reco-title { font-family: var(--font-display); font-size: 21px; font-weight: 700; line-height: 1.2; margin-top: 4px; color: var(--text); overflow-wrap: break-word; padding-right: 44px; }
.reco-play { position: absolute; right: 14px; bottom: 14px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 15px; padding-left: 3px;
  background: var(--gold-btn); color: #2A1B04; box-shadow: 0 6px 16px rgba(0,0,0,.4); opacity: .85; transition: all .2s; }
.reco-card:hover .reco-play { opacity: 1; transform: scale(1.08); }

/* ---------- Карточки песен (без картинок — картинка в окне запуска) ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
#grid-sentinel { height: 1px; }
.card { position: relative; cursor: pointer; padding: 14px 14px 14px; min-height: 132px; display: flex; flex-direction: column; border-radius: 14px;
  animation: card-in .45s cubic-bezier(.2,.8,.2,1) backwards; animation-delay: calc(var(--i, 0) * 22ms);
  background: linear-gradient(160deg, rgba(26,21,12,.86), rgba(9,8,12,.88)); border: 1px solid rgba(233,194,94,.24);
  box-shadow: inset 0 1px 0 rgba(255,236,170,.06), 0 8px 22px rgba(0,0,0,.3); transition: transform .15s, border-color .2s, box-shadow .2s;
  content-visibility: auto; contain-intrinsic-size: 0 140px; }
.card::after { content: ""; position: absolute; left: 16px; right: 16px; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(246,217,138,.55), transparent); }
.card:hover, .card:focus-visible { transform: translateY(-3px); border-color: rgba(246,217,138,.85); outline: none;
  box-shadow: inset 0 1px 0 rgba(255,236,170,.12), 0 14px 32px rgba(0,0,0,.45), 0 0 22px rgba(233,194,94,.18); }
.card-head { display: flex; align-items: flex-start; gap: 8px; }
.card-head { align-items: center; }
.card-head .card-artist { flex: 1; min-width: 0; }
.card-icons { display: flex; gap: 6px; flex-shrink: 0; margin: -4px -4px 0 0; }
.icon-btn { width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(233,194,94,.3); background: rgba(0,0,0,.35); color: var(--gold); font-size: 15px; line-height: 1;
  display: grid; place-items: center; transition: all .15s; }
.icon-btn:hover { background: var(--gold-btn); color: #2A1B04; border-color: #F8DE8C; transform: scale(1.08); }
.icon-btn.fav-on { color: #FF6FA5; border-color: rgba(255,111,165,.5); }
.card-artist { color: var(--gold); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; overflow-wrap: break-word; }
.card-title { font-family: var(--font-display); font-size: 19px; font-weight: 700; line-height: 1.25; margin-top: 6px; overflow-wrap: break-word; color: var(--text); }
.card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 10px; }
.tag-open { font-size: 11.5px; padding: 3px 9px; border-radius: 999px; color: var(--green); border: 1px solid rgba(111,214,160,.4); background: rgba(0,0,0,.3); }
.card-play { margin-left: auto; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; padding-left: 2px;
  color: var(--gold); border: 1px solid rgba(233,194,94,.4); transition: all .2s; }
.card:hover .card-play { background: var(--gold-btn); color: #2A1B04; border-color: #F8DE8C; }
.empty-state { color: var(--text-dim); text-align: center; margin: 60px 0; font-size: 16px; }

.foot { margin-top: 48px; padding: 24px 16px 30px; text-align: center; color: var(--text-dim); font-size: 12.5px;
  background: linear-gradient(180deg, rgba(10,9,13,.6), rgba(10,9,13,.88)); border-top: 1px solid var(--line); border-radius: 18px 18px 0 0; }
.foot-links { display: flex; gap: 10px; justify-content: center; margin: 14px 0; flex-wrap: wrap; }

/* ---------- Окно запуска песни ---------- */
.modal.launch-modal { width: min(640px, 100%); padding: 0; }
.launch-cover { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 19px 19px 0 0;
  background: radial-gradient(circle at 30% 20%, hsl(var(--h,40),45%,28%), transparent 60%), linear-gradient(135deg, #2a2112, #0b0a0f); }
.launch-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.launch-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,0) 40%, rgba(22,19,28,.97) 100%); }
.launch-note { position: absolute; inset: 0; display: grid; place-items: center; font-size: 80px; color: var(--gold); opacity: .25; }
.launch-genre { position: absolute; left: 18px; top: 16px; z-index: 1; font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px; background: rgba(0,0,0,.55); border: 1px solid rgba(233,194,94,.45); color: var(--gold-light); }
.launch-body { padding: 0 26px 24px; margin-top: -54px; position: relative; z-index: 1; }
.launch-artist { color: var(--gold); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.launch-title { font-family: var(--font-display); font-size: 30px; line-height: 1.15; margin: 4px 0 14px; }
.launch-status { font-size: 13.5px; color: var(--text-dim); padding: 10px 14px; border-radius: 10px; background: rgba(0,0,0,.3); border: 1px solid rgba(233,194,94,.18); margin-bottom: 16px; }
.launch-status b { color: var(--gold-light); }
.launch-status.ok { color: var(--green); border-color: rgba(111,214,160,.3); }
.launch-label { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }
.chip { padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(233,194,94,.35); background: rgba(0,0,0,.3); color: #E6CF95; font-size: 13.5px; transition: border-color .15s; }
.chip:hover { border-color: #F6D98A; color: #FFEAAE; }
.chip.on { background: var(--gold-btn); color: #2A1B04; border-color: #F8DE8C; font-weight: 700; }
.chip-add { display: inline-flex; gap: 6px; }
.chip-add input { width: 140px; padding: 8px 12px; border-radius: 999px; border: 1px dashed rgba(233,194,94,.45); background: rgba(0,0,0,.3); color: var(--text); outline: none; font-size: 13.5px; }
.chip-add input:focus { border-style: solid; border-color: var(--gold); }
.launch-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.launch-actions .btn-primary { flex: 1 1 200px; font-size: 16px; padding: 14px 20px; }
.launch-actions .btn-ghost { padding: 13px 16px; font-size: 14px; }

/* ---------- Выезжающие панели ---------- */
.drawer-backdrop { position: fixed; inset: 0; z-index: 39; background: rgba(0,0,0,.45); }
.drawer { position: fixed; top: 0; right: 0; width: 380px; max-width: 100%; height: 100vh; z-index: 40; padding: 24px 20px; display: flex; flex-direction: column;
  background: linear-gradient(180deg, rgba(20,17,24,.97), rgba(10,9,13,.98)); border-left: 1px solid rgba(233,194,94,.4);
  box-shadow: -20px 0 50px rgba(0,0,0,.55); animation: drawer-in .3s cubic-bezier(.2,.8,.2,1); }
@keyframes drawer-in { from { transform: translateX(100%); } to { transform: none; } }
.drawer-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.drawer-header h2 { font-family: var(--font-display); font-size: 26px; margin: 0; }
.drawer-close { background: transparent; border: 1px solid rgba(233,194,94,.3); border-radius: 50%; width: 34px; height: 34px; color: var(--gold); font-size: 15px; }
.drawer-close:hover { background: rgba(233,194,94,.15); }
.drawer-action { margin-bottom: 12px; width: 100%; }
.drawer-list { overflow-y: auto; flex: 1; display: flex; flex-direction: column; gap: 8px; padding-right: 2px; }
.drawer-empty { color: var(--text-dim); font-size: 14px; text-align: center; margin-top: 30px; }
.drawer-hint { color: var(--text-dim); font-size: 12.5px; line-height: 1.5; margin: 0 0 12px; }
.drawer-item { background: rgba(255,236,170,.04); border-radius: 12px; padding: 11px 12px; display: flex; align-items: center; gap: 10px; cursor: pointer; border: 1px solid rgba(233,194,94,.15); transition: border-color .15s; }
.drawer-item:hover { border-color: rgba(233,194,94,.5); }
.drawer-item-rank { color: var(--gold); font-family: var(--font-display); font-weight: 700; font-size: 17px; width: 26px; flex-shrink: 0; text-align: center; }
.drawer-item-body { flex: 1; min-width: 0; }
.drawer-item-title { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.drawer-item-sub { color: var(--text-dim); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.drawer-item-score { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--gold-light); flex-shrink: 0; }
.drawer-item-remove, .drawer-item-up { background: transparent; border: 0; color: var(--text-dim); font-size: 14px; flex-shrink: 0; padding: 4px; }
.drawer-item-remove:hover { color: #FF8FB8; }
.drawer-item-up:hover { color: var(--gold-light); }
.queue-item { flex-wrap: wrap; cursor: default; }
.queue-play { cursor: pointer; }
.queue-singer { flex-basis: 100%; display: flex; align-items: center; gap: 8px; padding-left: 36px; }
.queue-singer span { font-size: 12px; color: var(--text-dim); white-space: nowrap; }
.queue-singer select { flex: 1; min-width: 0; padding: 7px 10px; border-radius: 8px; background: #120F14; border: 1px solid rgba(233,194,94,.35); color: var(--gold-light); font-size: 13px; outline: none; }
.queue-singer select:focus { border-color: var(--gold); }
.singer-add-row { display: flex; gap: 8px; margin-bottom: 10px; }
.singer-add-row input { flex: 1; min-width: 0; background: rgba(0,0,0,.4); border: 1px solid rgba(233,194,94,.35); color: var(--text); padding: 10px 12px; border-radius: 10px; outline: none; }
.singer-add-row input:focus { border-color: var(--gold); }
.singer-item.active-singer { border-color: rgba(246,217,138,.85); background: rgba(233,194,94,.1); box-shadow: 0 0 14px rgba(233,194,94,.2); }
.singer-mic { width: 26px; text-align: center; opacity: .35; }
.singer-item.active-singer .singer-mic { opacity: 1; }

/* ---------- Полноэкранные экраны ---------- */
.screen { position: fixed; inset: 0; z-index: 50; }
.player { background: #000; }
.player video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.player-overlay, .player-bottom { position: absolute; left: 0; right: 0; display: flex; align-items: center; gap: 12px; padding: 18px 26px; transition: opacity .3s; }
.player-overlay { top: 0; justify-content: space-between; background: linear-gradient(to bottom, rgba(0,0,0,.8), transparent); }
.player-bottom { bottom: 0; background: linear-gradient(to top, rgba(0,0,0,.8), transparent); }
.player.idle .player-overlay, .player.idle .player-bottom { opacity: 0; }
.player.idle { cursor: none; }
.now-playing { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.now-artist { color: var(--gold); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; }
.now-title { font-family: var(--font-display); font-weight: 700; font-size: 22px; }
.now-singer { font-size: 13px; color: var(--gold-light); margin-top: 2px; }
.player-controls { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.player-icon-btn { min-width: 46px; height: 46px; padding: 0 10px; display: flex; align-items: center; justify-content: center; border-radius: 999px; font-size: 17px;
  background: rgba(16,13,9,.75); border: 1px solid rgba(233,194,94,.5); color: var(--gold-light); transition: all .15s; }
.player-icon-btn:hover { background: var(--gold-btn); color: #2A1B04; border-color: #F8DE8C; transform: translateY(-2px); }
.mic-indicator { font-size: 20px; animation: mic-pulse 1.2s ease-in-out infinite; }
@keyframes mic-pulse { 50% { opacity: .35; } }
#p-seek { flex: 1; accent-color: var(--gold); }
#p-vol { width: 110px; accent-color: var(--gold); }
.p-time { color: var(--text-dim); font-size: 13px; min-width: 96px; text-align: center; font-variant-numeric: tabular-nums; }
.singer-intro { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 20px;
  background: radial-gradient(circle, rgba(0,0,0,.55), rgba(0,0,0,.85)); animation: intro 4s ease forwards; pointer-events: none; }
.singer-intro p { margin: 0; color: var(--gold); letter-spacing: .3em; text-transform: uppercase; font-size: 14px; }
.singer-intro-name { font-family: var(--font-display); font-weight: 700; font-size: clamp(48px, 9vw, 120px); line-height: 1.1; }
.singer-intro span { color: var(--text-dim); font-size: 18px; margin-top: 6px; }
@keyframes intro { 0% { opacity: 0; } 12% { opacity: 1; } 78% { opacity: 1; } 100% { opacity: 0; visibility: hidden; } }

.score-screen { display: flex; align-items: center; justify-content: center; padding: 20px; z-index: 55;
  background: radial-gradient(circle at 50% 25%, rgba(233,194,94,.2), transparent 55%), var(--bg); }
.score-card { text-align: center; max-width: 480px; width: 100%; }
.score-number { font-family: var(--font-display); font-weight: 700; font-size: 130px; line-height: 1; margin: 8px 0 4px; filter: drop-shadow(0 0 30px rgba(233,194,94,.35)); }
.score-stars { font-size: 36px; letter-spacing: 8px; color: #4a4232; margin-bottom: 18px; }
.score-stars .lit { color: var(--gold); text-shadow: 0 0 14px rgba(233,194,94,.6); }
.score-caption { font-family: var(--font-display); font-size: 24px; margin: 0 0 26px; }
.score-name-input { display: block; width: 100%; background: rgba(0,0,0,.4); border: 1px solid rgba(233,194,94,.35); color: var(--text); font-size: 15px; padding: 12px 14px; border-radius: 10px; margin-bottom: 22px; outline: none; text-align: center; }
.score-name-input:focus { border-color: var(--gold); }
.score-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.score-actions .btn-ghost, .score-actions .btn-primary { font-size: 15px; padding: 12px 18px; }
.confetti-layer { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.confetti-piece { position: absolute; top: -20px; width: 8px; height: 14px; opacity: .9; animation: confetti-fall linear forwards; }
@keyframes confetti-fall { from { transform: translateY(0) rotate(0); opacity: .9; } to { transform: translateY(110vh) rotate(540deg); opacity: 0; } }

.attract { display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 60;
  background: radial-gradient(circle at 50% 30%, rgba(233,194,94,.16), transparent 55%), var(--bg); }
.attract-content { text-align: center; padding: 0 20px; }
.attract-brand-row { display: flex; align-items: baseline; justify-content: center; gap: 16px; flex-wrap: wrap; }
.attract-brand-row .brand-mark { font-size: 48px; }
.attract-brand-name { font-family: var(--font-display); font-weight: 700; font-size: 52px; }
.attract-brand-rodina { font-size: 52px; }
.attract-hint { color: var(--text-dim); font-size: 22px; margin: 12px 0 50px; letter-spacing: .05em; }
.attract-ticker { font-family: var(--font-display); font-weight: 700; font-size: clamp(36px, 7vw, 96px); line-height: 1.12; min-height: 1.2em; overflow-wrap: break-word; transition: opacity .4s; }

/* ---------- Окна ---------- */
.modal-wrap { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; background: rgba(4,3,7,.72); backdrop-filter: blur(5px); }
.modal { position: relative; width: min(440px, 100%); max-height: calc(100vh - 32px); overflow: auto; padding: 30px; border-radius: 20px;
  background: linear-gradient(170deg, #1C1822, #0E0C12); border: 1px solid rgba(233,194,94,.45);
  box-shadow: inset 0 1px 0 rgba(255,236,170,.12), 0 30px 80px rgba(0,0,0,.6); animation: modal-in .22s ease; }
@keyframes modal-in { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.modal h2 { margin: 0 0 6px; font-family: var(--font-display); font-weight: 700; font-size: 28px; }
.modal p { color: var(--text-dim); margin: 6px 0 16px; line-height: 1.5; }
.modal .x { position: absolute; top: 12px; right: 12px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(233,194,94,.35); background: rgba(0,0,0,.45); font-size: 15px; color: var(--gold-light); }
.modal .x:hover { background: rgba(233,194,94,.2); }
.field { display: block; margin-bottom: 12px; }
.field span { display: block; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.field input { width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(233,194,94,.3); background: rgba(0,0,0,.4); color: var(--text); outline: none; }
.field input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(233,194,94,.12); }
.err { color: #FF8FAE; min-height: 20px; font-size: 13.5px; margin: 4px 0 8px; }
.tabs { display: flex; gap: 6px; margin-bottom: 18px; background: rgba(0,0,0,.4); padding: 4px; border-radius: 999px; border: 1px solid rgba(233,194,94,.2); }
.tabs button { flex: 1; padding: 9px; border-radius: 999px; border: 0; background: transparent; color: var(--text-dim); }
.tabs button.active { background: var(--gold-btn); color: #2A1B04; font-weight: 700; }
.packs { display: grid; gap: 10px; }
.pack { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; border-radius: 14px; text-align: left; color: var(--text);
  background: linear-gradient(160deg, rgba(34,27,14,.8), rgba(10,9,13,.85)); border: 1px solid rgba(233,194,94,.35); transition: all .15s; }
.pack:hover { border-color: #F6D98A; box-shadow: 0 0 20px rgba(233,194,94,.2); }
.pack b { font-family: var(--font-display); font-size: 20px; }
.pack .price { font-family: var(--font-display); font-weight: 700; font-size: 24px; color: var(--gold-light); }
.pack .per { display: block; font-size: 12.5px; color: var(--text-dim); }
.check { display: flex; gap: 8px; align-items: center; color: var(--text-dim); font-size: 14px; margin: 12px 0 0; }
.small { font-size: 13px; color: var(--text-dim); text-align: center; margin-top: 14px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 90; padding: 12px 22px; border-radius: 999px; max-width: calc(100% - 32px);
  background: linear-gradient(180deg, #221C10, #120F0A); border: 1px solid var(--gold); color: var(--gold-light); box-shadow: 0 12px 34px rgba(0,0,0,.5), 0 0 20px rgba(233,194,94,.2); }
.muted { color: var(--text-dim); }

/* ---------- Телефоны и планшеты ---------- */
@media (max-width: 1100px) { .reco-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) {
  .sidebar { position: fixed; left: 0; top: 0; transform: translateX(-100%); transition: transform .28s; z-index: 45; }
  .sidebar.open { transform: none; }
  .sidebar-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 44; }
  .menu-toggle { display: inline-flex; }
  .content { padding: 14px 14px 0; }
  .topbar { flex-wrap: wrap; }
  .search-wrap { order: 5; flex-basis: 100%; }
  .topbar { margin: -14px -14px 16px; padding: 10px 14px; }
  .account { margin-left: auto; }
  .hide-sm { display: none; }
  .hero { grid-template-columns: 1fr; padding: 26px 20px; }
  .hero-actions .btn-big { flex: 1 1 100%; }
  .section-title { font-size: 24px; }
  .reco-grid { gap: 10px; }
  .reco-card { min-height: 130px; padding: 14px; }
  .reco-num { font-size: 30px; }
  .reco-title { font-size: 16px; padding-right: 0; overflow-wrap: normal; word-break: normal; hyphens: auto; }
  .reco-artist { padding-right: 0; }
  .reco-play { display: none; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); gap: 10px; }
  .card { min-height: 118px; padding: 13px; }
  .card-title { font-size: 16px; }
  .launch-title { font-size: 24px; }
  .launch-body { padding: 0 18px 20px; }
  .player-overlay, .player-bottom { padding: 12px 14px; }
  .now-title { font-size: 17px; }
  #p-vol { display: none; }
  .p-time { min-width: 0; font-size: 12px; }
}
@media (max-width: 480px) {
  .balance { padding: 10px; }
  .account .btn-primary { padding: 11px 12px; }
  #p-next-fav { display: none; }
  .modal { padding: 24px 18px; }
  .reco-tag { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .brand-rodina span, .splash-lights, .mic-indicator, .drawer, .modal, .card, .sod-glow, .sod-gift, .ach-toast, .duel-count, .party-arrow { animation: none; }
  .btn-primary::after { display: none; }
  .confetti-piece { display: none; }
}

/* ---------- Баннер cookie ---------- */
.cookie-banner { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 95; width: min(860px, calc(100% - 24px));
  display: flex; align-items: center; gap: 18px; padding: 16px 20px; border-radius: 16px;
  background: linear-gradient(170deg, rgba(28,23,14,.97), rgba(12,10,14,.98)); border: 1px solid rgba(233,194,94,.5);
  box-shadow: 0 20px 50px rgba(0,0,0,.6), 0 0 24px rgba(233,194,94,.15); animation: modal-in .3s ease; }
.cookie-text { flex: 1; font-size: 13.5px; line-height: 1.5; color: #E7DFCC; }
.cookie-text b { color: var(--gold-light); }
.cookie-text a { color: var(--gold); }
.cookie-now { color: var(--text-dim); font-size: 12.5px; }
.cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }
@media (max-width: 700px) { .cookie-banner { flex-direction: column; align-items: stretch; } .cookie-actions > * { flex: 1; } }

/* ---------- Галочки согласий ---------- */
.agree { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0; font-size: 13.5px; line-height: 1.45; color: #E7DFCC; cursor: pointer; }
.agree input { appearance: none; -webkit-appearance: none; flex-shrink: 0; width: 20px; height: 20px; margin: 1px 0 0; border-radius: 5px; cursor: pointer;
  border: 1.5px solid rgba(233,194,94,.6); background: rgba(0,0,0,.4); display: grid; place-items: center; transition: all .15s; }
.agree input:checked { background: var(--gold-btn); border-color: #F8DE8C; }
.agree input:checked::after { content: "✓"; color: #2A1B04; font-weight: 800; font-size: 13px; line-height: 1; }
.agree input:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.agree a { color: var(--gold); }
.form-note { font-size: 12.5px; color: var(--text-dim); line-height: 1.45; margin: 10px 0 0; }
.form-note a { color: var(--gold); }
.pack:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.danger-link { color: #FF9DB8; background: none; border: 0; text-decoration: underline; font-size: 13px; padding: 0; }

/* =====================================================================
   Новое: песня дня, монограммы, голосовой поиск, пульт, студия, профиль
   ===================================================================== */
@keyframes card-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes gift-bob { 0%,100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-6px) rotate(4deg); } }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@keyframes pulse-scale { 0%,100% { transform: scale(1); } 50% { transform: scale(1.08); } }
@keyframes nudge { 0%,100% { transform: translateX(0); } 50% { transform: translateX(6px); } }
@keyframes listen { 0%,100% { box-shadow: 0 0 0 0 rgba(255,93,108,.55); } 50% { box-shadow: 0 0 0 10px rgba(255,93,108,0); } }
@keyframes ach-in { from { opacity: 0; transform: translate(-50%, -30px) scale(.9); } }
@keyframes sheet-in { from { transform: translateY(40px); opacity: .4; } }

/* Монограмма артиста */
.mono { flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 15px;
  color: #FFF1C9; text-shadow: 0 1px 2px rgba(0,0,0,.55); border: 1px solid rgba(246,217,138,.6);
  background: radial-gradient(circle at 32% 28%, hsl(var(--h, 40) 45% 42%), hsl(var(--h, 40) 40% 15%) 74%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 4px 12px rgba(0,0,0,.4); }
.mono-sm { width: 32px; height: 32px; font-size: 13px; }
.launch-mono { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); width: 124px; height: 124px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 50px; color: #FFF1C9; text-shadow: 0 2px 6px rgba(0,0,0,.5);
  background: radial-gradient(circle at 32% 28%, hsl(var(--h, 40) 45% 42%), hsl(var(--h, 40) 40% 14%) 74%); border: 2px solid rgba(246,217,138,.75);
  box-shadow: 0 0 0 9px rgba(233,194,94,.08), 0 20px 50px rgba(0,0,0,.6); }
.launch-sod { position: absolute; right: 18px; top: 16px; z-index: 1; font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: var(--gold-btn); color: #2A1B04; }
.card.card-sod { border-color: rgba(246,217,138,.8); background: radial-gradient(circle at 100% 0%, rgba(233,194,94,.22), transparent 60%), linear-gradient(160deg, rgba(42,31,12,.94), rgba(12,10,12,.9)); }
.tag-sod { font-size: 11.5px; padding: 3px 9px; border-radius: 999px; color: #2A1B04; background: var(--gold-btn); font-weight: 700; }

/* Поиск с микрофоном */
.search-wrap { position: relative; flex: 1; min-width: 0; display: flex; }
.search-wrap input { flex: 1; min-width: 0; padding-right: 54px !important; }
.voice-btn { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 17px;
  border: 1px solid rgba(233,194,94,.35); background: rgba(0,0,0,.35); transition: background .2s, border-color .2s; }
.voice-btn:hover { border-color: var(--gold); background: rgba(233,194,94,.15); }
.voice-btn.listening { background: linear-gradient(180deg, #ff6b7d, #c2253a); border-color: #ff9aa6; animation: none;
  box-shadow: 0 0 0 calc(3px + var(--lvl, 0) * 12px) rgba(255,93,108,.28), 0 0 18px rgba(255,93,108,.5); transition: box-shadow .08s linear; }
.voice-btn.busy { pointer-events: none; color: transparent; }
.voice-btn.busy::after { content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(246,217,138,.3); border-top-color: var(--gold); animation: spin .8s linear infinite; }

/* Песня дня */
.sod { position: relative; overflow: hidden; display: flex; align-items: center; gap: 22px; padding: 22px 26px; margin-bottom: 24px; border-radius: 20px;
  background: radial-gradient(circle at 0% 50%, rgba(233,194,94,.3), transparent 45%), linear-gradient(120deg, rgba(62,42,12,.93), rgba(18,13,8,.93) 55%, rgba(42,14,32,.9));
  border: 1px solid rgba(246,217,138,.65); box-shadow: inset 0 1px 0 rgba(255,236,170,.25), 0 18px 44px rgba(0,0,0,.45), 0 0 34px rgba(233,194,94,.14); }
.sod::before { content: ""; position: absolute; inset: 6px; border-radius: 15px; border: 1px solid rgba(233,194,94,.14); pointer-events: none; }
.sod-glow { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 35%, rgba(255,232,160,.14) 50%, transparent 65%);
  background-size: 250% 100%; animation: sod-sweep 7s ease-in-out infinite; }
@keyframes sod-sweep { 0% { background-position: 120% 0; } 55%, 100% { background-position: -120% 0; } }
.sod-gift { position: relative; font-size: 56px; filter: drop-shadow(0 8px 16px rgba(0,0,0,.55)); animation: gift-bob 2.8s ease-in-out infinite; }
.sod-body { position: relative; flex: 1; min-width: 0; }
.sod .eyebrow { margin-bottom: 6px; }
.sod-artist { color: var(--gold); font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.sod-title { font-family: var(--font-display); font-size: clamp(22px, 2.6vw, 34px); font-weight: 700; line-height: 1.15; margin: 2px 0 6px; }
.sod-timer { color: var(--text-dim); font-size: 13px; }
.sod-timer b { color: var(--gold-light); }
.sod-btn { position: relative; flex-shrink: 0; }

/* Недавно пели */
.recent { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.recent-label { flex-shrink: 0; color: var(--gold); font-family: var(--font-display); font-style: italic; font-size: 15px; text-shadow: 0 1px 8px rgba(0,0,0,.9); }
.recent-row { flex: 1; min-width: 0; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
.recent-row::-webkit-scrollbar { display: none; }
.recent-chip { flex-shrink: 0; max-width: 250px; display: flex; align-items: center; gap: 9px; padding: 5px 16px 5px 5px; border-radius: 999px; text-align: left;
  background: rgba(12,10,16,.84); border: 1px solid rgba(233,194,94,.3); transition: border-color .2s, transform .15s; }
.recent-chip:hover { border-color: #F6D98A; transform: translateY(-2px); }
.recent-chip > span:last-child { min-width: 0; }
.recent-chip b { display: block; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.recent-chip small { display: block; font-size: 11.5px; color: var(--text-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Плеер: темп, запись, вечеринка */
.p-tools { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.tempo { display: flex; align-items: center; height: 46px; border-radius: 999px; overflow: hidden; border: 1px solid rgba(233,194,94,.5); background: rgba(16,13,9,.75); transition: border-color .2s, box-shadow .2s; }
.tempo button { width: 40px; height: 100%; border: 0; background: transparent; color: var(--gold-light); font-size: 20px; }
.tempo button:hover { background: rgba(233,194,94,.2); }
.tempo span { min-width: 92px; text-align: center; font-size: 13px; color: var(--text-dim); font-variant-numeric: tabular-nums; }
.tempo.changed { border-color: #F6D98A; box-shadow: 0 0 14px rgba(233,194,94,.3); }
.tempo.changed span { color: var(--gold-light); font-weight: 600; }
.p-rec.on { background: linear-gradient(180deg, #9a2232, #5a0f1a); border-color: #ff7a8a; color: #fff; }
.rec-indicator { color: #ff6b7a; font-weight: 700; font-size: 12.5px; letter-spacing: .08em; padding: 7px 11px; border-radius: 999px; background: rgba(0,0,0,.55); border: 1px solid rgba(255,93,108,.55); animation: mic-pulse 1.2s ease-in-out infinite; }
.party-chip { font-size: 13px; padding: 8px 12px; border-radius: 999px; background: rgba(0,0,0,.55); border: 1px solid rgba(233,194,94,.45); color: var(--gold-light); white-space: nowrap; }

/* Дуэль: смена участника */
.duel-switch { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 20px;
  background: radial-gradient(circle, rgba(46,10,24,.85), rgba(0,0,0,.95)); animation: modal-in .3s ease; }
.duel-switch p { color: var(--gold); letter-spacing: .22em; text-transform: uppercase; font-size: 15px; margin: 0; }
.duel-switch-name { font-family: var(--font-display); font-weight: 700; font-size: clamp(48px, 9vw, 120px); line-height: 1.1; overflow-wrap: anywhere; }
.duel-switch-score { color: var(--text-dim); font-size: 18px; margin: 8px 0 22px; }
.duel-count { width: 100px; height: 100px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 50px;
  color: #2A1B04; background: var(--gold-btn); box-shadow: 0 0 44px rgba(233,194,94,.55); animation: pulse-scale 1s ease-in-out infinite; }

/* Дуэль: итог */
.duel-screen { display: flex; align-items: center; justify-content: center; padding: 20px; z-index: 55; overflow-y: auto;
  background: radial-gradient(circle at 50% 20%, rgba(226,63,132,.18), transparent 50%), radial-gradient(circle at 50% 85%, rgba(233,194,94,.16), transparent 55%), var(--bg); }
.duel-card { position: relative; text-align: center; width: min(720px, 100%); }
.duel-song { color: var(--text-dim); margin: 0 0 20px; font-size: 15px; }
.duel-vs { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; margin-bottom: 18px; }
.duel-side { padding: 18px 12px 20px; border-radius: 20px; background: rgba(255,236,170,.04); border: 1px solid rgba(233,194,94,.25); transition: transform .4s, box-shadow .4s; }
.duel-side.win { border-color: #F6D98A; transform: scale(1.04); background: radial-gradient(circle at 50% 0%, rgba(233,194,94,.26), transparent 70%), rgba(30,24,12,.8); box-shadow: 0 0 44px rgba(233,194,94,.25); }
.duel-crown { font-size: 42px; height: 50px; }
.duel-side.win .duel-crown { animation: gift-bob 2.4s ease-in-out infinite; }
.duel-name { font-family: var(--font-display); font-size: 24px; font-weight: 700; overflow-wrap: anywhere; }
.duel-score { font-family: var(--font-display); font-weight: 700; font-size: 86px; line-height: 1.05; }
.duel-label { color: var(--text-dim); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.duel-vs-mark { font-family: var(--font-display); font-weight: 700; font-size: 34px; color: var(--magenta); text-shadow: 0 0 22px rgba(226,63,132,.6); }
.duel-caption { font-family: var(--font-display); font-size: 30px; font-weight: 700; margin: 6px 0 20px; }

/* Дуэль: настройка */
.modal.duel-modal { width: min(580px, 100%); }
.duel-pair { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: end; }
.duel-pair-vs { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--magenta); padding-bottom: 22px; }
.duel-search { display: flex; gap: 8px; margin-bottom: 8px; }
.duel-search input { flex: 1; min-width: 0; padding: 11px 14px; border-radius: 10px; border: 1px solid rgba(233,194,94,.3); background: rgba(0,0,0,.4); color: var(--text); outline: none; }
.duel-search input:focus { border-color: var(--gold); }
.duel-results { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; max-height: 280px; overflow-y: auto; }
.duel-opt { display: flex; align-items: center; gap: 10px; padding: 7px 12px 7px 7px; border-radius: 12px; text-align: left; color: var(--text); border: 1px solid rgba(233,194,94,.18); background: rgba(0,0,0,.3); transition: border-color .15s; }
.duel-opt:hover { border-color: rgba(246,217,138,.6); }
.duel-opt.on { border-color: #F6D98A; background: rgba(233,194,94,.15); box-shadow: 0 0 14px rgba(233,194,94,.2); }
.duel-opt-text { flex: 1; min-width: 0; }
.duel-opt-text b, .duel-opt-text small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.duel-opt-text b { font-size: 14px; }
.duel-opt-text small { font-size: 12px; color: var(--text-dim); }
.duel-opt-tag { font-size: 12px; color: var(--green); flex-shrink: 0; }

/* Запись выступления */
.rec-box { margin: 0 auto 20px; padding: 14px; border-radius: 14px; max-width: 480px; background: rgba(0,0,0,.35); border: 1px solid rgba(233,194,94,.3); }
.rec-box-title { color: var(--gold); font-weight: 600; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 8px; }
.rec-box audio { width: 100%; height: 40px; color-scheme: dark; }
.rec-box-actions { display: flex; gap: 8px; justify-content: center; margin-top: 10px; flex-wrap: wrap; }
.rec-item { cursor: default; }
.rec-play, .rec-dl { flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-size: 14px;
  border: 1px solid rgba(233,194,94,.45); background: rgba(0,0,0,.35); color: var(--gold-light); transition: all .15s; }
.rec-play:hover, .rec-dl:hover { background: var(--gold-btn); color: #2A1B04; border-color: #F8DE8C; }

/* Пульт: панель хозяина */
#party-body { flex: 1; overflow-y: auto; }
.party-hero { display: flex; justify-content: center; align-items: center; gap: 14px; font-size: 54px; margin: 6px 0 14px; }
.party-arrow { font-size: 28px; color: var(--gold); animation: nudge 1.4s ease-in-out infinite; }
.party-intro p { color: #E7DFCC; line-height: 1.55; font-size: 14.5px; margin: 0 0 14px; }
.party-points { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-direction: column; gap: 8px; }
.party-points li { position: relative; padding-left: 24px; color: var(--text-dim); font-size: 13.5px; line-height: 1.45; }
.party-points li::before { content: "✦"; position: absolute; left: 4px; color: var(--gold); }
.party-qr { width: fit-content; margin: 6px auto 12px; padding: 12px; border-radius: 18px; background: #FFF8E6; box-shadow: 0 0 0 4px rgba(233,194,94,.45), 0 18px 40px rgba(0,0,0,.5); }
.party-qr img { display: block; width: 220px; height: 220px; }
.party-scan { text-align: center; font-family: var(--font-display); font-size: 19px; color: var(--gold-light); margin: 0 0 4px; }
.party-code { text-align: center; color: var(--text-dim); font-size: 13.5px; margin-bottom: 14px; }
.party-code b { color: var(--gold-light); font-size: 15px; }
.party-stats { display: flex; justify-content: space-around; gap: 8px; padding: 10px; margin-bottom: 12px; border-radius: 12px; font-size: 13.5px; color: var(--text-dim);
  background: rgba(255,236,170,.05); border: 1px solid rgba(233,194,94,.18); }
.party-stats b { color: var(--gold-light); }
.party-allow small { display: block; margin-top: 2px; }
.party-actions { display: flex; flex-direction: column; gap: 8px; margin: 14px 0 6px; }
.party-end { display: block; margin: 10px auto 0; }
.modal.party-modal { width: min(560px, 100%); text-align: center; }
.party-big h2 { font-size: 30px; }
.party-qr-big img { width: min(360px, 68vw); height: auto; }
.party-link-big { color: var(--gold-light); font-size: 20px; }
.attract-party { display: flex; align-items: center; gap: 22px; width: fit-content; margin: 44px auto 0; padding: 16px 24px 16px 16px; border-radius: 22px; text-align: left;
  background: rgba(0,0,0,.45); border: 1px solid rgba(233,194,94,.4); }
.attract-party img { width: 150px; height: 150px; padding: 8px; border-radius: 14px; background: #FFF8E6; }
.attract-party b { display: block; font-family: var(--font-display); font-size: 26px; color: var(--gold-light); margin-bottom: 6px; }
.attract-party span { color: var(--text-dim); font-size: 16px; line-height: 1.5; }
#attract-link { color: var(--gold); }

/* Профиль */
.modal.profile-modal { width: min(780px, 100%); }
.pf-head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; padding-right: 40px; }
.pf-avatar { flex-shrink: 0; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 30px;
  color: #2A1B04; background: var(--gold-btn); box-shadow: 0 0 0 3px rgba(233,194,94,.25), 0 8px 24px rgba(204,154,51,.35); }
.pf-who { min-width: 0; }
.pf-email { font-weight: 600; font-size: 17px; overflow-wrap: anywhere; }
.pf-ok { color: var(--green); }
.pf-since { color: var(--text-dim); font-size: 13px; margin-top: 3px; }
.pf-balance { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; margin-bottom: 14px; border-radius: 14px;
  background: linear-gradient(160deg, rgba(34,27,14,.85), rgba(10,9,13,.85)); border: 1px solid rgba(233,194,94,.35); }
.pf-balance span { display: block; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; }
.pf-balance b { font-family: var(--font-display); font-size: 23px; color: var(--gold-light); }
.pf-verify { margin-bottom: 14px; }
.pf-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.pf-tile { padding: 14px 8px; border-radius: 14px; text-align: center; background: rgba(255,236,170,.04); border: 1px solid rgba(233,194,94,.2); }
.pf-tile b { display: block; font-family: var(--font-display); font-size: 30px; line-height: 1.1; }
.pf-tile.gold b { color: var(--gold-light); }
.pf-tile span { color: var(--text-dim); font-size: 12px; }
.pf-h { display: flex; align-items: baseline; gap: 10px; margin: 24px 0 10px; font-family: var(--font-display); font-size: 21px; color: var(--gold-light); }
.pf-h .muted { font-family: var(--font-body); font-size: 13px; font-weight: 400; }
.pf-artists { display: flex; flex-direction: column; gap: 8px; }
.pf-artist { display: flex; align-items: center; gap: 10px; }
.pf-artist-name { width: 38%; min-width: 0; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-bar { flex: 1; height: 8px; border-radius: 4px; overflow: hidden; background: rgba(255,255,255,.06); }
.pf-bar i { display: block; height: 100%; border-radius: 4px; background: var(--gold-btn); }
.pf-artist b { width: 30px; text-align: right; color: var(--gold-light); }
.pf-best > div { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid rgba(233,194,94,.1); }
.pf-best-song { flex: 1; min-width: 0; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-best b { font-family: var(--font-display); font-size: 22px; }
.pf-ach { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.ach { padding: 14px 10px 12px; border-radius: 14px; text-align: center; background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.08); }
.ach-badge { width: 52px; height: 52px; margin: 0 auto 8px; border-radius: 50%; display: grid; place-items: center; font-size: 24px; background: rgba(255,255,255,.05); filter: grayscale(1); opacity: .45; }
.ach.earned { border-color: rgba(246,217,138,.6); background: radial-gradient(circle at 50% 0%, rgba(233,194,94,.2), transparent 70%), rgba(30,24,12,.7); }
.ach.earned .ach-badge { filter: none; opacity: 1; background: var(--gold-btn); box-shadow: 0 0 0 3px rgba(233,194,94,.2), 0 6px 18px rgba(204,154,51,.4); }
.ach-title { font-weight: 700; font-size: 13.5px; }
.ach.earned .ach-title { color: var(--gold-light); }
.ach-desc { color: var(--text-dim); font-size: 11.5px; line-height: 1.35; margin-top: 3px; }
.ach-progress { height: 5px; margin-top: 8px; border-radius: 3px; overflow: hidden; background: rgba(255,255,255,.08); }
.ach-progress i { display: block; height: 100%; background: var(--gold); }
.ach-count { margin-top: 4px; font-size: 11px; color: var(--text-dim); }
.pf-invite { padding: 16px; border-radius: 14px; background: rgba(255,236,170,.04); border: 1px dashed rgba(233,194,94,.45); }
.pf-invite p { margin: 0 0 12px; color: #E7DFCC; }
.pf-link { display: flex; gap: 8px; }
.pf-link input { flex: 1; min-width: 0; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(233,194,94,.35); background: rgba(0,0,0,.4); color: var(--gold-light); font-size: 13.5px; outline: none; }
.pf-share { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.pf-actions { display: flex; gap: 10px; margin-top: 22px; }
.pf-actions > * { flex: 1; }
.skeleton { border-radius: 14px; background: linear-gradient(90deg, rgba(255,236,170,.05) 25%, rgba(255,236,170,.13) 50%, rgba(255,236,170,.05) 75%); background-size: 200% 100%; animation: shimmer 1.3s linear infinite; }
.sk-head { height: 70px; margin: 0 40px 14px 0; }
.sk-row { height: 58px; margin-bottom: 14px; }
.sk-grid { height: 120px; margin-bottom: 12px; }

/* Поздравление с достижением и кнопка «Наверх» */
.ach-toast { position: fixed; top: 22px; left: 50%; transform: translateX(-50%); z-index: 92; display: flex; align-items: center; gap: 14px; max-width: calc(100% - 24px);
  padding: 10px 24px 10px 10px; border-radius: 999px; cursor: pointer; background: linear-gradient(180deg, #2B2110, #120E08); border: 1px solid #F6D98A;
  box-shadow: 0 16px 40px rgba(0,0,0,.6), 0 0 34px rgba(233,194,94,.35); animation: ach-in .6s cubic-bezier(.2,1.4,.4,1); }
.ach-icon { flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-size: 24px; background: var(--gold-btn); box-shadow: 0 0 18px rgba(233,194,94,.6); }
.ach-toast small { display: block; color: var(--gold); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.ach-toast b { font-family: var(--font-display); font-size: 20px; color: var(--gold-light); }
.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 30; width: 48px; height: 48px; border-radius: 50%; font-size: 20px; font-weight: 700; color: #2A1B04;
  border: 1px solid #F8DE8C; background: var(--gold-btn); box-shadow: 0 10px 26px rgba(0,0,0,.45); animation: modal-in .25s ease; }

/* ---------- Телефоны: новое ---------- */
@media (max-width: 900px) {
  .sod { flex-wrap: wrap; gap: 14px; padding: 18px; }
  .sod-gift { font-size: 40px; }
  .sod-btn { flex-basis: 100%; }
  .player-bottom { flex-wrap: wrap; row-gap: 10px; }
  .p-tools { order: 10; flex-basis: 100%; justify-content: center; }
  .tempo { height: 42px; }
  .tempo span { min-width: 78px; font-size: 12px; }
  .party-chip { display: none; }
  .duel-score { font-size: 64px; }
  .duel-caption { font-size: 24px; }
  .attract-party { flex-direction: column; text-align: center; padding: 16px; }
  .recent-label { display: none; }
}
@media (max-width: 600px) {
  .modal-wrap { place-items: end center; padding: 0; }
  .modal { width: 100% !important; max-height: 92vh; border-radius: 22px 22px 0 0; padding-bottom: calc(24px + env(safe-area-inset-bottom)); animation: sheet-in .28s cubic-bezier(.2,.8,.2,1); }
  .modal.launch-modal { padding-bottom: env(safe-area-inset-bottom); }
  .launch-cover { border-radius: 21px 21px 0 0; }
  .pf-tiles { grid-template-columns: repeat(2, 1fr); }
  .pf-ach { grid-template-columns: repeat(2, 1fr); }
  .duel-pair { grid-template-columns: 1fr; gap: 0; }
  .duel-pair-vs { display: none; }
  .duel-vs { gap: 8px; }
  .duel-name { font-size: 18px; }
  .to-top { right: 14px; bottom: 14px; }
  .mono { width: 34px; height: 34px; font-size: 13.5px; }
}

/* ---------- Страница пульта на телефоне гостя ---------- */
.remote-body { min-height: 100vh; background: radial-gradient(circle at 50% -10%, rgba(233,194,94,.18), transparent 50%), var(--bg); padding-bottom: env(safe-area-inset-bottom); }
.r-head { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px;
  background: rgba(7,7,12,.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.r-brand { display: flex; align-items: baseline; gap: 8px; }
.r-brand .brand-karaoke { font-size: 20px; }
.r-brand .brand-rodina { font-size: 16px; }
.r-brand .brand-mark { font-size: 20px; }
.r-code { font-size: 12px; color: var(--gold-light); padding: 5px 10px; border-radius: 999px; border: 1px solid rgba(233,194,94,.4); white-space: nowrap; }
.r-card { max-width: 520px; margin: 30px auto; padding: 28px 22px; border-radius: 22px; background: linear-gradient(170deg, #1C1822, #0E0C12); border: 1px solid rgba(233,194,94,.45);
  box-shadow: 0 24px 60px rgba(0,0,0,.5); }
@media (max-width: 560px) { .r-card { margin: 22px 14px; } }
.r-center { text-align: center; }
.r-card h1 { font-family: var(--font-display); font-size: 30px; margin: 6px 0 10px; }
.r-card p { color: var(--text-dim); line-height: 1.5; }
.r-card form { text-align: left; margin-top: 18px; }
.r-big-icon { font-size: 56px; }
.r-main { max-width: 640px; margin: 0 auto; padding: 14px 14px 40px; }
.r-now { margin-bottom: 14px; padding: 16px; border-radius: 20px; border: 1px solid rgba(233,194,94,.5);
  background: radial-gradient(circle at 100% 0%, rgba(233,194,94,.2), transparent 55%), linear-gradient(160deg, rgba(34,27,14,.96), rgba(10,9,13,.96)); box-shadow: 0 14px 34px rgba(0,0,0,.45); }
.r-now.playing { border-color: #F6D98A; box-shadow: 0 14px 34px rgba(0,0,0,.45), 0 0 30px rgba(233,194,94,.22); }
.r-now-label { color: var(--gold); font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.r-now-title { font-family: var(--font-display); font-size: 22px; font-weight: 700; line-height: 1.2; margin: 4px 0 2px; }
.r-now-sub { color: var(--text-dim); font-size: 13.5px; }
.r-controls { display: flex; gap: 8px; margin-top: 14px; }
.r-btn { flex: 1; height: 54px; border-radius: 16px; font-size: 20px; border: 1px solid rgba(233,194,94,.45); background: rgba(0,0,0,.35); color: var(--gold-light); transition: transform .1s; }
.r-btn-main { flex: 1.3; font-size: 24px; background: var(--gold-btn); color: #2A1B04; border-color: #F8DE8C; }
.r-btn.pressed { transform: scale(.9); }
.r-offline { margin-top: 10px; font-size: 12.5px; color: #FFB4A3; text-align: center; }
.r-tabs { margin: 0 0 12px; }
.r-singer { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 13.5px; color: var(--text-dim); white-space: nowrap; }
.r-singer input { flex: 1; min-width: 0; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(233,194,94,.35); background: rgba(0,0,0,.4); color: var(--gold-light); font-size: 16px; outline: none; }
#r-search { width: 100%; padding: 13px 16px; border-radius: 12px; outline: none; font-size: 16px; color: var(--text); background: rgba(12,10,16,.85); border: 1px solid rgba(233,194,94,.3); }
#r-search:focus, .r-singer input:focus { border-color: var(--gold); }
.r-filters { display: flex; gap: 6px; margin: 10px 0; overflow-x: auto; }
.r-filters .chip { flex-shrink: 0; }
.r-list { display: flex; flex-direction: column; gap: 6px; }
.r-song { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 14px; cursor: pointer; background: rgba(255,236,170,.035); border: 1px solid rgba(233,194,94,.16); transition: transform .1s, border-color .2s, opacity .2s; }
.r-song:active { transform: scale(.985); }
.r-song.locked { opacity: .5; }
.r-song.sending { opacity: .55; }
.r-song.added { border-color: rgba(111,214,160,.45); }
.r-song-text { flex: 1; min-width: 0; }
.r-song-text b, .r-song-text small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.r-song-text b { font-size: 15px; }
.r-song-text small { font-size: 12.5px; color: var(--text-dim); }
.r-tag { flex-shrink: 0; font-size: 11px; padding: 3px 8px; border-radius: 999px; white-space: nowrap; color: var(--text-dim); border: 1px solid rgba(233,194,94,.35); }
.r-tag.ok { color: var(--green); border-color: rgba(111,214,160,.4); }
.r-tag.sod { border-color: #F6D98A; }
.r-tag.new { color: var(--gold-light); }
.r-add { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; font-size: 20px; font-weight: 700; color: #2A1B04; border: 1px solid #F8DE8C; background: var(--gold-btn); }
.r-song.added .r-add { color: var(--green); background: rgba(111,214,160,.18); border-color: rgba(111,214,160,.6); }
.r-qitem { cursor: default; }
.r-qitem.now { border-color: #F6D98A; background: rgba(233,194,94,.1); }
.r-qitem.me { box-shadow: inset 3px 0 0 var(--gold); }
.r-pos { width: 28px; flex-shrink: 0; text-align: center; font-family: var(--font-display); font-weight: 700; color: var(--gold); }

@media (max-width: 1480px) { .hide-md { display: none; } }

/* Цифры шрифта Playfair по умолчанию «старинные» (с хвостами вниз) — для очков и счётчиков ставим ровные */
.score-number, .duel-score, .duel-count, .pf-tile b, .pf-best b, .reco-num, .balance b, .pack .price, .price-chip b,
.drawer-item-score, .drawer-item-rank, .step-n, .r-pos, .duel-switch-name, .pf-artist b { font-variant-numeric: lining-nums tabular-nums; }
.duel-score { margin-bottom: 6px; }
.pf-balance b, .launch-status b, .sod-timer b { font-variant-numeric: lining-nums; }

/* Телефон: компактная шапка — меню, баланс и аккаунт в одной строке, поиск во второй */
@media (max-width: 900px) {
  .topbar .search-wrap { order: 5; flex: 1 1 100%; }
}
@media (max-width: 600px) {
  #lucky, #party-top, #singers-top { display: none; }
  .card .mono { display: none; }
  .card-artist { letter-spacing: .06em; }
}

.show-sm { display: none !important; }
@media (max-width: 600px) { .show-sm { display: inline-flex !important; } }
@media (max-width: 600px) { .card-artist { font-size: 11px; letter-spacing: .04em; } }

/* «О сайте» — внизу боковой панели */
.side-about { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }

/* ---------- Алфавит: одна сияющая золотая строка ---------- */
.alphabet-bar { position: relative; display: flex; align-items: center; gap: 0; margin: 4px 0 24px; padding: 7px 8px 7px 12px; border-radius: 999px;
  overflow-x: auto; overflow-y: hidden; scrollbar-width: none;
  background: radial-gradient(ellipse at 50% -40%, rgba(233,194,94,.24), transparent 70%), linear-gradient(180deg, rgba(32,25,12,.94), rgba(9,8,12,.95));
  border: 1px solid rgba(246,217,138,.6);
  box-shadow: inset 0 1px 0 rgba(255,240,190,.25), inset 0 -1px 0 rgba(0,0,0,.5), 0 0 0 4px rgba(233,194,94,.07), 0 0 28px rgba(233,194,94,.26), 0 12px 30px rgba(0,0,0,.45);
  animation: alpha-breathe 5s ease-in-out infinite; }
.alphabet-bar::-webkit-scrollbar { display: none; }
@keyframes alpha-breathe {
  0%, 100% { box-shadow: inset 0 1px 0 rgba(255,240,190,.25), inset 0 -1px 0 rgba(0,0,0,.5), 0 0 0 4px rgba(233,194,94,.07), 0 0 24px rgba(233,194,94,.22), 0 12px 30px rgba(0,0,0,.45); }
  50% { box-shadow: inset 0 1px 0 rgba(255,240,190,.3), inset 0 -1px 0 rgba(0,0,0,.5), 0 0 0 4px rgba(233,194,94,.1), 0 0 40px rgba(233,194,94,.4), 0 12px 30px rgba(0,0,0,.45); }
}
/* Медленный блик, пробегающий по строке */
.alphabet-bar::before { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(100deg, transparent 40%, rgba(255,236,170,.14) 50%, transparent 60%); background-size: 260% 100%; animation: alpha-sweep 9s ease-in-out infinite; }
@keyframes alpha-sweep { 0% { background-position: 130% 0; } 60%, 100% { background-position: -130% 0; } }
.letter-btn { position: relative; flex: 1 1 0; min-width: 22px; height: 44px; padding: 0; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(18px, 1.75vw, 28px); line-height: 1; color: #FFE7A0;
  text-shadow: 0 0 3px rgba(255,236,170,.95), 0 0 10px rgba(246,200,90,.85), 0 0 22px rgba(233,170,60,.6), 0 0 38px rgba(233,170,60,.3);
  transition: transform .18s cubic-bezier(.2,1.4,.4,1), color .15s, text-shadow .2s, background .2s; }
.letter-btn:hover, .letter-btn:focus-visible { z-index: 1; outline: none; transform: scale(1.38); color: #FFFBEA;
  background: radial-gradient(circle, rgba(255,220,130,.32), transparent 68%);
  text-shadow: 0 0 4px #fff, 0 0 12px rgba(255,230,150,1), 0 0 26px rgba(246,200,90,.95), 0 0 48px rgba(233,170,60,.7); }
.letter-btn:active { transform: scale(1.15); }
.letter-btn.flash { animation: letter-flash .8s ease; }
@keyframes letter-flash { 0% { background: radial-gradient(circle, rgba(255,226,140,.8), transparent 70%); } 100% { background: transparent; } }
.letter-btn.disabled-letter { color: #7A6A48; text-shadow: none; opacity: .5; pointer-events: none; }
.alpha-div { flex-shrink: 0; width: 1px; height: 28px; margin: 0 10px 0 8px; background: linear-gradient(180deg, transparent, rgba(255,230,150,.9), transparent); box-shadow: 0 0 10px rgba(233,194,94,.7); }
.letter-btn.category-btn { flex: 0 0 auto; height: 38px; padding: 0 14px; margin-left: 5px; border-radius: 999px; font-family: var(--font-body); font-weight: 700;
  font-size: clamp(12.5px, .92vw, 14.5px); letter-spacing: .03em; color: #2A1B04; text-shadow: 0 1px 0 rgba(255,255,255,.4); background: var(--gold-btn); border: 1px solid #F8DE8C;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.65), 0 0 18px rgba(233,194,94,.5), 0 4px 12px rgba(0,0,0,.35); }
.letter-btn.category-btn:hover, .letter-btn.category-btn:focus-visible { transform: translateY(-1px) scale(1.05); color: #2A1B04; background: var(--gold-btn);
  text-shadow: 0 1px 0 rgba(255,255,255,.4); box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 0 28px rgba(255,226,140,.8), 0 6px 16px rgba(0,0,0,.4); }
.letter-btn.category-btn.disabled-letter { background: transparent; color: #7A6A48; border-color: rgba(233,194,94,.2); box-shadow: none; }

/* Узкие экраны: та же одна строка, листается пальцем */
@media (max-width: 1180px) {
  .alphabet-bar { -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); mask-image: linear-gradient(90deg, #000 92%, transparent); }
  .letter-btn { flex: 0 0 auto; width: 34px; font-size: 21px; }
  .letter-btn.category-btn { width: auto; }
  .alphabet-bar > :last-child { margin-right: 26px; }
}
@media (max-width: 600px) {
  .alphabet-bar { margin: 0 -14px 18px; border-radius: 0; border-left: 0; border-right: 0; padding: 6px 10px; }
  .letter-btn { width: 32px; height: 40px; font-size: 20px; }
  .letter-btn:hover { transform: none; background: transparent; }
}
@media (prefers-reduced-motion: reduce) { .alphabet-bar, .alphabet-bar::before { animation: none; } }

/* Подарочные песни в пакетах */
.price-chip { position: relative; }
.price-chip i { display: block; font-style: normal; font-weight: 700; font-size: 11.5px; color: var(--gold-light); margin-top: 2px; }
.price-chip.has-gift { border-color: rgba(246,217,138,.7); box-shadow: 0 0 16px rgba(233,194,94,.2); }
.pack-bonus { display: block; margin-top: 3px; font-size: 13px; font-weight: 600; color: var(--gold-light); }
.pack.pack-gift { border-color: rgba(246,217,138,.65); background: radial-gradient(circle at 100% 0%, rgba(233,194,94,.2), transparent 55%), linear-gradient(160deg, rgba(42,31,12,.9), rgba(12,10,12,.9)); }
.pack.pack-gift:not(:disabled) { box-shadow: 0 0 18px rgba(233,194,94,.18); }

/* Тональность */
.keyctl button { font-family: var(--font-display); font-size: 22px; font-weight: 700; }
.keyctl span { min-width: 76px; }
@media (max-width: 900px) { .keyctl span { min-width: 60px; } .p-tools { flex-wrap: wrap; justify-content: center; } }

/* Превью 15 секунд в окне песни */
.launch-cover .preview-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; opacity: 0; transition: opacity .4s; z-index: 0; }
.launch-cover.previewing .preview-video { opacity: 1; }
.launch-cover.previewing img, .launch-cover.previewing .launch-mono { opacity: 0; }
.launch-cover.previewing::after { background: linear-gradient(180deg, rgba(0,0,0,.1) 0%, rgba(0,0,0,0) 50%, rgba(22,19,28,.9) 100%); }
.preview-btn { position: absolute; right: 18px; bottom: 66px; z-index: 2; padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: 14px; color: #2A1B04;
  background: var(--gold-btn); border: 1px solid #F8DE8C; box-shadow: 0 0 22px rgba(233,194,94,.5), 0 6px 16px rgba(0,0,0,.45); transition: transform .15s; }
.preview-btn:hover { transform: scale(1.05); }
.preview-btn:disabled { opacity: .6; transform: none; }
.preview-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; z-index: 2; background: rgba(255,255,255,.08); }
.preview-bar i { display: block; height: 100%; width: 0; background: var(--gold-btn); box-shadow: 0 0 10px rgba(233,194,94,.8); transition: width .25s linear; }
.launch-status.liked b:first-child { color: var(--gold-light); }
@media (max-width: 600px) { .preview-btn { bottom: 58px; right: 12px; padding: 9px 14px; font-size: 13px; } }

/* ---------- Подарки: вкладки покупки, активация ---------- */
.buy-tabs { margin: 10px 0 12px; }
.gift-form { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
.gift-form .gift-msg { grid-column: 1 / -1; }
.gift-form textarea { width: 100%; padding: 11px 14px; border-radius: 10px; border: 1px solid rgba(233,194,94,.3); background: rgba(0,0,0,.4); color: var(--text); outline: none; resize: vertical; font: inherit; }
.gift-form textarea:focus { border-color: var(--gold); }
.redeem-head { font-size: 54px; text-align: center; filter: drop-shadow(0 8px 18px rgba(0,0,0,.5)); }
.redeem-code { text-transform: uppercase; font-family: 'Courier New', monospace; font-weight: 700; font-size: 20px !important; letter-spacing: .12em; text-align: center; }
.side-gift { border-color: rgba(246,217,138,.75); color: #FFE7A0; box-shadow: 0 0 14px rgba(233,194,94,.22); }
.pf-gifts { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.gift-item { text-decoration: none; color: inherit; }

/* ---------- «Хочу песню» ---------- */
.modal.request-modal { width: min(560px, 100%); }
.req-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
.req-list { display: flex; flex-direction: column; gap: 6px; }
.req-item { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; background: rgba(255,236,170,.04); border: 1px solid rgba(233,194,94,.16); }
.req-text { flex: 1; min-width: 0; }
.req-text b, .req-text small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.req-text small { color: var(--text-dim); font-size: 12px; }
.req-votes { font-size: 12.5px; color: var(--gold-light); white-space: nowrap; }
.req-mine, .req-status { font-size: 12.5px; color: var(--text-dim); white-space: nowrap; }
.req-item.done .req-status { color: var(--green); }
#empty-request { margin-top: 16px; }
@media (max-width: 600px) { .req-row, .gift-form { grid-template-columns: 1fr; } }

/* ---------- Колесо фортуны ---------- */
.modal.wheel-modal { width: min(520px, 100%); text-align: center; }
.wheel-sub { margin-bottom: 8px !important; }
.wheel-box { position: relative; width: min(360px, 78vw); aspect-ratio: 1; margin: 18px auto 14px; }
.wheel-box canvas { width: 100%; height: 100%; border-radius: 50%; box-shadow: 0 0 0 6px rgba(233,194,94,.12), 0 0 46px rgba(233,194,94,.35), 0 20px 40px rgba(0,0,0,.6); }
.wheel-pointer { position: absolute; left: 50%; top: -16px; transform: translateX(-50%); z-index: 2; font-size: 34px; color: #FFE7A0; text-shadow: 0 0 12px rgba(233,194,94,.9), 0 3px 6px rgba(0,0,0,.6); }
.wheel-hub { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 27%; aspect-ratio: 1; border-radius: 50%; z-index: 2;
  font-weight: 800; font-size: clamp(11px, 2.6vw, 14px); letter-spacing: .08em; color: #2A1B04; background: var(--gold-btn); border: 2px solid #F8DE8C;
  box-shadow: inset 0 2px 0 rgba(255,255,255,.6), 0 0 26px rgba(233,194,94,.6), 0 6px 14px rgba(0,0,0,.5); transition: transform .15s; }
.wheel-hub:hover { transform: translate(-50%, -50%) scale(1.06); }
.wheel-hub:disabled { filter: brightness(.85); }
.wheel-result { margin: 6px 0 14px; animation: modal-in .35s ease; }
.wheel-winner { font-family: var(--font-display); font-weight: 700; font-size: 44px; line-height: 1.1; margin: 2px 0 14px; overflow-wrap: anywhere; }
.wheel-actions { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.wheel-add { max-width: 380px; margin: 0 auto 10px; }
.wheel-chips { justify-content: center; }
.wheel-chips .chip button, .guess-modal .chip button { background: none; border: 0; padding: 0 0 0 4px; color: inherit; opacity: .7; }

/* ---------- Угадай мелодию ---------- */
.modal.guess-modal { width: min(560px, 100%); }
.guess-screen { display: flex; align-items: center; justify-content: center; padding: 20px; z-index: 56; overflow-y: auto;
  background: radial-gradient(circle at 50% 20%, rgba(233,194,94,.2), transparent 55%), radial-gradient(circle at 50% 100%, rgba(226,63,132,.16), transparent 50%), var(--bg); }
.guess-close { position: fixed; top: 18px; right: 18px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(233,194,94,.45); background: rgba(0,0,0,.4); color: var(--gold-light); font-size: 17px; }
.guess-card { position: relative; width: min(820px, 100%); text-align: center; }
.guess-eq { display: flex; align-items: flex-end; justify-content: center; gap: 5px; height: 120px; margin: 10px 0 18px; }
.guess-eq i { width: 12px; height: 12%; border-radius: 6px 6px 2px 2px; background: var(--gold-btn); box-shadow: 0 0 12px rgba(233,194,94,.55); transition: height .3s; }
.guess-eq.on i { animation: eq var(--d) ease-in-out infinite alternate; }
@keyframes eq { from { height: 10%; } to { height: var(--h); } }
.guess-eq.on i:nth-child(3n) { animation-direction: alternate-reverse; }
.guess-eq.on i:nth-child(4n+1) { --h: 95%; }
.guess-timer { display: inline-flex; align-items: baseline; gap: 6px; padding: 6px 18px; border-radius: 999px; border: 1px solid rgba(233,194,94,.4); background: rgba(0,0,0,.35); }
.guess-timer b { font-family: var(--font-display); font-size: 34px; color: var(--gold-light); font-variant-numeric: lining-nums tabular-nums; }
.guess-timer span { color: var(--text-dim); font-size: 13px; }
.guess-question { font-family: var(--font-display); font-size: clamp(26px, 3.6vw, 40px); font-weight: 700; margin: 18px 0 20px; min-height: 1.2em; }
.guess-answer { display: inline-flex; align-items: center; gap: 16px; margin-top: 8px; padding: 10px 22px 10px 10px; border-radius: 18px; background: rgba(0,0,0,.35); border: 1px solid rgba(246,217,138,.5); text-align: left; animation: modal-in .35s ease; }
.guess-answer img { width: 120px; aspect-ratio: 16/9; object-fit: cover; border-radius: 10px; }
.guess-answer small { display: block; color: var(--gold); font-family: var(--font-body); font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.guess-answer b { font-size: clamp(24px, 3.2vw, 36px); }
.g-ok { color: var(--green); } .g-no { color: #FF8FAE; }
.guess-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 auto 20px; max-width: 760px; }
.guess-opt { display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; text-align: left; padding: 12px 16px; border-radius: 16px;
  color: var(--text); background: linear-gradient(160deg, rgba(34,27,14,.9), rgba(10,9,13,.9)); border: 1px solid rgba(233,194,94,.4); transition: transform .15s, border-color .2s, box-shadow .2s; }
.guess-opt:hover:not(:disabled) { transform: translateY(-2px); border-color: #F6D98A; box-shadow: 0 0 20px rgba(233,194,94,.25); }
.guess-opt span { grid-row: span 2; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #2A1B04; background: var(--gold-btn); }
.guess-opt b { font-family: var(--font-display); font-size: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.guess-opt small { color: var(--text-dim); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.guess-opt.right { border-color: var(--green); box-shadow: 0 0 26px rgba(111,214,160,.45); }
.guess-opt.right span { background: var(--green); }
.guess-opt.wrong { border-color: #FF8FAE; opacity: .75; }
.guess-opt:disabled:not(.right):not(.wrong) { opacity: .45; }
.guess-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; align-items: center; }
.guess-who { flex-basis: 100%; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; align-items: center; margin-bottom: 10px; }
.guess-who > span { color: var(--text-dim); font-size: 14px; }
.guess-winner { font-family: var(--font-display); font-weight: 700; font-size: clamp(36px, 6vw, 64px); margin: 10px 0 18px; }
.guess-sub { color: var(--text-dim); font-size: 18px; margin: -6px 0 22px; }
.guess-table { max-width: 440px; margin: 0 auto 24px; display: flex; flex-direction: column; gap: 8px; }
.guess-table div { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-radius: 14px; background: rgba(255,236,170,.04); border: 1px solid rgba(233,194,94,.18); }
.guess-table div.top { border-color: #F6D98A; background: rgba(233,194,94,.12); box-shadow: 0 0 20px rgba(233,194,94,.2); }
.guess-table span { width: 30px; font-size: 20px; } .guess-table b { flex: 1; text-align: left; font-size: 17px; }
.guess-table em { font-style: normal; font-family: var(--font-display); font-size: 26px; color: var(--gold-light); font-variant-numeric: lining-nums; }
@media (max-width: 600px) {
  .guess-opts { grid-template-columns: 1fr; }
  .guess-eq { height: 80px; gap: 3px; } .guess-eq i { width: 7px; }
  .guess-answer img { width: 80px; }
}

/* ---------- Реакции гостей: летят по экрану ---------- */
.react-layer { position: fixed; inset: 0; z-index: 70; pointer-events: none; overflow: hidden; }
.react { position: absolute; bottom: -80px; display: flex; flex-direction: column; align-items: center; animation: react-up var(--t, 3.6s) cubic-bezier(.3,.6,.4,1) forwards; will-change: transform, opacity; }
.react b { font-size: var(--s, 54px); line-height: 1; filter: drop-shadow(0 4px 10px rgba(0,0,0,.5)); animation: react-sway 1.2s ease-in-out infinite alternate; }
.react small { margin-top: 2px; padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 700; color: #2A1B04; background: rgba(251,233,169,.9); white-space: nowrap; }
@keyframes react-up { 0% { transform: translateY(0) scale(.6); opacity: 0; } 10% { opacity: 1; transform: translateY(-10vh) scale(1); } 80% { opacity: 1; } 100% { transform: translateY(-105vh) scale(1.1); opacity: 0; } }
@keyframes react-sway { from { transform: translateX(-14px) rotate(-8deg); } to { transform: translateX(14px) rotate(8deg); } }
@media (prefers-reduced-motion: reduce) { .react, .react b, .guess-eq.on i { animation-duration: .01s; } }

/* Пульт: реакции и тональность */
.r-reacts { position: relative; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 4px; margin-top: 12px; }
.r-react { min-width: 0; padding: 0; height: 46px; border-radius: 14px; border: 1px solid rgba(233,194,94,.3); background: rgba(0,0,0,.3); font-size: 21px; transition: transform .1s; touch-action: manipulation; }
.r-react:active { transform: scale(1.25); background: rgba(233,194,94,.2); }
.r-fly { position: absolute; bottom: 30px; font-size: 26px; pointer-events: none; transform: translateX(-50%); animation: r-fly .9s ease-out forwards; }
@keyframes r-fly { to { transform: translate(-50%, -90px) scale(1.4); opacity: 0; } }
.r-keys { display: flex; gap: 8px; margin-top: 8px; }
.r-btn.r-small { height: 40px; font-size: 14px; font-weight: 600; }
@media (max-width: 340px) { .r-reacts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Итоги «Угадай мелодию»: разбор по раундам */
.guess-log { max-width: 560px; margin: 0 auto 22px; display: flex; flex-direction: column; gap: 5px; text-align: left; }
.guess-log div { display: grid; grid-template-columns: 26px 1fr auto 24px; gap: 4px 10px; align-items: baseline; padding: 7px 12px; border-radius: 10px; background: rgba(255,236,170,.03); border: 1px solid rgba(233,194,94,.12); }
.guess-log span { color: var(--text-dim); font-size: 13px; }
.guess-log b { font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.guess-log small { color: var(--text-dim); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 180px; }
.guess-log i { font-style: normal; font-weight: 800; text-align: center; }
.guess-log .ok i { color: var(--green); } .guess-log .no i { color: #FF8FAE; }

.admin-detail { display: block; margin-top: 6px; padding: 8px 10px; border-radius: 8px; background: rgba(255,143,174,.08); border: 1px dashed rgba(255,143,174,.4); color: #FFC2D2; font-size: 12.5px; line-height: 1.45; }

/* ---------- Праздничный экран ---------- */
.celebrate { z-index: 85; display: flex; align-items: center; justify-content: center; padding: 20px; overflow-y: auto;
  background: radial-gradient(circle at 50% 30%, rgba(233,194,94,.24), transparent 55%), radial-gradient(circle at 50% 110%, rgba(226,63,132,.16), transparent 50%), #08070B; }
.cel-rays { position: absolute; left: 50%; top: 30%; width: 160vmax; height: 160vmax; transform: translate(-50%, -50%); pointer-events: none; opacity: .5;
  background: repeating-conic-gradient(from 0deg, rgba(246,217,138,.10) 0deg 6deg, transparent 6deg 18deg);
  -webkit-mask: radial-gradient(circle, #000 0, transparent 45%); mask: radial-gradient(circle, #000 0, transparent 45%); animation: cel-spin 40s linear infinite; }
@keyframes cel-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.cel-card { position: relative; text-align: center; max-width: 520px; width: 100%; animation: cel-pop .55s cubic-bezier(.2,1.4,.4,1) both; }
@keyframes cel-pop { from { opacity: 0; transform: scale(.8) translateY(20px); } to { opacity: 1; transform: none; } }
.cel-icon { font-size: 76px; line-height: 1; filter: drop-shadow(0 10px 24px rgba(0,0,0,.55)) drop-shadow(0 0 22px rgba(233,194,94,.45)); animation: cel-bounce 1.6s ease-in-out .5s infinite; }
@keyframes cel-bounce { 0%, 100% { transform: translateY(0) rotate(0); } 25% { transform: translateY(-8px) rotate(-6deg); } 50% { transform: translateY(0) rotate(0); } 75% { transform: translateY(-4px) rotate(5deg); } }
.celebrate .eyebrow { margin: 14px 0 2px; }
.cel-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(32px, 6vw, 48px); line-height: 1.12; margin: 0 0 6px; }
.cel-big { display: flex; flex-direction: column; align-items: center; margin: 4px 0 10px; }
.cel-big .gold-text { font-family: var(--font-display); font-weight: 700; font-size: clamp(84px, 18vw, 128px); line-height: 1; font-variant-numeric: lining-nums tabular-nums;
  filter: drop-shadow(0 0 28px rgba(233,194,94,.45)); }
.cel-big small { font-family: var(--font-display); font-size: 22px; color: #F6D98A; margin-top: 2px; }
.cel-text p { margin: 0 0 10px; font-size: 16.5px; line-height: 1.5; }
.cel-text .cel-mail { color: var(--gold-light); word-break: break-all; }
.cel-quote { font-family: var(--font-display); font-style: italic; font-size: 19px !important; color: #F3E7C8; }
.cel-small { color: var(--text-dim); font-size: 14px !important; }
.cel-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
.cel-actions button { font-size: 16px; padding: 13px 22px; }
@media (max-width: 600px) { .cel-actions button { flex: 1 1 100%; } .cel-icon { font-size: 64px; } }
@media (prefers-reduced-motion: reduce) { .cel-rays, .cel-icon, .cel-card { animation: none; } }

/* Окно покупки: три вкладки и почта друга */
.buy-tabs button { flex: 1; white-space: nowrap; padding: 9px 4px; font-size: 14px; }
.buy-intro { font-size: 14.5px; line-height: 1.5; }
.gift-form .gift-email { grid-column: 1 / -1; }
.gift-form .gift-email input { font-size: 16px; }
.gift-item .req-status.wait { color: var(--text-dim); }

/* ---------- Плавность и скорость ---------- */
/* Плавный переход между страницами сайта (Chrome, Edge, Safari 18+) */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .22s; }
/* Окна: плавное появление и уход, фон под окном не прокручивается */
.modal-wrap { animation: wrap-in .2s ease both; }
.modal-wrap.closing { animation: wrap-out .18s ease forwards; pointer-events: none; }
.modal-wrap.closing .modal { animation: modal-out .18s ease forwards; }
@keyframes wrap-in { from { opacity: 0; } }
@keyframes wrap-out { to { opacity: 0; } }
@keyframes modal-out { to { opacity: 0; transform: translateY(12px) scale(.98); } }
.modal, .drawer, .sidebar { overscroll-behavior: contain; }
body:has(.modal-wrap:not(.hidden)), body:has(.celebrate:not(.hidden)) { overflow: hidden; }
/* Нажатия: мгновенный отклик без серой вспышки и задержки двойного касания */
button, a, .card, .chip, .pack, label { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.btn-primary:active, .btn-ghost:active, .pack:active:not(:disabled), .card:active { transform: scale(.975); transition: transform .08s; }

/* Телефоны и планшеты: плавная прокрутка важнее тяжёлых эффектов (размытие фона и «дышащее» свечение
   перерисовываются каждый кадр и тормозят слабые телефоны) */
@media (hover: none) and (pointer: coarse), (max-width: 760px) {
  .sidebar, .topbar, .hero, .modal-wrap, .r-head { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .sidebar { background: linear-gradient(180deg, #120F17, #09080C); }
  .topbar { background: rgba(9,8,13,.97); }
  .hero { background: radial-gradient(circle at 10% 0%, rgba(233,194,94,.16), transparent 50%), linear-gradient(160deg, #19140D, #0A090D); }
  .modal-wrap { background: rgba(4,3,7,.84); }
  .r-head { background: rgba(7,7,12,.97); }
  .alphabet-bar, .sod-glow, .splash-lights { animation: none; }
  .alphabet-bar::before { display: none; }
  .letter-btn { text-shadow: 0 0 3px rgba(255,236,170,.9), 0 0 12px rgba(246,200,90,.65); }
  .modal-wrap.closing .modal { animation: sheet-out .2s ease forwards; }
}
@keyframes sheet-out { to { transform: translateY(60px); opacity: 0; } }

/* Телефон: окно песни — монограмма чуть меньше и выше, кнопка превью её не перекрывает; поле «Новый поющий» целиком */
@media (max-width: 600px) {
  .launch-mono { width: 92px; height: 92px; top: 34%; font-size: 37px; }
  .chip-add input { width: 168px; }
}

/* ---------- Сообщения: кнопка, карточка «новое сообщение», окно чата ---------- */
.chat-fab { position: fixed; right: 22px; bottom: 22px; z-index: 31; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid #F8DE8C; background: var(--gold-btn); color: #2A1B04; font-size: 25px; cursor: pointer;
  box-shadow: 0 10px 28px rgba(0,0,0,.5), 0 0 22px rgba(233,194,94,.35); transition: transform .18s cubic-bezier(.2,1.4,.4,1), box-shadow .2s; }
.chat-fab:hover { transform: translateY(-2px) scale(1.05); box-shadow: 0 14px 34px rgba(0,0,0,.55), 0 0 30px rgba(233,194,94,.55); }
.chat-fab-ico { line-height: 1; filter: drop-shadow(0 1px 1px rgba(0,0,0,.25)); }
.chat-fab-badge { position: absolute; top: -5px; right: -5px; min-width: 23px; height: 23px; padding: 0 6px; border-radius: 12px; display: grid; place-items: center;
  background: #E23F84; color: #fff; font-size: 12.5px; font-weight: 800; border: 2px solid #0B0910; box-shadow: 0 0 12px rgba(226,63,132,.6); }
.chat-fab::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid rgba(246,217,138,.9); opacity: 0; pointer-events: none; }
.chat-fab.ring::after { animation: fab-ring 1.6s ease-out 2; }
@keyframes fab-ring { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.7); } }
body .to-top { bottom: 92px; right: 27px; }
.chat-nudge { position: fixed; right: 22px; bottom: 92px; z-index: 32; display: flex; flex-direction: column; gap: 3px; max-width: 300px; padding: 13px 16px; text-align: left;
  border-radius: 16px; border: 1px solid rgba(246,217,138,.7); background: linear-gradient(170deg, #241C10, #110E14); color: var(--text); cursor: pointer;
  box-shadow: 0 16px 40px rgba(0,0,0,.6), 0 0 24px rgba(233,194,94,.2); opacity: 0; transform: translateY(12px) scale(.97); pointer-events: none; transition: opacity .25s, transform .3s cubic-bezier(.2,1.2,.4,1); }
.chat-nudge.show { opacity: 1; transform: none; pointer-events: auto; }
.chat-nudge b { color: var(--gold-light); font-size: 15px; }
.chat-nudge span { color: var(--text-dim); font-size: 13px; }

.modal.chat-modal { width: min(540px, 100%); height: min(700px, calc(100vh - 32px)); max-height: none; padding: 0; display: flex; flex-direction: column; overflow: hidden; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 60px 14px 18px; border-bottom: 1px solid rgba(233,194,94,.2);
  background: radial-gradient(circle at 0% 0%, rgba(233,194,94,.14), transparent 60%); }
.chat-ava { flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; color: #2A1B04;
  background: var(--gold-btn); box-shadow: 0 0 16px rgba(233,194,94,.4); border: 1px solid #F8DE8C; }
.chat-who b { display: block; font-family: var(--font-display); font-size: 19px; color: var(--gold-light); }
.chat-who small { color: var(--text-dim); font-size: 12.5px; }
.chat-list { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 14px 16px 10px; display: flex; flex-direction: column; gap: 7px; }
.chat-day { align-self: center; margin: 8px 0 4px; font-size: 12px; color: var(--text-dim); }
.chat-day span { padding: 4px 12px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.06); }
.chat-msg { max-width: 84%; padding: 9px 13px 7px; border-radius: 17px; line-height: 1.45; font-size: 15px; animation: msg-in .22s ease both; }
.chat-msg.me { align-self: flex-end; color: #2A1B04; background: linear-gradient(180deg, #F6DA8E, #E2B653); border-bottom-right-radius: 6px; box-shadow: 0 4px 14px rgba(0,0,0,.3); }
.chat-msg.them { align-self: flex-start; color: var(--text); background: #1F1A26; border: 1px solid rgba(233,194,94,.28); border-bottom-left-radius: 6px; }
.chat-msg.pending { opacity: .7; }
.chat-text { white-space: pre-wrap; word-break: break-word; }
.chat-msg.me a { color: #5A3A00; } .chat-msg.them a, .chat-bc a { color: var(--gold); }
.chat-time { margin-top: 2px; text-align: right; font-size: 11px; opacity: .65; font-variant-numeric: tabular-nums; }
.chat-tick { margin-left: 3px; letter-spacing: -2px; } .chat-tick.read { color: #0F6B3E; opacity: 1; font-weight: 700; }
.chat-bc { align-self: stretch; margin: 4px 0; padding: 12px 14px 8px; border-radius: 14px; background: rgba(233,194,94,.07); border: 1px dashed rgba(246,217,138,.55); line-height: 1.5; animation: msg-in .22s ease both; }
.chat-bc-head { font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
@keyframes msg-in { from { opacity: 0; transform: translateY(6px); } }
.chat-empty { margin: auto 0; padding: 18px 8px; text-align: center; color: var(--text-dim); }
.chat-empty-ico { font-size: 40px; }
.chat-empty b { display: block; margin: 6px 0; font-family: var(--font-display); font-size: 22px; color: var(--gold-light); }
.chat-empty p { margin: 0 auto 14px; max-width: 380px; line-height: 1.55; }
.chat-quick { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.chat-modal .err { padding: 0 16px; min-height: 0; }
.chat-form { display: flex; align-items: flex-end; gap: 8px; padding: 10px 12px 6px; border-top: 1px solid rgba(233,194,94,.18); }
.chat-form textarea { flex: 1; min-height: 46px; max-height: 140px; resize: none; padding: 12px 16px; border-radius: 23px; border: 1px solid rgba(233,194,94,.35);
  background: rgba(0,0,0,.4); color: var(--text); font: inherit; font-size: 16px; line-height: 1.35; outline: none; }
.chat-form textarea:focus { border-color: var(--gold); }
.chat-send { flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%; border: 1px solid #F8DE8C; background: var(--gold-btn); color: #2A1B04; font-size: 18px; cursor: pointer;
  box-shadow: 0 0 14px rgba(233,194,94,.35); }
.chat-send:disabled { opacity: .5; }
.chat-note { margin: 0; padding: 2px 16px calc(10px + env(safe-area-inset-bottom)); text-align: center; font-size: 11.5px; color: var(--text-dim); }
@media (max-width: 600px) {
  .chat-fab { right: 14px; bottom: 14px; width: 54px; height: 54px; font-size: 23px; }
  body .to-top { bottom: 80px; right: 17px; }
  .chat-nudge { right: 14px; left: 14px; bottom: 80px; max-width: none; }
  .modal.chat-modal { height: 92vh; height: 92dvh; padding: 0; border-radius: 22px 22px 0 0; }
}

/* ---------- Золотые заголовки и тексты окон (вход, регистрация, документы) ---------- */
.modal h2.gold-title { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  font-size: 30px; filter: drop-shadow(0 0 14px rgba(233,194,94,.25)); }
.modal p.gold-lead { color: #F2D27A; font-size: 15.5px; }
.modal p.gold-lead b { color: #FFE7A0; }

/* ---------- Кнопка покупки в шапке: золотое свечение ---------- */
.btn-buy-glow { position: relative; isolation: isolate; overflow: visible; }
.btn-buy-glow::before { content: ""; position: absolute; inset: -3px; border-radius: inherit; z-index: -1; pointer-events: none;
  box-shadow: 0 0 22px 6px rgba(246,206,110,.85), 0 0 48px 14px rgba(233,170,60,.45); opacity: .45; animation: buy-glow 2s ease-in-out infinite; }
.btn-buy-glow::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; overflow: hidden;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.55) 50%, transparent 65%) no-repeat; background-size: 250% 100%; background-position: 130% 0;
  animation: buy-shine 3.6s ease-in-out infinite; mix-blend-mode: soft-light; }
@keyframes buy-glow { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }
@keyframes buy-shine { 0%, 55% { background-position: 130% 0; } 85%, 100% { background-position: -130% 0; } }
.btn-buy-glow:hover::before { opacity: 1; animation-play-state: paused; }
.buy-short { display: none; }
@media (max-width: 600px) { .buy-long { display: none; } .buy-short { display: inline; } }

/* ---------- Главная: цены — кнопки покупки ---------- */
.buy-chip { cursor: pointer; font: inherit; color: var(--text); display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 12px 8px 10px;
  border: 1px solid rgba(246,217,138,.75); background: linear-gradient(180deg, rgba(58,44,18,.92), rgba(18,14,10,.95));
  box-shadow: inset 0 1px 0 rgba(255,240,190,.22), 0 0 18px rgba(233,194,94,.22); transition: transform .16s cubic-bezier(.2,1.4,.4,1), box-shadow .2s, border-color .2s; }
.buy-chip:hover, .buy-chip:focus-visible { outline: none; transform: translateY(-3px); border-color: #FFE7A0; box-shadow: inset 0 1px 0 rgba(255,240,190,.3), 0 0 30px rgba(233,194,94,.5), 0 12px 24px rgba(0,0,0,.4); }
.buy-chip b { font-size: 22px; }
.buy-chip i { min-height: 1.2em; margin-bottom: 8px; }
@media (max-width: 600px) { .buy-chip .gift-word { display: none; } .buy-chip { min-width: 0; } }
.buy-chip-go { display: block; align-self: stretch; margin-top: auto; padding: 7px 0; border-radius: 9px; background: var(--gold-btn); color: #2A1B04; font-weight: 800; font-size: 13.5px;
  letter-spacing: .03em; box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 4px 12px rgba(204,154,51,.35); }
.buy-chip.has-gift { border-color: #F6D98A; box-shadow: inset 0 1px 0 rgba(255,240,190,.25), 0 0 24px rgba(233,194,94,.35); }
/* Выбранный на главной пакет в окне покупки */
.pack.pack-pick { border-color: #FFE7A0 !important; box-shadow: 0 0 0 2px rgba(246,217,138,.6), 0 0 26px rgba(233,194,94,.45); }
.pack.pack-pick::after { content: "Выбрано"; position: absolute; top: -9px; left: 14px; padding: 1px 9px; border-radius: 999px; background: var(--gold-btn); color: #2A1B04; font-size: 11px; font-weight: 800; }
.pack { position: relative; }
.pick-hint { color: var(--gold-light); }
.pay-help { color: var(--text-dim); } .pay-help a { color: var(--gold); }
@media (prefers-reduced-motion: reduce) { .btn-buy-glow::before, .btn-buy-glow::after { animation: none; } }

/* ---------- Главная: блок о сайте со ссылками на каталог (для поисковиков и новых гостей) ---------- */
.seo-home { margin: 40px 0 10px; padding: 22px 24px; border-radius: 18px; border: 1px solid rgba(233,194,94,.22); background: rgba(14,11,16,.7); }
.seo-home h2 { margin: 0 0 8px; font-family: var(--font-display); font-size: 24px; }
.seo-home p { margin: 0 0 12px; color: var(--text-dim); line-height: 1.6; font-size: 14.5px; }
.seo-home-links { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.seo-home-links a { color: var(--gold); font-size: 14px; text-decoration: none; }
.seo-home-links a:hover { text-decoration: underline; }

/* ---------- Приложение на телефон ---------- */
.side-install { border-color: rgba(246,217,138,.65) !important; color: var(--gold-light) !important; }
.pwa-steps { margin: 4px 0 18px; padding-left: 22px; line-height: 1.9; color: var(--text); }
.pwa-ico { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; background: rgba(233,194,94,.15); font-size: 14px; }
.pwa-nudge { position: fixed; left: 12px; right: 12px; bottom: calc(80px + env(safe-area-inset-bottom)); z-index: 33; display: flex; align-items: center; gap: 12px; padding: 12px 14px;
  border-radius: 18px; border: 1px solid rgba(246,217,138,.7); background: linear-gradient(170deg, #241C10, #110E14); box-shadow: 0 16px 40px rgba(0,0,0,.6);
  transform: translateY(30px); opacity: 0; transition: transform .3s cubic-bezier(.2,1.2,.4,1), opacity .25s; }
.pwa-nudge.show { transform: none; opacity: 1; }
.pwa-nudge-ico { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 24px; color: #F2D27A;
  background: radial-gradient(circle at 50% 30%, #3a2a10, #07070C); border: 2px solid #E9C25E; }
.pwa-nudge div { flex: 1; min-width: 0; } .pwa-nudge b { display: block; color: var(--gold-light); font-size: 14.5px; } .pwa-nudge small { color: var(--text-dim); font-size: 12.5px; }
.pwa-x { border: 0; background: transparent; color: var(--text-dim); font-size: 16px; padding: 4px; }

/* ---------- Прогресс: уровень, серия, задания дня ---------- */
.prog-bar { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 14px; width: 100%; margin: 0 0 22px; padding: 12px 16px; text-align: left;
  border-radius: 18px; border: 1px solid rgba(246,217,138,.45); background: linear-gradient(170deg, rgba(36,28,14,.9), rgba(12,10,14,.92)); color: var(--text); cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,236,170,.12), 0 10px 26px rgba(0,0,0,.35); transition: border-color .2s, transform .15s; font: inherit; }
.prog-bar:hover { border-color: #F6D98A; transform: translateY(-1px); }
.pg-lvl { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-btn); color: #2A1B04; border: 2px solid #FFE7A0;
  box-shadow: 0 0 16px rgba(233,194,94,.45); font-family: var(--font-display); }
.pg-lvl b { font-size: 21px; }
.pg-main { min-width: 0; }
.pg-title { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pg-title .gold-text { font-family: var(--font-display); font-weight: 700; font-size: 18px; }
.pg-title small { color: var(--text-dim); font-size: 12px; }
.pg-xp { height: 8px; margin-top: 6px; border-radius: 99px; background: rgba(255,255,255,.07); overflow: hidden; }
.pg-xp i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #A87622, #F2D27A, #FFF3C4); box-shadow: 0 0 10px rgba(233,194,94,.6); transition: width .6s ease; }
.pg-xp.small { height: 6px; margin-top: 5px; }
.pg-streak, .pg-tasks { display: flex; flex-direction: column; align-items: center; min-width: 64px; padding: 4px 8px; border-radius: 12px; background: rgba(0,0,0,.25); }
.pg-streak b, .pg-tasks b { font-family: var(--font-display); font-size: 19px; color: var(--gold-light); line-height: 1.1; }
.pg-streak small, .pg-tasks small { font-size: 10.5px; color: var(--text-dim); white-space: nowrap; }
.pg-streak { font-size: 15px; } .pg-streak.off { opacity: .55; }
.pg-tasks.all b { color: #6FD6A0; }
@media (max-width: 600px) {
  .prog-bar { grid-template-columns: auto 1fr auto auto; gap: 9px; padding: 10px 12px; }
  .pg-lvl { width: 40px; height: 40px; } .pg-lvl b { font-size: 18px; }
  .pg-title .gold-text { font-size: 15px; } .pg-title small { display: none; }
  .pg-streak, .pg-tasks { min-width: 50px; padding: 3px 4px; }
}
.score-xp { display: inline-block; margin: -2px 0 10px; padding: 5px 14px; border-radius: 99px; background: rgba(233,194,94,.15); border: 1px solid rgba(246,217,138,.6);
  color: var(--gold-light); font-weight: 800; animation: modal-in .3s ease; }
.pgm-level { display: flex; align-items: center; gap: 16px; margin: 10px 0 14px; }
.pgm-ring { --p: 0; flex-shrink: 0; width: 92px; height: 92px; border-radius: 50%; display: grid; place-content: center; text-align: center;
  background: radial-gradient(closest-side, #15110c 79%, transparent 80% 100%), conic-gradient(#F2D27A calc(var(--p) * 1%), rgba(255,255,255,.08) 0); box-shadow: 0 0 22px rgba(233,194,94,.3); }
.pgm-ring b { font-family: var(--font-display); font-size: 34px; color: var(--gold-light); line-height: 1; }
.pgm-ring small { font-size: 10.5px; color: var(--text-dim); text-transform: uppercase; letter-spacing: .1em; }
.pgm-info { flex: 1; min-width: 0; } .pgm-info small { color: var(--text-dim); font-size: 12.5px; }
.pgm-title { font-family: var(--font-display); font-weight: 700; font-size: 22px; }
.pgm-streak { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: rgba(233,120,40,.08); border: 1px solid rgba(255,150,60,.35); }
.pgm-streak.off { background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.1); }
.pgm-flame { font-size: 30px; } .pgm-streak b { display: block; color: #FFC07A; font-size: 16px; } .pgm-streak small { color: var(--text-dim); font-size: 12.5px; }
.pgm-all { font-size: 12px; color: #6FD6A0; font-family: var(--font-body); }
.pgm-tasks { display: grid; gap: 8px; margin-bottom: 8px; }
.pgm-task { display: grid; grid-template-columns: 38px 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.035); border: 1px solid rgba(233,194,94,.18); }
.pgm-task.done { border-color: rgba(111,214,160,.5); background: rgba(111,214,160,.07); }
.pgm-ticon { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(233,194,94,.12); font-size: 18px; }
.pgm-task.done .pgm-ticon { background: #3FAF7A; color: #fff; font-weight: 800; }
.pgm-task b { font-size: 14px; } .pgm-task > small { text-align: right; font-size: 11.5px; color: var(--text-dim); line-height: 1.3; }

/* ---------- «Мой караоке-год» — истории ---------- */
.year-screen { z-index: 86; display: grid; place-items: center; background: #050407; }
.y-stage { position: relative; width: min(100vw, calc(100vh * 9 / 16)); height: min(100vh, calc(100vw * 16 / 9)); max-height: 100vh; overflow: hidden; cursor: pointer; user-select: none;
  background: radial-gradient(circle at 50% 18%, rgba(233,194,94,.3), transparent 55%), radial-gradient(circle at 50% 110%, rgba(226,63,132,.2), transparent 50%), linear-gradient(170deg, #241B0E, #120E0B 55%, #0B0910);
  border-radius: 18px; box-shadow: 0 0 0 1px rgba(246,217,138,.35), 0 30px 80px rgba(0,0,0,.6); }
@media (max-width: 600px) { .y-stage { width: 100vw; height: 100dvh; border-radius: 0; } }
.y-bars { position: absolute; top: 12px; left: 12px; right: 56px; display: flex; gap: 4px; z-index: 2; }
.y-bars i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,.22); overflow: hidden; position: relative; }
.y-bars i.done { background: #F2D27A; }
.y-bars i.now::after { content: ""; position: absolute; inset: 0; background: #F2D27A; transform-origin: left; animation: y-bar var(--ms) linear forwards; }
@keyframes y-bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.y-close { position: absolute; top: 4px; right: 8px; z-index: 3; width: 40px; height: 40px; border: 0; background: transparent; color: #F3E7C8; font-size: 20px; cursor: pointer; }
.y-slide { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 60px 28px 40px; opacity: 0; transform: translateY(14px) scale(.98); }
.y-slide.in { opacity: 1; transform: none; transition: opacity .45s ease, transform .55s cubic-bezier(.2,1.2,.4,1); }
.y-eyebrow { margin: 0 0 10px; font-size: 13px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: #E9C25E; }
.y-h { margin: 6px 0 14px; font-family: var(--font-display); font-weight: 700; font-size: clamp(32px, 8vw, 46px); line-height: 1.12; }
.y-num { font-family: var(--font-display); font-weight: 700; font-size: clamp(96px, 30vw, 150px); line-height: 1; font-variant-numeric: lining-nums tabular-nums; filter: drop-shadow(0 0 26px rgba(233,194,94,.45)); }
.y-unit { margin: 4px 0 16px; font-family: var(--font-display); font-size: 24px; color: #F6D98A; }
.y-sub { margin: 0; max-width: 360px; color: #E3D6BB; font-size: 15.5px; line-height: 1.55; } .y-sub b { color: #FFE7A0; }
.y-artist { font-family: var(--font-display); font-weight: 700; font-size: clamp(36px, 10vw, 54px); line-height: 1.1; margin: 8px 0 16px; word-break: break-word; }
.y-big-ico { font-size: 66px; line-height: 1; margin-bottom: 10px; filter: drop-shadow(0 0 20px rgba(233,194,94,.4)); }
.y-top { list-style: none; padding: 0; margin: 4px 0 0; width: 100%; max-width: 380px; text-align: left; }
.y-top li { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; padding: 11px 12px; margin-bottom: 8px; border-radius: 14px;
  background: rgba(255,236,170,.06); border: 1px solid rgba(233,194,94,.25); opacity: 0; animation: y-li .5s ease forwards; animation-delay: var(--d); }
@keyframes y-li { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
.y-top span { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: #F2D27A; text-align: center; }
.y-top b { font-size: 14px; line-height: 1.3; } .y-top small { color: var(--text-dim); font-size: 12px; white-space: nowrap; }
.y-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 26px; }
.y-intro .y-sub { margin-top: 14px; opacity: .8; }

/* ---------- Сцена и зал ---------- */
.stage-lights { --v: 0; position: absolute; inset: 0; pointer-events: none; z-index: 1; opacity: 0; transition: opacity .4s; mix-blend-mode: screen; overflow: hidden; }
.stage-lights.on { opacity: 1; }
.stage-lights .beam { position: absolute; top: -20%; width: 46%; height: 95%; filter: blur(18px); opacity: calc(.08 + var(--v) * .55); transform-origin: 50% 0; will-change: opacity, transform; }
.stage-lights .beam.l { left: -6%; background: radial-gradient(ellipse 40% 100% at 50% 0%, rgba(255,200,90,.85), transparent 70%); transform: rotate(calc(-18deg - var(--v) * 6deg)); }
.stage-lights .beam.r { right: -6%; background: radial-gradient(ellipse 40% 100% at 50% 0%, rgba(226,90,170,.8), transparent 70%); transform: rotate(calc(18deg + var(--v) * 6deg)); }
.stage-lights .beam.c { left: 27%; width: 46%; height: 60%; background: radial-gradient(ellipse 50% 100% at 50% 0%, rgba(255,240,200,.6), transparent 70%); opacity: calc(var(--v) * .35); }
.player-icon-btn.p-fx { opacity: .65; } .player-icon-btn.p-fx.on { opacity: 1; color: var(--gold-light); border-color: rgba(246,217,138,.7); }
.score-bravo { margin: -4px 0 10px; font-family: var(--font-display); font-weight: 700; font-size: clamp(34px, 7vw, 54px); letter-spacing: .06em;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 18px rgba(233,194,94,.5));
  animation: bravo-in .7s cubic-bezier(.2,1.6,.4,1) both; }
@keyframes bravo-in { from { opacity: 0; transform: scale(.4) rotate(-6deg); } to { opacity: 1; transform: none; } }
.score-applause { margin-top: 14px; border: 0; background: transparent; color: var(--text-dim); font-size: 13px; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .stage-lights { display: none; } }

/* ---------- Конкурс «Голос недели» ---------- */
.modal.contest-modal { width: min(620px, 100%); }
.side-contest { border-color: rgba(246,217,138,.55) !important; }
.ct-head { display: flex; gap: 14px; align-items: center; }
.ct-cup { font-size: 46px; filter: drop-shadow(0 0 16px rgba(233,194,94,.5)); }
.ct-head h2 { margin: 0; } .ct-head p { margin: 2px 0 0; }
.ct-prizes { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.ct-prizes span { padding: 6px 12px; border-radius: 99px; border: 1px solid rgba(246,217,138,.5); background: rgba(233,194,94,.08); font-size: 13.5px; }
.ct-prizes b { color: var(--gold-light); }
.ct-mine { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 11px 14px; margin-bottom: 12px; border-radius: 14px; border: 1px solid rgba(233,194,94,.35); background: rgba(233,194,94,.07); }
.ct-mine > div:first-child { flex: 1; min-width: 200px; } .ct-mine b { display: block; font-size: 14px; } .ct-mine small { color: var(--text-dim); font-size: 12.5px; }
.ct-mine.approved { border-color: rgba(111,214,160,.55); background: rgba(111,214,160,.07); }
.ct-mine.rejected { border-color: rgba(255,107,122,.5); background: rgba(255,107,122,.06); }
.ct-mine-act { display: flex; gap: 6px; }
.ct-tabs { margin-top: 4px; } .ct-tabs .muted { font-weight: 400; }
.ct-list { display: grid; gap: 8px; }
.ct-entry { display: grid; grid-template-columns: 34px 44px 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 14px;
  background: rgba(255,255,255,.035); border: 1px solid rgba(233,194,94,.18); transition: border-color .2s, background .2s; }
.ct-entry.mine { border-color: rgba(246,217,138,.6); }
.ct-entry.playing { border-color: #F6D98A; background: rgba(233,194,94,.1); }
.ct-rank { text-align: center; font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--gold-light); }
.ct-play { width: 44px; height: 44px; border-radius: 50%; border: 1px solid #F8DE8C; background: var(--gold-btn); color: #2A1B04; font-size: 16px; cursor: pointer; }
.ct-play.small { width: 34px; height: 34px; font-size: 13px; flex-shrink: 0; }
.ct-info { min-width: 0; } .ct-info b { display: block; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ct-info small { display: block; color: var(--text-dim); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ct-you { font-style: normal; font-size: 11px; padding: 1px 6px; border-radius: 6px; background: var(--gold-btn); color: #2A1B04; vertical-align: 2px; }
.ct-prog { height: 3px; margin-top: 6px; border-radius: 3px; background: rgba(255,255,255,.06); overflow: hidden; } .ct-prog i { display: block; height: 100%; width: 0; background: #F2D27A; }
.ct-entry:not(.playing) .ct-prog { visibility: hidden; }
.ct-like { min-width: 62px; padding: 8px 10px; border-radius: 99px; border: 1px solid rgba(255,120,150,.45); background: rgba(255,120,150,.06); color: #FF9DB5; font-size: 14px; cursor: pointer; }
.ct-like.on { background: linear-gradient(180deg, #ff6b8e, #d0346a); color: #fff; border-color: #ff9ab4; box-shadow: 0 0 14px rgba(255,90,140,.45); }
.ct-like.pop { animation: like-pop .45s cubic-bezier(.2,1.8,.4,1); }
@keyframes like-pop { 40% { transform: scale(1.25); } }
.ct-like:disabled { opacity: .5; cursor: default; } .ct-like.static { border: 0; background: transparent; min-width: 0; }
.ct-empty { text-align: center; padding: 18px 8px; color: var(--text-dim); } .ct-empty b { display: block; color: var(--gold-light); font-size: 17px; margin: 6px 0; } .ct-empty p { margin: 0 0 14px; }
.ct-note { color: var(--text-dim); font-size: 14px; }
.ct-recs { display: grid; gap: 8px; max-height: 300px; overflow-y: auto; margin-bottom: 12px; }
.ct-rec { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(233,194,94,.22); background: rgba(255,255,255,.03); cursor: pointer; }
.ct-rec:has(input:checked) { border-color: #F6D98A; background: rgba(233,194,94,.1); }
.ct-rec input { accent-color: #E9C25E; width: 18px; height: 18px; } .ct-rec span { flex: 1; min-width: 0; }
.ct-rec b { display: block; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .ct-rec small { color: var(--text-dim); font-size: 12px; }
.ct-upload { height: 6px; border-radius: 6px; background: rgba(255,255,255,.08); overflow: hidden; margin-bottom: 10px; } .ct-upload i { display: block; height: 100%; width: 0; background: var(--gold-btn); transition: width .2s; }
.rec-contest { color: var(--gold-light); }
@media (max-width: 600px) { .ct-entry { grid-template-columns: 26px 40px 1fr auto; gap: 8px; padding: 9px 10px; } .ct-play { width: 40px; height: 40px; } .ct-like { min-width: 54px; padding: 7px 8px; } }
.ct-tabs button { white-space: nowrap; font-size: 14px; padding: 9px 6px; }
.ct-recs { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 600px) { .ct-tabs button { font-size: 13px; padding: 9px 3px; } .ct-head .ct-cup { font-size: 38px; } }
.ct-tabs button.active .muted { color: #2A1B04; opacity: .7; }
.contest-card { display: flex; align-items: center; gap: 12px; width: 100%; margin: -10px 0 22px; padding: 11px 16px; text-align: left; font: inherit; color: var(--text); cursor: pointer;
  border-radius: 16px; border: 1px solid rgba(255,150,190,.4); background: linear-gradient(100deg, rgba(80,20,50,.55), rgba(20,14,18,.9) 60%); transition: border-color .2s, transform .15s; }
.contest-card:hover { border-color: rgba(255,170,200,.8); transform: translateY(-1px); }
.cc-cup { font-size: 30px; filter: drop-shadow(0 0 12px rgba(233,194,94,.5)); }
.contest-card div { flex: 1; min-width: 0; } .contest-card b { display: block; color: var(--gold-light); font-family: var(--font-display); font-size: 17px; }
.contest-card small { color: var(--text-dim); font-size: 12.5px; }
.cc-prize { flex-shrink: 0; padding: 6px 12px; border-radius: 99px; background: var(--gold-btn); color: #2A1B04; font-weight: 800; font-size: 12.5px; }
@media (max-width: 600px) { .cc-prize { display: none; } }
.nt-kinds { display: grid; gap: 2px; margin: 14px 0 10px; }
.nt-kinds .agree { margin: 0; }

/* ---------- «Не видите письмо? Загляните в Спам» ---------- */
.mail-help { position: relative; display: flex; gap: 14px; align-items: flex-start; margin: 16px 0 2px; padding: 14px 16px 15px;
  border-radius: 16px; border: 1px solid rgba(233,194,94,.38); text-align: left;
  background: radial-gradient(120% 140% at 0% 0%, rgba(233,194,94,.16), rgba(233,194,94,.04) 55%, rgba(0,0,0,.18));
  box-shadow: inset 0 1px 0 rgba(255,243,196,.08), 0 8px 24px rgba(0,0,0,.25);
  animation: mh-in .5s cubic-bezier(.2,.8,.2,1) both .15s; }
.mh-icon { position: relative; flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: var(--gold-btn); box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 4px 14px rgba(204,154,51,.35); }
.mh-env { font-size: 24px; line-height: 1; color: #2A1B04; animation: mh-wiggle 2.8s ease-in-out infinite 1s; }
.mh-dot { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px;
  background: var(--magenta); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center;
  box-shadow: 0 0 0 2px var(--surface), 0 0 12px rgba(226,63,132,.6); }
.mh-body { min-width: 0; }
.mh-title { display: block; color: var(--gold-light); font-size: 15px; line-height: 1.3; margin: 2px 0 8px; }
.mh-steps { margin: 0; padding: 0; list-style: none; counter-reset: mh; display: grid; gap: 6px; }
.mh-steps li { position: relative; padding-left: 26px; color: #E9DFC6; font-size: 13.5px; line-height: 1.42; counter-increment: mh; }
.mh-steps li::before { content: counter(mh); position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%;
  border: 1px solid rgba(233,194,94,.55); color: var(--gold); font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.mh-steps b { color: #FFE7A0; font-weight: 600; }
.mh-open { display: inline-flex; align-items: center; gap: 6px; margin-top: 11px; padding: 8px 14px; border-radius: 999px;
  border: 1px solid rgba(233,194,94,.5); color: var(--gold-light); text-decoration: none; font-size: 13px; font-weight: 600;
  background: rgba(0,0,0,.25); transition: background .2s, border-color .2s; }
.mh-open:hover, .mh-open:focus-visible { background: rgba(233,194,94,.14); border-color: var(--gold); }
.mail-help.nudge { animation: mh-nudge 1.6s ease-in-out 2; }
.small a.wait { color: var(--text-dim); text-decoration: none; pointer-events: none; opacity: .75; }
@keyframes mh-in { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes mh-wiggle { 0%, 82%, 100% { transform: rotate(0); } 86% { transform: rotate(-12deg); } 90% { transform: rotate(10deg); } 94% { transform: rotate(-6deg); } }
@keyframes mh-nudge { 0%, 100% { box-shadow: inset 0 1px 0 rgba(255,243,196,.08), 0 8px 24px rgba(0,0,0,.25); border-color: rgba(233,194,94,.38); }
  50% { box-shadow: 0 0 0 4px rgba(233,194,94,.18), 0 0 34px rgba(233,194,94,.45); border-color: var(--gold); } }
@media (max-width: 520px) {
  .mail-help { gap: 12px; padding: 13px 13px 14px; }
  .mh-icon { width: 40px; height: 40px; border-radius: 12px; }
  .mh-env { font-size: 21px; }
  .mh-title { font-size: 14.5px; }
  .mh-steps li { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .mail-help, .mh-env, .mail-help.nudge { animation: none; } }

/* ---------- Микрофон: подсказка в плеере и экран «Оценки не было» ---------- */
.mic-hint { position: absolute; left: 16px; right: 16px; top: calc(env(safe-area-inset-top, 0px) + 150px); z-index: 6;
  width: fit-content; max-width: 560px; margin: 0 auto; padding: 11px 18px; border-radius: 999px; font-size: 14.5px; font-weight: 600; line-height: 1.35; text-align: center;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); animation: mh-in .4s cubic-bezier(.2,.8,.2,1) both; pointer-events: none; }
.mic-hint.ask { background: rgba(20,16,8,.82); color: var(--gold-light); border: 1px solid var(--gold);
  box-shadow: 0 0 0 4px rgba(233,194,94,.12), 0 10px 30px rgba(0,0,0,.45); animation: mh-in .4s both, mic-ask 1.8s ease-in-out infinite .4s; }
.mic-hint.warn { background: rgba(40,10,22,.85); color: #FFD3E2; border: 1px solid rgba(226,63,132,.6); box-shadow: 0 10px 30px rgba(0,0,0,.45); }
@keyframes mic-ask { 0%, 100% { box-shadow: 0 0 0 4px rgba(233,194,94,.12), 0 10px 30px rgba(0,0,0,.45); } 50% { box-shadow: 0 0 0 8px rgba(233,194,94,.2), 0 0 30px rgba(233,194,94,.35); } }

.score-nomic { display: none; }
.score-screen.nomic .score-nomic { display: block; }
.score-screen.nomic .score-number, .score-screen.nomic .score-stars, .score-screen.nomic .score-caption, .score-screen.nomic .score-name-input,
.score-screen.nomic .score-bravo, .score-screen.nomic .score-xp, .score-screen.nomic .score-applause, .score-screen.nomic .eyebrow { display: none !important; }
.sn-icon { position: relative; width: 92px; height: 92px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; font-size: 44px;
  background: radial-gradient(circle at 50% 35%, rgba(233,194,94,.22), rgba(233,194,94,.05) 70%); border: 1px solid rgba(233,194,94,.45);
  box-shadow: 0 0 40px rgba(233,194,94,.18); }
.sn-icon i { position: absolute; width: 70%; height: 3px; border-radius: 2px; background: var(--magenta); transform: rotate(-38deg); box-shadow: 0 0 10px rgba(226,63,132,.7); }
.sn-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 6vw, 40px); margin: 0 0 8px; line-height: 1.1; }
.sn-text { color: #F2D27A; font-size: 15.5px; line-height: 1.45; margin: 0 auto 14px; max-width: 420px; }
.sn-how { list-style: none; counter-reset: sn; margin: 0 auto 22px; padding: 14px 16px; max-width: 440px; display: grid; gap: 9px; text-align: left;
  border-radius: 16px; border: 1px solid rgba(233,194,94,.3); background: rgba(0,0,0,.32); }
.sn-how li { position: relative; padding-left: 30px; color: #E9DFC6; font-size: 14px; line-height: 1.45; counter-increment: sn; }
.sn-how li::before { content: counter(sn); position: absolute; left: 0; top: 0; width: 21px; height: 21px; border-radius: 50%; background: var(--gold-btn); color: #2A1B04;
  font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.sn-how b { color: #FFE7A0; font-weight: 600; }
@media (max-width: 520px) {
  .mic-hint { font-size: 13.5px; padding: 10px 14px; border-radius: 16px; }
  .sn-icon { width: 76px; height: 76px; font-size: 36px; }
  .sn-how li { font-size: 13.5px; }
}
@media (prefers-reduced-motion: reduce) { .mic-hint, .mic-hint.ask { animation: none; } }
/* Высокая карточка результата на маленьком экране — прокручивается, а не обрезается сверху */
.score-screen { overflow-y: auto; align-items: flex-start; }
.score-screen .score-card { margin: auto 0; }
