/* twitch_bot_landing.html (moved out of the template, on the tokens) */
.tb-wrap { max-width: 880px; margin: 0 auto; }
.tb-wrap h1 { margin-top: 0; }
.tb-card { background: var(--surface-1); border: 1px solid var(--border-soft); border-radius: 8px; padding: 1.1em 1.3em; margin: 1em 0; }
.tb-card h2 { margin-top: 0; font-size: 1.15em; }
.tb-card h3 { font-size: 1em; margin: .9em 0 .3em; }
.tb-cmd { font-family: ui-monospace, Consolas, monospace; background: rgba(0,0,0,.18); padding: .15em .45em; border-radius: 4px; white-space: nowrap; }
.tb-btn { display: inline-block; padding: .65em 1.2em; border-radius: 6px; background: var(--twitch); color: #fff !important; font-weight: 600; text-decoration: none !important; border: 0; cursor: pointer; font-size: 1em; }
.tb-btn.secondary { background: transparent; border: 1px solid var(--border-soft); color: inherit !important; }
.tb-note { color: var(--muted-color, #9aa); font-size: .92em; }
.tb-status { border-left: 4px solid #1BAF7A; padding: .6em 1em; margin: 1em 0; background: rgba(27,175,122,.08); border-radius: 4px; }
.tb-status.warn { border-color: #EB6834; background: rgba(235,104,52,.08); }
.tb-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: .8em; }
.tb-cap { font-variant-numeric: tabular-nums; }
.tb-steps { margin: .4em 0 0 1.2em; padding: 0; }
.tb-steps li { margin: .3em 0; }
.tb-tag { display: inline-block; font-size: .78em; padding: .1em .55em; border-radius: 999px; border: 1px solid var(--border-soft); margin-left: .4em; vertical-align: middle; }
.tb-examples span { display: inline-block; margin: .15em .35em .15em 0; }
/* demo chat panel: a real exchange, styled like Twitch chat */
.tb-demo { margin: 1.2em 0 1.6em; }
.tb-chat { background: #18181b; color: #efeff1; border: 1px solid #2f2f35; border-radius: 10px; padding: .55em .9em; font: 14px/1.45 "Inter", "Roobert", system-ui, sans-serif; overflow-wrap: anywhere; }
.tb-line { padding: .3em .35em; border-radius: 4px; }
.tb-line.bot { background: rgba(255,255,255,.04); }
.tb-badges { display: inline-flex; gap: 3px; margin-right: .35em; vertical-align: -2px; }
.tb-b { display: inline-block; width: 16px; height: 16px; border-radius: 3px; }
.tb-b.sub { background: linear-gradient(135deg, #f0b431, #c8891a); }
.tb-b.gift { background: linear-gradient(135deg, #ff6ea4, #b83a70); }
.tb-b.mod { background: #00ad03; position: relative; }
.tb-b.mod::after { content: ""; position: absolute; left: 4px; top: 4px; width: 8px; height: 8px; border: 2px solid #fff; border-width: 0 2px 2px 0; transform: rotate(-45deg) translateY(-2px); }
.tb-user { font-weight: 700; }
.tb-user.u1 { color: #ff7f50; }
.tb-user.u2 { color: #1eff8e; }
.tb-at { background: rgba(145,70,255,.28); color: #fff; padding: 0 .25em; border-radius: 3px; }
.tb-link { color: #bf94ff; text-decoration: underline; }
