@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;700&family=IBM+Plex+Mono:wght@400;600&family=Work+Sans:wght@400;500&display=swap');

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    background: #161A22;
    color: #F2F4F8;
    font-family: 'Work Sans', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

body::before,
body::after {
    content: '';
    position: fixed;
    top: 0;
    width: 88px;
    height: 100vh;
    background: rgb(16, 18, 22);
    opacity: 0.5;
}

body::before {
    left: 0;
}

body::after {
    right: 0;
}

.screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    padding: 24px;
    width: 100%;
    max-width: 560px;
}

.logo {
    max-width: 250px;
    width: 100%;
    height: auto;
    margin-bottom: -10px;
}

.area {
    width: 100%;
    height: 280px;
    background: #D97214;
    border: 10px solid #34373d;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
    outline: none;
    box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    inset 0 12px 30px rgba(32, 30, 30, 0.25);
}

.area.early {
    background: #6b2626;
}

.message {
    font-family: 'Work Sans', sans-serif;
    font-weight: 550;
    font-size: 21px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    padding: 0 24px;
}

.result {
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 600;
    font-size: 31px;
    color: #f3cfcd;
    margin: 0;
    min-height: 20px;
}

.instructions {
    font-size: 14px;
    color: #9aa6b2;
    text-align: center;
    margin: 15px 0 8px 0;
    
}

.history {
    list-style: none;
    display: flex;
    flex-wrap: wrap ;
    gap: 8px ;
    justify-content: center;
    padding: 0;
    margin-top: 16px;
    width: 100%;
    opacity: 0.88;
}

.history li {
    font-family: 'IBM Plex Mono', sans-serif;
    font-size: 13px;
    color: #eef1f5;
    background: #202633;
    border-radius: 6px;
    padding: 6px 10px;
    font-weight: 550;
}

.start-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.start-text {
    font-size: 16px;
    color: #9AA6B2;
    margin: 0;
}

.start-button {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #161A22;
    background: #F58A1F;
    border: none;
    border-radius: 10px;
    padding: 12px 32px;
    cursor: pointer;
}

.start-button:hover {
    background: #d97214;
}

.button-row {
    display: flex;
    gap: 12px;
}

.settings-button {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #161A22;
    background: #F58A1F;
    border: none;
    border-radius: 10px;
    padding: 12px 32px;
    cursor: pointer;
}

.hidden {
    display: none;
}

