
.ww-pref-card {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.ww-pref-header {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 0.75rem;
}

.ww-pref-header-main {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ww-pref-tag {
    display: inline-flex;
    align-items: center;
    padding: 0 0.45rem;
    height: 1.25rem;
    border-radius: 9999px;
    font-size: 0.7rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    background: #f3f4f6;
    color: #6b7280;
}

.ww-pref-sub {
    margin: 0;
    font-size: 0.8rem;
    color: #888;
}

.ww-pref-body {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ww-pref-weight-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ww-pref-weight-label {
    font-size: 0.85rem;
    color: #4b5563;
    white-space: nowrap;
    min-width: 4.5rem;
}

.ww-pref-end-label {
    font-size: 0.8rem;
    color: #888;
    white-space: nowrap;
}

.ww-pref-slider {
    flex: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 4px;
    border-radius: 9999px;
    background: #e5e7eb;
    outline: none;
    cursor: pointer;
    position: relative;
    caret-color: transparent;
    accent-color: #111827;
}

.ww-pref-slider:focus {
    outline: none;
}

.ww-pref-slider:focus-visible {
    outline: none;
}


input[type="range"]::-moz-focus-outer {
    border: 0;
}

.ww-pref-slider::-webkit-slider-runnable-track {
    height: 4px;
    border-radius: 9999px;
    background: #e5e7eb;
}

.ww-pref-slider::-moz-range-track {
    height: 4px;
    border-radius: 9999px;
    background: #e5e7eb;
}

.ww-pref-slider::-moz-range-progress {
    height: 4px;
    border-radius: 9999px;
    background: #111827;
}

.ww-pref-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    margin-top: -6px;
    border-radius: 9999px;
    background: #111827;
    box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.12);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.ww-pref-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 9999px;
    background: #111827;
    border: none;
    box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.12);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.ww-pref-slider:active::-webkit-slider-thumb {
    transform: scale(1.05);
    box-shadow: 0 0 0 4px rgba(17, 24, 39, 0.16);
}

.ww-pref-slider:active::-moz-range-thumb {
    transform: scale(1.05);
    box-shadow: 0 0 0 4px rgba(17, 24, 39, 0.16);
}

.ww-pref-weight-value {
    font-size: 0.8rem;
    color: #6b7280;
    min-width: 2.5rem;
    text-align: right;
}

.ww-pref-desc {
    margin: 0;
    font-size: 0.78rem;
    line-height: 1.5;
    color: #9ca3af;
}


.ww-result-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.08), transparent);
    margin: 1.5rem 0 1.25rem;
}


.ww-result-feedback {
    margin-top: 0.5rem;
    text-align: center;
}

.ww-feedback-link {
    display: inline-block;
    font-size: 0.8125rem;
    color: #0066cc;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    text-decoration: none;
    line-height: 1.5;
    font-weight: 400;
}

.ww-feedback-link:hover {
    color: #0050a8;
    text-decoration: none;
}

.ww-feedback-card {
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.ww-feedback-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.ww-feedback-icon {
    font-size: 1.5rem;
    color: #4a4a4a;
    opacity: 0.7;
    flex-shrink: 0;
}

.ww-feedback-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 0.25rem 0;
}

.ww-feedback-desc {
    font-size: 0.8125rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

.ww-feedback-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.ww-feedback-footer {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ww-feedback-footer .ww-btn-action {
    width: 100%;
}

.ww-feedback-hint {
    font-size: 0.8125rem;
    color: #22c55e;
    margin: 0;
}

@media (max-width: 768px) {
    .ww-feedback-form {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .ww-feedback-card {
        padding: 1rem 1.25rem;
    }
}

.ww-result-tips {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ww-tips-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ww-tips-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
}

.ww-tips-sub {
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #8c8c8c;
}

.ww-tips-body {
    font-size: 0.9rem;
    color: #444;
    line-height: 1.65;
}

.ww-tips-body ul {
    margin: 0;
    padding-left: 1.1rem;
    list-style: disc;
}

.ww-back-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: #1a1a1a;
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, transform 0.2s;
}

.ww-back-top.visible {
    opacity: 1;
    visibility: visible;
}

.ww-back-top:hover {
    transform: translateY(-2px);
}

.ww-footer {
    position: relative;
    z-index: 50;
    background-color: #faf9f5;
    background-image: none;
    color: #555;
    padding: 0.75rem 1rem;
    margin-top: 2rem;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.ww-footer-inner {
    max-width: 80rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
}

.ww-footer-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem 1rem;
}

.ww-footer-links-row {
    gap: 0.35rem 1rem;
}

.ww-footer-link-item {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: #555;
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.2s ease;
    padding: 0.15rem 0.35rem;
}

.ww-footer-link-item i {
    font-size: 0.9rem;
    color: #777;
}

.ww-footer-link-item:link,
.ww-footer-link-item:visited {
    color: #555;
}

.ww-footer-link-item:hover {
    color: #0066cc;
}

.ww-footer-link-item:hover i {
    color: #0066cc;
}

.ww-footer-copy-row {
    font-size: 0.75rem;
    color: #888;
}

.ww-footer-sep {
    color: #ccc;
    margin: 0 0.15rem;
}

.ww-footer-icp {
    color: #0052d9;
    text-decoration: none;
    transition: color 0.2s ease;
    font-weight: 400;
}

.ww-footer-icp:hover {
    color: #1d4ed8;
}

.ww-footer-icp:hover {
    color: #1d4ed8;
}

.ww-footer-icp:active,
.ww-footer-icp:focus-visible {
    color: #1e40af;
}
