* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
    transition: background-color 0.3s, color 0.3s;
}

body.dark {
    background-color: #1a1a2e;
    color: #e0e0e0;
}

.h {
    background: #0080ff;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.dark .h {
    background: #0060c0;
}

.b {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.l {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 1px;
}

.c {
    display: flex;
    align-items: center;
    gap: 15px;
}

.d {
    position: relative;
}

#s {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

#s:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.n {
    display: none;
    position: absolute;
    right: 0;
    top: 50px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    min-width: 150px;
    overflow: hidden;
    z-index: 100;
}

.dark .n {
    background: #2d3047;
    color: #e0e0e0;
}

.n a {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    transition: all 0.2s;
}

.dark .n a {
    color: #e0e0e0;
}

.n a:hover {
    background: #f0f0f0;
}

.dark .n a:hover {
    background: #3a3d5c;
}

#t {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

#t:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.k {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
}

.p {
    font-size: 18px;
    margin-bottom: 20px;
}

.v {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.table-row {
    display: grid;
    grid-template-columns: 120px 1fr 1fr;
    gap: 20px;
    background: white;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    align-items: center;
}

@media (max-width: 600px) {
    .table-row {
        grid-template-columns: 100px 1fr 1fr;
        gap: 10px;
        padding: 10px;
    }
}

.dark .table-row {
    background: #2d3047;
}

.row-label {
    font-weight: 600;
    color: #0088ff;
    font-size: 16px;
}

@media (max-width: 600px) {
    .row-label {
        font-size: 14px;
    }
}

.input-group {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    min-width: 0; /* 防止溢出 */
}

.input-group input {
    flex: 1 1 40px;
    min-width: 30px;
    padding: 8px 5px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    background: #fff;
    color: #333;
    transition: border 0.2s;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

@media (max-width: 600px) {
    .input-group input {
        font-size: 12px;
        padding: 6px 3px;
    }
}

.dark .input-group input {
    background: #3a3d5c;
    border-color: #555;
    color: #e0e0e0;
}

.input-group input:focus {
    outline: none;
    border-color: #0088ff;
}

.input-group input::placeholder {
    color: #aaa;
    font-style: italic;
}

.action-btn {
    background: #0088ff;
    color: white;
    border: none;
    padding: 12px 40px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(0,136,255,0.3);
}

.action-btn:hover {
    background: #0060c0;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,136,255,0.4);
}

.dark .action-btn {
    background: #0060c0;
}

.dark .action-btn:hover {
    background: #004090;
}

.footer {
    max-width: 1200px;
    margin: 40px auto 20px;
    padding: 20px;
    text-align: center;
    color: #666;
    border-top: 1px solid #eaeaea;
}

.dark .footer {
    color: #aaa;
    border-top: 1px solid #3a3d5c;
}

.notice-content {
    font-size: 14px;
    line-height: 1.6;
}

.notice-content p {
    margin-bottom: 10px;
}

.notice-content a {
    color: #0088ff;
    text-decoration: none;
    transition: color 0.3s;
}

.notice-content a:hover {
    color: #0060c0;
    text-decoration: underline;
}

.dark .notice-content a {
    color: #4da6ff;
}