/* Prevent zooming on input elements */
input, textarea, select {
    font-size: 16px; /* Prevent iOS zooming */
    touch-action: manipulation;
}

html, body {
    touch-action: manipulation; /* Disables double-tap zoom */
    -webkit-text-size-adjust: 100%; /* Prevents text size adjustment */
    height: 100%;
    overflow: hidden;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Microsoft JhengHei', Arial, sans-serif;
}

body {
    background-color: #f0f0f0;
    color: #333;
}

#game-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
	height: 750px;
}

.screen {
    display: none;
	top: 0;
    left: 0;
    width: 100%;
	overflow-y: hidden; /* Changed from 'auto' to 'hidden' to prevent scrolling */
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.screen.active {
    display: block;
}
h1, h2, h3 {
    color: #fbdd1e;
    margin-bottom: 15px;
    text-align: center;
}
.wei-city h1, .wei-city h2, .wei-city h3, .wei-city h4, .wei-city p {
    color: #ffffff;
}



button {
    background-color: #8B0000;
    color: white;
    border: none;
    padding: 10px 15px;
    margin: 5px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #A52A2A;
}
