body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background: #f7f7fb; margin: 0; padding: 0; }
.container { max-width: 400px; margin: 60px auto; background: #fff; border-radius: 12px; box-shadow: 0 2px 12px #0001; padding: 32px 24px; }
h1 { text-align: center; color: #fb7299; margin-bottom: 24px; }
.input-group { display: flex; margin-bottom: 20px; }
input[type="text"], input[type="number"], select { flex: 1; padding: 10px; font-size: 16px; border: 1px solid #ddd; border-radius: 6px; outline: none; margin-right: 10px; }
button { padding: 10px 18px; font-size: 16px; border: none; background: #fb7299; color: #fff; border-radius: 6px; cursor: pointer; transition: background 0.2s; }
button:hover { background: #d35d7b; }
.result { background: #f0f4fa; border-radius: 8px; padding: 18px; margin-top: 18px; display: none; }
.result strong { color: #fb7299; }
.share-btn { margin-top: 12px; background: #ffb300; color: #fff; border-radius: 6px; border: none, padding: 8px 16px; cursor: pointer; }
.share-btn:hover { background: #e09e00; }
.footer { text-align: center; color: #aaa; margin-top: 40px; font-size: 13px; }
.form-row {
    margin-bottom: 14px;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
}
.exp-label {
    width: 120px;
    min-width: 90px;
    text-align: left;
    color: #222;
    font-size: 16px;
    font-family: 'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
    margin-bottom: 0;
    margin-right: 0;
    flex-shrink: 0;
    padding-top: 6px;
    display: block;
}
.form-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
}
.form-col > * {
    width: 100%;
    margin: 0;
}
.form-row select {
    width: 100%;
    min-width: 0;
    max-width: unset;
    padding: 12px 14px;
    font-size: 16px;
    border: 1.5px solid #ddd;
    border-radius: 6px;
    background: #f7f8fa;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.form-row select:focus {
    border-color: #409eff;
    box-shadow: 0 0 0 2px #409eff22;
    background: #fff;
}
.toggle-btn {
    background: #f0f0f0; color: #333; border: 1px solid #ccc; border-radius: 6px; padding: 8px 18px; font-size: 15px; cursor: pointer; margin-bottom: 4px; margin-right: 8px; transition: background 0.2s, color 0.2s;
    width: 100%;
    min-width: 180px;
    max-width: 320px;
    text-align: center;
    box-sizing: border-box;
}
.toggle-btn.active { background: #fb7299; color: #fff; border-color: #fb7299; }
.toggle-btn .fa.checked {
    display: none;
    margin-left: 10px;
    vertical-align: middle;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #67c23a;
    color: #fff;
    font-size: 16px;
    box-shadow: 0 1px 4px #67c23a22;
    text-align: center;
    line-height: 22px;
    transition: box-shadow 0.2s, background 0.2s;
    border: none;
    padding: 0;
    user-select: none;
    /* 让fa图标居中 */
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.toggle-btn.active .fa.checked {
    display: inline-flex;
}
.toggle-btn.active:hover .fa.checked {
    box-shadow: 0 2px 8px #67c23a55;
    background: #5cbf2a;
}
#vipDate {
    width: 100%;
    max-width: unset;
    display: inline-block;
    margin: 0;
    padding: 12px 14px;
    font-size: 16px;
    border: 1.5px solid #ddd;
    border-radius: 6px;
    background: #f7f8fa;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}
#vipDate:focus {
    border-color: #409eff;
    box-shadow: 0 0 0 2px #409eff22;
    background: #fff;
}
.big-input {
    width: 100%;
    max-width: unset;
    display: inline-block;
    margin: 0;
    padding: 12px 14px;
    font-size: 16px;
    border: 1.5px solid #ddd;
    border-radius: 6px;
    background: #f7f8fa;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.big-input:focus {
    border-color: #409eff;
    box-shadow: 0 0 0 2px #409eff22;
    background: #fff;
}
.exp-label {
    display: block;
    width: 120px;
    min-width: 90px;
    text-align: left;
    color: #222;
    font-size: 16px;
    font-family: 'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
    margin-bottom: 0;
    margin-right: 12px;
}
#daysResult {
    margin-top: 18px;
    color: #fb7299;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.coin-tip {
    margin: 2px 0 0 0;
    color: #888;
    font-size: 14px;
    line-height: 1.6;
}
