* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f5f5f5;
    color: #333;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 44px;
    background-color: #000;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    font-size: 14px;
}

.status {
    display: flex;
    align-items: center;
    gap: 8px;
}

/*.main-content {
    padding-top: 44px;
}*/

.title-bar {
    background-color: #000;
    color: white;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.back {
    font-size: 24px;
    font-weight: lighter;
}

.site-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 16px;
}

.site-url {
    font-size: 12px;
    color: #999;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 35px;
}

.more {
    font-size: 20px;
}

.date {
    text-align: center;
    padding: 15px;
    color: #666;
    font-size: 14px;
    position: relative;
    background: white;
}

.date::before,
.date::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 25%;
    height: 1px;
    background-color: #ececec;
}

.date::before {
    left: 15px;
}

.date::after {
    right: 15px;
}

.number-list {
    background-color: white;
}

.number-item {
    padding: 15px;
    border-bottom: 1px solid #ececec;
    position: relative;
}

.label {
    color: #999;
    font-size: 14px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.label::after {
    content: "-";
    color: #999;
    position: absolute;
    right: 15px;
    top: 15px;
}

.numbers {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 1px;
}

/* 适配刘海屏 */
@supports (padding-top: env(safe-area-inset-top)) {
    .header {
        padding-top: env(safe-area-inset-top);
        height: calc(44px + env(safe-area-inset-top));
    }
    
    /*.main-content {
        padding-top: calc(44px + env(safe-area-inset-top));
    }*/
}

/* 适配不同设备像素比 */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
    .number-item {
        border-bottom-width: 0.5px;
    }
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    width: 80%;
    max-width: 300px;
}

.modal h3 {
    margin-bottom: 20px;
    text-align: center;
    font-size: 18px;
}

.input-group {
    margin-bottom: 15px;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
    color: #666;
}

.input-group input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.modal-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

.modal-buttons button {
    padding: 8px 20px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
}

.modal-buttons button:first-child {
    background-color: #f5f5f5;
    color: #666;
}

.modal-buttons button:last-child {
    background-color: #000;
    color: white;
} 