.page-tiktok-live-chat-reader {
    background:
        radial-gradient(circle at 12% 8%, rgba(37, 244, 238, 0.09), transparent 27rem),
        radial-gradient(circle at 88% 14%, rgba(254, 44, 85, 0.09), transparent 25rem),
        #070a11;
}

.page-tiktok-live-chat-reader main > .container {
    width: 100%;
    max-width: none;
    padding-inline: clamp(1rem, 3vw, 3.5rem);
}

.ttlr-shell {
    --ttlr-cyan: #25f4ee;
    --ttlr-pink: #fe2c55;
    --ttlr-paper: #f7f9fc;
    --ttlr-muted: #9ca8ba;
    --ttlr-panel: rgba(15, 20, 31, 0.92);
    --ttlr-line: rgba(255, 255, 255, 0.1);
    width: min(100%, 1480px);
    margin: 0 auto;
    color: var(--ttlr-paper);
}

.ttlr-shell *,
.ttlr-shell *::before,
.ttlr-shell *::after {
    box-sizing: border-box;
}

.ttlr-audio-permission {
    position: fixed;
    inset: 0;
    width: min(31rem, calc(100vw - 2rem));
    max-width: none;
    max-height: calc(100vh - 2rem);
    margin: auto;
    padding: 0;
    overflow: auto;
    border: 1px solid rgba(37, 244, 238, 0.26);
    border-radius: 1.25rem;
    background: #0b111c;
    color: var(--ttlr-paper);
    box-shadow: 0 2rem 6rem rgba(0, 0, 0, 0.72);
    z-index: 1000;
}

.ttlr-audio-permission:not([open]) {
    display: none;
}

.ttlr-audio-permission::backdrop {
    background: rgba(3, 5, 10, 0.78);
    backdrop-filter: blur(0.3rem);
}

.ttlr-audio-permission-card {
    display: grid;
    gap: 1rem;
    padding: clamp(1.35rem, 4vw, 2rem);
    background:
        linear-gradient(145deg, rgba(37, 244, 238, 0.09), transparent 48%),
        linear-gradient(325deg, rgba(254, 44, 85, 0.07), transparent 50%),
        #0b111c;
}

.ttlr-audio-permission-icon {
    display: grid;
    width: 3.25rem;
    height: 3.25rem;
    place-items: center;
    border: 1px solid rgba(37, 244, 238, 0.28);
    border-radius: 1rem;
    background: rgba(37, 244, 238, 0.1);
}

.ttlr-audio-permission-icon svg {
    width: 1.55rem;
    fill: var(--ttlr-cyan);
}

.ttlr-audio-permission h2 {
    margin: 0.55rem 0 0;
    color: #f5f8fc;
    font-size: clamp(1.45rem, 5vw, 2rem);
    font-weight: 850;
    letter-spacing: -0.035em;
    line-height: 1.1;
}

.ttlr-audio-permission h2 + p {
    margin: 0.7rem 0 0;
    color: #aeb9c9;
    font-size: 0.92rem;
    line-height: 1.65;
}

.ttlr-audio-permission-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr);
    gap: 0.65rem;
}

.ttlr-audio-permission-actions button {
    min-height: 2.75rem;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.055);
    color: #c7d0dd;
    font: inherit;
    font-size: 0.84rem;
    font-weight: 800;
}

.ttlr-audio-permission-actions button:first-child {
    border-color: transparent;
    background: linear-gradient(110deg, var(--ttlr-cyan), #b9fffb);
    color: #071012;
}

.ttlr-audio-permission-actions button:hover {
    filter: brightness(1.08);
}

.ttlr-audio-permission-privacy {
    margin: 0;
    color: #707c90;
    font-size: 0.7rem;
    line-height: 1.5;
}

.ttlr-hero {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(33rem, 1.18fr);
    gap: clamp(1rem, 2.4vw, 2.25rem);
    align-items: stretch;
}

.ttlr-intro,
.ttlr-reader,
.ttlr-steps,
.ttlr-responsible {
    border: 1px solid var(--ttlr-line);
    border-radius: 1.5rem;
    background: var(--ttlr-panel);
    box-shadow: 0 1.5rem 5rem rgba(0, 0, 0, 0.24);
}

.ttlr-intro {
    position: relative;
    overflow: hidden;
    padding: clamp(1.5rem, 3.5vw, 3.5rem);
    background:
        linear-gradient(150deg, rgba(37, 244, 238, 0.09), transparent 45%),
        linear-gradient(325deg, rgba(254, 44, 85, 0.08), transparent 45%),
        var(--ttlr-panel);
}

.ttlr-intro::after {
    position: absolute;
    right: -6rem;
    top: -7rem;
    width: 17rem;
    height: 17rem;
    border: 1px solid rgba(37, 244, 238, 0.14);
    border-radius: 50%;
    box-shadow: 0 0 0 2.5rem rgba(254, 44, 85, 0.025), 0 0 0 5rem rgba(37, 244, 238, 0.02);
    content: '';
    pointer-events: none;
}

.ttlr-back-link {
    display: inline-flex;
    gap: 0.45rem;
    align-items: center;
    margin-bottom: 2rem;
    color: #c8d1df;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
}

.ttlr-back-link:hover {
    color: var(--ttlr-cyan);
}

.ttlr-kicker {
    display: inline-flex;
    gap: 0.55rem;
    align-items: center;
    color: var(--ttlr-cyan);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.ttlr-kicker i,
.ttlr-live-indicator i,
.ttlr-notes i {
    display: inline-block;
    width: 0.48rem;
    height: 0.48rem;
    border-radius: 999px;
    background: var(--ttlr-cyan);
    box-shadow: 0 0 0.8rem rgba(37, 244, 238, 0.7);
}

.ttlr-intro h1 {
    max-width: 12ch;
    margin: 0.9rem 0 1rem;
    font-size: clamp(2.4rem, 5.2vw, 5rem);
    font-weight: 850;
    letter-spacing: -0.055em;
    line-height: 0.98;
}

.ttlr-intro h1 span {
    color: transparent;
    background: linear-gradient(95deg, var(--ttlr-cyan), #fff 42%, #ff7894);
    background-clip: text;
    -webkit-background-clip: text;
}

.ttlr-lead {
    max-width: 38rem;
    margin: 0;
    color: #b8c2d1;
    font-size: clamp(1rem, 1.45vw, 1.18rem);
    line-height: 1.75;
}

.ttlr-unavailable {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    margin-top: 1.5rem;
    padding: 1rem;
    border: 1px solid rgba(255, 187, 64, 0.32);
    border-radius: 1rem;
    background: rgba(255, 187, 64, 0.08);
}

.ttlr-unavailable > span {
    display: grid;
    flex: 0 0 1.65rem;
    height: 1.65rem;
    place-items: center;
    border-radius: 50%;
    background: #ffbd43;
    color: #171109;
    font-weight: 900;
}

.ttlr-unavailable strong {
    display: block;
    color: #ffe3ad;
}

.ttlr-unavailable p {
    margin: 0.2rem 0 0;
    color: #d8c5a2;
}

.ttlr-connect-form {
    margin-top: clamp(1.7rem, 4vw, 3rem);
}

.ttlr-connect-form > label {
    display: block;
    margin-bottom: 0.65rem;
    color: #e9edf4;
    font-size: 0.86rem;
    font-weight: 750;
}

.ttlr-input-row {
    position: relative;
    display: flex;
    gap: 0.65rem;
    padding: 0.45rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 1rem;
    background: rgba(4, 7, 13, 0.72);
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.ttlr-input-row:focus-within {
    border-color: rgba(37, 244, 238, 0.65);
    box-shadow: 0 0 0 0.22rem rgba(37, 244, 238, 0.11);
}

.ttlr-at {
    display: grid;
    flex: 0 0 2.25rem;
    place-items: center;
    color: var(--ttlr-cyan);
    font-weight: 850;
}

.ttlr-input-row input {
    min-width: 0;
    flex: 1 1 auto;
    border: 0;
    outline: 0;
    background: transparent;
    color: #fff;
    font: inherit;
}

.ttlr-input-row input::placeholder {
    color: #687488;
}

.ttlr-input-row input:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.ttlr-input-row button {
    display: inline-flex;
    gap: 0.55rem;
    align-items: center;
    justify-content: center;
    min-width: 8.3rem;
    padding: 0.85rem 1.05rem;
    border: 0;
    border-radius: 0.72rem;
    background: linear-gradient(110deg, var(--ttlr-cyan), #b9fffb);
    color: #071012;
    font-weight: 850;
    transition: transform 150ms ease, filter 150ms ease;
}

.ttlr-input-row button:hover:not(:disabled) {
    filter: brightness(1.06);
    transform: translateY(-1px);
}

.ttlr-input-row button:disabled {
    cursor: not-allowed;
    filter: grayscale(0.5);
    opacity: 0.52;
}

.ttlr-input-row button svg {
    width: 1.1rem;
    fill: currentColor;
}

.ttlr-input-hint {
    margin: 0.65rem 0 0;
    color: #7f8b9d;
    font-size: 0.8rem;
}

.ttlr-status {
    min-height: 1.35rem;
    margin-top: 0.75rem;
    color: #9ca8ba;
    font-size: 0.88rem;
    font-weight: 650;
}

.ttlr-status[data-tone='working'] { color: #a7faf7; }
.ttlr-status[data-tone='success'] { color: #75efb5; }
.ttlr-status[data-tone='warning'] { color: #ffd27b; }
.ttlr-status[data-tone='error'] { color: #ff8ba2; }

.ttlr-notes {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem 1.1rem;
    margin-top: 2rem;
    color: #8f9aac;
    font-size: 0.75rem;
}

.ttlr-notes span {
    display: inline-flex;
    gap: 0.45rem;
    align-items: center;
}

.ttlr-notes i {
    width: 0.35rem;
    height: 0.35rem;
    box-shadow: none;
}

.ttlr-reader {
    display: flex;
    min-width: 0;
    min-height: 43rem;
    flex-direction: column;
    overflow: hidden;
}

.ttlr-shell[data-reader-state='connected'] .ttlr-hero {
    grid-template-columns: minmax(0, 1fr);
}

.ttlr-shell[data-reader-state='connected'] {
    width: 100%;
}

.ttlr-shell[data-reader-state='connected'] .ttlr-intro,
.ttlr-shell[data-reader-state='connected'] .ttlr-steps,
.ttlr-shell[data-reader-state='connected'] .ttlr-responsible {
    display: none;
}

.ttlr-shell[data-reader-state='connected'] .ttlr-reader {
    width: 100%;
    min-height: max(43rem, calc(100vh - 10rem));
    grid-column: 1 / -1;
}

.ttlr-reader-header {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.35rem;
    border-bottom: 1px solid var(--ttlr-line);
    background: rgba(255, 255, 255, 0.018);
}

.ttlr-reader-heading {
    min-width: 0;
}

.ttlr-reader-actions {
    display: flex;
    flex: 0 0 auto;
    gap: 0.55rem;
    align-items: center;
}

.ttlr-live-indicator {
    display: inline-flex;
    gap: 0.45rem;
    align-items: center;
    color: #ff8199;
    font-size: 0.67rem;
    font-weight: 850;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.ttlr-live-indicator i {
    background: var(--ttlr-pink);
    box-shadow: 0 0 0.85rem rgba(254, 44, 85, 0.75);
    animation: ttlr-pulse 1.8s ease-in-out infinite;
}

.ttlr-reader-header h2 {
    margin: 0.28rem 0 0;
    overflow: hidden;
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ttlr-disconnect,
.ttlr-reset,
.ttlr-voice-menu summary,
.ttlr-clear,
.ttlr-filters button {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: #b8c2d1;
    font-size: 0.78rem;
    font-weight: 750;
}

.ttlr-disconnect,
.ttlr-reset,
.ttlr-voice-menu summary {
    min-height: 2.4rem;
    flex: 0 0 auto;
    padding: 0.62rem 0.82rem;
    border-radius: 0.65rem;
}

.ttlr-disconnect:hover:not(:disabled),
.ttlr-reset:hover,
.ttlr-voice-menu summary:hover,
.ttlr-clear:hover,
.ttlr-filters button:hover {
    border-color: rgba(37, 244, 238, 0.35);
    color: #fff;
}

.ttlr-disconnect:disabled {
    cursor: not-allowed;
    opacity: 0.4;
}

.ttlr-reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-color: rgba(37, 244, 238, 0.32);
    background: rgba(37, 244, 238, 0.1);
    color: #c7fffc;
}

.ttlr-reset[hidden] {
    display: none;
}

.ttlr-shell[data-reader-state='connected'] .ttlr-disconnect {
    display: none;
}

.ttlr-voice-menu {
    position: relative;
}

.ttlr-voice-menu summary {
    display: inline-flex;
    gap: 0.48rem;
    align-items: center;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.ttlr-voice-menu summary::-webkit-details-marker {
    display: none;
}

.ttlr-voice-menu summary svg {
    width: 1rem;
    fill: currentColor;
}

.ttlr-voice-menu summary > span:last-child {
    width: 0.45rem;
    height: 0.45rem;
    margin: -0.18rem 0.08rem 0 0.18rem;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    transition: transform 150ms ease;
}

.ttlr-voice-menu[open] summary {
    border-color: rgba(37, 244, 238, 0.45);
    background: rgba(37, 244, 238, 0.12);
    color: var(--ttlr-cyan);
}

.ttlr-voice-menu[open] summary > span:last-child {
    margin-top: 0.18rem;
    transform: rotate(225deg);
}

.ttlr-counters {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin: 0;
    border-bottom: 1px solid var(--ttlr-line);
    background: var(--ttlr-line);
}

.ttlr-counters > div {
    padding: 0.9rem 1rem;
    background: #0d121d;
}

.ttlr-counters dt {
    color: #7e899a;
    font-size: 0.66rem;
    font-weight: 750;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.ttlr-counters dd {
    margin: 0.15rem 0 0;
    color: #fff;
    font-size: 1.35rem;
    font-variant-numeric: tabular-nums;
    font-weight: 850;
}

.ttlr-speech {
    position: absolute;
    top: calc(100% + 0.55rem);
    right: 0;
    display: grid;
    width: min(27rem, calc(100vw - 2rem));
    gap: 0.85rem;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 0.9rem;
    background:
        linear-gradient(100deg, rgba(37, 244, 238, 0.055), transparent 48%),
        #0b111c;
    box-shadow: 0 1.2rem 3rem rgba(0, 0, 0, 0.48);
}

.ttlr-voice-menu:not([open]) .ttlr-speech {
    display: none;
}

.ttlr-speech-toggle {
    display: inline-flex;
    min-width: 0;
    gap: 0.7rem;
    align-items: center;
    cursor: pointer;
}

.ttlr-speech-toggle input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.ttlr-speech-switch {
    position: relative;
    width: 2.7rem;
    height: 1.5rem;
    flex: 0 0 2.7rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    transition: border-color 160ms ease, background 160ms ease;
}

.ttlr-speech-switch i {
    position: absolute;
    top: 0.19rem;
    left: 0.2rem;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: #9ca8ba;
    box-shadow: 0 0.2rem 0.45rem rgba(0, 0, 0, 0.35);
    transition: background 160ms ease, transform 160ms ease;
}

.ttlr-speech-toggle input:checked + .ttlr-speech-switch {
    border-color: rgba(37, 244, 238, 0.62);
    background: rgba(37, 244, 238, 0.22);
}

.ttlr-speech-toggle input:checked + .ttlr-speech-switch i {
    background: var(--ttlr-cyan);
    transform: translateX(1.16rem);
}

.ttlr-speech-toggle input:focus-visible + .ttlr-speech-switch {
    outline: 3px solid rgba(37, 244, 238, 0.7);
    outline-offset: 3px;
}

.ttlr-speech-toggle input:disabled + .ttlr-speech-switch,
.ttlr-speech[data-supported='false'] .ttlr-speech-toggle {
    cursor: not-allowed;
    opacity: 0.5;
}

.ttlr-speech-toggle > span:last-child {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.ttlr-speech-toggle strong {
    color: #e7edf5;
    font-size: 0.85rem;
}

.ttlr-speech-toggle small {
    margin-top: 0.12rem;
    color: #7e899a;
    font-size: 0.68rem;
    line-height: 1.35;
}

.ttlr-speech-settings {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 5rem;
    gap: 0.65rem;
}

.ttlr-speech-settings label {
    display: flex;
    gap: 0.3rem;
    flex-direction: column;
}

.ttlr-speech-settings label > span {
    color: #748094;
    font-size: 0.61rem;
    font-weight: 750;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.ttlr-speech-settings select {
    width: 100%;
    max-width: none;
    min-height: 2rem;
    padding: 0.34rem 1.75rem 0.34rem 0.55rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.55rem;
    background: #111824;
    color: #dce3ed;
    font: inherit;
    font-size: 0.72rem;
}

.ttlr-speech-settings label:last-child select {
    max-width: 5rem;
}

.ttlr-speech-settings select:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

.ttlr-speech-status,
.ttlr-speech-privacy {
    margin: 0;
    font-size: 0.68rem;
    line-height: 1.4;
}

.ttlr-speech-status {
    color: #8d9aad;
}

.ttlr-speech-status[data-tone='on'] { color: #76e8bd; }
.ttlr-speech-status[data-tone='warning'] { color: #ffd27b; }
.ttlr-speech-status[data-tone='error'] { color: #ff8ba2; }

.ttlr-speech-privacy {
    color: #697589;
}

.ttlr-toolbar {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--ttlr-line);
}

.ttlr-filters {
    display: flex;
    gap: 0.35rem;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: thin;
}

.ttlr-filters button,
.ttlr-clear {
    flex: 0 0 auto;
    padding: 0.48rem 0.72rem;
    border-radius: 999px;
}

.ttlr-filters button[aria-selected='true'] {
    border-color: rgba(37, 244, 238, 0.45);
    background: rgba(37, 244, 238, 0.12);
    color: var(--ttlr-cyan);
}

.ttlr-clear {
    border: 0;
    background: transparent;
}

.ttlr-feed-stage {
    position: relative;
    min-height: 27rem;
    flex: 1 1 auto;
}

.ttlr-feed {
    position: absolute;
    inset: 0;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 0.9rem;
    overscroll-behavior: contain;
    scrollbar-color: rgba(37, 244, 238, 0.25) transparent;
}

.ttlr-empty {
    position: absolute;
    inset: 0;
    display: flex;
    padding: 2rem;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #7d8899;
    text-align: center;
}

.ttlr-empty[hidden] {
    display: none;
}

.ttlr-empty > span {
    display: grid;
    width: 4.5rem;
    height: 4.5rem;
    margin-bottom: 1.1rem;
    place-items: center;
    border: 1px solid rgba(37, 244, 238, 0.16);
    border-radius: 1.25rem;
    background: rgba(37, 244, 238, 0.055);
}

.ttlr-empty svg {
    width: 2rem;
    fill: rgba(37, 244, 238, 0.72);
}

.ttlr-empty strong {
    color: #c8d1df;
    font-size: 1.02rem;
}

.ttlr-empty p {
    margin: 0.35rem 0 0;
    font-size: 0.85rem;
}

.ttlr-event {
    margin-bottom: 0.65rem;
    padding: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-left: 3px solid rgba(255, 255, 255, 0.15);
    border-radius: 0.85rem;
    background: rgba(255, 255, 255, 0.028);
    animation: ttlr-arrive 180ms ease-out both;
}

.ttlr-event[hidden] {
    display: none;
}

.ttlr-event--chat { border-left-color: var(--ttlr-cyan); }
.ttlr-event--gift { border-left-color: var(--ttlr-pink); background: rgba(254, 44, 85, 0.045); }
.ttlr-event--activity { border-left-color: #8e7dff; }

.ttlr-event header,
.ttlr-event-identity,
.ttlr-event-meta,
.ttlr-event-body {
    display: flex;
    min-width: 0;
    align-items: center;
}

.ttlr-event header {
    gap: 0.8rem;
    justify-content: space-between;
}

.ttlr-event-identity {
    gap: 0.65rem;
}

.ttlr-event-avatar {
    position: relative;
    display: grid;
    width: 2.25rem;
    height: 2.25rem;
    flex: 0 0 2.25rem;
    overflow: hidden;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(37, 244, 238, 0.18), rgba(254, 44, 85, 0.18));
    color: #d9fffd;
    font-size: 0.75rem;
    font-weight: 850;
}

.ttlr-event-avatar-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ttlr-event-names {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.ttlr-event-names strong,
.ttlr-event-names small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ttlr-event-names strong {
    color: #edf1f7;
    font-size: 0.86rem;
}

.ttlr-event-names small {
    color: #778397;
    font-size: 0.7rem;
}

.ttlr-event-meta {
    flex: 0 0 auto;
    gap: 0.5rem;
}

.ttlr-event-meta span {
    padding: 0.22rem 0.45rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.055);
    color: #9faabd;
    font-size: 0.62rem;
    font-weight: 750;
}

.ttlr-event-meta time {
    color: #647084;
    font-size: 0.65rem;
    font-variant-numeric: tabular-nums;
}

.ttlr-event-body {
    gap: 0.8rem;
    justify-content: space-between;
    margin: 0.7rem 0 0 2.9rem;
}

.ttlr-event-body p {
    margin: 0;
    overflow-wrap: anywhere;
    color: #cbd3df;
    font-size: 0.88rem;
    line-height: 1.5;
    white-space: pre-wrap;
}

.ttlr-event-gift-image {
    width: 2.5rem;
    height: 2.5rem;
    flex: 0 0 2.5rem;
    object-fit: contain;
}

.ttlr-steps {
    display: grid;
    grid-template-columns: minmax(14rem, 0.6fr) minmax(0, 1.4fr);
    gap: clamp(2rem, 5vw, 5rem);
    margin-top: clamp(1rem, 2.4vw, 2.25rem);
    padding: clamp(1.5rem, 3.5vw, 3.5rem);
}

.ttlr-steps h2,
.ttlr-responsible h2 {
    margin: 0.55rem 0 0;
    color: #f3f6fa;
    font-size: clamp(1.6rem, 3vw, 2.5rem);
    font-weight: 850;
    letter-spacing: -0.035em;
}

.ttlr-steps ol {
    display: grid;
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ttlr-steps li {
    display: grid;
    grid-template-columns: 2.5rem minmax(0, 1fr);
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--ttlr-line);
}

.ttlr-steps li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.ttlr-steps li > span {
    color: var(--ttlr-cyan);
    font-size: 0.72rem;
    font-weight: 850;
}

.ttlr-steps h3 {
    margin: 0;
    color: #edf1f7;
    font-size: 1rem;
}

.ttlr-steps p,
.ttlr-responsible p {
    margin: 0.3rem 0 0;
    color: #929daf;
    line-height: 1.65;
}

.ttlr-responsible {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin-top: clamp(1rem, 2.4vw, 2.25rem);
    padding: clamp(1.5rem, 3vw, 2.5rem);
}

.ttlr-responsible-icon {
    display: grid;
    width: 4.5rem;
    height: 4.5rem;
    flex: 0 0 4.5rem;
    place-items: center;
    border: 1px solid rgba(37, 244, 238, 0.18);
    border-radius: 1.15rem;
    background: rgba(37, 244, 238, 0.06);
}

.ttlr-responsible-icon svg {
    width: 2rem;
    fill: var(--ttlr-cyan);
}

.ttlr-shell button:focus-visible,
.ttlr-shell input:focus-visible,
.ttlr-shell select:focus-visible,
.ttlr-shell summary:focus-visible,
.ttlr-shell a:focus-visible {
    outline: 3px solid rgba(37, 244, 238, 0.7);
    outline-offset: 3px;
}

@keyframes ttlr-pulse {
    0%, 100% { opacity: 0.55; transform: scale(0.82); }
    50% { opacity: 1; transform: scale(1); }
}

@keyframes ttlr-arrive {
    from { opacity: 0; transform: translateY(0.35rem); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1050px) {
    .ttlr-hero {
        grid-template-columns: 1fr;
    }

    .ttlr-intro h1 {
        max-width: 15ch;
    }

    .ttlr-reader {
        min-height: 40rem;
    }
}

@media (max-width: 700px) {
    .page-tiktok-live-chat-reader main > .container {
        padding-inline: 0.75rem;
    }

    .ttlr-intro,
    .ttlr-reader,
    .ttlr-steps,
    .ttlr-responsible {
        border-radius: 1.1rem;
    }

    .ttlr-intro {
        padding: 1.35rem;
    }

    .ttlr-audio-permission-actions {
        grid-template-columns: 1fr;
    }

    .ttlr-intro h1 {
        font-size: clamp(2.35rem, 13vw, 3.6rem);
    }

    .ttlr-input-row {
        display: grid;
        grid-template-columns: 2rem minmax(0, 1fr);
    }

    .ttlr-input-row input {
        min-height: 2.8rem;
    }

    .ttlr-input-row button {
        grid-column: 1 / -1;
        width: 100%;
    }

    .ttlr-reader-header,
    .ttlr-toolbar {
        padding-inline: 0.85rem;
    }

    .ttlr-reader-header {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .ttlr-reader-heading {
        flex: 1 1 10rem;
    }

    .ttlr-reader-actions {
        position: relative;
        display: grid;
        width: 100%;
        max-width: 100%;
        flex: 1 0 100%;
        grid-template-columns: minmax(0, 1fr) auto;
        margin-left: 0;
    }

    .ttlr-voice-menu {
        position: static;
    }

    .ttlr-voice-menu summary {
        width: 100%;
        justify-content: center;
    }

    .ttlr-speech {
        left: 0;
        right: 0;
        width: 100%;
    }

    .ttlr-counters > div {
        padding-inline: 0.7rem;
    }

    .ttlr-counters dd {
        font-size: 1.15rem;
    }

    .ttlr-feed {
        padding: 0.65rem;
    }

    .ttlr-event header {
        align-items: flex-start;
    }

    .ttlr-event-meta {
        align-items: flex-end;
        flex-direction: column;
        gap: 0.2rem;
    }

    .ttlr-event-body {
        margin-left: 0;
    }

    .ttlr-steps {
        grid-template-columns: 1fr;
        gap: 1.75rem;
        padding: 1.35rem;
    }

    .ttlr-responsible {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ttlr-live-indicator i,
    .ttlr-event {
        animation: none;
    }

    .ttlr-input-row,
    .ttlr-input-row button {
        transition: none;
    }
}
