.feedback-link { appearance: none; padding: 8px 12px; min-height: 44px; border: 1px solid var(--border, #4a4e61); border-radius: 8px; background: var(--bg-panel, #171923); color: var(--text-primary, #f4f4fa); font: 600 12px/1.4 Inter, system-ui, sans-serif; cursor: pointer; }
.feedback-link:hover { border-color: var(--accent, #a88eff); }
.feedback-link:focus-visible { outline: 3px solid #c9bbff; outline-offset: 3px; }
#ttc-feedback-root { color: #f4f4fa; font: 14px/1.5 Inter, system-ui, sans-serif; }
#ttc-feedback-root [hidden] { display: none !important; }
.ttc-feedback-dialog { box-sizing: border-box; width: min(520px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); overflow-y: auto; overscroll-behavior: contain; position: fixed; inset: 0; margin: auto; padding: 22px; border: 1px solid #4a4e61; border-radius: 14px; color: #f4f4fa; background: #171923; box-shadow: 0 12px 60px #000a; }
.ttc-feedback-dialog::backdrop { background: #080914b8; }
.ttc-feedback-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
#ttc-feedback-root h2 { margin: 0; font: 600 18px/1.3 Inter, system-ui, sans-serif; color: #f4f4fa; }
#ttc-feedback-root p { margin: 0 0 12px; font-size: 14px; color: #e1e2ec; }
#ttc-feedback-root button { appearance: none; min-height: 44px; padding: 9px 14px; border: 1px solid #777b90; border-radius: 8px; background: #252839; color: #fff; font: 600 13px/1.4 Inter, system-ui, sans-serif; cursor: pointer; white-space: normal; }
#ttc-feedback-root button:hover:not(:disabled) { background: #34384e; border-color: #aaaec1; }
#ttc-feedback-root button:disabled { opacity: .6; cursor: not-allowed; }
#ttc-feedback-root [data-feedback-close] { flex: 0 0 44px; width: 44px; padding: 0; font-size: 24px; }
#ttc-feedback-root :is(button, a, input, select, textarea):focus-visible { outline: 3px solid #c9bbff; outline-offset: 3px; }
#ttc-feedback-root a { color: #c9bbff; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.ttc-feedback-field { display: flex; flex-direction: column; gap: 5px; margin: 14px 0; font-weight: 600; }
#ttc-feedback-root :is(input, select, textarea) { box-sizing: border-box; width: 100%; min-width: 0; min-height: 44px; border: 1px solid #777b90; border-radius: 7px; padding: 10px; background: #10121d; color: #f4f4fa; font: 400 16px/1.4 Inter, system-ui, sans-serif; }
#ttc-feedback-root textarea { resize: vertical; min-height: 110px; max-height: 240px; }
.ttc-feedback-field small { color: #c9ccda; font-size: 12px; font-weight: 400; }
.ttc-feedback-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); pointer-events: none; }
.ttc-feedback-challenge { min-width: 0; width: 100%; margin: 12px 0; }
.ttc-feedback-actions { display: flex; flex-wrap: wrap; gap: 8px; }
#ttc-feedback-root .ttc-feedback-status:not(:empty) { margin-top: 14px; color: #ffdd9a; overflow-wrap: anywhere; }
#ttc-feedback-root .ttc-feedback-data { margin-top: 16px; font-size: 12px; color: #c9ccda; }
.ttc-feedback-support { display: inline-block; font-size: 12px; }
@media (max-width: 380px) { .ttc-feedback-dialog { width: calc(100vw - 16px); padding: 12px; } .ttc-feedback-actions button { flex: 1 1 100%; } }
