.w-twitch { padding: 0 !important; }
.tw-head { position: absolute; left: 12px; right: 12px; top: 10px; height: 32px; white-space: nowrap; overflow: hidden; }
.tw-pill { display: inline-block; height: 30px; line-height: 30px; padding: 0 12px; margin-right: 10px; border-radius: 15px; background: #243142; color: #c9d6e3; font-weight: bold; font-size: 13px; letter-spacing: 1px; }
.tw-pill.live { background: #9146ff; color: #fff; }
.tw-info { font-size: 14px; color: #9fb3c8; line-height: 30px; }
.tw-chat { position: absolute; left: 12px; top: 48px; bottom: 70px; right: 42%; overflow: auto; -webkit-overflow-scrolling: touch; background: #0f151c; border-radius: 10px; padding: 8px 10px; }
.tw-line { font-size: 15px; line-height: 1.4; margin-bottom: 5px; word-wrap: break-word; -webkit-user-select: text; user-select: text; }
.tw-line b { color: #bf94ff; }
.tw-line.notice { background: #2b1e47; border-left: 3px solid #9146ff; padding: 4px 8px; border-radius: 6px; }
.tw-line.notice b { color: #e2d4ff; }
.tw-form { position: absolute; left: 12px; right: 42%; bottom: 12px; height: 50px; }
.tw-input { position: absolute; left: 0; top: 0; right: 118px; height: 50px; padding: 0 12px; font-size: 16px; background: #0b0f14; color: #fff; border: 1px solid #2a3746; border-radius: 10px; font-family: inherit; -webkit-user-select: text; user-select: text; }
.tw-mic, .tw-send { position: absolute; top: 0; width: 54px; height: 50px; border-radius: 10px; text-align: center; padding-top: 11px; }
.tw-mic { right: 60px; background: #243142; }
.tw-mic.on { background: #b62324; }
.tw-send { right: 0; background: #9146ff; }
.tw-mic svg.ic, .tw-send svg.ic { width: 26px; height: 26px; }
.tw-send.ok { -webkit-box-shadow: inset 0 0 0 2px #3fb950; box-shadow: inset 0 0 0 2px #3fb950; }
.tw-side { position: absolute; left: 58%; right: 12px; top: 48px; bottom: 12px; margin-left: 10px; overflow: auto; -webkit-overflow-scrolling: touch; }
.tw-title { margin-bottom: 6px; }
.tw-title b { display: block; font-size: 15px; line-height: 1.3; max-height: 2.6em; overflow: hidden; }
.tw-title span { display: block; font-size: 13px; color: #bf94ff; margin-top: 2px; }
.tw-grid, .tw-modes { font-size: 0; margin-top: 8px; }
.tw-btn { display: inline-block; width: 48%; margin: 0 2% 8px 0; height: 50px; border-radius: 10px; background: #243142; text-align: center; padding-top: 5px; font-size: 12px; font-weight: bold; letter-spacing: 1px; vertical-align: top; overflow: hidden; }
.tw-btn svg.ic { display: block; width: 22px; height: 22px; margin: 0 auto 2px; }
.tw-btn span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 4px; }
.tw-btn.small { width: auto; height: 36px; padding: 0 12px; line-height: 36px; text-align: left; }
.tw-btn.small svg.ic { display: inline-block; width: 18px; height: 18px; margin: -3px 6px 0 0; vertical-align: middle; }
.tw-btn.small span { display: inline; }
.tw-btn.mode { height: 40px; padding-top: 0; line-height: 40px; }
.tw-btn.mode.on { background: #9146ff; }
.tw-btn.warn { background: #6b5214; width: 98%; }
.tw-btn.go { background: #1e5631; width: 98%; }
.tw-btn.pressed { background: #3d8bfd; }
.tw-btn.holding { background: #b62324; }
.tw-btn.ok { -webkit-box-shadow: inset 0 0 0 2px #3fb950; box-shadow: inset 0 0 0 2px #3fb950; }
.tw-btn.err { -webkit-box-shadow: inset 0 0 0 2px #e5534b; box-shadow: inset 0 0 0 2px #e5534b; }
.tw-edit { display: block; width: 100%; height: 44px; margin-bottom: 8px; padding: 0 10px; font-size: 15px; background: #0b0f14; color: #fff; border: 1px solid #2a3746; border-radius: 10px; font-family: inherit; -webkit-box-sizing: border-box; box-sizing: border-box; -webkit-user-select: text; user-select: text; }
.tw-results { margin-bottom: 8px; }
.tw-result { padding: 10px 12px; margin-bottom: 4px; border-radius: 8px; background: #1d2835; font-size: 14px; font-weight: bold; }
.tw-result.pressed { background: #26354a; }
.tw-result.ok { background: #2b1e47; }
.w-twitch .empty { position: absolute; left: 12px; right: 12px; top: 40%; }
.tw-chat .empty { position: static; }
.tw-noform .tw-chat { bottom: 12px; }
.tw-nocontrols .tw-chat, .tw-nocontrols .tw-form { right: 12px; }
.tw-nocontrols .tw-side { display: none; }
.tw-compact .tw-head { left: auto; right: 20px; top: 14px; height: 24px; z-index: 2; }
.tw-compact .tw-info { display: none; }
.tw-compact .tw-pill { height: 24px; line-height: 24px; font-size: 11px; padding: 0 9px; margin: 0; }
.tw-compact .tw-chat { left: 8px; right: 8px; top: 8px; bottom: 58px; padding: 6px 8px; }
.tw-compact .tw-form { left: 8px; right: 8px; bottom: 8px; height: 42px; }
.tw-compact .tw-input { height: 42px; right: 104px; }
.tw-compact .tw-mic, .tw-compact .tw-send { width: 48px; height: 42px; padding-top: 8px; }
.tw-compact .tw-mic { right: 54px; }
.tw-compact.tw-noform .tw-chat { bottom: 8px; }
