/* 哔咔漫画 - 投诉举报页 */

:root {
    --primary: #ff6e97;
    --primary-strong: #ff4f80;
    --ink: #2a0713;
    --text: #2c1820;
    --muted: #8b7480;
    --line: #f0d3de;
    --card: #ffffff;
    --bg: #fff7fa;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at 12% 6%, rgba(255, 110, 151, 0.12), transparent 26rem),
        radial-gradient(circle at 88% 10%, rgba(255, 110, 151, 0.08), transparent 24rem),
        var(--bg);
    color: var(--text);
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font-family: inherit;
}

:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

.complaint-container {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    padding: 26px 20px 60px;
}

.complaint-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 22px;
}

.complaint-brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--text);
    font-size: 1rem;
    font-weight: 900;
}

.complaint-brand img {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 110, 151, 0.35);
    border-radius: 9px;
}

.complaint-back {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 36px;
    padding: 0 13px;
    border: 1px solid rgba(255, 110, 151, 0.28);
    border-radius: 999px;
    background: #fff;
    color: var(--primary-strong);
    font-size: 13px;
    font-weight: 800;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.complaint-back:hover {
    border-color: var(--primary);
    background: #fff0f5;
    transform: translateY(-1px);
}

.complaint-header {
    margin: 10px 0 28px;
    text-align: center;
}

.complaint-header h1 {
    margin: 0 0 10px;
    color: var(--text);
    font-size: 30px;
    font-weight: 900;
    letter-spacing: 0.02em;
}

.complaint-header p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.complaint-card {
    padding: 32px;
    border: 1px solid rgba(255, 110, 151, 0.2);
    border-radius: 18px;
    background: var(--card);
    box-shadow: 0 22px 60px rgba(255, 110, 151, 0.1);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 11px;
    color: var(--text);
    font-size: 14px;
    font-weight: 800;
}

.form-group label .required {
    margin-right: 4px;
    color: var(--primary-strong);
}

.form-group .hint {
    display: block;
    margin: 0 0 9px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.6;
}

.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 22px;
}

.radio-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.radio-item input[type="radio"] {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--primary-strong);
    cursor: pointer;
}

.radio-item span {
    color: var(--text);
    font-size: 14px;
}

textarea,
input[type="text"] {
    display: block;
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fffafc;
    color: var(--text);
    font-size: 14px;
    outline: 0;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

textarea {
    height: 156px;
    padding: 12px 13px;
    resize: vertical;
    line-height: 1.7;
}

input[type="text"] {
    height: 46px;
    padding: 0 13px;
}

textarea::placeholder,
input[type="text"]::placeholder {
    color: #bfa9b3;
}

textarea:focus,
input[type="text"]:focus {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255, 110, 151, 0.12);
}

.form-message {
    display: none;
    margin-bottom: 20px;
    padding: 10px 13px;
    border-radius: 9px;
    font-size: 13px;
    line-height: 1.6;
}

.form-message.is-visible {
    display: block;
}

.form-message.is-error {
    border: 1px solid #ffc9d6;
    background: #fff0f4;
    color: #c2264f;
}

.form-message.is-success {
    border: 1px solid #b9e6cb;
    background: #eefaf2;
    color: #1e7c43;
}

.button-group {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 26px;
    border: 0;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 900;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #ff86a8, var(--primary-strong));
    color: var(--ink);
    box-shadow: 0 12px 28px rgba(255, 79, 128, 0.24);
}

.btn-primary:hover {
    box-shadow: 0 16px 34px rgba(255, 79, 128, 0.32);
    transform: translateY(-1px);
}

.btn-secondary {
    border: 1px solid var(--line);
    background: #fff;
    color: var(--muted);
}

.btn-secondary:hover {
    background: #fff5f8;
}

.complaint-note {
    margin-top: 18px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.8;
}

.complaint-footer {
    margin-top: 24px;
    color: #a58e99;
    font-size: 12px;
    line-height: 1.8;
    text-align: center;
}

.complaint-footer a {
    color: var(--primary-strong);
    font-weight: 700;
}

@media (max-width: 576px) {
    .complaint-container {
        padding: 18px 15px 46px;
    }

    .complaint-header {
        margin: 6px 0 22px;
    }

    .complaint-header h1 {
        font-size: 25px;
    }

    .complaint-card {
        padding: 21px 18px;
    }

    .radio-group {
        gap: 11px 16px;
    }

    .radio-item {
        width: calc(50% - 8px);
    }

    .button-group {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        min-height: 48px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
    }
}
