/* v1.7.18.60 提交收录页样式 */
.zn-submit-page {
    max-width: 800px;
    margin: 0 auto 20px auto;
}
/* v1.7.21 带按钮条的内页统一 1040px 宽（覆盖上面的 800px） */
.zn-submit-page.zn-rail-page {
    max-width: 1040px;
}

/* hero banner：与排行榜页风格统一 */
.zn-submit-hero {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 50%, #8b5cf6 100%);
    color: #fff;
    padding: 32px 36px;
    margin-bottom: 24px;
    box-shadow: 0 10px 40px rgba(59, 130, 246, .25);
}
.zn-submit-hero::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,.15) 0%, transparent 70%);
    pointer-events: none;
}
.zn-submit-hero-tag {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(255,255,255,.22);
    border: 1px solid rgba(255,255,255,.4);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 12px;
    backdrop-filter: blur(4px);
}
.zn-submit-hero-title {
    font-size: 32px;
    font-weight: 900;
    margin: 0 0 8px;
    color: #fff;
}
.zn-submit-hero-desc {
    font-size: 15px;
    margin: 0;
    color: rgba(255,255,255,.9);
    max-width: 680px;
    line-height: 1.6;
}

.zn-submit-wrap {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.zn-submit-card {
    background: var(--zn-card-bg, #fff);
    border: 1px solid var(--zn-border, #eef0f3);
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 1px 4px rgba(0,0,0,.04);
}
.zn-submit-side-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--zn-fg, #1a1a1a);
    margin: 0 0 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.zn-submit-side-title i { color: #3a6df0; }
.zn-submit-notice {
    font-size: 14px;
    color: #dc2626;
    line-height: 1.7;
    margin: 0 0 12px;
    padding: 10px 12px;
    background: #fef2f2;
    border: 1px solid #fee2e2;
    border-radius: 10px;
}
.zn-submit-rules {
    margin: 0 0 18px;
    padding-left: 20px;
    color: var(--zn-fg, #2a2d33);
    font-size: 14px;
    line-height: 1.9;
}
.zn-submit-rules li { margin-bottom: 6px; }
.zn-submit-tip {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    background: #f4f8ff;
    border: 1px solid #e2edff;
    color: #33588f;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 13px;
    line-height: 1.6;
}
.zn-submit-tip i { color: #f0a020; margin-top: 2px; }
.zn-submit-tip b { color: #3a6df0; }

/* 表单 */
.zn-submit-form { display: flex; flex-direction: column; gap: 18px; }
.zn-field { display: flex; flex-direction: column; gap: 7px; }
.zn-field > label {
    font-size: 14px;
    font-weight: 600;
    color: var(--zn-fg, #1a1a1a);
}
.zn-req { color: #e5484d; font-style: normal; }
.zn-field input[type="text"],
.zn-field input[type="url"],
.zn-field input[type="email"],
.zn-field textarea,
.zn-field select {
    width: 100%;
    border: 1px solid var(--zn-border, #e3e6ea);
    border-radius: 10px;
    padding: 11px 13px;
    font-size: 14px;
    color: var(--zn-fg, #1a1a1a);
    background: #fff;
    transition: border-color .15s, box-shadow .15s;
    box-sizing: border-box;
    font-family: inherit;
}
.zn-field select {
    appearance: auto;
    cursor: pointer;
}
.zn-field textarea { resize: vertical; min-height: 76px; }
.zn-field input:focus,
.zn-field textarea:focus,
.zn-field select:focus {
    outline: none;
    border-color: #3a6df0;
    box-shadow: 0 0 0 3px rgba(58,109,240,.12);
}
.zn-field input::placeholder,
.zn-field textarea::placeholder {
    color: #9ca3af;
}
.zn-field-inline {
    display: flex;
    gap: 10px;
    align-items: center;
}
.zn-field-inline input { flex: 1; min-width: 0; }
.zn-ico-prev {
    width: 40px; height: 40px;
    border: 1px solid var(--zn-border, #e3e6ea);
    border-radius: 10px;
    display: none;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex: 0 0 auto;
    background: #f7f8fa;
}
.zn-ico-prev img { max-width: 32px; max-height: 32px; display: block; }
.zn-hint { font-size: 12px; color: var(--zn-fg-mute, #8a8f99); }

/* 按钮 */
.zn-btn {
    border: none;
    border-radius: 10px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: background .15s, opacity .15s, transform .05s;
    white-space: nowrap;
}
.zn-btn:active { transform: translateY(1px); }
.zn-btn:disabled { opacity: .6; cursor: not-allowed; }
.zn-btn-ghost {
    background: #eef2ff;
    color: #3a6df0;
    flex: 0 0 auto;
}
.zn-btn-ghost:hover { background: #e0e8ff; }
.zn-btn-primary {
    background: #3a6df0;
    color: #fff;
    padding: 12px 22px;
}
.zn-btn-primary:hover { background: #2f5fd8; }

/* 提交区 + 验证码（v1.7.18.60） */
.zn-submit-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: 4px;
}
.zn-captcha {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 2px 8px;
}
.zn-captcha-q {
    font-size: 14px;
    font-weight: 600;
    color: #3a6df0;
    letter-spacing: 1px;
    padding: 0 4px;
    user-select: none;
}
.zn-captcha input {
    width: 90px;
    border: 1px solid var(--zn-border, #e3e6ea);
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 14px;
    text-align: center;
    font-family: inherit;
}
.zn-captcha input:focus {
    outline: none;
    border-color: #3a6df0;
    box-shadow: 0 0 0 3px rgba(58,109,240,.12);
}

.zn-submit-msg {
    margin: 4px 0 0;
    font-size: 13px;
    min-height: 18px;
    line-height: 1.5;
}
.zn-msg-ok  { color: #1a9c5b; }
.zn-msg-err { color: #e5484d; }

/* 蜜罐：对真人完全不可见 */
.zn-hp {
    position: absolute;
    left: -9999px;
    width: 1px; height: 1px;
    overflow: hidden;
    opacity: 0;
}

/* 响应式：<1000px 收紧；<640px 进一步收紧 */
@media (max-width: 1000px) {
    .zn-submit-hero { padding: 26px 24px; }
    .zn-submit-hero-title { font-size: 26px; }
}
@media (max-width: 640px) {
    .zn-submit-page { padding: 12px 0 0; }
    .zn-submit-hero { border-radius: 16px; padding: 22px 18px; margin-bottom: 18px; }
    .zn-submit-hero-title { font-size: 22px; }
    .zn-submit-hero-desc { font-size: 14px; }
    .zn-submit-card { padding: 18px 16px; border-radius: 12px; }
    .zn-field-inline { flex-wrap: wrap; }
    .zn-submit-actions { flex-direction: column; align-items: stretch; }
    .zn-btn-primary { width: 100%; text-align: center; }
    .zn-captcha { width: 100%; justify-content: center; }
    .zn-captcha input { flex: 1; max-width: 120px; }
}
