* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    color: rgb(51, 51, 51);
    background-color: #f5f5f5;
    min-height: 100vh;
    padding: 15px;
}

.container {
    max-width: 480px;
    margin: 0 auto;
}

/* 卡片样式 */
.card {
    background-color: rgba(255, 255, 255, 0.92);
    border-radius: 12px;
    box-shadow: 0px 0px 4px 1px rgba(0, 102, 255, 0.4),
                0px 0px 8px 2px rgba(0, 102, 255, 0.2);
    margin-bottom: 15px;
    overflow: hidden;
}

.card-header {
    background-color: rgb(51, 122, 183);
    padding: 12px 15px;
    border-radius: 12px 12px 0 0;
    text-align: center;
}

.card-header .title {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
}

.card-body {
    padding: 15px;
}

/* 账号信息区 */
.account-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.account-row .label {
    font-size: 16px;
    font-weight: bold;
    color: #000000;
}

.copy-btn {
    background-color: rgb(51, 122, 183);
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    border: none;
    border-radius: 6px;
    padding: 6px 12px;
    cursor: pointer;
}

.copy-btn:active {
    opacity: 0.8;
}

.action-row {
    display: flex;
    justify-content: center;
    margin: 15px 0;
}

.btn-blue {
    background-color: rgb(51, 122, 183);
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    width: 132px;
    height: 38px;
    cursor: pointer;
}

.btn-blue:active {
    opacity: 0.8;
}

.btn-blue:disabled {
    background-color: #999;
    cursor: not-allowed;
}

/* 倒计时 */
.countdown-row {
    text-align: center;
    margin: 10px 0;
}

.countdown-label {
    display: block;
    font-size: 16px;
    color: #000000;
    margin-bottom: 5px;
}

.countdown-time {
    display: block;
    font-size: 18px;
    font-weight: bold;
    color: #ff0000;
}

.hint-row {
    text-align: center;
    margin-top: 8px;
}

.hint-text {
    font-size: 16px;
    color: rgb(102, 102, 102);
}

/* 验证码区 */
.code-title {
    font-size: 16px;
    font-weight: bold;
    color: #000000;
    text-align: center;
    margin-bottom: 10px;
}

.code-content {
    font-size: 20px;
    font-weight: bold;
    color: #000000;
    text-align: center;
    padding: 10px 0;
    word-break: break-all;
}

.code-divider {
    text-align: center;
    color: #999;
    font-size: 14px;
    margin-top: 5px;
}

/* 说明区 */
.instruction-body {
    text-align: center;
}

.btn-green {
    background-color: rgb(92, 184, 92);
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid rgb(62, 143, 62);
    border-radius: 6px;
    padding: 8px 16px;
    width: 132px;
    height: 38px;
    cursor: pointer;
    margin-bottom: 15px;
}

.btn-green:active {
    opacity: 0.8;
}

.instruction-content {
    text-align: left;
    display: none;
    margin-top: 10px;
}

.instruction-content.show {
    display: block;
}

.instruction-title {
    font-size: 16px;
    font-weight: bold;
    color: #ff0000;
    margin-bottom: 12px;
    text-align: left;
}

.instruction-text p {
    font-size: 16px;
    color: #000000;
    line-height: 1.6;
    margin-bottom: 10px;
}

.link {
    color: rgb(51, 122, 183);
    text-decoration: none;
}

.link:active {
    text-decoration: underline;
}

/* Toast 提示 */
.toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.75);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    max-width: 80%;
    text-align: center;
}

.toast.show {
    opacity: 1;
    visibility: visible;
}
