/* ============ 二次元风格基础 ============ */ * { box-sizing: border-box; } html, body { margin: 0; padding: 0; } body { font-family: "NotoSansSC", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Source Han Sans CN", sans-serif; -webkit-font-smoothing: antialiased; min-height: 100vh; } a { color: inherit; text-decoration: none; } /* Web 字体(兜底) */ @font-face { font-family: 'NotoSansSC'; src: url('https://cdn.jsdelivr.net/npm/@fontsource/noto-sans-sc@5.0.5/files/noto-sans-sc-chinese-simplified-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; } @font-face { font-family: 'NotoSansSC'; src: url('https://cdn.jsdelivr.net/npm/@fontsource/noto-sans-sc@5.0.5/files/noto-sans-sc-chinese-simplified-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; } /* ============ 表单页(粉紫渐变背景) ============ */ .form-page { background: linear-gradient(135deg, #ffd1dc 0%, #e0c3fc 50%, #c2e9fb 100%); background-attachment: fixed; padding: 24px 12px 80px; position: relative; overflow-x: hidden; } .form-page::before { content: "✦"; position: fixed; top: 5%; left: 5%; font-size: 40px; color: rgba(255,255,255,0.5); pointer-events: none; } .form-page::after { content: "✧"; position: fixed; bottom: 8%; right: 8%; font-size: 50px; color: rgba(255,255,255,0.5); pointer-events: none; } .container { max-width: 760px; margin: 0 auto; background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); padding: 32px 36px 40px; border-radius: 24px; box-shadow: 0 20px 60px rgba(190, 120, 200, 0.25); position: relative; border: 1px solid rgba(255,255,255,0.6); } .form-header { text-align: center; margin-bottom: 28px; padding-bottom: 20px; border-bottom: 2px dashed #ffb6c1; } .form-header h1 { margin: 0 0 8px; font-size: 32px; font-weight: 800; background: linear-gradient(135deg, #ff6b9d 0%, #c084fc 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; letter-spacing: 1px; } .form-header h1::before { content: "🎨 "; -webkit-text-fill-color: initial; } .form-header .sub { margin: 0; color: #888; font-size: 13px; } fieldset { border: 2px solid #ffd1dc; border-radius: 16px; margin: 18px 0; padding: 18px 22px 20px; background: rgba(255, 240, 245, 0.4); } legend { font-weight: 800; font-size: 15px; letter-spacing: 1px; padding: 4px 14px; background: linear-gradient(135deg, #ff6b9d 0%, #c084fc 100%); color: white; border-radius: 12px; box-shadow: 0 4px 12px rgba(255, 107, 157, 0.3); } label { display: block; font-size: 12px; font-weight: 700; color: #666; letter-spacing: 0.5px; margin: 8px 0 14px; } label > input, label > select, label > textarea { display: block; width: 100%; margin-top: 6px; font-family: inherit; font-size: 14px; font-weight: 400; color: #333; background: white; border: 2px solid #f0e0e8; padding: 10px 14px; border-radius: 10px; transition: all 0.2s; } label > input:focus, label > select:focus, label > textarea:focus { outline: none; border-color: #ff6b9d; box-shadow: 0 0 0 4px rgba(255, 107, 157, 0.1); } label > textarea { resize: vertical; min-height: 60px; } .row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0 16px; } .req { color: #ff4d6d; } .actions { display: flex; gap: 12px; justify-content: center; margin-top: 28px; flex-wrap: wrap; } button { font-family: inherit; font-size: 14px; font-weight: 700; letter-spacing: 1px; padding: 12px 28px; border: none; border-radius: 12px; cursor: pointer; transition: all 0.2s; } .btn-primary { background: linear-gradient(135deg, #ff6b9d 0%, #c084fc 100%); color: white; box-shadow: 0 6px 20px rgba(255, 107, 157, 0.35); } .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255, 107, 157, 0.45); } .btn-secondary { background: white; color: #c084fc; border: 2px solid #e0c3fc; } .btn-secondary:hover { background: #f8f0ff; } .status-msg { font-size: 12px; margin-top: 12px; min-height: 16px; text-align: center; } /* ============ 弹窗 ============ */ .modal { position: fixed; inset: 0; background: rgba(40, 20, 60, 0.7); backdrop-filter: blur(8px); z-index: 100; display: flex; flex-direction: column; padding: 20px; overflow: auto; } .modal.hidden { display: none; } .modal-content { margin: auto; max-width: 920px; width: 100%; } .modal-toolbar { display: flex; justify-content: space-between; margin-bottom: 12px; background: white; padding: 12px 16px; border-radius: 12px; box-shadow: 0 4px 16px rgba(0,0,0,0.2); } .btn-close { background: #ff4d6d; color: white; border: none; font-size: 18px; line-height: 1; padding: 6px 14px; border-radius: 8px; } .sheet-wrapper { display: flex; justify-content: center; } /* ============ 约稿单(生成图)保持原样 ============ */ .commission-sheet { width: 880px; background: #d8d2bf; background-image: radial-gradient(circle at 10% 20%, rgba(120,90,40,0.08) 0, transparent 1.5%), radial-gradient(circle at 70% 60%, rgba(120,90,40,0.10) 0, transparent 2%), radial-gradient(circle at 30% 80%, rgba(80,60,20,0.08) 0, transparent 1%), radial-gradient(circle at 90% 30%, rgba(120,90,40,0.07) 0, transparent 1.5%), radial-gradient(ellipse at 85% 15%, rgba(101,67,33,0.10), transparent 25%), radial-gradient(ellipse at 15% 90%, rgba(101,67,33,0.08), transparent 18%); color: #1a1a1a; font-family: "Courier New", monospace; position: relative; padding: 26px 36px 30px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); border: 1px solid #8b7c4a; } .commission-sheet::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient( 0deg, transparent 0, transparent 2px, rgba(0,0,0,0.015) 2px, rgba(0,0,0,0.015) 3px ); pointer-events: none; } .commission-sheet::after { content: ""; position: absolute; top: 14px; left: 50px; width: 22px; height: 22px; background: #1a1a1a; border-radius: 50%; box-shadow: 260px 0 0 0 #1a1a1a, inset 0 0 0 2px #4a4a4a; } .sheet-inner { position: relative; z-index: 1; } .sheet-header { display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; font-size: 10px; letter-spacing: 1px; border-bottom: 1px solid #1a1a1a; padding-bottom: 6px; margin-bottom: 14px; padding-top: 8px; } .sheet-header .left, .sheet-header .right { font-family: "Courier New", monospace; } .sheet-header .right { text-align: right; } .sheet-title { text-align: center; font-family: "Times New Roman", serif; font-size: 24px; font-weight: bold; letter-spacing: 6px; margin: 6px 0 14px; text-transform: uppercase; } .sheet-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid #1a1a1a; border-bottom: none; position: relative; } .sheet-cell { border-right: 1px solid #1a1a1a; border-bottom: 1px solid #1a1a1a; padding: 0; font-size: 12px; min-height: 42px; position: relative; background: rgba(255,255,255,0.18); display: flex; flex-direction: column; justify-content: center; } .sheet-cell:nth-child(2n) { border-right: none; } .sheet-cell.full { grid-column: 1 / -1; border-right: none; } .sheet-cell .num { position: absolute; top: 3px; left: 6px; font-size: 9px; color: #777; font-weight: bold; } .sheet-cell .lbl { font-size: 8px; color: #555; letter-spacing: 1px; text-transform: uppercase; padding: 4px 8px 0 26px; font-weight: bold; line-height: 1.1; } .sheet-cell .val { font-size: 14px; font-weight: bold; color: #1a1a1a; word-break: break-word; white-space: pre-wrap; line-height: 1.3; padding: 2px 8px 6px 26px; font-family: "Courier New", "Consolas", monospace; } .sheet-cell .val.empty::after { content: "—"; color: #aaa; font-weight: normal; } .stamp { position: absolute; top: 130px; right: 30px; width: 78px; height: 78px; border: 3px double #a52a2a; color: #a52a2a; border-radius: 50%; display: flex; align-items: center; justify-content: center; text-align: center; font-family: "Times New Roman", serif; font-size: 10px; font-weight: bold; transform: rotate(-12deg); opacity: 0.75; line-height: 1.1; z-index: 5; background: transparent; pointer-events: none; } .stamp::before { content: ""; position: absolute; inset: 4px; border: 1px solid #a52a2a; border-radius: 50%; } .signature { margin-top: 26px; padding-top: 12px; border-top: 1px solid #1a1a1a; display: flex; justify-content: space-between; align-items: flex-end; font-size: 11px; } .signature .label { letter-spacing: 1px; text-transform: uppercase; color: #444; } .signature .sig { font-family: "Brush Script MT", "Lucida Handwriting", cursive; font-size: 22px; color: #1a1a1a; opacity: 0.85; } .signature .sig.right { transform: rotate(-3deg); } .na-overlay { position: absolute; font-family: "Brush Script MT", "Lucida Handwriting", cursive; font-size: 36px; color: rgba(26,26,26,0.35); transform: rotate(-15deg); pointer-events: none; z-index: 4; white-space: nowrap; } .sheet-meta { font-size: 10px; color: #555; margin-top: 12px; text-align: right; letter-spacing: 1px; } /* ============ 后台(深色 + 紫色调) ============ */ .admin-page { background: linear-gradient(135deg, #2a1b3d 0%, #44318d 100%); min-height: 100vh; padding: 30px 16px 80px; color: #e6e0f5; font-family: "NotoSansSC", "PingFang SC", "Microsoft YaHei", sans-serif; } .admin-header { max-width: 900px; margin: 0 auto 24px; display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid #c084fc; padding-bottom: 12px; } .admin-header h1 { margin: 0; font-size: 28px; font-weight: 800; background: linear-gradient(135deg, #ff6b9d 0%, #c084fc 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; } .admin-tools { display: flex; gap: 12px; align-items: center; } .count-badge { background: linear-gradient(135deg, #ff6b9d 0%, #c084fc 100%); color: white; padding: 6px 16px; font-weight: 800; border-radius: 999px; } .admin-page button { background: rgba(255,255,255,0.1); color: #e6e0f5; border: 1px solid #c084fc; border-radius: 10px; padding: 8px 18px; font-weight: 700; } .admin-page button:hover { background: rgba(192, 132, 252, 0.2); } .list { max-width: 900px; margin: 0 auto; display: grid; gap: 16px; } .card { background: rgba(255,255,255,0.05); backdrop-filter: blur(10px); border: 1px solid rgba(192, 132, 252, 0.3); border-radius: 16px; padding: 20px 24px; } .card-head { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid rgba(192, 132, 252, 0.3); padding-bottom: 10px; margin-bottom: 14px; } .card-head h3 { margin: 0; font-size: 20px; color: #ffd1dc; font-weight: 800; } .card-head .muted { color: #c4b5fd; font-weight: 400; font-size: 14px; } .card-head time { font-size: 12px; color: #a78bfa; } .card-body dl { display: grid; grid-template-columns: 100px 1fr; gap: 8px 16px; margin: 0; font-size: 13px; } .card-body dt { color: #c4b5fd; } .card-body dd { margin: 0; color: #e6e0f5; } .card-foot { display: flex; gap: 8px; margin-top: 14px; } .btn-text { background: transparent; border: 1px solid #c084fc; color: #e6e0f5; font-size: 12px; padding: 6px 14px; border-radius: 8px; } .btn-text:hover { background: rgba(192, 132, 252, 0.2); } .btn-text.danger { border-color: #ff4d6d; color: #ffb3c1; } .btn-text.danger:hover { background: rgba(255, 77, 109, 0.2); } .empty { text-align: center; padding: 60px 0; color: #a78bfa; font-size: 14px; } .hidden { display: none; } @media (max-width: 600px) { .container { padding: 20px 18px; border-radius: 16px; } .form-header h1 { font-size: 24px; } .sheet-grid { grid-template-columns: 1fr; } .commission-sheet { width: 100%; } }