:root { color-scheme: light; font-family: Georgia, 'Times New Roman', serif; color: #171512; background: #e4dfd2; }
* { box-sizing: border-box; } body { margin: 0; min-width: 320px; }
.newspaper { width: min(100%, 68rem); min-height: 100vh; margin: auto; padding: 1.4rem clamp(1rem, 5vw, 4rem) 3rem; background: #f9f4e8; box-shadow: 0 0 2.5rem #1d1b1524; }
.masthead { padding: .75rem 0 1.15rem; border-top: 5px solid #171512; border-bottom: 1px solid #171512; text-align: center; }.masthead p { margin: 0; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }.masthead h1 { margin: .1rem 0; font-size: clamp(2.8rem, 10vw, 5.4rem); line-height: .94; letter-spacing: -.07em; }
.game { max-width: 41rem; margin: 2rem auto 0; }.game-heading { display: flex; justify-content: space-between; gap: 1.5rem; padding-bottom: .8rem; border-bottom: 3px double #171512; }.kicker { margin: 0; font-weight: bold; letter-spacing: .12em; text-transform: uppercase; font-size: .75rem; }.game h2 { margin: .1rem 0 0; font-size: 2rem; }.rules { max-width: 15rem; margin: 0; font-size: .92rem; line-height: 1.3; }
.start-bar { display: flex; align-items: center; justify-content: center; gap: .65rem; padding: 1.2rem 0; font-weight: bold; }.start-bar select, button { font: inherit; }.start-bar select { padding: .45rem .6rem; border: 1px solid #171512; background: #fffdf6; } button { padding: .52rem .9rem; border: 1px solid #171512; background: #171512; color: #fffdf6; cursor: pointer; font-weight: bold; } button:hover { background: #5b1717; } button.secondary { color: #171512; background: transparent; } button.secondary:hover { color: #fffdf6; background: #171512; }
.board { display: grid; grid-template-columns: repeat(9, 1fr); width: min(100%, 33rem); margin: auto; border: 3px solid #171512; background: #171512; gap: 1px; }.board input { width: 100%; aspect-ratio: 1; min-width: 0; border: 0; border-radius: 0; background: #fffdf6; color: #2d2924; font: bold clamp(1rem, 5vw, 1.65rem)/1 Georgia, serif; text-align: center; outline-offset: -3px; }.board input:focus { outline: 3px solid #aa751d; z-index: 1; }.board input.given { background: #e9e3d5; }.board input:nth-child(3n) { border-right: 2px solid #171512; }.board input:nth-child(9n) { border-right: 0; }.board input:nth-child(n+19):nth-child(-n+27), .board input:nth-child(n+46):nth-child(-n+54) { border-bottom: 2px solid #171512; }.board input.wrong { background: #f7d8d1; }.board input.empty { background: #fff0bd; }.board input.revealed { color: #9a2f26; background: #f8e8de; }.board input.hint { color: #9a2f26; background: #fff0bd; }
.message { min-height: 1.5rem; margin: 1rem 0; text-align: center; }.message.success { color: #23623c; }.message.warning { color: #8d3824; }.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .55rem; } @media (max-width: 480px) { .game-heading { display: block; }.rules { max-width: none; margin-top: .6rem; }.start-bar { flex-wrap: wrap; }.start-bar label { width: 100%; text-align: center; } }
