* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #f3f5f7;
    --card: #ffffff;
    --text: #1f2329;
    --subtext: #667085;
    --border: #e4e7ec;
    --border-focus: #3b82f6;
    --blue: #2f80ed;
    --blue-hover: #1f6fe0;
    --red: #ff4d4f;
    --red-hover: #ef3d40;
    --submit: #eb3737;
    --submit-hover: #d92d2d;
    --shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
    --notice-border: #ffd6d6;
    --notice-text: #b42318;
}

body {
    max-width: 720px;
    margin: 28px auto;
    padding: 0 18px;
    font-family: Arial, "Microsoft YaHei", sans-serif;
    background: var(--bg);
    color: var(--text);
    font-size: 14px;
}

.box {
    background: var(--card);
    padding: 30px 30px 26px;
    border-radius: 22px;
    box-shadow: var(--shadow);
}

.notice-panel {
    background: linear-gradient(180deg, #fff7f7 0%, #fff2f2 100%);
    border: 1px solid var(--notice-border);
    border-radius: 16px;
    padding: 16px 18px;
    margin-bottom: 22px;
}

.notice-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--notice-text);
    margin-bottom: 10px;
    line-height: 1.5;
}

.notice-list {
    margin: 0;
    padding-left: 22px;
}

.notice-list li {
    color: #b54708;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 2px;
    word-break: break-word;
}

.page-title {
    font-size: 20px;
    line-height: 1.4;
    margin-bottom: 24px;
    text-align: center;
    color: var(--text);
    font-weight: 700;
}

label {
    display: block;
    margin: 18px 0 8px;
    font-weight: 700;
    font-size: 16px;
    color: var(--text);
}

input {
    width: 100%;
    height: 54px;
    padding: 0 16px;
    margin: 0;
    border: 1px solid var(--border);
    border-radius: 14px;
    font-size: 16px;
    background: #fff;
    transition: all 0.2s ease;
    color: var(--text);
}

input::placeholder {
    color: #98a2b3;
}

input:focus {
    outline: none;
    border-color: var(--border-focus);
    box-shadow: 0 0 0 4px rgba(47, 128, 237, 0.10);
}

.tips {
    color: var(--subtext);
    font-size: 13px;
    margin: 8px 2px 6px;
    line-height: 1.6;
}

.address-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
    width: 100%;
}

.address-item input {
    flex: 1;
    min-width: 0;
}

.action-btn {
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    cursor: pointer;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    padding: 0;
}

.action-btn:hover {
    transform: translateY(-1px);
}

.action-btn:active {
    transform: translateY(0);
}

.add-round-btn {
    background: var(--blue);
}

.add-round-btn:hover {
    background: var(--blue-hover);
}

.del-round-btn {
    background: var(--red);
    font-size: 22px;
}

.del-round-btn:hover {
    background: var(--red-hover);
}

.submit-btn {
    background: var(--submit);
    color: #fff;
    padding: 16px;
    width: 100%;
    border: none;
    border-radius: 16px;
    font-size: 18px;
    font-weight: 700;
    margin-top: 22px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
}

.submit-btn:hover {
    background: var(--submit-hover);
    transform: translateY(-1px);
}

.submit-btn:active {
    transform: translateY(0);
}

.status {
    padding: 16px 14px;
    border-radius: 14px;
    margin: 15px 0;
    font-size: 15px;
    line-height: 1.75;
}

.pending {
    background: #fff8e6;
    color: #b76800;
    border: 1px solid #ffd591;
}

.processing {
    background: #e6f7ff;
    color: #006ed7;
    border: 1px solid #91d5ff;
}

.success {
    background: #f0fdf4;
    color: #0d8947;
    border: 1px solid #b7e1cd;
}

.failed {
    background: #fef0f0;
    color: #d32f2f;
    border: 1px solid #ffccc7;
}

.tx-hash {
    word-break: break-all;
    background: #f5f5f5;
    padding: 10px 12px;
    border-radius: 10px;
    margin: 10px 0;
    font-family: monospace;
    font-size: 13px;
}

a {
    color: #1677ff;
    text-decoration: none;
    font-size: 15px;
}

a:hover {
    text-decoration: underline;
}

.rule {
    color: #006ed7;
    margin: 0 0 10px;
    font-weight: 700;
    font-size: 15px;
}

.back-link-wrap {
    text-align: center;
}

.knowledge-section {
    margin-top: 28px;
    background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
    border: 1px solid #e7edf5;
    border-radius: 18px;
    padding: 22px 20px;
}

.knowledge-section h2 {
    text-align: left;
    font-size: 22px;
    margin-bottom: 14px;
    color: #101828;
}

.knowledge-section h3 {
    font-size: 17px;
    line-height: 1.6;
    color: #1d2939;
    margin: 18px 0 10px;
    font-weight: 700;
}

.knowledge-section p {
    font-size: 14px;
    line-height: 1.95;
    color: #344054;
    margin-bottom: 12px;
    text-align: justify;
}

.knowledge-section ul,
.knowledge-section ol {
    padding-left: 22px;
    margin: 8px 0 14px;
}

.knowledge-section li {
    font-size: 14px;
    line-height: 1.9;
    color: #344054;
    margin-bottom: 6px;
}

.knowledge-highlight {
    background: #f8fafc;
    border-left: 4px solid #2f80ed;
    padding: 12px 14px;
    border-radius: 10px;
    margin: 14px 0;
}

.knowledge-highlight strong {
    color: #1d4ed8;
}

.faq-box {
    background: #fffdf7;
    border: 1px solid #f3e8c8;
    border-radius: 14px;
    padding: 16px 16px 6px;
    margin-top: 16px;
}

.faq-box h3 {
    margin-top: 0;
}

.faq-item {
    margin-bottom: 14px;
}

.faq-item strong {
    display: block;
    color: #7a4b00;
    margin-bottom: 6px;
    font-size: 15px;
}

.faq-item p {
    margin-bottom: 0;
}

/* 移动端优化 */
@media (max-width: 768px) {
    body {
        max-width: 100%;
        margin: 14px auto;
        padding: 0 10px;
    }

    .box {
        padding: 20px 16px 18px;
        border-radius: 18px;
    }

    .notice-panel {
        padding: 14px 14px;
        margin-bottom: 18px;
        border-radius: 14px;
    }

    .notice-title {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .notice-list {
        padding-left: 20px;
    }

    .notice-list li {
        font-size: 13px;
        line-height: 1.7;
    }

    .page-title {
        font-size: 18px;
        margin-bottom: 18px;
    }

    label {
        font-size: 15px;
        margin: 16px 0 8px;
    }

    input {
        height: 50px;
        padding: 0 14px;
        font-size: 15px;
        border-radius: 12px;
    }

    .tips {
        font-size: 12px;
        margin-top: 7px;
    }

    .address-item {
        gap: 8px;
        margin: 8px 0;
    }

    .action-btn {
        width: 40px;
        height: 40px;
        border-radius: 11px;
        font-size: 22px;
    }

    .del-round-btn {
        font-size: 20px;
    }

    .submit-btn {
        padding: 15px;
        font-size: 17px;
        border-radius: 14px;
        margin-top: 18px;
    }

    .status {
        font-size: 14px;
        padding: 14px 12px;
    }

    .knowledge-section {
        margin-top: 22px;
        padding: 18px 14px;
        border-radius: 16px;
    }

    .knowledge-section h2 {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .knowledge-section h3 {
        font-size: 16px;
        margin: 16px 0 8px;
    }

    .knowledge-section p,
    .knowledge-section li {
        font-size: 13px;
        line-height: 1.85;
    }

    .faq-item strong {
        font-size: 14px;
    }
}

@media (max-width: 420px) {
    .box {
        padding: 18px 14px 16px;
    }

    .notice-list li {
        font-size: 12.5px;
    }

    .action-btn {
        width: 38px;
        height: 38px;
        font-size: 20px;
        border-radius: 10px;
    }

    .del-round-btn {
        font-size: 18px;
    }

    .knowledge-section p,
    .knowledge-section li {
        font-size: 12.8px;
    }
}

.site-footer {
    margin: 18px auto 30px;
    max-width: 720px;
    padding: 0 18px;
}

.site-footer-inner {
    background: #ffffff;
    border: 1px solid #e7edf5;
    border-radius: 18px;
    padding: 18px 20px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
    text-align: center;
}

.footer-copy {
    margin: 0 0 8px;
    font-size: 14px;
    color: #344054;
    line-height: 1.8;
    font-weight: 600;
}

.footer-desc {
    margin: 0 0 8px;
    font-size: 13px;
    color: #667085;
    line-height: 1.9;
}

.footer-links {
    margin: 0;
    font-size: 13px;
    line-height: 1.8;
}

.footer-links a {
    color: #1677ff;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .site-footer {
        padding: 0 10px;
        margin: 14px auto 22px;
    }

    .site-footer-inner {
        padding: 16px 14px;
        border-radius: 16px;
    }

    .footer-copy {
        font-size: 13px;
    }

    .footer-desc,
    .footer-links {
        font-size: 12px;
    }
}