/* 全站反馈入口：右下角，在小 C 主按钮上方；层级低于对话面板与小 C 球 */
.gweb-feedback-fab-wrap {
    position: fixed;
    right: 22px;
    left: auto;
    bottom: 96px;
    z-index: 10990;
}

.gweb-feedback-fab {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border: 1px solid rgba(140, 209, 255, 0.7);
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #a2e3ff 0%, #58a6ff 55%, #1e5db2 100%);
    box-shadow: 0 10px 28px rgba(52, 130, 218, 0.45);
    cursor: pointer;
    color: #0a1a30;
    font-size: 1.35rem;
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, filter 220ms ease;
}

.gweb-feedback-fab::before {
    content: "";
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 1px solid rgba(162, 227, 255, 0.45);
    opacity: 0;
    transform: scale(0.9);
    transition: transform 260ms ease, opacity 260ms ease;
    pointer-events: none;
}

.gweb-feedback-fab:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 14px 34px rgba(52, 130, 218, 0.6);
    border-color: rgba(190, 235, 255, 0.95);
    filter: brightness(1.08);
}

.gweb-feedback-fab:hover::before {
    opacity: 1;
    transform: scale(1.1);
}

.gweb-feedback-fab:active {
    transform: translateY(-1px) scale(0.98);
}

.gweb-feedback-fab-tooltip {
    position: absolute;
    right: calc(100% + 12px);
    left: auto;
    top: 50%;
    bottom: auto;
    width: max-content;
    max-width: min(280px, calc(100vw - 100px));
    padding: 7px 11px;
    border-radius: 10px;
    border: 1px solid rgba(140, 209, 255, 0.45);
    background: rgba(10, 22, 42, 0.96);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
    color: #dce8ff;
    font-size: 12px;
    line-height: 1.35;
    opacity: 0;
    visibility: hidden;
    z-index: 3;
    transform: translateY(-50%) translateX(8px);
    transition: opacity 200ms ease, transform 200ms ease, visibility 200ms;
    pointer-events: none;
}

.gweb-feedback-fab-wrap:hover .gweb-feedback-fab-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

.gweb-feedback-toast {
    position: fixed;
    left: 50%;
    bottom: 168px;
    transform: translateX(-50%) translateY(12px);
    z-index: 4000;
    max-width: min(420px, 92vw);
    padding: 12px 18px;
    border-radius: 12px;
    border: 1px solid rgba(124, 203, 255, 0.45);
    background: rgba(10, 24, 48, 0.96);
    color: #dceaff;
    font-size: 0.92rem;
    line-height: 1.45;
    text-align: center;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 220ms ease, transform 220ms ease, visibility 220ms;
}

.gweb-feedback-toast.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* 反馈页 / 留言板：正文默认高对比 */
/* 独立反馈讨论页：在固定导航下多留顶部空间，避免标题贴顶 */
.feedback-thread-page.content-panel {
    margin-top: clamp(8px, 2.5vh, 24px);
    padding-top: clamp(28px, 5vh, 56px) !important;
}

.feedback-page .feedback-card {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    background: rgba(10, 22, 42, 0.72);
    border: 1px solid rgba(118, 198, 255, 0.28);
    border-radius: 18px;
    padding: 24px 22px;
    box-shadow: 0 16px 40px rgba(0, 10, 30, 0.35);
    color: #eaf6ff;
}

.feedback-page .feedback-card .text-secondary,
.feedback-page .feedback-card p.text-secondary {
    color: #cfe8ff !important;
}

.feedback-page .feedback-card .small.text-muted,
.feedback-page .feedback-card a.text-muted {
    color: #b8dcfc !important;
}

.feedback-page .form-control,
.feedback-page .form-select {
    background: rgba(19, 46, 75, 0.72);
    border: 1px solid rgba(124, 203, 255, 0.35);
    color: #eaf6ff;
}

.feedback-page .form-control::placeholder,
.feedback-page .form-select option {
    color: rgba(220, 238, 255, 0.88);
}

.feedback-page .form-control:focus::placeholder {
    color: rgba(200, 224, 248, 0.55);
}

.feedback-page .form-control:focus,
.feedback-page .form-select:focus {
    background: rgba(19, 46, 75, 0.88);
    border-color: rgba(173, 225, 255, 0.65);
    color: #fff;
    box-shadow: 0 0 0 0.2rem rgba(88, 166, 255, 0.2);
}

.feedback-page .btn-primary {
    background: linear-gradient(135deg, #4f9afe, #6f77ff);
    border: none;
}

/* 留言板（超管）：与「我的全部反馈」同套卡片、表头与行距 */
.feedback-inbox-page {
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
}

.feedback-inbox-card.feedback-card {
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
    padding: 26px 28px;
    border-radius: 20px;
    border: 1px solid rgba(130, 210, 255, 0.28);
    background:
        linear-gradient(160deg, rgba(22, 52, 92, 0.55) 0%, rgba(10, 26, 48, 0.72) 45%, rgba(8, 20, 40, 0.88) 100%),
        radial-gradient(120% 80% at 100% 0%, rgba(88, 166, 255, 0.12), transparent 55%);
    box-shadow:
        0 4px 0 rgba(255, 255, 255, 0.04) inset,
        0 24px 48px rgba(0, 6, 20, 0.45);
}

.feedback-inbox-title {
    font-size: 1.55rem;
    font-weight: 800;
    color: #f4fbff;
    letter-spacing: 0.02em;
    margin-bottom: 10px;
    line-height: 1.25;
}

.feedback-inbox-lead {
    color: rgba(180, 214, 245, 0.92) !important;
    font-size: 0.95rem !important;
    line-height: 1.65;
    max-width: 52rem;
    margin-bottom: 1.25rem !important;
}

.feedback-inbox-status {
    min-height: 1.35rem;
    font-size: 0.88rem;
    margin-bottom: 14px;
}

.feedback-inbox-status.is-loading {
    color: #9fc7e8;
}

.feedback-inbox-status.is-error {
    color: #ffafbf;
}

.feedback-inbox-table-wrap {
    border: 1px solid rgba(118, 198, 255, 0.32);
    border-radius: 16px;
    overflow: auto;
    max-height: min(68vh, 640px);
    background: linear-gradient(180deg, rgba(12, 30, 56, 0.95) 0%, rgba(8, 20, 40, 0.98) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 12px 32px rgba(0, 8, 24, 0.35);
}

.feedback-inbox-table {
    --bs-table-bg: transparent;
    --bs-table-color: #f2f9ff;
    --bs-table-striped-bg: rgba(36, 72, 118, 0.42);
    --bs-table-hover-bg: rgba(56, 100, 158, 0.48);
    color: #f2f9ff !important;
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
    width: 100%;
}

.feedback-inbox-table thead th:nth-child(1) {
    width: 15%;
}

.feedback-inbox-table thead th:nth-child(2) {
    width: 14%;
}

.feedback-inbox-table thead th:nth-child(3) {
    width: 12%;
}

.feedback-inbox-table thead th:nth-child(4) {
    width: 18%;
}

.feedback-inbox-table thead th:nth-child(5) {
    width: 33%;
}

.feedback-inbox-table thead th:nth-child(6) {
    width: 8%;
    min-width: 5rem;
    white-space: nowrap;
}

.feedback-inbox-table thead th {
    text-align: center !important;
    vertical-align: middle;
    padding: 20px 12px;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #ffffff !important;
    background: linear-gradient(180deg, rgba(36, 78, 128, 0.98) 0%, rgba(24, 58, 102, 0.99) 100%) !important;
    border-bottom: 2px solid rgba(120, 200, 255, 0.35) !important;
    border-top: none;
    border-left: none;
    border-right: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.feedback-inbox-table tbody td {
    border-color: rgba(100, 170, 240, 0.14) !important;
    font-size: 0.9rem;
    padding: 22px 14px;
    color: #eef6ff !important;
    vertical-align: middle;
}

.feedback-inbox-table tbody tr {
    cursor: pointer;
}

.feedback-inbox-table tbody tr:nth-child(even) td {
    background: rgba(255, 255, 255, 0.02);
}

.feedback-inbox-table tbody tr:hover td {
    background: rgba(72, 120, 188, 0.22) !important;
}

.feedback-inbox-table .td-inbox-c {
    text-align: center !important;
    white-space: nowrap;
    width: 1%;
}

.feedback-inbox-table .td-inbox-mid {
    text-align: center !important;
    word-break: break-word;
    white-space: normal;
    max-width: 0;
    font-size: 0.86rem;
}

.feedback-inbox-table .td-inbox-replies {
    text-align: center !important;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    font-size: 1rem;
    color: #b8e6ff !important;
    white-space: nowrap;
}

.feedback-inbox-preview {
    text-align: left !important;
    vertical-align: top;
    overflow: hidden;
    max-width: 0;
    min-width: 0;
    padding-top: 22px;
    padding-bottom: 22px;
}

.feedback-inbox-preview-inner {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
    word-break: break-word;
    line-height: 1.55;
    font-size: 0.92rem;
    color: #e2f0ff;
    max-width: 100%;
}

.feedback-inbox-empty {
    text-align: center !important;
    padding: 32px 20px !important;
    color: #9ebfe0 !important;
    font-size: 0.95rem !important;
}

.feedback-inbox-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 14px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(118, 198, 255, 0.18);
}

/* 超管详情弹层：与「反馈讨论」单页同宽与留白 */
#fb-detail-overlay.feedback-modal-backdrop {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

#fb-detail-overlay.feedback-modal-backdrop::-webkit-scrollbar {
    width: 0;
    height: 0;
    background: transparent;
}

#fb-detail-overlay .feedback-inbox-detail-panel {
    width: min(720px, 100%);
    border-radius: 18px;
    border: 1px solid rgba(118, 198, 255, 0.28);
    background: rgba(10, 22, 42, 0.96);
    box-shadow: 0 20px 50px rgba(0, 10, 30, 0.45);
}

#fb-detail-overlay .feedback-inbox-detail-head {
    align-items: center;
    padding: 18px 22px;
}

#fb-detail-overlay .feedback-inbox-detail-heading {
    color: #eaf6ff;
    font-weight: 700;
    line-height: 1.3;
}

#fb-detail-overlay .feedback-inbox-detail-id {
    margin-left: 0.35em;
    font-weight: 600;
    font-size: 0.95rem;
    color: rgba(180, 214, 245, 0.88);
}

#fb-detail-overlay .feedback-inbox-detail-body {
    padding: 22px 24px 24px;
    font-size: 0.95rem;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

#fb-detail-overlay .feedback-inbox-detail-body::-webkit-scrollbar {
    width: 0;
    height: 0;
    background: transparent;
}

#fb-detail-overlay .feedback-modal-meta {
    font-size: 0.88rem;
    margin-bottom: 14px;
}

#fb-detail-overlay .feedback-reply-block {
    margin-top: 14px;
    padding-top: 14px;
}

@media (max-width: 768px) {
    .feedback-inbox-preview-inner {
        -webkit-line-clamp: 5;
        line-clamp: 5;
    }

    .feedback-inbox-table .td-inbox-c,
    .feedback-inbox-table .td-inbox-mid {
        white-space: normal;
    }
}

/* —— 我的全部反馈（/feedback/mine）：宽松行距、大表头、除摘要外居中 —— */
.feedback-mine-page {
    max-width: 1040px;
    margin-left: auto;
    margin-right: auto;
}

.feedback-mine-card.feedback-card {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding: 26px 28px;
    border-radius: 20px;
    border: 1px solid rgba(130, 210, 255, 0.28);
    background:
        linear-gradient(160deg, rgba(22, 52, 92, 0.55) 0%, rgba(10, 26, 48, 0.72) 45%, rgba(8, 20, 40, 0.88) 100%),
        radial-gradient(120% 80% at 100% 0%, rgba(88, 166, 255, 0.12), transparent 55%);
    box-shadow:
        0 4px 0 rgba(255, 255, 255, 0.04) inset,
        0 24px 48px rgba(0, 6, 20, 0.45);
}

.feedback-mine-title {
    font-size: 1.55rem;
    font-weight: 800;
    color: #f4fbff;
    letter-spacing: 0.02em;
    margin-bottom: 10px;
    line-height: 1.25;
}

.feedback-mine-lead {
    color: rgba(180, 214, 245, 0.92) !important;
    font-size: 0.95rem !important;
    line-height: 1.65;
    max-width: 52rem;
    margin-bottom: 1.25rem !important;
}

.feedback-mine-status {
    min-height: 1.35rem;
    font-size: 0.88rem;
    margin-bottom: 14px;
}

.feedback-mine-status.is-loading {
    color: #9fc7e8;
}

.feedback-mine-status.is-error {
    color: #ffafbf;
}

.feedback-mine-table-wrap {
    border: 1px solid rgba(118, 198, 255, 0.32);
    border-radius: 16px;
    overflow: auto;
    max-height: min(68vh, 640px);
    background: linear-gradient(180deg, rgba(12, 30, 56, 0.95) 0%, rgba(8, 20, 40, 0.98) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 12px 32px rgba(0, 8, 24, 0.35);
}

.feedback-mine-table {
    --bs-table-bg: transparent;
    --bs-table-color: #f2f9ff;
    --bs-table-striped-bg: rgba(36, 72, 118, 0.42);
    --bs-table-hover-bg: rgba(56, 100, 158, 0.48);
    color: #f2f9ff !important;
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
    width: 100%;
}

.feedback-mine-table thead th:nth-child(1) {
    width: 15%;
}

.feedback-mine-table thead th:nth-child(2) {
    width: 15%;
}

.feedback-mine-table thead th:nth-child(3) {
    width: 42%;
}

.feedback-mine-table thead th:nth-child(4) {
    width: 14%;
    min-width: 5.5rem;
    white-space: nowrap;
}

.feedback-mine-table thead th:nth-child(5) {
    width: 14%;
}

.feedback-mine-table thead th {
    text-align: center !important;
    vertical-align: middle;
    padding: 20px 16px;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: none;
    color: #ffffff !important;
    background: linear-gradient(180deg, rgba(36, 78, 128, 0.98) 0%, rgba(24, 58, 102, 0.99) 100%) !important;
    border-bottom: 2px solid rgba(120, 200, 255, 0.35) !important;
    border-top: none;
    border-left: none;
    border-right: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.feedback-mine-table tbody td {
    border-color: rgba(100, 170, 240, 0.14) !important;
    font-size: 0.9rem;
    padding: 30px 20px;
    color: #eef6ff !important;
}

.feedback-mine-table tbody tr:nth-child(even) td {
    background: rgba(255, 255, 255, 0.02);
}

.feedback-mine-table tbody tr:hover td {
    background: rgba(72, 120, 188, 0.22) !important;
}

.feedback-mine-table .td-mine-c {
    text-align: center !important;
    vertical-align: middle;
    white-space: nowrap;
    width: 1%;
}

.feedback-mine-table .td-mine-c:nth-child(2) {
    white-space: normal;
    max-width: 200px;
    text-align: center !important;
}

.feedback-mine-table .td-mine-replies {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    font-size: 1rem;
    color: #b8e6ff !important;
}

/* 摘要必须在 td 内再包一层：line-clamp 不能直接用在 table-cell 上，否则会溢出到下一行 */
.feedback-mine-preview {
    text-align: left !important;
    vertical-align: top;
    overflow: hidden;
    max-width: 0;
    min-width: 0;
    padding: 0;
}

.feedback-mine-preview-inner {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
    word-break: break-word;
    line-height: 1.55;
    font-size: 0.92rem;
    color: #e2f0ff;
    max-width: 100%;
}

.feedback-mine-empty {
    text-align: center !important;
    padding: 32px 20px !important;
    color: #9ebfe0 !important;
    font-size: 0.95rem !important;
}

.feedback-mine-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid rgba(130, 210, 255, 0.55);
    background: linear-gradient(135deg, rgba(70, 140, 220, 0.35) 0%, rgba(40, 90, 160, 0.45) 100%);
    color: #f0f8ff !important;
    box-shadow: 0 4px 14px rgba(0, 30, 70, 0.35);
    transition: transform 0.15s ease, border-color 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.feedback-mine-action-btn:hover {
    border-color: rgba(200, 235, 255, 0.85);
    filter: brightness(1.08);
    box-shadow: 0 6px 20px rgba(40, 120, 200, 0.35);
    color: #fff !important;
}

.feedback-mine-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(118, 198, 255, 0.18);
}

.feedback-mine-footer-link {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none !important;
    color: #dff6ff !important;
    border: 1px solid rgba(120, 198, 255, 0.35);
    background: rgba(20, 48, 82, 0.55);
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.feedback-mine-footer-link:hover {
    background: rgba(50, 100, 160, 0.45);
    border-color: rgba(180, 230, 255, 0.55);
    color: #fff !important;
}

@media (max-width: 768px) {
    .feedback-mine-preview {
        max-width: none;
    }

    .feedback-mine-preview-inner {
        -webkit-line-clamp: 5;
        line-clamp: 5;
    }

    .feedback-mine-table .td-mine-c {
        white-space: normal;
    }
}

/* 详情弹层：整屏可滚动，顶部留白加大（含安全区），避免贴顶裁切 */
.feedback-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 5000;
    background: rgba(0, 4, 12, 0.72);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    box-sizing: border-box;
    min-height: 100dvh;
    min-height: 100vh;
    padding-top: max(env(safe-area-inset-top, 0px) + 24px, clamp(48px, 12vh, 96px));
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
    padding-bottom: max(28px, env(safe-area-inset-bottom, 0px) + 16px);
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s;
}

.feedback-modal-backdrop.is-open {
    opacity: 1;
    visibility: visible;
}

.feedback-modal-panel {
    width: min(640px, 100%);
    flex: 0 1 auto;
    /* 与 backdrop 上下留白配合，避免面板顶到底栏外仍被裁切 */
    max-height: min(80dvh, 80vh, calc(100dvh - 120px), calc(100vh - 120px));
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    border: 1px solid rgba(124, 203, 255, 0.35);
    background: rgba(12, 28, 52, 0.96);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
    margin-top: 0;
    margin-bottom: 32px;
}

.feedback-modal-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(118, 198, 255, 0.2);
    color: #eaf6ff;
}

.feedback-modal-body {
    padding: 14px 16px;
    overflow-y: auto;
    flex: 1 1 auto;
    min-height: 0;
    color: #e8f4ff;
    font-size: 0.92rem;
}

.feedback-modal-meta {
    font-size: 0.86rem;
    color: #c5dff5 !important;
    margin-bottom: 12px;
    line-height: 1.55;
}

.feedback-modal-main {
    white-space: pre-wrap;
    word-break: break-word;
    padding: 12px 14px;
    border-radius: 10px;
    background: rgba(6, 16, 32, 0.75);
    border: 1px solid rgba(118, 198, 255, 0.15);
    color: #eaf6ff;
    margin-bottom: 16px;
}

.feedback-reply-block {
    margin-top: 10px;
    padding-top: 12px;
    border-top: 1px solid rgba(118, 198, 255, 0.12);
}

.feedback-reply-item {
    margin-bottom: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(20, 44, 72, 0.55);
    border: 1px solid rgba(118, 198, 255, 0.1);
}

.feedback-reply-item.is-admin {
    border-color: rgba(120, 200, 255, 0.35);
    background: rgba(25, 55, 90, 0.5);
}

.feedback-reply-meta {
    font-size: 0.8rem;
    color: #bddcf5 !important;
    margin-bottom: 6px;
}

.feedback-reply-text {
    white-space: pre-wrap;
    word-break: break-word;
    color: #f2f8ff !important;
    font-size: 0.9rem;
}

.feedback-modal-close {
    border: none;
    background: rgba(255, 255, 255, 0.08);
    color: #dce8ff;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
}

.feedback-modal-close:hover {
    background: rgba(255, 100, 120, 0.25);
    color: #fff;
}

.feedback-reply-form textarea {
    min-height: 72px;
    resize: vertical;
}

.feedback-modal-panel .form-control {
    background: rgba(19, 46, 75, 0.78);
    border: 1px solid rgba(124, 203, 255, 0.35);
    color: #eaf6ff;
}

.feedback-modal-panel .form-control:focus {
    background: rgba(19, 46, 75, 0.92);
    border-color: rgba(173, 225, 255, 0.65);
    color: #fff;
    box-shadow: 0 0 0 0.2rem rgba(88, 166, 255, 0.2);
}

/* 反馈正文/回复：字数角标（浅灰 → 达上限淡红） */
.feedback-field-wrap {
    position: relative;
}

.feedback-field-wrap .form-control {
    padding-bottom: 2rem;
    padding-right: 4.5rem;
}

/* 多行输入：两端对齐 + 去掉内侧粗滚动条（仍可滚轮/触控滚动） */
.feedback-field-wrap textarea.form-control {
    text-align: justify;
    text-justify: inter-ideograph;
    text-align-last: left;
    hyphens: auto;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.feedback-field-wrap textarea.form-control::-webkit-scrollbar {
    width: 0;
    height: 0;
    background: transparent;
}

.feedback-char-count {
    position: absolute;
    right: 14px;
    bottom: 12px;
    font-size: 0.78rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
    color: rgba(210, 228, 250, 0.42);
    pointer-events: none;
    user-select: none;
    line-height: 1.2;
}

.feedback-char-count.is-at-limit {
    color: rgba(255, 150, 165, 0.92);
}

/* 反馈讨论：主贴正文左右对齐（继承 .feedback-modal-main 的 pre-wrap） */
.feedback-thread-main-body {
    text-align: justify;
    text-justify: inter-ideograph;
    text-align-last: left;
    hyphens: auto;
}

.feedback-thread-page .feedback-reply-text,
#fb-detail-overlay .feedback-reply-text {
    text-align: justify;
    text-justify: inter-ideograph;
    text-align-last: left;
    hyphens: auto;
}

/* 个人信息页「我的反馈」样式见 profile.html extra_head（横向卡片 + 展开更多） */
