body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f6fa;
    padding: 40px;
}

.container {
    max-width: 720px;
    margin: auto;
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

h2 {
    margin-top: 0;
}

textarea {
    width: 100%;
    height: 90px;
    margin-top: 8px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    resize: vertical;
}

/* 按钮 */
button {
    margin-top: 15px;
    padding: 10px 18px;
    border: none;
    border-radius: 6px;
    background: #3c8dbc;
    color: white;
    cursor: pointer;
}

button:hover {
    background: #367fa9;
}

.copy {
    background: #00a65a;
}

.secondary {
    background: #f39c12;
}

.secondary:hover {
    background: #e08e0b;
}

/* 按钮组 */
.actions {
    margin-top: 10px;
}

/* ✅ 超链接按钮化 */
.link-btn {
    display: inline-block;
    margin-left: 10px;
    padding: 10px 18px;
    border-radius: 6px;
    background: #605ca8;
    color: white;
    text-decoration: none;
    font-size: 14px;
}

.link-btn:hover {
    background: #4b4a8c;
}

/* 图片区域 */
.image-box {
    text-align: center;
    margin: 20px 0;
}

.image-box img {
    max-width: 100%;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.desc {
    font-size: 0.9em;
    color: #555;
}

/* Toast */
.toast {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    padding: 15px 20px;
    border-radius: 6px;
    color: white;
    font-weight: bold;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease, transform 0.5s ease;
    z-index: 9999;
    max-width: 90%;
    text-align: center;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.toast.success {
    background-color: #00a65a;
}

.toast.error {
    background-color: #dd4b39;
}
