console
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>【沈泽专属】小祖宗日常管教与归属权深度调研问卷</title>
<style>
:root {
--primary: #9C27B0;
--primary-dark: #6A1B9A;
--accent: #FF2D55;
--bg: #121212;
--card-bg: #1E1E1E;
--text-main: #EDEDED;
--text-muted: #A0A0A0;
--border: #333333;
--danger: #FF3B30;
--success: #34C759;
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
body {
background-color: var(--bg);
color: var(--text-main);
padding: 24px 16px;
display: flex;
justify-content: center;
}
.survey-container {
width: 100%;
max-width: 680px;
background: var(--card-bg);
border-radius: 16px;
border: 1px solid var(--border);
padding: 28px 24px;
box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6);
}
.header {
border-bottom: 1px solid var(--border);
padding-bottom: 20px;
margin-bottom: 24px;
}
.header h1 {
font-size: 22px;
color: var(--accent);
margin-bottom: 8px;
display: flex;
align-items: center;
gap: 8px;
}
.header p {
font-size: 13px;
color: var(--text-muted);
line-height: 1.6;
}
.badge {
display: inline-block;
font-size: 11px;
background: rgba(255, 45, 85, 0.15);
color: var(--accent);
padding: 2px 8px;
border-radius: 4px;
margin-top: 8px;
font-weight: bold;
}
.form-group {
margin-bottom: 24px;
padding-bottom: 18px;
border-bottom: 1px dashed #2A2A2A;
}
.form-group:last-of-type {
border-bottom: none;
}
.question-title {
font-size: 15px;
font-weight: 600;
margin-bottom: 12px;
display: flex;
justify-content: space-between;
align-items: center;
}
.question-title span.required {
color: var(--accent);
margin-right: 4px;
}
/* 单选 & 多选网格 */
.options-grid {
display: grid;
grid-template-columns: 1fr;
gap: 10px;
}
.custom-label {
display: flex;
align-items: center;
gap: 10px;
background: #252525;
padding: 12px 14px;
border-radius: 8px;
cursor: pointer;
border: 1px solid transparent;
transition: all 0.2s ease;
font-size: 14px;
}
.custom-label:hover {
background: #2C2C2C;
border-color: var(--primary);
}
.custom-label input[type="radio"],
.custom-label input[type="checkbox"] {
accent-color: var(--accent);
width: 16px;
height: 16px;
}
/* 动态展开区域 (交互1) */
.expandable-panel {
display: none;
margin-top: 12px;
padding: 14px;
background: #181818;
border-left: 3px solid var(--accent);
border-radius: 4px;
animation: fadeIn 0.3s ease forwards;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(-6px); }
to { opacity: 1; transform: translateY(0); }
}
input[type="text"], textarea {
width: 100%;
background: #282828;
border: 1px solid var(--border);
border-radius: 8px;
padding: 10px 12px;
color: var(--text-main);
font-size: 14px;
outline: none;
transition: border 0.2s;
}
input[type="text"]:focus, textarea:focus {
border-color: var(--accent);
}
/* 文本域与实时雷达拦截 (交互2) */
.textarea-wrapper {
position: relative;
}
.radar-banner {
display: none;
background: rgba(255, 59, 48, 0.15);
border: 1px solid var(--danger);
color: var(--danger);
font-size: 12px;
padding: 8px 12px;
border-radius: 6px;
margin-top: 8px;
font-weight: 500;
}
.char-counter {
text-align: right;
font-size: 11px;
color: var(--text-muted);
margin-top: 6px;
}
/* 动态添加项列表 (交互3) */
.dynamic-list {
display: flex;
flex-direction: column;
gap: 8px;
margin-bottom: 12px;
}
.dynamic-item {
display: flex;
justify-content: space-between;
align-items: center;
background: #262626;
padding: 10px 14px;
border-radius: 8px;
font-size: 13px;
border-left: 3px solid var(--primary);
}
.delete-btn {
background: none;
border: none;
color: var(--danger);
cursor: pointer;
font-size: 12px;
padding: 4px;
}
.add-row {
display: flex;
gap: 8px;
}
.btn-secondary {
background: #333333;
color: var(--text-main);
border: none;
border-radius: 8px;
padding: 0 16px;
cursor: pointer;
font-size: 13px;
white-space: nowrap;
transition: background 0.2s;
}
.btn-secondary:hover {
background: #444444;
}
/* 悬浮密令彩蛋 (交互4) */
.secret-box {
background: #181818;
border: 1px dashed var(--primary);
border-radius: 8px;
padding: 12px;
text-align: center;
cursor: pointer;
user-select: none;
transition: all 0.3s ease;
}
.secret-box:hover {
background: rgba(156, 39, 176, 0.15);
border-style: solid;
}
/* 提交按钮 */
.submit-btn {
width: 100%;
background: linear-gradient(135deg, var(--accent), var(--primary));
border: none;
color: white;
padding: 14px;
border-radius: 10px;
font-size: 16px;
font-weight: 600;
cursor: pointer;
box-shadow: 0 6px 18px rgba(255, 45, 85, 0.35);
transition: transform 0.1s, box-shadow 0.2s;
}
.submit-btn:hover {
box-shadow: 0 8px 24px rgba(255, 45, 85, 0.5);
}
.submit-btn:active {
transform: scale(0.98);
}
/* 模态弹窗 (交互5) */
.modal-overlay {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.8);
backdrop-filter: blur(4px);
justify-content: center;
align-items: center;
z-index: 1000;
padding: 20px;
}
.modal-content {
background: #1E1E1E;
border: 1px solid var(--accent);
border-radius: 14px;
width: 100%;
max-width: 480px;
padding: 24px;
box-shadow: 0 16px 40px rgba(255, 45, 85, 0.3);
animation: modalPop 0.25s ease-out;
}
@keyframes modalPop {
from { transform: scale(0.85); opacity: 0; }
to { transform: scale(1); opacity: 1; }
}
.modal-content h3 {
color: var(--accent);
margin-bottom: 12px;
font-size: 18px;
}
.modal-summary {
font-size: 13px;
line-height: 1.7;
color: #D6D6D6;
background: #121212;
padding: 12px;
border-radius: 8px;
margin: 14px 0;
max-height: 240px;
overflow-y: auto;
}
.modal-btn {