@font-face { font-family: Inter; src: url(/inter-cyrillic.woff2) format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116 }
@font-face { font-family: Inter; src: url(/inter-latin.woff2) format("woff2"); font-weight: 100 900; font-display: swap }
@font-face { font-family: Serif; src: url(/serif-cyrillic.woff2) format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116 }
@font-face { font-family: Serif; src: url(/serif-latin.woff2) format("woff2"); font-weight: 300 700; font-display: swap }
@font-face { font-family: Serif; src: url(/serif-cyrillic-italic.woff2) format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116 }
@font-face { font-family: Serif; src: url(/serif-latin-italic.woff2) format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap }

/* Язык КП Клуба 54, ночью: бумага стала чернилами. Люди набраны антиквой, данные гротеском; тонкие линии вместо плашек; один акцент — тлеющий кончик сигары. */
:root {
  --bg: #100e0c; --raise: #191714; --raise2: #221f1b;
  --ink: #efebe3; --mute: #8f897e; --dim: #5a554d; --line: rgba(239, 235, 227, .11); --line2: rgba(239, 235, 227, .22);
  --ember: #ef5a2a; --ember-soft: rgba(239, 90, 42, .14); --ok: #a9c59a;
  --serif: Serif, "Cormorant Garamond", Georgia, serif;
  --pad: 22px; --top: env(safe-area-inset-top, 0px); --bottom: env(safe-area-inset-bottom, 0px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent }
html { background: var(--bg); height: 100% }
#app::before { content: ""; position: absolute; z-index: 0; inset: 0 0 auto; height: 420px; pointer-events: none; background: radial-gradient(70% 100% at 18% 0%, rgba(232, 126, 58, .10), rgba(232, 126, 58, 0) 70%) }
body { min-height: 100%; background: var(--bg); color: var(--ink); font: 400 17px/1.38 Inter, -apple-system, system-ui, sans-serif; letter-spacing: -.014em;
  font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%; overscroll-behavior-y: none; touch-action: manipulation }
button, input, textarea, a { font: inherit; color: inherit; letter-spacing: inherit; background: none; border: 0; outline: 0; -webkit-appearance: none; appearance: none; border-radius: 0; text-decoration: none }
button, a { cursor: pointer; text-align: left; user-select: none; -webkit-user-select: none }
svg { display: block; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round }
::placeholder { color: var(--dim) }
:focus-visible { outline: 1.5px solid var(--line2); outline-offset: 3px }
input:focus-visible, textarea:focus-visible { outline: 0 }

#app { max-width: 480px; margin: 0 auto; min-height: 100dvh; display: flex; flex-direction: column; position: relative }
.view { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; padding: calc(var(--top) + 12px) var(--pad) calc(var(--bottom) + 124px); animation: in .36s var(--ease) }
.view.bare { padding-bottom: calc(var(--bottom) + 28px) }
@keyframes in { from { opacity: 0; transform: translateY(6px) } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important } }

/* ——— типографика */
.bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; margin-bottom: 18px }
.kick { font-size: 14px; color: var(--mute); letter-spacing: -.005em }
.kick b { font-weight: 400; color: var(--ink) }
h1 { font-family: var(--serif); font-size: 52px; line-height: .94; font-weight: 400; letter-spacing: -.03em; margin: 0 0 30px; text-wrap: balance }
h1 span, .h-mute { color: var(--mute); font-style: italic }
h2 { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; font-weight: 400; color: var(--mute); letter-spacing: -.005em; margin: 40px 0 0; padding-bottom: 12px; border-bottom: 1px solid var(--line) }
h2 em { font-style: normal; color: var(--dim); font-variant-numeric: tabular-nums }
.empty { color: var(--mute); font-size: 16px; padding: 18px 0; line-height: 1.45; text-wrap: pretty }
.demo-tag { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--mute); letter-spacing: .02em }
.demo-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ember) }

/* ——— кнопки-кружки и пилюли */
.round { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line2); transition: transform .15s var(--ease), background .2s }
.round svg { width: 19px; height: 19px }
.round:active, .btn:active, .chip:active, .row:active { transform: scale(.97) }
.me { font-family: var(--serif); font-size: 19px; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line2) }

.btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 56px; border-radius: 28px; font-size: 17px; text-align: center; transition: transform .15s var(--ease), opacity .2s, background .2s }
.btn svg { width: 19px; height: 19px }
.btn.solid { background: var(--ink); color: var(--bg) }
.btn.ember { background: var(--ember); color: #160803 }
.btn.line { box-shadow: inset 0 0 0 1px var(--line2) }
.btn.ghost { color: var(--mute) }
.btn.danger { color: var(--ember); box-shadow: inset 0 0 0 1px rgba(239, 90, 42, .45) }
.btn[disabled] { opacity: .35; pointer-events: none }
.btn + .btn { margin-top: 8px }

.chips { display: flex; flex-wrap: wrap; gap: 8px }
.chips.scroll { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--pad) * -1); padding: 0 var(--pad); scrollbar-width: none }
.chips.scroll::-webkit-scrollbar { display: none }
.chip { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 17px; border-radius: 20px; font-size: 15px; white-space: nowrap; color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line2); transition: transform .15s var(--ease), background .2s, color .2s, box-shadow .2s }
.chip svg { width: 16px; height: 16px; color: var(--mute) }
.chip.on { background: var(--ink); color: var(--bg); box-shadow: none }
.chip.on svg { color: var(--bg) }
.chip.set { box-shadow: inset 0 0 0 1px rgba(239, 90, 42, .55) }
.chip.set svg { color: var(--ember) }

/* ——— строки: время | имя | подсказка */
.list { display: grid }
.row { display: grid; grid-template-columns: 62px 1fr; align-items: baseline; gap: 0 12px; width: 100%; padding: 17px 0 18px; border-bottom: 1px solid var(--line); transition: transform .15s var(--ease), opacity .2s }
.row.nt { grid-template-columns: 1fr auto }
.row time small { display: block; font-size: 13px; color: var(--dim); margin-top: 3px }
.row time, .row .t { font-size: 15px; color: var(--mute); font-variant-numeric: tabular-nums; letter-spacing: -.01em }
.row .who { min-width: 0 }
.row b { display: block; font-family: var(--serif); font-size: 28px; line-height: 1.02; font-weight: 500; letter-spacing: -.02em; text-wrap: balance }
.row .sub { display: block; font-size: 15px; color: var(--mute); margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.row .hint { display: flex; align-items: center; gap: 8px; font-size: 15px; margin-top: 6px; color: var(--ink); min-width: 0 }
.row .hint span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.row .hint::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--mute) }
.row .hint.gold::before, .row .hint.red::before { background: var(--ember) }
.row .hint.green::before { background: var(--ok) }
.row .place { font-size: 14px; color: var(--mute); text-align: right; white-space: nowrap }
.add { display: flex; align-items: center; gap: 12px; width: 100%; padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--mute); font-size: 17px }
.add i { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line2); color: var(--ink) }
.add svg { width: 15px; height: 15px }

/* заметки в работе */
.drafts { display: grid; gap: 8px; margin-bottom: 8px }
.draft { display: flex; align-items: center; gap: 12px; width: 100%; padding: 15px 18px; border-radius: 18px; background: var(--raise); font-size: 16px }
.draft.bad { color: var(--ember) }
.draft span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.draft svg { width: 17px; height: 17px; flex: none; color: var(--mute) }
.draft.bad svg { color: var(--ember) }
.draft .dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--ok) }
.spin { width: 16px; height: 16px; flex: none; border-radius: 50%; border: 1.5px solid var(--mute); border-right-color: transparent; animation: spin .8s linear infinite }
@keyframes spin { to { transform: rotate(1turn) } }

/* ——— нижняя панель */
.tabs { position: fixed; z-index: 5; left: 50%; bottom: 0; transform: translateX(-50%); width: 100%; max-width: 480px; display: grid; grid-template-columns: 1fr 88px 1fr; align-items: center;
  padding: 18px var(--pad) calc(var(--bottom) + 12px); background: linear-gradient(to top, var(--bg) 58%, rgba(15, 14, 12, 0)) }
.tab { justify-self: start; font-size: 15px; color: var(--dim); padding: 12px 0; transition: color .2s }
.tab:last-child { justify-self: end }
.tab.on { color: var(--ink) }
.mic { justify-self: center; width: 72px; height: 72px; border-radius: 50%; background: var(--ember); color: #160803; display: grid; place-items: center; transition: transform .15s var(--ease);
  box-shadow: 0 0 0 8px rgba(239, 90, 42, .1), 0 14px 34px rgba(239, 90, 42, .22) }
.mic:active { transform: scale(.93) }
.mic svg { width: 26px; height: 26px; stroke-width: 1.8 }
.dock { position: fixed; z-index: 4; left: 50%; bottom: 0; transform: translateX(-50%); width: 100%; max-width: 480px; padding: 30px var(--pad) calc(var(--bottom) + 14px);
  background: linear-gradient(to top, var(--bg) 66%, rgba(15, 14, 12, 0)) }

/* ——— поиск и поля */
.search { display: flex; align-items: center; gap: 12px; height: 54px; border-bottom: 1px solid var(--line2); margin-bottom: 16px }
.search svg { width: 20px; height: 20px; color: var(--mute); flex: none }
.search input { flex: 1; min-width: 0; font-size: 22px; letter-spacing: -.03em }
.search:focus-within { border-color: var(--ink) }
.field { display: block; margin-bottom: 6px; border-bottom: 1px solid var(--line) }
.field span { display: block; font-size: 13px; color: var(--mute); padding-top: 12px }
.field input, .field textarea { width: 100%; padding: 6px 0 13px; font-size: 20px; letter-spacing: -.025em; resize: none }
.field:focus-within { border-color: var(--line2) }
.seg { display: flex; gap: 22px; margin-bottom: 24px; border-bottom: 1px solid var(--line) }
.seg button { padding: 0 0 12px; font-size: 16px; color: var(--dim); box-shadow: inset 0 -1.5px 0 transparent; transition: color .2s, box-shadow .2s }
.seg button.on { color: var(--ink); box-shadow: inset 0 -1.5px 0 var(--ink) }

/* ——— карточка гостя */
.hero { margin: 4px 0 0 }
.hero b { display: block; font-family: var(--serif); font-size: 60px; line-height: .9; font-weight: 400; letter-spacing: -.035em; text-wrap: balance; hyphens: none }
.hero .full { display: block; font-size: 16px; color: var(--mute); margin-top: 14px }
.hero .line { display: block; font-size: 16px; color: var(--mute); margin-top: 3px }
.hero b + .line { margin-top: 14px }
.expect-line { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink) }
.expect-line::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ember); animation: ember 2.4s ease-in-out infinite }
@keyframes ember { 50% { opacity: .35 } }

.brief { margin-top: 28px; border-top: 1px solid var(--line2) }
.say { display: grid; grid-template-columns: 26px 1fr; gap: 0 12px; padding: 16px 0 17px; border-bottom: 1px solid var(--line) }
.say svg { width: 20px; height: 20px; margin-top: 3px; color: var(--mute) }
.say b { display: block; font-size: 21px; line-height: 1.2; font-weight: 400; letter-spacing: -.03em; text-wrap: pretty }
.say span { display: block; font-size: 14px; color: var(--mute); margin-top: 4px }
.say.gold svg, .say.red svg { color: var(--ember) }
.say.green svg { color: var(--ok) }
.say.lead b { font-size: 26px; letter-spacing: -.04em }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 34px }
.stats div { padding: 12px 10px 0 0; border-top: 1px solid var(--line2) }
.stats div + div { padding-left: 12px; border-left: 1px solid var(--line) }
.stats b { display: block; font-size: 34px; line-height: 1; font-weight: 300; letter-spacing: -.05em; font-variant-numeric: tabular-nums }
.stats span { display: block; font-size: 13px; color: var(--mute); margin-top: 8px; line-height: 1.25 }
.money { font-size: 14px; color: var(--mute); margin-top: 16px }
.money b { font-weight: 400; color: var(--ink); font-variant-numeric: tabular-nums }
.chips.acts { margin-top: 26px }

.orders { display: grid }
.orders p { display: flex; align-items: baseline; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 19px; letter-spacing: -.025em }
.orders p i { font-style: normal; font-size: 13px; color: var(--dim); width: 18px; font-variant-numeric: tabular-nums; letter-spacing: 0 }

.facts { display: grid }
.fact-row { display: grid; grid-template-columns: 104px 1fr; gap: 0 14px; width: 100%; padding: 15px 0 16px; border-bottom: 1px solid var(--line); text-align: left }
.fact-row small { font-size: 13px; color: var(--mute); line-height: 1.6 }
.fact-row small em { display: block; font-style: normal; color: var(--ink); line-height: 1.3 }
.fact-row p { font-size: 18px; line-height: 1.3; letter-spacing: -.022em; text-wrap: pretty }
.fact-row p i { display: block; font-style: normal; font-size: 13px; color: var(--dim); margin-top: 6px; letter-spacing: -.005em }
.fact-row.new p { animation: glow 2.6s ease-out }
@keyframes glow { from { color: var(--ember) } }
.mark { position: fixed; top: 0; bottom: 0; left: 50%; width: min(100%, 480px); transform: translateX(-50%); z-index: 0; pointer-events: none; overflow: hidden }
.mark i { position: absolute; inset: -30%; font-style: normal; opacity: .018; font-size: 12px; line-height: 4.2; word-spacing: 3.4em; transform: rotate(-24deg); white-space: pre-wrap; text-align: center; overflow: hidden }
.view > :not(.mark) { position: relative; z-index: 1 }

/* ——— запись */
.rec { flex: 1; display: flex; flex-direction: column; min-height: calc(100dvh - var(--top) - var(--bottom) - 40px) }
.whom { min-width: 0; font-size: 15px; color: var(--mute) }
.whom b { display: block; font-family: var(--serif); font-size: 26px; font-weight: 500; color: var(--ink); letter-spacing: -.03em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.timer { font-size: 112px; font-weight: 200; letter-spacing: -.07em; font-variant-numeric: tabular-nums; line-height: .9; margin-top: 8vh }
.state { display: flex; align-items: center; gap: 9px; font-size: 15px; color: var(--mute); margin-top: 16px; min-height: 22px }
.state i { width: 8px; height: 8px; border-radius: 50%; background: var(--ember); animation: ember 1.2s ease-in-out infinite }
.wave { margin: 6vh calc(var(--pad) * -1) 0; height: 128px }
.wave canvas { width: 100%; height: 100%; display: block }
.tip { margin-top: 26px; color: var(--mute); font-size: 16px; line-height: 1.45; text-wrap: balance; padding-top: 16px; border-top: 1px solid var(--line) }
.tip b { display: block; color: var(--ink); font-weight: 400; font-size: 19px; letter-spacing: -.025em; margin-bottom: 3px }
.ctrl { margin-top: auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 26px 0 4px }
.ctrl .round { width: 56px; height: 56px }
.ctrl .round:last-child { justify-self: end }
.stop { width: 92px; height: 92px; border-radius: 50%; background: var(--ember); display: grid; place-items: center; transition: transform .15s var(--ease); box-shadow: 0 0 0 10px rgba(239, 90, 42, .12), 0 0 60px rgba(239, 90, 42, .28) }
.stop:active { transform: scale(.94) }
.stop i { width: 26px; height: 26px; border-radius: 6px; background: #160803 }
.steps { margin-top: 12vh; display: grid; border-top: 1px solid var(--line) }
.steps li { list-style: none; display: flex; align-items: center; justify-content: space-between; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 22px; letter-spacing: -.035em; color: var(--dim); transition: color .4s }
.steps li i { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; flex: none; box-shadow: inset 0 0 0 1px currentColor }
.steps li.now { color: var(--ink) }
.steps li.now i { box-shadow: none; border: 1.5px solid var(--ember); border-right-color: transparent; animation: spin .8s linear infinite }
.steps li.done { color: var(--mute) }
.steps li.done i { box-shadow: none; color: var(--ok) }
.steps li.done i::after { content: ""; width: 9px; height: 5px; border: solid currentColor; border-width: 0 0 1.5px 1.5px; transform: translateY(-1px) rotate(-45deg) }
textarea.say-text { width: 100%; flex: 1; min-height: 220px; margin-top: 20px; padding: 16px 0; border-top: 1px solid var(--line2); font-size: 24px; line-height: 1.32; letter-spacing: -.035em; resize: none }

/* ——— подтверждение фактов */
.fact { position: relative; padding: 16px 58px 18px 0; border-bottom: 1px solid var(--line); transition: opacity .25s; animation: in .45s var(--ease) backwards }
.fact:first-child { border-top: 1px solid var(--line2) }
.fact:nth-child(2) { animation-delay: .06s } .fact:nth-child(3) { animation-delay: .12s } .fact:nth-child(4) { animation-delay: .18s } .fact:nth-child(n+5) { animation-delay: .24s }
.fact .tag { font-size: 13px; color: var(--mute) }
.fact textarea { display: block; width: 100%; font-size: 24px; font-weight: 400; letter-spacing: -.04em; line-height: 1.18; margin-top: 6px; resize: none; overflow: hidden }
.fact .quo { font-size: 15px; color: var(--dim); margin-top: 8px; line-height: 1.35 }
.fact .rem { display: inline-flex; align-items: center; gap: 7px; margin-top: 10px; font-size: 14px; color: var(--ink) }
.fact .rem::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ember) }
.fact .ok { position: absolute; right: 0; top: 16px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--bg); transition: background .2s, color .2s, box-shadow .2s }
.fact .ok svg { width: 18px; height: 18px; stroke-width: 2.2 }
.fact.off { opacity: .4 }
.fact.off .ok { background: none; color: var(--mute); box-shadow: inset 0 0 0 1px var(--line2) }
.fact.off textarea { text-decoration: line-through; text-decoration-thickness: 1px }
.note-foot { color: var(--mute); font-size: 15px; line-height: 1.45; margin-top: 16px }
details.heard { margin-top: 18px; color: var(--mute); font-size: 15px; line-height: 1.5 }
details.heard summary { list-style: none; color: var(--dim); cursor: pointer }
details.heard summary::-webkit-details-marker { display: none }
details.heard p { margin-top: 8px }

/* ——— вход */
.login { padding-top: calc(var(--top) + 8vh) }
.logo { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--mute) }
.logo i { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-family: var(--serif); font-size: 19px; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line2); letter-spacing: -.02em }
.login h1 { margin-top: 44px; margin-bottom: 14px; font-size: 64px }
.login p { color: var(--mute); font-size: 16px; max-width: 300px; min-height: 44px; text-wrap: pretty }
.login p.err { color: var(--ember) }
.code { display: grid; grid-template-columns: repeat(4, 1fr) 14px repeat(4, 1fr); gap: 6px; margin: 34px 0 0 }
.code i { height: 62px; display: grid; place-items: center; font-style: normal; font-size: 34px; font-weight: 300; letter-spacing: -.04em; font-variant-numeric: tabular-nums; border-bottom: 1px solid var(--line2); transition: border-color .15s }
.code i.at { border-color: var(--ember) }
.code u { text-decoration: none }
.code.shake { animation: shake .4s }
@keyframes shake { 20%, 60% { transform: translateX(-8px) } 40%, 80% { transform: translateX(8px) } }
.keys { margin-top: auto; display: grid; grid-template-columns: repeat(3, 1fr); padding-bottom: 6px; border-top: 1px solid var(--line) }
.keys button { height: 70px; text-align: center; font-size: 30px; font-weight: 300; letter-spacing: -.03em; border-bottom: 1px solid var(--line); transition: background .15s }
.keys button:nth-child(3n+2) { border-left: 1px solid var(--line); border-right: 1px solid var(--line) }
.keys button:nth-last-child(-n+3) { border-bottom: 0 }
.keys button:active { background: var(--raise) }
.keys button.nil { color: var(--mute); display: grid; place-items: center }
.keys button.nil svg { width: 24px; height: 24px }

/* ——— шторка */
#sheet { position: fixed; inset: 0; z-index: 20; display: flex; align-items: flex-end; justify-content: center; background: rgba(5, 5, 4, .66); animation: fade .2s; }
#sheet[hidden] { display: none }
@keyframes fade { from { opacity: 0 } }
.sheet-body { width: 100%; max-width: 480px; max-height: 88dvh; overflow-y: auto; background: var(--raise); border-radius: 28px 28px 0 0; padding: 10px var(--pad) calc(var(--bottom) + 20px); animation: up .36s cubic-bezier(.2, .9, .25, 1); overscroll-behavior: contain }
@keyframes up { from { transform: translateY(100%) } }
.grab { width: 36px; height: 4px; border-radius: 2px; background: var(--line2); margin: 0 auto 20px }
.sheet-body h3 { font-family: var(--serif); font-size: 38px; line-height: .98; font-weight: 400; letter-spacing: -.025em; margin-bottom: 20px; text-wrap: balance }
.sheet-body .list { margin-bottom: 14px }
.sheet-body .row { grid-template-columns: 1fr auto }
.sheet-body .field + .btn, .sheet-body .chips + .btn { margin-top: 22px }
.big-code { font-size: 54px; font-weight: 300; letter-spacing: -.02em; font-variant-numeric: tabular-nums; padding: 2px 0 10px }
.link-box { font-size: 15px; color: var(--mute); padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 18px; word-break: break-all }
.sheet-note { color: var(--mute); font-size: 15px; line-height: 1.45; margin-bottom: 20px; text-wrap: pretty }

/* ——— клуб */
.num { padding: 14px 0 20px; border-top: 1px solid var(--line2) }
.num b { display: block; font-size: 64px; font-weight: 300; letter-spacing: -.065em; line-height: .95; font-variant-numeric: tabular-nums }
.num b small { font-size: 26px; color: var(--mute); letter-spacing: -.04em }
.num span { display: block; color: var(--mute); font-size: 15px; margin-top: 10px; max-width: 300px }
.meter { display: grid; grid-template-columns: repeat(auto-fill, 13px); gap: 6px; margin-top: 18px }
.meter i { aspect-ratio: 1; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line2); transition: background .3s }
.meter i.on { background: var(--ink); box-shadow: none }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px }
.pair .num b { font-size: 46px }
.staff { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 12px; width: 100%; padding: 15px 0; border-bottom: 1px solid var(--line) }
.staff b { display: block; font-family: var(--serif); font-size: 26px; font-weight: 500; letter-spacing: -.02em; line-height: 1.05 }
.staff span { font-size: 14px; color: var(--mute) }
.staff em { font-style: normal; font-size: 15px; color: var(--mute); font-variant-numeric: tabular-nums; white-space: nowrap }
.staff em svg { width: 17px; height: 17px }
.staff.off { opacity: .4 }
.jr { display: grid; grid-template-columns: 84px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.38 }
.jr time { color: var(--dim); font-variant-numeric: tabular-nums }
.jr b { font-weight: 400 }
.jr.alert-row { color: var(--ember) }
.bars { display: grid }
.bars div { display: grid; grid-template-columns: 1fr 40px; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 16px }
.bars span { position: relative; display: block }
.bars span i { position: absolute; left: 0; bottom: -12px; height: 1.5px; width: 0; background: var(--ink); transition: width .9s var(--ease) }
.bars em { font-style: normal; color: var(--mute); text-align: right; font-variant-numeric: tabular-nums }

#toast { position: fixed; z-index: 30; left: 50%; bottom: calc(var(--bottom) + 128px); transform: translateX(-50%); max-width: 86vw; background: var(--ink); color: var(--bg); font-size: 15px; padding: 12px 20px; border-radius: 24px; box-shadow: 0 12px 34px rgba(0, 0, 0, .55); animation: in .25s; text-align: center }
#toast[hidden] { display: none }
@media (min-width: 560px) { body { background: #090807 } #app:not(.split) { background: var(--bg); box-shadow: 0 0 0 1px var(--line) } }
.gap { margin-top: 16px }
.state.far { margin-top: 30vh }
.search + .chips { margin-bottom: 10px }
.drafts + h2 { margin-top: 26px }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 6px }
.two .btn { height: 46px; font-size: 15px; margin: 0 }
.sheet-body h3 span { color: var(--mute); font-style: italic }

/* ——— компьютер и планшет: слева список, справа гость. Каждое окно прокручивается само, нижние панели прижаты к своему окну */
@media (min-width: 760px) and (min-height: 560px) {
  #app.split { max-width: none; height: 100dvh; min-height: 0; display: grid; grid-template-columns: clamp(320px, 32vw, 420px) minmax(0, 1fr); overflow: hidden }
  #app.split::before { height: 560px; background: radial-gradient(60% 100% at 10% 0%, rgba(232, 126, 58, .09), rgba(232, 126, 58, 0) 70%) }
  #side, #main { position: relative; z-index: 1; min-width: 0; height: 100dvh; contain: layout paint }
  #side { border-right: 1px solid var(--line) }
  #main { container: main / inline-size }
  .split .view { height: 100%; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--line2) transparent }
  #side .view { animation: none; padding-top: 28px }
  .split .tabs { max-width: none; padding-top: 28px }
  .split .mark { width: 100% }
  #side .row { position: relative }
  #side .row.sel::before { content: ""; position: absolute; left: calc(var(--pad) * -1); top: 18px; bottom: 19px; width: 2px; background: var(--ember) }
  #side .row.sel b { color: #fff }
  #main .view { padding: 40px clamp(22px, 6cqi, 76px) 150px }
  #main .view > :not(.mark) { max-width: 680px }
  #main .view > .cols { max-width: 1180px }
  #main .back { display: none }
  #main .chips.scroll { flex-wrap: wrap; overflow: visible; margin-left: 0; margin-right: 0; padding: 0 }
  #main .hero b { font-size: 80px }
  #main h1 { font-size: 64px }
  #main .rec { min-height: calc(100dvh - 80px) }
  #main .timer { margin-top: 6vh }
  /* кнопка внизу — плавающая справа, а не во всю ширину */
  #main .dock { left: auto; right: clamp(22px, 6cqi, 76px); transform: none; width: min(400px, 100% - 44px); padding: 40px 0 28px; background: none }
  #main .dock .btn { box-shadow: 0 14px 40px rgba(0, 0, 0, .5) }
  #main .rec .dock { position: static; width: auto; padding: 24px 0 0 }
  #main .rec .dock .btn, #main #out .btn { display: inline-flex; width: auto; padding: 0 40px; box-shadow: inset 0 0 0 1px var(--line2) }
  #main .rec .dock .btn.ember { box-shadow: none }
  #main .dock .btn.line, #main .dock .btn.ghost { background: var(--raise) }
  /* шторка становится окном по центру */
  #sheet { align-items: center }
  .sheet-body { max-width: 460px; border-radius: 24px; padding: 30px 30px 26px; animation: in .25s var(--ease) }
  .grab { display: none }
}
@container main (min-width: 940px) {
  .cols { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 0 clamp(48px, 7cqi, 96px); align-items: start }
  .cols > div:last-child > h2:first-child { margin-top: 70px }
}
@media (hover: hover) {
  .row:hover b, .staff:hover b, .fact-row:hover p { color: #fff }
  .chip:not(.on):hover, .btn.line:hover, .round:hover { background: var(--raise2) }
  .tab:hover, .add:hover, .seg button:hover { color: var(--ink) }
  .btn.solid:hover, .btn.ember:hover, .mic:hover { filter: brightness(1.08) }
}
