.swu-feedback, .swu-feedback * { box-sizing: border-box; }
.swu-feedback { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 10000; font: 14px/1.5 system-ui, -apple-system, "Noto Sans TC", sans-serif; color: #e8edf7; }
.swu-feedback [hidden] { display: none !important; }
.swu-feedback-launcher { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid #d69b79; border-radius: 50%; background: #171c22; color: #e8e4dc; padding: 0; box-shadow: 0 12px 32px #0008; cursor: pointer; }
.swu-feedback-launcher svg { width: 27px; height: 27px; }
.swu-feedback-launcher:hover, .swu-feedback-launcher:focus-visible { background: #252d37; }
.swu-feedback-panel { position: absolute; right: 0; bottom: 66px; width: min(370px, calc(100vw - 32px)); max-height: min(620px, calc(100dvh - 100px)); overflow-y: auto; border: 1px solid #ffffff30; border-radius: 20px; padding: 22px; background: #101827; color: #e8edf7; box-shadow: 0 22px 65px #000a; }
.swu-feedback-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.swu-feedback-heading p { margin: 0 0 3px; color: #fca5a5; font-size: 12px; letter-spacing: .24em; font-weight: 700; }
.swu-feedback-heading h2 { margin: 0; color: #fff; font: 700 22px/1.25 system-ui, sans-serif; }
.swu-feedback-heading button { border: 0; background: transparent; color: #cbd5e1; font: 28px/1 system-ui, sans-serif; cursor: pointer; }
.swu-feedback-intro { margin: 12px 0 18px; color: #cbd5e1; }
.swu-feedback form { display: grid; gap: 9px; }
.swu-feedback label { color: #e8edf7; font-weight: 650; }
.swu-feedback select, .swu-feedback textarea { width: 100%; border: 1px solid #475569; border-radius: 10px; background: #1e293b; color: #fff; padding: 10px 12px; font: inherit; }
.swu-feedback textarea { resize: vertical; min-height: 116px; }
.swu-feedback select:focus-visible, .swu-feedback textarea:focus-visible, .swu-feedback button:focus-visible { outline: 3px solid #fca5a5; outline-offset: 2px; }
.swu-feedback-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.swu-feedback-message { min-height: 20px; margin: 0; color: #fca5a5; }
.swu-feedback-message[data-kind="success"] { color: #86efac; }
.swu-feedback-submit { border: 0; border-radius: 10px; background: #b91c1c; color: white; min-height: 44px; padding: 10px 14px; font: inherit; font-weight: 700; cursor: pointer; }
.swu-feedback-submit:disabled { opacity: .55; cursor: wait; }
@media (max-width: 480px) { .swu-feedback { right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); } .swu-feedback-panel { padding: 18px; bottom: 62px; max-height: calc(100dvh - 96px); } }

.swu-feedback-heading button { min-width: 44px; min-height: 44px; }
body .swu-feedback-heading h2 { font-size: 22px !important; line-height: 1.3 !important; }
