
body {
    font-family: sans-serif;
    padding: 20px;
    background: #fdfdfd;
    color: #333;
}
.line {
    margin-bottom: 1em;
}
.time {
    font-size: 0.8em;
    color: #666;
}
.jp, .cn, .en {
    display: inline-block;
    margin-right: 10px;
}
.hidden {
    display: none;
}
button {
    margin-left: 5px;
    padding: 2px 6px;
    font-size: 0.9em;
}
.global-lang-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.global-lang-buttons button {
    padding: 4px 10px;
    font-size: 13px;
    border-radius: 4px;
    background: #f2f2f2;
    border: 1px solid #ccc;
    cursor: pointer;
    transition: background 0.2s;
}


.toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.85);
    color: #fff;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    z-index: 2000;
}
.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #ffffffee;
    z-index: 1000;
    padding: 12px 24px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    text-align: left;
    box-sizing: border-box;
}
body {
    margin: 0;
    padding-top: 150px;  /* 根据 .fixed-header 实际高度调整 */
}
.global-lang-buttons button:hover {
    background: #e0e0e0;
}
@media (max-width: 600px) {
    .global-lang-buttons {
        justify-content: center;
    }

    .global-lang-buttons button {
        font-size: 12px;
        padding: 6px 12px;
        flex: 1 1 30%;
        min-width: 80px;
    }
}