* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", sans-serif;
}
body {
    background-color: #f5f5f5;
    padding-bottom: 60px;
    color: #333;
}
.header {
    background: #ffffff;
    padding: 18px 16px;
    text-align: center;
    box-shadow: 0 1px 6px rgba(0,0,0,0.04);
}
.header h1 {
    font-size: 20px;
    color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 500;
}
.header p {
    font-size: 14px;
    color: #07c160;
    margin-top: 6px;
}
.city-card {
    background: #fff;
    margin: 12px 16px;
    padding: 14px 16px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 1px 5px rgba(0,0,0,0.04);
    position:relative;
}
.city-left {
    font-size: 15px;
    color: #555;
}
.city-name {
    color: #ee3333;
    font-weight: 600;
    margin-left: 4px;
}
.switch-city {
    font-size: 14px;
    color: #333;
    cursor: pointer;
    user-select: none;
}
.switch-city::after {
    content: " ▾";
    font-size: 12px;
}
#citySelect {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    width: 90px;
    height: 36px;
    cursor: pointer;
}
.input-card {
    background: #fff;
    margin: 0 16px;
    padding: 16px 16px 20px;
    border-radius: 12px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.04);
}
.tip-desc {
    text-align: center;
    font-size: 13px;
    color: #777;
    margin-bottom: 18px;
}
.box-row {
    display:flex;
    gap:14px;
    align-items:center;
    justify-content:center;
}
.num-box {
    width: 70px;
    height: 76px;
    border: 1px solid #e2e2e2;
    border-radius: 10px;
    text-align:center;
    font-size: 32px;
    font-weight: 500;
    background: #fff;
}
.num-box:focus {
    border-color: #07c160;
    outline: none;
}
.result-wrap {
    margin: 12px 16px;
}
.warn-bar {
    background: #ffffff;
    border: 2px solid #ee3333;
    color: #ee3333;
    padding:14px 16px;
    border-radius:10px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    font-size:17px;
    font-weight:600;
    margin-bottom:12px;
}
.warn-icon {
    font-size:20px;
}
.match-title{
    font-size: 16px;
    color:#444;
    margin-bottom: 10px;
    display:flex;
    align-items:center;
    gap:6px;
}
.item-card {
    background:#fff;
    border-radius:12px;
    padding:16px;
    margin-bottom:10px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.04);
}
.tail-box{
    display: inline-block;
    background-color: #ffe9e9;
    color:#ee3333;
    font-weight:600;
    font-size:17px;
    padding:3px 8px;
    border-radius:6px;
    margin-right:8px;
}
.info-line{
    font-size:15px;
    margin-bottom:10px;
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:8px;
}
.gender-tag,
.area-tag {
    display:inline-flex;
    align-items:center;
    gap:4px;
    padding:3px 8px;
    border-radius:6px;
    font-size:14px;
    font-weight:500;
}
.gender-male {
    background-color: #e8f3ff;
    color: #1976d2;
}
.gender-female {
    background-color: #ffe9e9;
    color: #ee3333;
}
.area-tag {
    background-color: #f2f2f2;
    color: #555;
}
.area-icon {
    width:12px;
    height:12px;
    fill:#888;
}
.source-tip{
    background:#f2f2f2;
    padding:7px 10px;
    border-radius:8px;
    font-size:14px;
    color:#666;
}
.empty-tip{
    background:#fff;
    padding:18px;
    border-radius:12px;
    color:#333;
    line-height:1.75;
    box-shadow: 0 1px 5px rgba(0,0,0,0.04);
    text-align:center;
    font-size:16px;
    color:#07c160;
}
.feature-tip{
    background:#fff8e8;
    border-left:4px solid #ff9800;
    padding:14px 16px;
    border-radius:10px;
    margin-top:10px;
    font-size:14px;
    line-height:1.7;
    color:#333;
}
.feature-tip h4{
    color:#d46b08;
    margin-bottom:6px;
    font-size:15px;
}
.operate-tip{
    background:#ffe9e9;
    border-left:4px solid #ee3333;
    padding:14px 16px;
    border-radius:10px;
    margin-top:10px;
    font-size:14px;
    line-height:1.7;
    color:#333;
}
.operate-tip h4{
    color:#ee3333;
    margin-bottom:6px;
    font-size:15px;
}
.keyboard{
    background:#fff;
    margin:12px 16px;
    padding:16px;
    border-radius:12px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.04);
    transition: all 0.25s ease;
}
.key-row{
    display:flex;
    gap:10px;
    margin-bottom:10px;
}
.key-btn{
    flex:1;
    height:52px;
    border: none;
    border-radius:10px;
    background:#f7f7f7;
    font-size:20px;
    color:#222;
}
.key-btn:active{
    background:#e8e8e8;
}
.key-btn.del{
    background:#f0f0f0;
    color:#666;
}
.hide-keyboard{
    display: none;
}
.bottom-nav{
    position:fixed;
    bottom:0;
    left:0;
    right:0;
    background:#fff;
    display:flex;
    border-top:1px solid #eee;
}
.bottom-nav a{
    flex:1;
    text-align:center;
    padding:12px 0;
    text-decoration:none;
    font-size:15px;
}
.nav-active{
    color:#07c160;
}
.nav-normal{
    color:#666;
}
.form-card{background:#fff;margin:12px 16px;border-radius:12px;padding:16px;}
.form-item{margin-bottom:16px;}
.form-item label{display:block;margin-bottom:6px;color:#333;font-size:15px;}
.form-item input, .form-item select{width:100%;border:1px solid #ddd;padding:12px;border-radius:8px;font-size:16px;box-sizing:border-box;}
.submit-btn{width:100%;background:#07c160;color:#fff;border:none;padding:14px;border-radius:8px;font-size:17px;}
.tip-text{margin-top:12px;text-align:center;color:#666;font-size:14px;}
