body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #ffffff;
    --fsAddBuffer: 44px;
}

body > main {
    width: 190vmin !important;
    max-width: 900px !important;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    box-sizing: border-box;
}

body > #menu {
    width: 190vmin !important;
    max-width: 900px !important;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    box-sizing: border-box;
}

/* 菜单栏样式 */
body > #menu {
    width: 95vmin !important;
    max-width: 450px !important;
    margin: 0 auto !important;
    padding: 20px 0 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    box-sizing: border-box !important;
}

body > #menu > img#logo,
#menu > #logo,
#logo {
    min-width: 96px !important;
    min-height: 96px !important;
    width: 96px !important;
    height: 96px !important;
    display: block !important;
    object-fit: contain !important;
}

body > #menu > #chronometer {
    font-family: monospace !important;
    font-size: 32px !important;
    color: #2c3e50 !important;
    font-weight: 500 !important;
}

body > #menu > #info-icon {
    min-width: 96px !important;
    min-height: 96px !important;
    width: 96px !important;
    height: 96px !important;
    border-radius: 50% !important;
    border: none !important;
    background-color: #4CAF50 !important;
    color: white !important;
    font-size: 42px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background-color 0.2s !important;
    padding: 0 !important;
    margin: 0 !important;
}

body > #menu > #info-icon:hover {
    background-color: #45a049 !important;
}

main > #grid {
    width: 190vmin !important;
    max-width: 900px !important;
    aspect-ratio: 1;
    margin: 0 auto;
    box-sizing: border-box;
}

main > #control-buttons {
    width: 190vmin !important;
    max-width: 900px !important;
    margin: 40px auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 30px;
    box-sizing: border-box;
    background-color: #f8f9fa;
    border-radius: 24px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

main > .game-header {
    width: 190vmin !important;
    max-width: 900px !important;
    margin: 40px auto;
    padding: 40px;
    box-sizing: border-box;
    background-color: #f8f9fa;
    border-radius: 24px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

main > .contact,
main > .disclaimer {
    width: 190vmin !important;
    max-width: 900px !important;
    margin: 20px auto;
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
}

/* 按钮和输入样式 */
#control-buttons button,
#control-buttons select {
    width: 100%;
    height: 80px;
    padding: 0 20px;
    border: 2px solid #ddd;
    border-radius: 12px;
    font-size: 32px;
    cursor: pointer;
    box-sizing: border-box;
}

#control-buttons button {
    background-color: #4CAF50;
    color: white;
    border: none;
    font-weight: 500;
}

#control-buttons select {
    background-color: white;
}

/* 标记选项 */
#control-buttons label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

[id='queens-game-com_incontent_below_buttons'] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    min-height: calc(var(--height) + var(--fsAddBuffer));
    width: 100%;
}

[id='queens-game-com_incontent_below_buttons'] {
    --height: 800px;
}

@media only screen and (min-width: 768px) {
    [id='queens-game-com_incontent_below_buttons'] {
        --height: 560px;
    }
}

/* Strategy Guide Styles */
.strategy-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.strategy-item, .pitfall-item, .case-study, .challenge-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.strategy-item h3, .pitfall-item h3, .case-study h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.strategy-item ul, .pitfall-item ul {
    list-style-type: disc;
    margin-left: 1.5rem;
}

.game-analysis {
    background: #fff;
    padding: 1.5rem;
    border-radius: 6px;
    margin-top: 1rem;
}

.game-analysis h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.challenge-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.challenge {
    background: #fff;
    padding: 1.5rem;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.try-challenge {
    display: inline-block;
    background: #007bff;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    margin-top: 1rem;
    transition: background-color 0.3s;
}

.try-challenge:hover {
    background: #0056b3;
}

.conclusion {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.play-button {
    display: inline-block;
    background: #28a745;
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    margin-top: 1rem;
    font-size: 1.2rem;
    transition: background-color 0.3s;
}

.play-button:hover {
    background: #218838;
}

.article-meta {
    color: #6c757d;
    margin-bottom: 2rem;
}

.article-meta time, .article-meta .reading-time {
    margin-right: 1rem;
}
