/**
 * 拾光笔记 · GO 安全跳转页 样式
 */

* {
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", Helvetica, Arial, sans-serif;
    background-color: #f2f4f7;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.sg-container {
    background-color: rgba(255, 255, 255, 0.92);
    border-radius: 12px;
    padding: 24px 20px;
    width: 320px;
    max-width: 100%;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(4px);
}

.sg-logo {
    max-width: 240px;
    max-height: 72px;
    width: auto;
    height: auto;
    margin-bottom: 18px;
}

.sg-link {
    width: 95%;
    box-sizing: border-box;
    background-color: #e0e0e0;
    padding: 10px 12px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 0 auto;
}

.sg-link .sg-icon {
    display: inline-flex;
    vertical-align: middle;
    margin-right: 6px;
    flex: 0 0 auto;
}

.sg-link .sg-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    color: #333;
    word-break: break-all;
}

.sg-status {
    font-size: 14px;
    color: #777;
    margin-top: 10px;
}

.sg-countdown {
    font-size: 13px;
    color: #999;
    margin-top: 6px;
}

.sg-buttons {
    margin-top: 18px;
}

.sg-btn {
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    margin: 5px;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.sg-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.sg-btn-pink {
    background: linear-gradient(135deg, #ff5e7f 30%, #ff967e 100%);
}

.sg-btn-cyan {
    background: linear-gradient(140deg, #039ab3 10%, #58dbcf 90%);
}

.sg-footer {
    margin-top: 16px;
    font-size: 12px;
    color: #999;
    line-height: 1.8;
}

.sg-footer a {
    color: #039ab3;
    text-decoration: none;
}

@media (max-width: 400px) {
    .sg-container {
        width: 100%;
        padding: 20px 16px;
    }
}
