body {
    background-color: #E1E4F2;
    color: #000000;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 11px;
    margin: 0;
    padding: 20px 0;
}

.hidden {
    display: none !important;
}

.app-container {
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid #3E5C7E;
    background-color: #F5F5FF;
}

.app-header {
    background: #3E5C7E;
    padding: 15px;
    color: #FFFFFF;
}

.logo {
    font-size: 20px;
    font-weight: bold;
    letter-spacing: -1px;
    text-align: center;
}

.nav-bar {
    margin-top: 10px;
    font-size: 10px;
    text-align: center;
}

.nav-bar a {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: bold;
}

.nav-bar a:hover {
    text-decoration: underline;
}

.content-box {
    margin: 10px;
    border: 1px solid #A5CAE4;
}

.box-header {
    background: #7D94B2;
    background: linear-gradient(to bottom, #7D94B2 0%, #4E6A8E 100%);
    color: #FFFFFF;
    padding: 5px 10px;
    font-weight: bold;
    font-size: 12px;
}

.box-body {
    background-color: #F1F1F1;
    padding: 15px;
}

.game-center {
    text-align: center;
}

.app-progress-label {
    margin-bottom: 5px;
    font-weight: bold;
}

.app-progress-track {
    height: 18px;
    background: #FFFFFF;
    border: 1px solid #666;
    margin-bottom: 20px;
    position: relative;
}

#progress-fill {
    height: 100%;
    width: 0%;
    background: #5C7099;
    background: linear-gradient(to bottom, #8A9AAF 0%, #5C7099 100%);
}

.image-container {
    background: #fff;
    border: 4px solid #FFFFFF;
    outline: 1px solid #A5CAE4;
    display: inline-block;
    max-width: 100%;
    height: 200px;
    overflow: hidden;
}

.image-container img {
    height: 100%;
}

.char-name {
    margin: 15px 0;
    color: #3E5C7E;
}

.app-button {
    background: #E1E4F2;
    border: 1px solid #3E5C7E;
    font-family: Verdana;
    font-size: 11px;
    padding: 4px 12px;
    cursor: pointer;
    color: #000;
}

.app-button:hover {
    background: #F5F5FF;
}

.button-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.btn-smash {
    background-color: #D4F4D4;
}

.btn-hard {
    background-color: #D4D4F4;
}

.btn-pass {
    background-color: #F4D4D4;
}

.btn-hardpass {
    background-color: #A04040;
}

.setting-row {
    margin-bottom: 15px;
    border-bottom: 1px dotted #ccc;
    padding-bottom: 10px;
}

.action-row {
    text-align: center;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.res-box {
    background: white;
    border: 1px solid #ccc;
    padding: 5px;
}

.icon-wall {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
    margin-top: 5px;
}

.thumb-wrap {
    width: 50px;
    height: 50px;
    border: 1px solid #3E5C7E;
    overflow: hidden;
    display: flex;
    justify-content: center;
    background: #fff;
}

.thumb-wrap img {
    flex-shrink: 0;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
}

.mini {
    font-size: 9px;
    padding: 1px 4px;
    float: right;
}

.app-footer {
    padding: 10px;
    text-align: center;
    font-size: 9px;
    color: #666;
}

@media screen and (max-width: 600px) {
    .results-grid {
        grid-template-columns: 1fr; 
    }
    
    .thumb-wrap {
        width: 40px; 
        height: 40px;
    }
}
