.feedback-stack {
    position: fixed;
    z-index: 1500;
    top: calc(env(safe-area-inset-top, 0px) + 80px);
    right: max(16px, calc((100vw - 1680px) / 2));
    display: grid;
    gap: 10px;
    width: min(430px, calc(100vw - 32px));
    max-height: calc(100dvh - 180px);
    overflow: auto;
    pointer-events: none;
}
.feedback-message {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 10px 10px 10px 16px;
    border: 1px solid #c0d4cb;
    border-radius: 14px;
    background: #fcfffd;
    color: #193f36;
    box-shadow: 0 8px 24px #172e2529;
    font-size: .95rem;
    line-height: 1.5;
    pointer-events: auto;
}
.feedback-message > span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.feedback-message.error { background: #fff9f8; border-color: #e0b8b2; color: #7d241d; }
.feedback-message.warning { background: #fffcf4; border-color: #d8c291; color: #67460e; }
.feedback-dismiss {
    display: grid;
    place-items: center;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 8px;
    padding: 0;
    background: transparent;
    color: inherit;
    font: 400 1.65rem/1 var(--font-body, sans-serif);
    cursor: pointer;
}
.feedback-dismiss:hover { background: #193f3610; }
.feedback-dismiss:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
@media (max-width: 760px) {
    .feedback-stack { top: calc(env(safe-area-inset-top, 0px) + 12px); right: 12px; width: calc(100vw - 24px); }
    .feedback-dismiss { flex-basis: 44px; width: 44px; height: 44px; }
}
