body {
    margin: 0;
    font-family: 'Courier New', Courier, monospace;
    background-color: #ffffff;
    color: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
    border: 1px solid #000000;
}

.game-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #000000;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.logo {
    font-weight: bold;
}

.view {
    display: none;
    flex-direction: column;
}

.view.active-view {
    display: flex;
}

.menu-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.btn {
    padding: 12px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    border: 1px solid #000000;
    background: transparent;
}

.btn-primary {
    background-color: #000000;
    color: #ffffff;
}

.btn:disabled {
    background-color: #e5e5e5;
    color: #7f7f7f;
    border-color: #e5e5e5;
    cursor: not-allowed;
}

.stats-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.target-container {
    text-align: center;
    margin-bottom: 20px;
}

#target-value {
    font-size: 50px;
    font-weight: bold;
}

.expression-box {
    border: 1px dashed #000000;
    padding: 15px;
    text-align: center;
    margin-bottom: 20px;
}

.expr-text {
    font-size: 20px;
    font-weight: bold;
}

.tile-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 5px;
    margin-bottom: 10px;
}

.tile {
    padding: 12px 2px;
    border: 1px solid #000000;
    background: transparent;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
}

.tile.used {
    background-color: #e5e5e5;
    color: #7f7f7f;
    cursor: not-allowed;
}

.actions-row {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr;
    gap: 5px;
}

table {
    width: 100%;
    margin: 20px 0;
}

th, td {
    border-bottom: 1px solid #000000;
    padding: 8px;
    text-align: left;
}