.containera {
    max-width: 900px;
    margin: 30px auto;
    background: #ffffff;
    padding: 20px;
    border-radius: 6px;
    position: relative;
    z-index: 10;
    margin-top: -90px; /* 关键：往上提，数值可调 */
}
@media (max-width: 922px) {
    .containera {
        margin: -90px 12px 20px; /* 上负值继续盖 banner，左右贴近 */
        padding: 16px;
        border-radius: 12px;
    }
}

h1 {
    font-size: 20px;
    margin-bottom: 15px;
}
    .input-box {
    display: flex;
    gap: 10px;
}
.input-box input {
    flex: 1;
    height: 42px;
    padding: 0 12px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.input-box button {
    width: 120px;
    height: 42px;
    background: #409eff;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
}
.input-box button:hover {
    background: #337ecc;
}
.tips {
    margin-top: 10px;
    font-size: 13px;
    color: #888;
}
.error {
    margin-top: 15px;
    color: red;
}
.result {
    display: none;
    margin-top: 25px;
}
.video-title {
    font-size: 16px;
    margin-bottom: 10px;
}
.link-box {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}
.link-box input {
    flex: 1;
    height: 38px;
    padding: 0 10px;
    font-size: 13px;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.link-box button,
.link-box a {
    width: 120px;
    height: 38px;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    color: #fff;
}
.btn-copy { background: #67c23a; }
.btn-cover { background: #e6a23c; }
.btn-download { background: #f56c6c; }
.btn-download.cover { background: #909399; }

.loading-mask {
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,0.75);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
.loading-box { text-align: center; }
.spinner {
    width: 48px;
    height: 48px;
    border: 4px solid #ddd;
    border-top-color: #409eff;
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
    margin: 0 auto 10px;
}
.loading-text {
    font-size: 14px;
    color: #333;
}
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.h1seo{margin-top:0px !important}

.gallery-arrow {
    font-size:64px;                 /* 大一点 */
    font-weight:700;
    color:#fff;
    text-shadow:
        -2px -2px 0 #000,
         2px -2px 0 #000,
        -2px  2px 0 #000,
         2px  2px 0 #000;           /* 黑色描边 */
    cursor:pointer;
    user-select:none;
    padding:10px;
}

.gallery-arrow:hover {
    opacity:.85;
}

.input-wrap {
    position: relative;
    flex: 1;
}

.input-wrap input {
    width: 100%;
    padding-right: 36px; /* 给清空按钮留空间 */
}

.clear-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    line-height: 18px;
    text-align: center;
    border-radius: 50%;
    background: #ff4d4f;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    display: none;
    user-select: none;
}

.clear-btn:hover {
    background: #ff7875;
}
