:root {
  color-scheme: dark;
  --bg: #0c0c11;
  --panel: #15151d;
  --text: #f7f5fc;
  --muted: #b0acbd;
  --quiet: #9994aa;
  --line: #2a2935;
  --purple: #bc9aff;
  --pink: #f198c9;
  --mint: #67d5b6;
  --gradient: linear-gradient(110deg, #9472ff 0%, #bd7df1 49%, #f2a0d4 100%);
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  scroll-padding-top: 20px;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
button { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid #d5b1ff;
  outline-offset: 4px;
}
button, a, summary { -webkit-tap-highlight-color: transparent; }
button:disabled { cursor: default; opacity: .5; }
[hidden] { display: none !important; }
::selection { color: #fff; background: #7242a5; }
.wrap { width: min(1240px, calc(100% - 112px)); margin-inline: auto; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
h1, h2 { font-weight: 750; }
h2 { font-size: clamp(32px, 3vw, 46px); line-height: 1.09; letter-spacing: -.055em; }
h3 { font-size: 21px; line-height: 1.24; letter-spacing: -.035em; }
p { line-height: 1.65; }
.icon { width: 20px; height: 20px; flex: none; display: inline-block; vertical-align: middle; }
.skip { position: absolute; z-index: 20; left: 10px; top: -90px; background: var(--panel); padding: 12px; }
.skip:focus { top: 10px; }
.site-header { border-bottom: 1px solid #24232d; background: #0c0c11; position: relative; z-index: 5; }
.header-inner { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.brandmark { display: flex; align-items: center; justify-content: center; gap: 2.8px; width: 39px; height: 39px; border-radius: 12px; background: linear-gradient(145deg,#b08bfa,#8a59dc 75%); box-shadow: inset 0 1px 1px #e1ccff75; }
.brandmark i { display: block; width: 2.8px; height: 8px; border-radius: 5px; background: #fff; }
.brandmark i:nth-child(2) { height: 16px; }
.brandmark i:nth-child(3) { height: 24px; }
.brandmark i:nth-child(4) { height: 14px; }
.brandname { display: flex; flex-direction: column; font-size: 22px; font-weight: 800; letter-spacing: .01em; line-height: 1.02; }
.brandname small { margin-top: 5px; font-size: 8px; font-weight: 650; color: #bbb5cc; letter-spacing: .205em; }
#main-nav, .header-tools, .languages { display: flex; align-items: center; }
#main-nav { align-self: stretch; gap: clamp(15px,2.4vw,36px); }
#main-nav a { position: relative; display: flex; align-items: center; height: 100%; color: #aca8b8; font-size: 13px; font-weight: 550; white-space: nowrap; }
#main-nav a:hover, #main-nav a[aria-current] { color: #f4edff; }
#main-nav a[aria-current]::after { content: ''; width: 15px; height: 2px; position: absolute; bottom: 17px; left: 0; background: #b58bff; border-radius: 4px; }
.header-tools { gap: 14px; }
.languages { padding: 3px; border: 1px solid #302d39; background: #17151e; border-radius: 9px; gap: 2px; }
.languages button { border: 0; min-height: 26px; padding: 0 8px; border-radius: 6px; background: transparent; color: #b4adbf; line-height: 1.1; font-size: 11px; font-weight: 650; }
.languages button[aria-pressed=true] { color: #eadbff; background: #413050; }
.cabinet, .icon-btn { display: inline-flex; align-items: center; justify-content: center; border: 1px solid #3b3744; background: #19171f; border-radius: 9px; }
.cabinet { padding: 9px 14px; font-size: 13px; font-weight: 600; gap: 8px; }
.cabinet .icon { width: 16px; height: 16px; color: #cbc3d9; }
.cabinet:hover, .btn.secondary:hover, .icon-btn:hover { background: #262230; border-color: #494252; }
.icon-btn { width: 38px; height: 38px; }
.menu { display: none; }
.hero { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(ellipse at 74% 44%, #24122f63, transparent 53%), #0e0d14; border-bottom: 1px solid #272530; }
.hero::before { content: ''; z-index: -1; position: absolute; inset: 0; opacity: .36; background-image: radial-gradient(#70637d60 .75px, transparent .9px); background-size: 17px 17px; mask-image: linear-gradient(to right,#0007,#000 65%,#0007); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; gap: clamp(40px,6.1vw,95px); padding-block: clamp(36px,3.8vw,60px); }
.agency, .eyebrow { display: flex; align-items: center; font-weight: 700; font-size: 10.5px; line-height: 1.3; letter-spacing: .14em; }
.agency { display: inline-flex; padding: 7px 11px 7px 9px; border: 1px solid #41304e; border-radius: 30px; background: #271b30; color: #d3b3f5; gap: 8px; }
.agency .icon { width: 17px; height: 14px; color: #cf94ff; }
.hero h1 { margin-top: 22px; font-size: clamp(62px,6.25vw,94px); font-weight: 750; line-height: .99; letter-spacing: -.067em; }
.hero h1 em { font-style: normal; color: #dda1ef; background: var(--gradient); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
html[lang=ru] .hero h1 { font-size: clamp(53px,4.9vw,76px); }
.intro { color: var(--muted); font-size: clamp(16px,1.25vw,19px); line-height: 1.65; margin-top: 22px; max-width: 470px; }
.hero-actions, .contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.hero-actions { margin-top: 26px; }
.btn, #tg-login:empty { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 21px; border-radius: 10px; min-height: 48px; font-size: 14px; font-weight: 650; line-height: 1.3; text-align: center; }
.btn { border: 1px solid transparent; transition: background-color .18s, transform .18s, border-color .18s; }
.btn .icon, #tg-login:empty::before { width: 17px; height: 17px; }
.btn.primary { color: #fff; background: linear-gradient(108deg,#9665e6,#8652d6 65%,#965bd8); border-color: #b185f660; box-shadow: 0 4px 20px #8451d525,inset 0 1px #e2c6ff24; }
.btn.primary:hover { transform: translateY(-2px); background: linear-gradient(108deg,#a576f0,#9866e4); }
.btn.secondary, #tg-login:empty { background: #1c1923; border: 1px solid #383140; }
#tg-login:empty { color: #e8e1ef; cursor: default; }
#tg-login:empty::before { content: ''; background: #c3b4d7; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21.7 3.4 18.4 20c-.25 1.2-.95 1.5-1.95.91l-5.06-3.72-2.44 2.35c-.27.27-.49.49-1 .49l.35-5.16 9.41-8.5c.41-.36-.09-.56-.64-.18L5.44 13.52.45 11.96c-1.08-.33-1.1-1.08.23-1.6l19.51-7.52c.9-.33 1.68.22 1.51.56Z'/%3E%3C/svg%3E") center/contain no-repeat; }
#tg-login:empty::after { content: attr(data-caption); }
.genres { margin-top: 29px; display: flex; flex-wrap: wrap; gap: 7px; }
.genre { display: flex; align-items: center; gap: 6px; padding: 5px 9px; border: 1px solid #312c3b; border-radius: 6px; background: #17141e; color: #b6aebe; font-size: 11px; font-weight: 550; }
.genre .icon { color: #a898b8; width: 13px; height: 13px; }
.live-card { margin: 0; position: relative; isolation: isolate; width: 100%; aspect-ratio: 1.32; border-radius: 19px; border: 1px solid #655076; overflow: hidden; box-shadow: 0 18px 55px -28px #8f41c85c, 0 0 0 5px #b687ed06; background: #21112e; }
.art { width: 100%; aspect-ratio: 1402/1122; position: absolute; left: 0; top: 50%; transform: translateY(-50%); }
.art img, .eyes { display: block; width: 100%; height: 100%; }
.eyes { position: absolute; inset: 0; }
.gaze { animation: gaze 6.8s ease-in-out infinite; }
.blink { animation: blink 5.1s ease-in-out infinite; }
.wink { animation: wink 6.8s ease-in-out infinite; }
@keyframes gaze { 0%,17%,90%,100% { transform: translate(0,0); } 31%,45% { transform: translate(-4px,1.5px); } 58%,74% { transform: translate(3px,-1px); } }
@keyframes blink { 0%,39%,44%,79%,84%,100% { transform: scaleY(1); } 41.5%,81.5% { transform: scaleY(.1); } }
@keyframes wink { 0%,17%,89%,100% { transform: translate(0,0) rotate(0deg); } 33%,48% { transform: translate(-2px,1px) rotate(5deg); } 63%,77% { transform: translate(2px,-1px) rotate(-4deg); } }
.live-label { position: absolute; left: 18px; top: 17px; display: inline-flex; gap: 7px; align-items: center; border: 1px solid #fa8eb956; border-radius: 6px; background: #421b36da; padding: 6px 9px; font: 700 10px/1 Arial,sans-serif; letter-spacing: .13em; color: #ffd1e1; }
.live-label b { width: 6px; height: 6px; background: #ff6a99; border-radius: 50%; box-shadow: 0 0 6px #ff79a780; }
.visual-corner { width: 17px; height: 17px; border-top: 2px solid #e8cefa80; border-right: 2px solid #e8cefa80; border-radius: 0 4px 0 0; position: absolute; top: 19px; right: 19px; }
.live-card figcaption { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 42px 18px 15px; background: linear-gradient(transparent, #10091b98 52%,#10091be8); }
.caption-brand, .player-tools { display: flex; align-items: center; gap: 10px; }
.caption-icon { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; border: 1px solid #ceb5fb50; background: #341d49a6; color: #d6b3f3; }
.caption-icon .icon { width: 18px; height: 18px; }
.caption-brand b, .caption-brand small { display: block; }
.caption-brand b { font-size: 12px; letter-spacing: .08em; }
.caption-brand small { margin-top: 3px; color: #cdc0d5; font-size: 10px; }
.player { width: 33px; height: 33px; display: grid; place-items: center; background: #150f20b5; border: 1px solid #c9a9e85c; border-radius: 50%; }
.player .icon { width: 16px; height: 16px; }
.player svg:last-child, .paused .player svg:first-child { display: none; }
.paused .player svg:last-child { display: block; }
.meter { display: inline-flex; align-items: center; gap: 2px; height: 20px; }
.meter i { width: 2px; height: 9px; background: #e0b1f5; border-radius: 2px; animation: level .95s ease-in-out infinite alternate; }
.meter i:nth-child(2n) { height: 15px; animation-delay: -.3s; }
.meter i:nth-child(3n) { height: 12px; animation-delay: -.65s; }
.meter i:nth-child(4) { height: 18px; }
@keyframes level { to { transform: scaleY(.45); } }
.paused :is(.gaze,.blink,.wink,.meter i) { animation-play-state: paused; }
.section { padding-block: clamp(44px,4.3vw,68px); }
.eyebrow { color: #c4a4ee; gap: 9px; }
.eyebrow i { display: inline-block; width: 19px; height: 2px; background: #b38add; }
.section h2 { margin-top: 12px; }
.card-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin-top: 27px; }
.benefit, .panel, .stat { border: 1px solid var(--line); background: var(--panel); border-radius: 15px; }
.benefit { padding: 24px 25px 26px; position: relative; overflow: hidden; background: radial-gradient(ellipse at 3% -20%,var(--halo),transparent 66%),#15141c; }
.violet, .a0 { --accent: #c19bff; --tint: #30243f; --edge: #4a355f; --halo: #55316f32; }
.pink, .a2 { --accent: #efa2c8; --tint: #372533; --edge: #54364b; --halo: #64314a2a; }
.mint, .a1 { --accent: #88dbcb; --tint: #1c3433; --edge: #2b4d48; --halo: #2c5e502d; }
.a3 { --accent: #9dc2ff; --tint: #242d42; --edge: #374461; }
.a4 { --accent: #ecbb88; --tint: #3a2f28; --edge: #564536; }
.tile-icon { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--edge); border-radius: 12px; color: var(--accent); background: var(--tint); }
.tile-icon .icon { width: 21px; height: 21px; }
.benefit h3 { margin-top: 19px; }
.benefit p, .step p { margin-top: 8px; font-size: 14px; color: var(--muted); }
.line-section { border-top: 1px solid #23212c; }
.step { padding: 4px 24px 4px 0; }
.step-no { color: #cba7ed; display: inline-grid; place-items: center; border-radius: 9px; border: 1px solid #46364e; width: 37px; height: 32px; font: 600 13px/1 ui-monospace,monospace; background: #211a2a; margin-bottom: 16px; }
.faq-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 68px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display:none; }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-block: 20px; font-size: 16px; font-weight: 550; }
.faq-list .icon { color: var(--purple); width: 17px; height: 17px; }
.faq-list details[open] .icon { transform: rotate(45deg); }
.faq-list details p { padding-bottom: 20px; color: var(--muted); font-size: 15px; }
footer { border-top: 1px solid #2b2833; background: #100f16; padding-block: 30px 24px; }
.footer-top, .footer-links, .legal { display: flex; align-items: center; gap: 22px; }
.footer-top { flex-wrap: wrap; justify-content: space-between; }
.footer-links { flex-wrap: wrap; font-size: 13px; color: #c1bacb; }
.footer-links a:hover, .crumb a:hover { color: var(--purple); }
.legal { margin-top: 24px; padding-top: 18px; border-top: 1px solid #26232e; color: #a09aa9; font-size: 12px; flex-wrap: wrap; gap: 12px; }
.age { font-size: 10px; font-weight: 700; padding: 2px 4px; border: 1px solid #44404c; border-radius: 4px; }
/* Forms and studio workspaces */
.interior { padding-bottom: 60px; }
.crumb { display: flex; align-items: center; gap: 10px; padding-block: 25px 35px; font-size: 12px; color: #bfb9c9; }
.crumb a, .crumb b { color: var(--quiet); font-weight: 400; }
.form-layout { display: grid; grid-template-columns: minmax(0,.77fr) minmax(0,1.23fr); align-items: start; gap: 48px; }
.form-aside { padding-block: 20px; }
.form-aside h1, .thanks h1, .page-title h1 { margin-top: 16px; font-size: clamp(39px,4.8vw,69px); line-height: 1.04; letter-spacing: -.06em; }
.form-aside p { margin-top: 18px; max-width: 340px; color: var(--muted); }
.aside-wave { height: 120px; max-width: 260px; margin-top: 32px; background: radial-gradient(ellipse,#7533ac29,transparent 71%); display: grid; align-items: center; }
.aside-wave .icon { color: #9874be; height: 75px; width: 150px; stroke-width: .8; }
.panel { padding: clamp(20px,2.1vw,30px); }
.form-title { display: flex; gap: 10px; align-items: center; margin-bottom: 20px; font-size: 19px; }
.form-title > span:first-child { font: 600 11px/1 ui-monospace,monospace; color: var(--purple); padding: 6px; border: 1px solid #47334f; border-radius: 5px; background: #292032; }
.fields + .form-title { margin-top: 27px; padding-top: 24px; border-top: 1px solid var(--line); }
.fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px 14px; }
.field { display: flex; min-width: 0; flex-direction: column; gap: 8px; color: #d4cedf; font-size: 13px; font-weight: 550; }
.field.wide { grid-column: 1 / -1; }
input:not([type=checkbox]), select, textarea { max-width: 100%; min-width: 0; width: 100%; min-height: 44px; border: 1px solid #393540; background: #100f16; border-radius: 8px; color: var(--text); padding: 10px 12px; font-weight: 400; line-height: 1.4; font-size: 14px; }
textarea { resize: vertical; }
input::placeholder, textarea::placeholder { color: #948d9e; opacity: 1; }
select { padding-right: 24px; }
input[type=checkbox] { width: 17px; height: 17px; accent-color: #a779ef; margin: 0; flex: none; }
.checkline, .inline-check { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.checkline { align-items: flex-start; margin-top: 22px; }
.checkline input { margin-top: 2px; }
.form-note, .panel-sub { color: var(--quiet); font-size: 13px; }
.form-note { margin: 14px 0; }
.thanks { text-align: center; padding-block: clamp(65px,10vw,145px); }
.thanks .eyebrow { justify-content: center; }
.success-icon { display: grid; place-items: center; width: 74px; height: 74px; color: var(--mint); background: #19332f; border: 1px solid #3d6155; border-radius: 24px; margin: 0 auto 28px; }
.success-icon .icon { width: 40px; height: 40px; }
.thanks > p { margin-top: 16px; color: var(--muted); }
.thanks .btn { margin-top: 14px; }
.page-title, .panel-head, .identity, .stat { display: flex; align-items: center; gap: 14px; }
.page-title { flex-wrap: wrap; margin-block: 12px 26px; }
.page-title h1 { margin: 0; font-size: clamp(37px,4vw,59px); }
.demo-label, .status, .idle { display: inline-flex; align-items: center; gap: 6px; width: fit-content; font-size: 11px; font-weight: 600; line-height: 1.35; padding: 4px 8px; border-radius: 20px; white-space: nowrap; }
.demo-label { color: #c7b1db; border: 1px solid #44334e; background: #241d2a; }
.identity { padding: 17px 20px; background: linear-gradient(105deg,#201926,#15141c 65%); border: 1px solid #352b40; border-radius: 14px; }
.avatar { display: inline-grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; font-size: 12px; font-weight: 700; background: var(--tint); color: var(--accent); border: 1px solid var(--edge); }
.avatar.large { width: 54px; height: 54px; font-size: 18px; }
.identity h2 { font-size: 23px; letter-spacing: -.035em; }
.identity p { color: var(--muted); font-size: 12px; }
.identity .status { margin-inline-start: auto; }
.status.active { color: #9de2c0; background: #193228; }
.status.contacted { color: #d1b3f0; background: #30243d; }
.status.new { color: #a3c8f6; background: #212d3e; }
.status i { width: 5px; height: 5px; border-radius: 100%; background: currentColor; }
.stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin: 18px 0; }
.stats.two { grid-template-columns: repeat(2,minmax(0,1fr)); }
.stat { padding: 18px; }
.stat-label { color: var(--muted); font-size: 12px; }
.stat strong { display: block; font-size: 28px; letter-spacing: -.04em; font-variant-numeric: tabular-nums; margin-top: 3px; }
.profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.panel-head { justify-content: space-between; flex-wrap: wrap; margin-bottom: 18px; }
.panel-head h2 { font-size: clamp(21px,2vw,27px); letter-spacing: -.043em; }
.panel-head + .panel-sub { margin-top: -9px; }
.calc { display: grid; gap: 7px; background: #211a2a; border: 1px solid #3a2b47; border-radius: 10px; margin-top: 18px; padding: 14px; }
.calc > span, .calc > small { font-size: 12px; color: #beb0cc; }
.calc > strong { font-size: 24px; color: #e8d4ff; overflow-wrap: anywhere; }
.calc strong small { font-size: 18px; color: #8d799e; }
.calc output { display: inline-block; }
.feedback { color: var(--mint); font-size: 13px; }
.feedback:not(:empty) { margin-top: 10px; }
.chart-panel { display: flex; flex-direction: column; }
#chart { display: block; width: 100%; height: auto; margin-block: auto; overflow: visible; }
.chart-grid { stroke: #35313d; stroke-width: 1; stroke-dasharray: 4 4; }
.chart-axis { fill: #bcb4c7; font: 11px Arial,sans-serif; }
.history-panel { margin-top: 16px; }
.table-wrap { width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: 13px; font-variant-numeric: tabular-nums; }
th, td { padding: 12px 8px; border-bottom: 1px solid var(--line); }
th { color: var(--quiet); font-size: 12px; font-weight: 500; }
td:first-child, th:first-child { padding-left: 0; }
tbody tr:last-child td { border-bottom: 0; }
.verified, .muted { display: inline-flex; gap: 5px; align-items: center; font-size: 12px; }
.verified { color: var(--mint); }
.verified .icon { width: 14px; height: 14px; }
.muted { color: var(--muted); }
.compact { min-height: 37px; padding: 5px 12px; font-size: 12px; border-radius: 8px; }
.filter-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.search { position: relative; flex: 1; min-width: 155px; }
.search .icon { position: absolute; left: 12px; top: 14px; color: var(--quiet); width: 16px; height: 16px; }
.search input { padding-left: 38px; }
.filter-row select { width: auto; }
.host summary, .host-head { display: grid; grid-template-columns: minmax(150px,1.55fr) 1fr 1fr .7fr 18px; gap: 10px; align-items: center; }
.host-head { padding: 0 6px 12px; color: var(--quiet); font-size: 12px; }
.host { border-top: 1px solid var(--line); }
.host summary { padding: 12px 6px; font-size: 13px; }
.host summary:hover { background: #ffffff04; }
.host-person { display: flex; align-items: center; gap: 11px; min-width: 0; }
.host-person b, .host-person small { display: block; }
.host-person small { font-size: 11px; color: var(--quiet); margin-top: 3px; }
.host-type { color: var(--muted); }
.host-total { font-variant-numeric: tabular-nums; }
.host summary > .icon { width: 16px; height: 16px; color: var(--quiet); }
.host[open] summary > .icon { transform: rotate(180deg); }
.host-detail { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px; padding: 18px; background: #100f16; border: 1px solid var(--line); border-radius: 10px; margin-block: 2px 14px; }
.host-detail h3 { font-size: 16px; margin-bottom: 10px; }
.host-detail input:not([type=checkbox]), .host-detail select, .host-detail textarea { background: var(--panel); }
.contact-actions { margin-top: 14px; }
.contact-actions .btn { font-size: 12px; min-height: 36px; padding: 5px 10px; }
.admin-bottom { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin-top: 18px; }
.admin-bottom .tile-icon { margin-bottom: 18px; }
.admin-bottom .panel-head h2 { font-size: 21px; }
.mini-list { list-style: none; padding: 0; margin: 14px 0 0; }
.mini-list li { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 13px; }
.mini-list strong, .mini-list .idle { margin-left: auto; }
.ranking { counter-reset: rank; }
.ranking li { counter-increment: rank; }
.ranking li::before { content: counter(rank); color: var(--purple); font: 600 12px/1 ui-monospace,monospace; }
.idle { color: #ecc4a4; background: #352922; }
.rate-preview { font-size: 13px; color: var(--muted); margin-block: 12px; }
#no-hosts { text-align: center; color: var(--quiet); padding: 20px; }
@media (min-width: 1600px) { .hero-grid { padding-block: 65px; } }
@media (max-width: 1110px) {
  .wrap { width: calc(100% - 64px); }
  .hero-grid { gap: 36px; }
  .btn, #tg-login:empty { padding-inline: 16px; }
  #main-nav { gap: 17px; }
}
@media (max-width: 900px) {
  .wrap { width: calc(100% - 48px); }
  .header-inner { min-height: 68px; }
  .menu { display: inline-flex; }
  #main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 10px 24px 15px; border-bottom: 1px solid var(--line); background: #141219; box-shadow: 0 12px 18px #0005; }
  #main-nav.open { display: grid; gap: 0; }
  #main-nav a { padding: 13px 10px; height: auto; }
  #main-nav a[aria-current]::after { display: none; }
  .hero-grid { gap: 24px; }
  .hero h1 { font-size: clamp(54px,7vw,68px); }
  html[lang=ru] .hero h1 { font-size: clamp(43px,5.5vw,55px); }
  .hero-actions { gap: 8px; }
  .hero-actions .btn, #tg-login:empty { min-height: 44px; padding-inline: 12px; font-size: 12px; gap: 7px; }
  .genres { gap: 5px; margin-top: 19px; }
  .genre { padding: 5px 7px; }
  .live-card { aspect-ratio: 1.12; }
  .art { width: 113%; left: -6.5%; }
  .card-grid { gap: 12px; }
  .benefit { padding: 20px; }
  .faq-grid, .form-layout { gap: 27px; }
  .form-layout { grid-template-columns: .65fr 1.35fr; }
  .admin-bottom { grid-template-columns: 1fr 1fr; }
  .admin-bottom > :last-child { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; padding-block: 34px; }
  .hero-copy { max-width: 570px; }
  .hero h1 { font-size: clamp(57px,10.7vw,76px); margin-top: 19px; }
  html[lang=ru] .hero h1 { font-size: clamp(45px,9vw,68px); }
  .intro { font-size: 16px; margin-top: 17px; }
  .hero-actions { margin-top: 21px; gap: 9px; }
  .hero-actions .btn, #tg-login:empty { font-size: 13px; padding-inline: 14px; min-height: 46px; }
  .genres { margin-top: 16px; }
  .live-card { aspect-ratio: 1.32; border-radius: 16px; }
  .art { width: 100%; left: 0; }
  .card-grid, .faq-grid, .form-layout, .profile-grid, .host-detail { grid-template-columns: 1fr; }
  .benefit { padding: 23px; }
  .benefit h3 { margin-top: 15px; }
  .card-grid { margin-top: 22px; }
  .steps { gap: 18px; }
  .step { padding: 0 0 15px 51px; position: relative; }
  .step-no { position: absolute; top: 1px; left: 0; }
  .faq-grid { gap: 24px; }
  .footer-top { align-items: flex-start; }
  .footer-links { gap: 12px 18px; }
  .form-aside { padding: 0; }
  .form-aside p { max-width: none; }
  .aside-wave { display: none; }
  .crumb { padding-block: 20px 25px; }
  .stats { gap: 9px; }
  .stat { padding: 13px; }
  .stat .tile-icon { display: none; }
  .stat-label { font-size: 11px; }
  .host summary, .host-head { grid-template-columns: minmax(0,1.1fr) .65fr .45fr 12px; gap: 4px; }
  .host-head > :nth-child(2), .host-type { display: none; }
  .host-detail { padding: 14px; }
  .host-detail .fields { grid-template-columns: 1fr; }
  .admin-bottom { grid-template-columns: 1fr; }
  #chart { margin-top: 22px; }
}
@media (max-width: 480px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { gap: 8px; min-height: 64px; }
  .header-tools { gap: 7px; }
  .brand { gap: 8px; }
  .brandmark { width: 33px; height: 33px; border-radius: 10px; gap: 2.4px; }
  .brandname { font-size: 19px; }
  .brandname small { font-size: 7px; margin-top: 4px; }
  .languages button { padding: 0 6px; }
  .cabinet { width: 34px; height: 34px; padding: 0; }
  .cabinet > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .icon-btn { width: 34px; height: 34px; }
  .hero-actions { gap: 7px; }
  .hero-actions .btn, #tg-login:empty { padding-inline: 12px; }
  .live-label { left: 13px; top: 13px; }
  .live-card figcaption { padding: 34px 12px 11px; }
  .section { padding-block: 37px; }
  .fields { grid-template-columns: 1fr; }
  .panel { padding: 17px; }
  .identity { gap: 10px; padding: 14px; }
  .avatar.large { width: 43px; height: 43px; font-size: 15px; }
  .host summary .avatar { display: none; }
  .host-person b, .host-person small { overflow-wrap: anywhere; }
  #admin .stats { grid-template-columns: 1fr 1fr; }
  #admin .stats > :last-child { grid-column: 1 / -1; }
  #admin .stats > :last-child > div { display: flex; align-items: center; gap: 14px; }
  .filter-row select { width: 100%; }
  .legal { line-height: 1.4; gap: 8px; }
  .footer-links { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0s !important; }
  .live-card:not(.motion-enabled) :is(.gaze,.blink,.wink,.meter i) { animation: none; }
}

/* v4 additions (Worker backend wiring) */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.status.rejected { color: #f0a3a3; background: rgba(240, 120, 120, .12); }
.pending { color: #e9c77b; }
.flash { padding: 12px 14px; border-radius: 10px; margin: 0 0 14px; font-size: 14px; }
.flash.ok { background: rgba(110, 220, 170, .12); border: 1px solid rgba(110, 220, 170, .4); color: #b9f0d6; }
.flash.err { background: rgba(240, 120, 120, .12); border: 1px solid rgba(240, 120, 120, .4); color: #ffc9c9; }
.nav-out { display: inline-flex; margin: 0; }
.nav-out button, .linkish { background: none; border: 0; color: inherit; font: inherit; cursor: pointer; padding: 6px 8px; opacity: .85; }
.nav-out button:hover { opacity: 1; }
.host-save { margin-top: 10px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.login-card { max-width: 520px; margin: 0 auto; }
.login-card .fields { grid-template-columns: 1fr; }
.login-card #tg-login { margin: 8px 0 18px; }
.soon { opacity: .8; }
.mini-list li small { opacity: .7; margin-left: 6px; }
.inline-check form { display: inline; }
.stat strong small { display: block; font-size: 12px; font-weight: 500; opacity: .75; letter-spacing: 0; margin-top: 2px; }
.tg-login-wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; max-width: 100%; }
.hero-actions .tg-login-wrap { display: inline-flex; vertical-align: middle; }
#tg-login > a.btn { min-height: 48px; }
.tg-wait { font-size: 13px; margin: 0; color: var(--muted, #c3b4d7); max-width: 28rem; }
.tg-alt-link { background: none; border: 0; padding: 0; color: inherit; font: inherit; font-size: 13px; opacity: .7; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.tg-alt-link:hover { opacity: 1; }
.tg-alt { margin-top: 4px; }

/* BIGO LIVE invite */
.steps.card-grid { align-items: start; }
.step-invite { grid-column: 1 / -1; }
.step-invite .invite-open { margin-top: 12px; width: 100%; max-width: 22rem; min-height: 52px; font-size: 15px; }
.invite-card .invite-open { width: 100%; max-width: 22rem; min-height: 52px; font-size: 15px; }
.invite-note { margin: 12px 0 0; max-width: 36rem; font-size: 15px; line-height: 1.45; }
.invite-code-fallback { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 10px 0 0; max-width: 36rem; font-size: 12px; line-height: 1.45; color: var(--muted, #c3b4d7); font-variant-numeric: tabular-nums; }
.invite-copy { display: inline-grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: inherit; cursor: pointer; opacity: .85; }
.invite-copy .icon { width: 16px; height: 16px; }
.invite-copy:hover { opacity: 1; background: #ffffff0c; }
.invite-card { margin: 16px 0 0; }
.invite-card .form-note { margin-bottom: 0; }
.field-hint { display: block; font-size: 12px; font-weight: 450; color: var(--quiet, #bcb4c7); line-height: 1.45; }
.invite-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 80; background: #193228; color: #b9f0d6; border: 1px solid #3d6155; padding: 10px 16px; border-radius: 10px; font-size: 14px; box-shadow: 0 8px 24px #0006; max-width: calc(100% - 32px); }
.invite-toast[hidden] { display: none; }
@media (max-width: 720px) {
  .step-invite .invite-open, .invite-card .invite-open { max-width: none; }
}
