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

:root { --ink: #172022; --paper: #f4f0e8; --orange: #f15b3a; --blue: #a7d9d1; --line: #d7d0c2; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: var(--paper); color: var(--ink); font-family: 'Space Grotesk', sans-serif; }
.shell { width: min(920px, calc(100% - 40px)); margin: auto; padding: 8vh 0 32px; }
.intro { max-width: 650px; }
.eyebrow { margin: 0 0 16px; font: 500 11px 'DM Mono', monospace; letter-spacing: .13em; color: #6c746f; }
h1 { margin: 0; font-size: clamp(3rem, 8vw, 6.7rem); line-height: .9; letter-spacing: -.075em; }
h1 em { color: var(--orange); font-style: normal; }
.subline { max-width: 470px; margin: 28px 0 42px; color: #64706d; font-size: 17px; line-height: 1.45; }
.panel, .game { border-top: 1px solid var(--ink); padding-top: 22px; max-width: 570px; }
label { display: block; margin-bottom: 10px; font: 500 12px 'DM Mono', monospace; text-transform: uppercase; }
.join-row { display: flex; gap: 10px; }
input { min-width: 0; flex: 1; border: 1px solid var(--ink); border-radius: 0; background: transparent; padding: 16px; font: 500 18px 'DM Mono', monospace; text-transform: uppercase; }
button { border: 0; cursor: pointer; background: var(--ink); color: var(--paper); padding: 0 28px; font: 700 14px 'Space Grotesk'; transition: transform .15s, background .15s; }
button:hover { transform: translateY(-2px); background: var(--orange); }
.create-button { margin-top: 14px; padding: 0; background: none; color: var(--ink); font-size: 14px; }
.create-button:hover { background: none; color: var(--orange); }
.create-button span { margin-left: 8px; font-size: 20px; }
.message { min-height: 20px; color: #6c746f; font-size: 13px; }
.hidden { display: none !important; }
.game { max-width: 620px; }
.game-top { display: flex; justify-content: space-between; align-items: end; margin-bottom: 28px; }
.game-top .eyebrow { margin-bottom: 5px; }
.game-top strong { display: block; font: 500 22px 'DM Mono', monospace; letter-spacing: .08em; }
.badge { padding: 8px 10px; background: var(--blue); font: 500 11px 'DM Mono', monospace; }
.status { margin-bottom: 14px; font-size: 16px; }
.board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: min(100%, 510px); }
.cell { aspect-ratio: 1; padding: 0; border: 1px solid var(--ink); background: transparent; color: var(--ink); font: 500 clamp(45px, 11vw, 85px) 'Space Grotesk'; line-height: 1; }
.cell:hover { background: var(--blue); color: var(--ink); }
.cell.x { color: var(--orange); }
.cell.o { color: #328b88; }
.again { margin-top: 18px; height: 44px; }
footer { margin-top: 70px; color: #90958d; font: 11px 'DM Mono', monospace; }
@media (max-width: 560px) { .shell { width: calc(100% - 28px); padding-top: 42px; } .join-row { flex-wrap: wrap; } input { flex-basis: 100%; } .join-row button { height: 48px; width: 100%; } .subline { margin-bottom: 32px; } }
/* ajuste do professor */
/* segunda correcao do professor */
