.talk-status { min-height: 1.5em; color: #9e4a2f; }
.talk-status:empty { display: none; }
.talk-overview { display: grid; gap: 26px; min-width: 0; }
.talk-overview > .eyebrow, .talk-overview > h1, .talk-overview > .lead { margin-bottom: 0; }
.talk-overview > .lead { margin-top: -16px; }
.talk-format-intro, .talk-format-mechanics, .talk-format-demo, .talk-format-steps, .talk-format-code { min-width: 0; border: 1px solid #e2d3b7; border-radius: 22px; padding: clamp(22px, 4vw, 38px); background: #fffdf9ed; }
.talk-format-intro { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(circle at 78% 35%, #fffdf9 0 11%, #f7edda 38%, #fffaf0 70%, #f2e2c8 100%); }
.talk-format-intro::before, .talk-format-intro::after { content: ''; position: absolute; z-index: -1; width: 420px; aspect-ratio: 1; top: 50%; right: -110px; transform: translateY(-50%); border: 1px solid #c29b5d66; border-radius: 50%; pointer-events: none; }
.talk-format-intro::after { width: 270px; right: -35px; border-color: #b86a3f66; }
.talk-format-kicker { margin: 0 0 12px; color: #9e4a2f; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.talk-overview h2 { margin: 0 0 16px; font: 500 clamp(30px, 4vw, 44px)/1.08 Cormorant, Georgia, serif; color: #2e271f; }
.talk-format-intro > p:not(.talk-format-kicker), .talk-format-mechanics > p:not(.talk-format-kicker), .talk-format-demo > p:not(.talk-format-kicker), .talk-format-code > p:not(.talk-format-kicker), .talk-format-steps li p { max-width: 65ch; line-height: 1.65; }
.talk-format-mechanics { background: #fffaf1; }
.talk-format-mechanics h3 { margin: 26px 0 10px; font-size: 1.12rem; }
.talk-format-intro > p:not(.talk-format-kicker) { font-size: 1.04rem; }
.talk-format-intro .talk-format-note { color: #695741; font-size: .88rem !important; font-weight: 600; }
.talk-format-jump { display: inline-flex; margin-top: 6px; padding: 11px 17px; border: 0; border-radius: 10px; background: #9e4a2f; color: #fff; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.talk-format-jump:hover { background: #7c3824; color: #fff; }
.talk-format-demo { background: #f8f1e5; }
.talk-format-pictures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 22px 0; }
.talk-format-pictures figure { min-width: 0; margin: 0; padding: 9px; border: 1px solid #e1d2b8; border-radius: 16px; background: #fffdf9; }
.talk-format-pictures img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.talk-format-pictures figcaption { padding: 12px 5px 5px; font-weight: 600; line-height: 1.3; }
.talk-format-demo .talk-format-caption { margin-bottom: 0; color: #6b5c4d; font-size: .91rem; }
.talk-format-sample-result { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 22px; padding: 18px; border: 1px solid #ddc7a6; border-radius: 14px; background: #fffdf9; }
.talk-format-sample-result > strong { grid-column: 1 / -1; margin-bottom: 5px; color: #8c492f; }
.talk-format-sample-result div { min-width: 0; padding: 10px; border-radius: 9px; background: #f7eee0; }
.talk-format-sample-result span, .talk-format-sample-result small { display: block; }
.talk-format-sample-result small { margin-top: 4px; color: #6b5c4d; overflow-wrap: anywhere; }
.talk-format-code { background: #f6ecda; }
.talk-format-steps ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 24px 0 0; padding: 0; list-style: none; }
.talk-format-steps li { min-width: 0; padding-top: 14px; border-top: 1px solid #d5bb93; }
.talk-format-steps li > span { color: #a85b3b; font: 500 33px/1 Cormorant, Georgia, serif; }
.talk-format-steps li h3 { margin: 9px 0 8px; font-size: 1rem; }
.talk-format-steps li p { margin: 0; color: #5e554e; font-size: .9rem; }
.talk-format-ending { margin: 2px 0; color: #6c4c2e; font: italic 500 clamp(25px, 3vw, 36px)/1.25 Cormorant, Georgia, serif; text-align: center; }
.talk-upcoming-title { margin: 8px 0 -8px !important; scroll-margin-top: 20px; }
@media (max-width: 700px) { .talk-format-steps ol { grid-template-columns: 1fr; gap: 17px; } .talk-format-pictures { grid-template-columns: repeat(2, minmax(0, 1fr)); } .talk-format-intro::before { right: -245px; } .talk-format-intro::after { right: -170px; } }
@media (max-width: 440px) { .talk-format-pictures { gap: 8px; } .talk-format-pictures figure { padding: 5px; border-radius: 11px; } .talk-format-pictures img { border-radius: 7px; } .talk-format-pictures figcaption { padding: 7px 3px 3px; font-size: .78rem; } }
.talk-events { display: grid; gap: 20px; }
.talk-other-events { border-top: 1px solid #e8dac5; padding-top: 14px; }
.talk-other-events summary { color: #9e4a2f; cursor: pointer; font-weight: 600; }
.talk-other-events .talk-events { margin-top: 16px; }
.talk-event h2 { margin-top: 0; }
.talk-event form { display: grid; justify-items: start; gap: 12px; }
.talk-alias-current { display: flex; align-items: center; gap: 9px; font-weight: 600; }
.talk-avatar { width: 38px; height: 38px; flex: none; border-radius: 50%; object-fit: cover; border: 1px solid #e8dac5; background: #faf8f3; }
.talk-alias-picker { margin: 12px 0 18px; padding: 14px; border: 1px solid #e8dac5; border-radius: 14px; background: #faf8f3; }
.talk-alias-picker summary { color: #9e4a2f; cursor: pointer; font-weight: 600; }
.talk-alias-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: 8px; margin: 12px 0; }
.talk-alias-option { display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 6px 8px; border-radius: 10px; text-align: left; }
.talk-alias-option[aria-pressed="true"] { outline: 2px solid #9e4a2f; outline-offset: 2px; }
.talk-room { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; min-width: 0; padding: 16px; }
.talk-room[hidden], .talk-events[hidden], .talk-composer[hidden], #talk-preview[hidden], #talk-input-field[hidden], #talk-discard-audio[hidden], .talk-final[hidden], .talk-feed[hidden], .talk-room-body[hidden], #talk-lobby-welcome[hidden] { display: none; }
.talk-room-header { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; min-width: 0; padding: 0 0 8px; border-bottom: 1px solid #e8dac5; background: #fffdf9; }
.talk-room-header p { margin: 0; }
.talk-room-heading h2 { font-size: 22px; line-height: 1.15; margin: 0; }
.talk-room-help button { margin: 0; min-height: 24px; }
.talk-room-heading { display: flex; justify-content: space-between; align-items: start; gap: 20px; }
.talk-room-heading > div { min-width: 0; }
.talk-room-heading .eyebrow { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.talk-room-heading h2 { margin: 0; }
.talk-room-heading .eyebrow, .talk-room-heading .small { margin: 0; }
.talk-host-line { margin: 4px 0; color: #665d53; }
.talk-room-help { display: flex; flex-wrap: wrap; gap: 8px 20px; min-width: 0; max-width: 100%; }
.talk-room-help button { padding: 0; border: 0; background: transparent; color: #9e4a2f; font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.talk-help-dialog { width: min(560px, calc(100vw - 40px)); max-height: min(75dvh, 640px); box-sizing: border-box; overflow: hidden; padding: 0; border: 1px solid #e8dac5; border-radius: 16px; background: #fffdf9; color: #2b2620; box-shadow: 0 20px 60px #2b26204d; overflow-wrap: anywhere; }
.talk-help-dialog[open] { display: flex; flex-direction: column; }
.talk-help-dialog::backdrop { background: #211a1499; }
.talk-help-dialog-header { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid #e8dac5; }
.talk-help-dialog-body { min-height: 0; overflow-y: auto; padding: 4px 18px 18px; }
.talk-help-dialog h3 { margin: 0; font: 500 24px/1.15 Georgia, serif; }
.talk-help-dialog p { line-height: 1.55; }
.talk-help-dialog .talk-help-close { flex: 0 0 auto; padding: 8px 10px; border: 0; border-radius: 8px; background: #9e4a2f; color: white; font: inherit; cursor: pointer; }
.talk-room-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; min-width: 0; }
.talk-lobby-welcome { padding: 16px; border: 1px solid #e8dac5; border-radius: 16px; background: #faf8f3; }
.talk-lobby-welcome p { margin: 8px 0 0; }
.talk-feed { display: flex; flex-direction: column; gap: 6px; min-width: 0; height: clamp(260px, 58dvh, 720px); overflow-y: auto; overscroll-behavior: contain; padding: 8px; border: 1px solid #e8dac5; border-radius: 12px; background: #faf8f3; }
.talk-feed:empty::before { content: 'Сообщений пока нет. Можно начать разговор.'; color: #6c6258; }
.talk-activity { margin: 0; color: #6c6258; font-size: .92rem; font-style: italic; }
.talk-activity[hidden] { display: none; }
.talk-activity::after { content: '...'; display: inline-block; width: 0; overflow: hidden; white-space: nowrap; vertical-align: bottom; animation: talk-dots 1.2s steps(3, end) infinite; }
@keyframes talk-dots { to { width: 1.2em; } }
@media (prefers-reduced-motion: reduce) { .talk-activity::after { animation: none; width: 1.2em; } }
.talk-feed > .talk-message { flex: none; min-height: 0; margin: 0; padding: 8px 12px; border-radius: 10px; background: #fff; overflow-wrap: anywhere; font-size: 15px; line-height: 1.45; }
.talk-message-highlight { outline: 2px solid #a44d30; outline-offset: 2px; }
.talk-message-author { display: flex; align-items: center; gap: 8px; }
.talk-address-name { border: 0; padding: 0; background: transparent; color: inherit; font: inherit; font-weight: 700; text-align: left; text-decoration: underline; text-decoration-color: #c9a78f; text-underline-offset: 3px; cursor: pointer; }
.talk-address-name:disabled { text-decoration: none; cursor: default; }
.talk-message .talk-message-quote { display: block; max-width: 100%; margin: 9px 0 4px; padding: 6px 10px; border: 0; border-left: 3px solid #a44d30; border-radius: 0 7px 7px 0; background: #faf8f3; color: #2b2620; font: inherit; font-size: .83rem; text-align: left; overflow-wrap: anywhere; cursor: pointer; }
.talk-reaction-counts, .talk-message-actions, .talk-reaction-palette { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; }
.talk-reaction-counts { margin-top: 9px; }
.talk-reaction-counts span { padding: 3px 7px; border: 1px solid #e8dac5; border-radius: 14px; background: #faf8f3; font-size: .82rem; }
.talk-message-actions { justify-content: flex-end; margin: 0 0 0 4px; flex: none; }
.talk-message .talk-message-menu { position: relative; margin: 0; padding: 0; border: 0; }
.talk-message-menu summary { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid #e8dac5; border-radius: 8px; background: #faf8f3; color: #9e4a2f; font-size: 1.2rem; cursor: pointer; list-style: none; }
.talk-message-menu summary::-webkit-details-marker { display: none; }
.talk-message-menu-content { position: absolute; z-index: 5; right: auto; top: 36px; box-sizing: border-box; width: min(290px, calc(100vw - 64px)); overflow-y: auto; overscroll-behavior: contain; padding: 8px; border: 1px solid #e8dac5; border-radius: 12px; background: #fff; box-shadow: 0 8px 24px #3a281b29; }
.talk-message-menu-content > button { display: block; margin-bottom: 8px !important; }
.talk-message-menu-content > button[hidden] { display: none; }
.talk-message-edit { display: grid; gap: 8px; margin-top: 10px; }
.talk-message-edit textarea { box-sizing: border-box; width: 100%; min-width: 0; padding: 10px; font: inherit; }
.talk-message-edit .talk-edit-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.talk-message-edit p:empty { display: none; }
.talk-reaction-palette { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
.talk-message .talk-message-actions button { width: auto; min-width: 0; min-height: 32px; margin: 0; padding: 4px 9px; border: 1px solid #e8dac5; border-radius: 8px; background: #faf8f3; color: #9e4a2f; font: inherit; font-size: .8rem; }
.talk-message .talk-reaction-palette button { min-width: 0; padding: 3px; font-size: 1.1rem; }
.talk-message .talk-reaction-palette button[aria-pressed="true"] { border-color: #a44d30; }
.talk-reaction-counts[hidden], .talk-message-actions[hidden], .talk-reaction-palette[hidden], .talk-reply-draft[hidden] { display: none; }
.talk-dj-badge { align-self: flex-start; padding: 1px 4px; border: 1px solid #bb774d; border-radius: 5px; color: #9e4a2f; font-size: .58rem; font-weight: 700; line-height: 1; letter-spacing: .04em; }
.talk-message-time { margin-left: auto; color: #786e64; font-size: .75rem; white-space: nowrap; }
.talk-message.talk-message-private { border: 1px solid #d9a55b; background: #fffaf1; }
.talk-message p { margin: 4px 0 0; white-space: pre-wrap; }
.talk-message-author .talk-avatar { width: 28px; height: 28px; }
.talk-message audio, #talk-preview-audio { display: block; width: min(100%, 420px); margin-top: 10px; }
.talk-audio-row { display: flex; align-items: center; gap: 6px; min-width: 0; width: min(100%, 420px); margin-top: 6px; }
.talk-audio-row audio { height: 40px; }
.talk-audio-row audio { flex: 1; min-width: 0; width: 100%; margin: 0; }
.talk-message-image { display: block; width: min(100%, 420px); max-height: 500px; height: auto; object-fit: contain; margin-top: 10px; border-radius: 12px; }
.talk-picture-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.talk-picture-choice { display: flex; flex-direction: column; min-width: 0; }
.talk-picture-choice > button { width: 100%; flex: 1; }
.talk-picture-options button { min-width: 0; padding: 8px; border: 1px solid #e8dac5; border-radius: 12px; background: #faf8f3; color: #2b2620; text-align: left; }
.talk-picture-options button[aria-pressed="true"] { border-color: #a44d30; box-shadow: inset 0 0 0 2px #a44d30; }
.talk-picture-options button:disabled { opacity: 1; cursor: default; }
.talk-picture-custom { min-width: 0; padding: 8px; align-self: start; border: 1px solid #e8dac5; border-radius: 12px; background: #faf8f3; }
.talk-picture-custom summary { cursor: pointer; font-weight: 600; line-height: 1.5; }
.talk-picture-custom summary > span { display: inline; }
.talk-picture-custom.selected { border-color: #a44d30; box-shadow: inset 0 0 0 2px #a44d30; }
.talk-picture-mystery { display: grid; place-items: center; width: 100%; aspect-ratio: 1; border-radius: 8px; background: radial-gradient(circle, #fffaf0 0 18%, #e4d7c1 56%, #b99571 100%); color: #8c593b; font: 4rem Georgia,serif; }
.talk-picture-custom form { display: grid; gap: 7px; margin-top: 6px; }
.talk-picture-custom form[hidden] { display: none; }
.talk-picture-custom textarea { width: 100%; box-sizing: border-box; resize: vertical; min-height: 68px; }
.talk-picture-options .talk-picture-custom button { width: 100%; padding: 8px; text-align: center; background: #e9ddca; }
.talk-picture-custom-answers { margin-top: 12px; padding: 10px 12px; border: 1px solid #e8dac5; border-radius: 12px; background: #faf8f3; overflow-wrap: anywhere; }
.talk-picture-custom-answers[hidden] { display: none; }
.talk-picture-custom-answers p { margin: 7px 0 0; line-height: 1.45; }
.talk-picture-options img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.talk-picture-options span { display: block; padding: 7px 2px 2px; font-weight: 600; }
.talk-picture-main { display: block; width: min(100%, 420px); max-height: 360px; object-fit: contain; margin-top: 12px; border-radius: 12px; }
.talk-picture-voters { display: block; padding: 6px 2px 2px; color: #665d53; line-height: 1.4; overflow-wrap: anywhere; }
.talk-picture-voters:empty { display: none; }
.talk-picture-options .talk-picture-voters .talk-address-name { display: inline; width: auto; padding: 0; border: 0; border-radius: 0; background: transparent; color: inherit; font: inherit; font-weight: 700; }
.talk-picture-result { color: #665d53; font-size: .92rem; }
.talk-transcript { color: #665d53; font-size: .92rem; }
.talk-transcript[hidden] { display: none; }
.talk-message .talk-transcript-toggle { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 32px; min-width: 32px; height: 32px; min-height: 32px; margin: 0; padding: 0; border: 1px solid #e8dac5; border-radius: 8px; background: #faf8f3; color: #9e4a2f; font: inherit; font-size: .95rem; cursor: pointer; }
.talk-message .talk-transcript-toggle[aria-expanded="true"] { border-color: #bb774d; }
.talk-composer { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; min-width: 0; }
.talk-composer .talk-send-setting { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 0; color: #665d53; font-size: 12px; }
.talk-send-setting input { width: 15px; min-height: 0; height: 15px; margin: 0; padding: 0; }
.talk-send-setting span { margin-left: 8px; }
.talk-writing-as { display: flex; align-items: center; gap: 8px; margin: 0; color: #665d53; }
.talk-reply-draft { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; padding: 7px 10px; border-left: 3px solid #a44d30; border-radius: 7px; background: #faf8f3; font-size: .84rem; }
.talk-reply-draft span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.talk-reply-draft button { flex: none; width: 30px; min-height: 30px; padding: 0; border: 0; background: transparent; color: #9e4a2f; font-size: 1.3rem; }
.talk-writing-as .talk-avatar { width: 30px; height: 30px; }
.talk-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.talk-input-row { display: flex; align-items: center; gap: 8px; }
.talk-input-field { position: relative; flex: 1; min-width: 0; }
.talk-audio-preview { flex: 1; min-width: 0; }
.talk-audio-preview #talk-preview-audio { width: 100%; margin: 0; }
.talk-input-field textarea { display: block; width: 100%; min-height: 48px; max-height: 140px; margin: 0; padding: 11px 48px 11px 14px; resize: none; overflow-y: auto; }
.talk-input-row .talk-icon-button { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 48px; width: 48px; height: 48px; min-height: 48px; padding: 0; margin: 0; border-radius: 50%; }
.talk-input-row .talk-icon-button[hidden], .talk-emojis[hidden] { display: none; }
.talk-icon-button svg { width: 23px; height: 23px; }
.talk-record-stop, .is-recording .talk-record-mic { display: none; }
.is-recording .talk-record-stop { display: block; }
.talk-emoji-toggle { position: absolute; right: 5px; top: 4px; width: 40px; height: 40px; min-height: 40px; padding: 0; margin: 0; background: transparent; color: var(--accent); font-size: 27px; line-height: 1; }
.talk-emojis { width: min(100%, 320px); max-height: 220px; box-sizing: border-box; overflow-y: auto; margin-top: 6px; padding: 8px; border: 1px solid var(--line); border-radius: 10px; background: #fffdf9; }
.talk-emoji-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; margin-bottom: 6px; }
.talk-emoji-groups button { min-width: 0; min-height: 34px; padding: 4px; background: var(--soft); color: var(--ink); font-size: 13px; }
.talk-emoji-groups button.is-active { background: var(--accent); color: white; }
.talk-emoji-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 3px; }
.talk-emoji-grid button { min-width: 0; height: 40px; min-height: 40px; padding: 0; margin: 0; background: transparent; color: var(--ink); font-size: 23px; }
.talk-emojis button:hover { background: var(--soft); }
.talk-voice { display: grid; justify-items: start; gap: 8px; }
.talk-voice #talk-record-time:empty, .talk-voice #talk-microphone-help[hidden] { display: none; }
.talk-voice #talk-microphone-help { margin: 0; }
.talk-final { padding: 18px; border: 1px solid #e8dac5; border-radius: 16px; background: #faf8f3; }
.talk-final h3 { margin-top: 0; }
.talk-choice-list { display: grid; gap: 8px; margin: 16px 0; }
.talk-choice-list label { display: flex; align-items: center; gap: 10px; margin: 0; cursor: pointer; }
.talk-choice-list input[type="checkbox"] { width: 20px; min-width: 20px; height: 20px; min-height: 20px; flex: 0 0 20px; margin: 0; padding: 0; accent-color: #9e4a2f; }
.talk-final textarea { display: block; width: 100%; box-sizing: border-box; margin: 8px 0 16px; }
.talk-final select { display: block; margin: 8px 0 16px; }
.talk-result-person { padding: 12px 0; border-top: 1px solid #e8dac5; }
.talk-result-profile { margin: 12px 0; }
.talk-result-profile h4 { margin: 0 0 8px; }
.talk-result-person img { display: block; width: min(100%, 220px); border-radius: 12px; margin: 12px 0; }
.talk-result-person > a { display: inline-block; margin: 0 14px 6px 0; }
.talk-result-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 300px)); gap: 16px; }
.talk-result-cards .dating-card img { width: 100%; margin: 0; }
.touch-badge { display: inline-block; align-self: flex-start; margin: 8px 0; padding: 4px 9px; border-radius: 12px; background: #f4e6d1; color: #77452f; font-size: 13px; line-height: 1.3; }
@media (max-width: 680px) { .talk-room-heading { gap: 8px; } .talk-room-heading h2 { font-size: 1.7rem; } .talk-room-heading .text-button { flex-shrink: 0; font-size: .8rem; } }
.talk-verification { margin-top: 1.4rem; }
.talk-verification-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1rem 0; }
.talk-verification-video { display: block; width: min(100%, 320px); aspect-ratio: 4/3; object-fit: contain; margin: 1rem 0; border-radius: 12px; background: #26211c; }
.profile-verification-video { display: block; width: min(100%, 220px); aspect-ratio: 4/3; object-fit: contain; border-radius: 12px; margin: 1rem 0; background: #26211c; }
.talk-verification-video[hidden] { display: none; }
.talk-verification-preview { position: relative; display: block; width: min(100%, 320px); aspect-ratio: 4/3; margin: 1rem 0; padding: 0; overflow: hidden; border: 0; border-radius: 12px; background: #26211c; cursor: pointer; }
.talk-verification-preview[hidden] { display: none; }
.talk-verification-preview .talk-verification-video { width: 100%; height: 100%; margin: 0; border-radius: 0; }
.talk-verification-preview-icon { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #2b2620bf; color: #fff; font-size: 24px; line-height: 1; pointer-events: none; }
.talk-verification-preview.is-playing .talk-verification-preview-icon { top: auto; left: auto; right: 14px; bottom: 14px; transform: none; width: 38px; height: 38px; font-size: 19px; }

/* Direct entry to the format and the full schedule. */
.intersections-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.intersections-actions .intersections-action { margin-top: 0; }
.intersections-page .intersections-format-action, .intersections-actions .intersections-format-action { background: #ede6d8; color: #914b32; }
.intersections-page .intersections-current-link, .intersections-current-link { display: inline-block; margin: 8px 0 0; padding: 4px 0; width: auto; min-height: 0; border: 0; border-radius: 0; background: transparent; color: #9e4a2f; font: inherit; text-align: left; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.intersections-current-link[hidden] { display: none; }
.talk-event-region { color: #8c5638; font-weight: 600; overflow-wrap: anywhere; }
.talk-event > h2 { overflow-wrap: anywhere; }
.talk-event-dialog { width: min(620px, calc(100vw - 28px)); }
.talk-event-dialog .talk-help-dialog-header { align-items: flex-start; }
.talk-event-dialog .talk-help-dialog-header h2 { margin: 0; font: 500 28px/1.15 Georgia, serif; overflow-wrap: anywhere; }
.talk-event-dialog form { display: grid; gap: 14px; }
.talk-event-dialog form label { display: flex; align-items: flex-start; gap: 10px; line-height: 1.5; }
.talk-event-dialog form input[type="checkbox"] { flex: 0 0 20px; width: 20px; height: 20px; min-height: 0; margin: 3px 0 0; padding: 0; }
.talk-event-dialog form p:empty { display: none; }
.talk-event-dialog form button { justify-self: start; padding: 12px 18px; border: 0; border-radius: 10px; background: #9e4a2f; color: #fff; font: inherit; cursor: pointer; }
.talk-event-dialog form button:disabled { opacity: .55; cursor: default; }
.talk-empty { line-height: 1.65; margin: 0; }

/* Desktop conversation uses the page scroll, with navigation beside it. */
@media (min-width: 768px) {
  .talk-picture-options { max-width: 1040px; align-items: start; }
  .talk-picture-options img, .talk-picture-mystery { height: clamp(120px, 24dvh, 220px); aspect-ratio: auto; object-fit: contain; }
  .talk-desktop body > .site-header, .talk-desktop .club-footer, .talk-desktop #talk > .intersections-back { display: none; }
  .talk-desktop body > main { max-width: none; padding: 0 24px; }
  .talk-desktop .workspace { grid-template-columns: 200px minmax(0, 1fr); gap: 24px; }
  .talk-desktop .content { max-width: none; padding-top: 0; }
  .talk-desktop .sidebar { max-height: 100dvh; box-sizing: border-box; padding-top: 20px; }
  .talk-desktop .talk-room { min-height: 100dvh; margin: 0; padding: 0 18px; border: 0; border-radius: 0; gap: 0; box-shadow: none; }
  .talk-desktop .talk-room-header { position: sticky; top: 0; z-index: 10; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; padding: 12px 0; }
  .talk-desktop .talk-room-heading { display: contents; }
  .talk-desktop .talk-room-heading > div { display: contents; }
  .talk-desktop .talk-room-heading > button { padding: 2px 0; min-height: 28px; font-size: 13px; }
  .talk-desktop .talk-room-heading .eyebrow { margin: 0; font-size: 15px; font-weight: 600; letter-spacing: 0; text-transform: none; }
  .talk-desktop .talk-room-heading h2, .talk-desktop .talk-host-line, .talk-desktop #talk-room-phase { display: none; }
  .talk-desktop.talk-paused #talk-room-phase { display: block; flex-basis: 100%; font-size: 12px; }
  .talk-desktop .talk-room-help { margin-left: auto; gap: 16px; font-size: 13px; }
  .talk-desktop .talk-room-header > [role=status] { flex-basis: 100%; margin: 0; font-size: 12px; }
  .talk-desktop .talk-room-body { display: block; }
  .talk-desktop .talk-feed { height: auto; max-height: none; min-height: 60dvh; overflow: visible; border: 0; padding: 12px 0; border-radius: 0; }
  .talk-desktop .talk-composer { position: sticky; bottom: 0; z-index: 9; padding: 10px 0; margin: 0; border-top: 1px solid #e8dac5; background: #fffdf9; }
}
@media (min-width: 1100px) {
  .talk-picture-options { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Full-screen mobile conversation. */
@media (max-width: 767px) {
  html.talk-fullscreen, html.talk-fullscreen body { height: 100%; overflow: hidden; }
  .talk-fullscreen .club-mobile-header, .talk-fullscreen .club-mobile-nav { display: none; }
  .talk-fullscreen body > .site-header, .talk-fullscreen .cabinet > .sidebar { display: none; }
  .talk-fullscreen .club-content { overflow: hidden; padding-bottom: 0; }
  .talk-fullscreen .talk-room {
    position: fixed; z-index: 60; top: var(--talk-visual-top, 0px); left: 0; right: 0;
    display: flex; flex-direction: column; gap: 0; box-sizing: border-box;
    width: 100%; max-width: none; height: var(--talk-visual-height, 100dvh); min-height: 0;
    margin: 0; padding: 0; border: 0; border-radius: 0; overflow: hidden;
    background: #fffdf9; box-shadow: none;
  }
  .talk-fullscreen .talk-room[hidden] { display: none; }
  .talk-fullscreen .talk-room-header {
    flex: none; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 8px;
    padding: max(6px, env(safe-area-inset-top)) 10px 6px;
  }
  .talk-fullscreen .talk-room-heading { display: contents; }
  .talk-fullscreen .talk-room-heading > div {
    grid-row: 1; grid-column: 1 / -1; min-height: 40px; padding-right: 96px;
  }
  .talk-fullscreen .talk-room-heading .eyebrow, .talk-fullscreen .talk-room-heading .home-eyebrow { display: none; }
  .talk-fullscreen .talk-room-heading h2 { margin: 0; font-size: 18px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .talk-fullscreen .talk-host-line { font-size: 12px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .talk-fullscreen .talk-room-heading .muted, .talk-fullscreen .talk-room-heading .talk-muted { font-size: 11px; line-height: 1.25; }
  .talk-fullscreen .talk-room-heading > button { grid-row: 2; grid-column: 1; padding: 2px 0; min-height: 28px; font-size: 12px; }
  .talk-fullscreen .talk-room-help { grid-row: 2; grid-column: 2; align-items: center; flex-wrap: nowrap; gap: 10px; }
  .talk-fullscreen .talk-room-help button { font-size: 12px; white-space: nowrap; min-height: 28px; }
  .talk-fullscreen .talk-room-header > .talk-notice { grid-column: 1 / -1; max-height: 3.6em; overflow-y: auto; margin: 0; font-size: 11px; line-height: 1.2; }
  .talk-fullscreen .talk-room-body { display: flex; flex: 1; flex-direction: column; gap: 0; min-height: 0; overflow: hidden; }
  .talk-fullscreen .talk-feed { flex: 1; min-height: 0; height: auto; margin: 0; padding: 6px; gap: 4px; border-width: 0; border-radius: 0; }
  .talk-fullscreen .talk-feed > .talk-message { padding: 6px 9px; font-size: 14px; line-height: 1.4; }
  .talk-fullscreen .talk-message-author { gap: 6px; font-size: 13px; }
  .talk-fullscreen .talk-message-author .talk-avatar { width: 26px; height: 26px; }
  .talk-fullscreen .talk-message-time { font-size: 10px; }
  .talk-fullscreen .talk-composer { flex: none; gap: 4px; padding: 6px 10px max(6px, env(safe-area-inset-bottom)); border-top: 1px solid #e8dac5; background: #fffdf9; }
  .talk-fullscreen .talk-writing-as { margin: 0; gap: 5px; font-size: 11px; line-height: 1.2; }
  .talk-fullscreen .talk-writing-as .talk-avatar { width: 18px; height: 18px; }
  .talk-fullscreen .talk-composer .talk-input-field textarea { min-height: 44px; max-height: 84px; padding: 10px 42px 10px 12px; font-size: 16px; }
  .talk-fullscreen .talk-input-row .talk-icon-button { flex: 0 0 44px; width: 44px; height: 44px; min-height: 44px; }
  .talk-fullscreen .talk-input-row .talk-emoji-toggle { width: 36px; height: 36px; min-height: 36px; font-size: 25px; }
  .talk-fullscreen .talk-send-setting { gap: 4px; font-size: 10px; }
  .talk-fullscreen .talk-send-setting input { width: 14px; height: 14px; min-height: 14px; }
  .talk-fullscreen .talk-activity { flex: none; margin: 0; padding: 2px 10px; font-size: 11px; }
  .talk-fullscreen .talk-emojis { position: absolute; z-index: 8; bottom: calc(100% + 6px); left: 0; max-height: min(160px, 24dvh); margin: 0; box-shadow: 0 4px 20px #3a281b29; }
  .talk-fullscreen .talk-message-edit textarea { font-size: 16px; }
}

.talk-compose-tools { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 20px; }
.talk-compose-tools .talk-dictate { min-height: 32px; margin: 0; padding: 4px 8px; border: 1px solid #d9c6a5; border-radius: 8px; background: #faf8f3; color: #914c33; font-size: 13px; line-height: 1.3; }
.talk-compose-tools .talk-dictate[aria-pressed="true"] { background: #914c33; color: white; }
.talk-compose-tools .talk-dictate:disabled { opacity: .55; cursor: default; }

.talk-image { min-width: 0; }
.talk-image-failed, .talk-image-recovery[hidden] { display: none !important; }
.talk-image-recovery { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 10px 0; color: #665d53; font-size: 13px; }
.talk-image-recovery button { min-height: 32px; padding: 5px 9px; font-size: 13px; }
.talk-picture-options .talk-image-recovery span { padding: 0; font-weight: 400; }
.talk-picture-choice { padding: 8px; border: 1px solid #e8dac5; border-radius: 12px; background: #faf8f3; }
.talk-picture-choice.selected { border-color: #a44d30; box-shadow: inset 0 0 0 2px #a44d30; }
.talk-picture-choice > button { padding: 0; border: 0; background: transparent; border-radius: 0; }
.talk-picture-choice > button[aria-pressed="true"] { box-shadow: none; }

.talk-review .talk-room-body { display: flex; flex-direction: column; }
.talk-review .talk-final { order: 0; flex: none; }
.talk-review .talk-feed { order: 1; flex: none; height: auto; max-height: none; min-height: 0; overflow: visible; }
@media (max-width: 767px) {
  .talk-review .talk-room-body { overflow-y: auto; overscroll-behavior: contain; padding-bottom: max(10px, env(safe-area-inset-bottom)); }
  .talk-review .talk-final { margin: 8px; padding: 14px; }
  .talk-review .talk-final h3 { font-size: 18px; }
  .talk-review .talk-final p { font-size: 14px; line-height: 1.45; }
  .talk-review .talk-choice-list label { min-height: 44px; font-size: 15px; }
}

.talk-reaction-palette{display:block}
.talk-reaction-palette h4{margin:6px 0;font-size:13px}
.talk-reaction-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}
.talk-feed.talk-lobby-notices{flex:none;height:auto;min-height:0;max-height:40dvh;overflow:auto}
