.tbta-bar, .tbta-inline {
--tbta-bg: var(--tb-green-dark, #0A1F17);
--tbta-card: var(--tb-green-card, #163D2E);
--tbta-line: var(--tb-line, #2C5C48);
--tbta-accent: var(--tb-gold, #F2C14E);
--tbta-btn: var(--tb-red, #C8102E);
--tbta-text: var(--tb-cream, #F7F3E8);
--tbta-muted: var(--tb-text-muted, #C9D8CE);
font-family: var(--tb-body, system-ui, -apple-system, 'Segoe UI', sans-serif);
color: var(--tbta-text);
box-sizing: border-box;
}
.tbta-bar *, .tbta-inline * { box-sizing: border-box; }
.tbta-bar[hidden] { display: none !important; }
.tbta-bar {
position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990;
background: var(--tbta-bg); border-top: 3px solid var(--tbta-accent);
box-shadow: 0 -8px 30px rgba(0, 0, 0, .35);
transform: translateY(110%); transition: transform .35s ease;
}
.tbta-bar.is-in { transform: translateY(0); }
.tbta-bar__inner {
position: relative; max-width: 1200px; margin: 0 auto;
padding: 14px 56px 14px 24px;
display: grid; grid-template-columns: minmax(220px, 1fr) minmax(320px, 1.4fr); gap: 8px 28px; align-items: start;
}
.tbta-intro p { margin: 0; }
.tbta-headline { font-family: var(--tb-display, inherit); font-weight: 800; font-size: 20px; line-height: 1.15; color: var(--tbta-accent); }
.tbta-text { font-size: 14px; line-height: 1.45; color: var(--tbta-muted); margin-top: 4px !important; }
.tbta-admin-note { margin-top: 6px !important; font-size: 12px; color: #FFB4BE; }
.tbta-close {
position: absolute; top: 8px; right: 10px; width: 40px; height: 40px; border-radius: 50%;
border: 1px solid var(--tbta-line); background: transparent; color: var(--tbta-text);
font-size: 24px; line-height: 1; cursor: pointer;
}
.tbta-close:hover { background: var(--tbta-card); }
.tbta-expand { display: none; }
.tbta-form { margin: 0; }
.tbta-row { display: flex; gap: 8px; }
.tbta-input {
flex: 1 1 auto; min-width: 0; min-height: 46px; padding: 10px 14px; border-radius: 10px;
border: 2px solid var(--tbta-line); background: #fff; color: #1d2a24; font: inherit; font-size: 17px;
}
.tbta-input:focus { outline: 3px solid var(--tbta-accent); outline-offset: 1px; border-color: transparent; }
.tbta-input--code { letter-spacing: 6px; font-weight: 800; max-width: 180px; }
.tbta-btn {
flex: none; min-height: 46px; padding: 10px 22px; border: 0; border-radius: 999px; cursor: pointer;
background: var(--tbta-btn); color: #fff; font: inherit; font-weight: 800; font-size: 16px; white-space: nowrap;
}
.tbta-btn:hover { filter: brightness(1.1); }
.tbta-btn[disabled] { opacity: .6; cursor: wait; }
.tbta-check { display: flex; gap: 8px; align-items: flex-start; margin-top: 8px; font-size: 14px; line-height: 1.4; cursor: pointer; }
.tbta-check input { width: 18px; height: 18px; margin: 1px 0 0; flex: none; accent-color: var(--tbta-btn); }
.tbta-fine { margin: 6px 0 0; font-size: 11px; line-height: 1.4; color: var(--tbta-muted); opacity: .85; }
.tbta-fine a, .tbta-codehelp a { color: var(--tbta-accent); }
.tbta-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.tbta-step { display: none; }
.tbta-form[data-step="phone"] .tbta-step--phone,
.tbta-form[data-step="code"] .tbta-step--code,
.tbta-form[data-step="done"] .tbta-step--done { display: block; }
.tbta-codehelp { margin: 0 0 8px; font-size: 14px; }
.tbta-links { margin: 8px 0 0; font-size: 13px; color: var(--tbta-muted); }
.tbta-link { background: none; border: 0; padding: 4px 0; color: var(--tbta-accent); font: inherit; text-decoration: underline; cursor: pointer; }
.tbta-done { margin: 6px 0; font-weight: 800; font-size: 18px; color: var(--tbta-accent); }
.tbta-msg { margin: 6px 0 0; font-size: 14px; font-weight: 700; min-height: 0; }
.tbta-msg:empty { display: none; }
.tbta-msg.is-error { color: #FFB4BE; }
.tbta-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; } .tbta-inline { background: var(--tbta-bg); border-radius: 18px; padding: 20px; max-width: 560px; } @media (max-width: 760px) {
.tbta-bar__inner { grid-template-columns: 1fr auto; padding: 12px 52px 12px 16px; align-items: center; }
.tbta-text { display: none; }
.tbta-headline { font-size: 17px; }
.tbta-expand { display: inline-flex; align-items: center; min-height: 42px; padding: 8px 16px; font-size: 15px; }
.tbta-body { display: none; grid-column: 1 / -1; padding-bottom: 6px; }
.tbta-bar.is-open .tbta-body { display: block; }
.tbta-bar.is-open .tbta-expand { display: none; }
.tbta-bar.is-open .tbta-text { display: block; }
.tbta-bar.is-open .tbta-bar__inner { max-height: 85vh; overflow-y: auto; }
.tbta-close { top: 50%; transform: translateY(-50%); width: 36px; height: 36px; font-size: 22px; }
.tbta-bar.is-open .tbta-close { top: 8px; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .tbta-bar { transition: none; } }
@media (max-width: 760px) {
.tbta-bar:not(.is-open) .tbta-intro { text-align: center; }
} .tbta-inline .tbta-form .tbta-fine{font-size:13px;line-height:1.5}
.tbta-inline .tbta-form .tbta-fine a,.tbta-inline .tbta-form .tbta-fine a:visited{color:#f2c14e;text-decoration:underline;font-weight:600}
.tbta-inline .tbta-form .tbta-fine a:hover{color:#ffffff}