@font-face { font-family: "CozetteCrossedSevenVector"; src: url("fonts/CozetteCrossedSevenVector.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; } :root { --bg-1: #04070d; --bg-2: #0a1021; --card: rgba(8, 12, 22, 0.9); --border: rgba(111, 151, 172, 0.28); --accent: #8af6c9; --accent-2: #f5cc80; --text: #edf6ff; --muted: #89a1b5; --bad: #f18f8f; } * { box-sizing: border-box; font-family: "CozetteCrossedSevenVector", monospace; font-size: 13px; } body { margin: 0; min-height: 100vh; color: var(--text); background: var(--bg-1); overflow-x: hidden; text-transform: lowercase; } .orb { position: fixed; width: 320px; height: 320px; filter: blur(80px); opacity: 0.25; pointer-events: none; } .orb-left { top: -80px; left: -60px; background: #8fe8d0; } .orb-right { bottom: -120px; right: -40px; background: #ffcf70; } .layout { width: min(1140px, 94vw); margin: 2.2rem auto; display: grid; grid-template-columns: 1.6fr 1fr; gap: 1.2rem; } .panel { border: 1px solid var(--border); background: var(--card); backdrop-filter: blur(10px); box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45); } .panel-main { padding: 1.4rem; } .panel-side { padding: 1.2rem; } .game-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; } .head-actions { display: flex; gap: 0.5rem; } .label { color: var(--accent-2); text-transform: lowercase; letter-spacing: 0.14em; font-size: 0.72rem; margin: 0 0 0.2rem; } h1, h2 { margin: 0; font-family: "CozetteCrossedSevenVector", monospace; } h1 { font-size: clamp(1.35rem, 2vw, 2rem); } h2 { font-size: 1.16rem; } .btn { border: none; padding: 0.58rem 1.1rem; font-weight: 700; font-family: inherit; color: #052218; background: var(--accent); cursor: pointer; transition: transform 170ms ease, filter 170ms ease; } a.btn { text-decoration: none; display: inline-flex; align-items: center; } .btn-ghost { color: var(--text); background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(194, 228, 210, 0.2); } .btn-ghost:hover { filter: brightness(1.12); } .btn:hover { transform: translateY(-2px); filter: brightness(1.05); } .stats-grid { margin-top: 1.15rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.7rem; } .stat-card { border: 1px solid rgba(148, 196, 231, 0.24); padding: 0.66rem; background: rgba(5, 10, 18, 0.6); } .stat-card p { margin: 0; color: var(--muted); font-size: 0.8rem; } .stat-card strong { font-size: 1.42rem; display: inline-block; margin-top: 0.18rem; } .text-shell { margin-top: 1rem; min-height: 170px; max-height: 250px; overflow-y: auto; border: 1px solid rgba(145, 175, 218, 0.25); background: rgba(4, 8, 15, 0.72); padding: 0.95rem; line-height: 1.8; font-size: clamp(1rem, 1.5vw, 1.2rem); } .word { padding-right: 0.45rem; transition: color 100ms ease; } .word.current { color: #d6ff84; } .word.correct { color: #a8f7bf; } .word.incorrect { color: var(--bad); text-decoration: underline; text-decoration-thickness: 2px; } .input-wrap { margin-top: 0.95rem; display: block; } .input-wrap span { display: block; margin-bottom: 0.38rem; color: var(--muted); font-size: 0.84rem; } #typeInput { width: 100%; border: 1px solid rgba(145, 205, 218, 0.32); background: rgba(6, 14, 18, 0.86); color: var(--text); font-size: 1.04rem; padding: 0.8rem 0.85rem; outline: none; } #typeInput:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(159, 255, 169, 0.18); } .results { margin-top: 1rem; border: 1px solid rgba(158, 228, 164, 0.32); padding: 0.9rem; background: rgba(8, 16, 18, 0.62); animation: rise 240ms ease; } @keyframes rise { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } } .level-line { margin-top: 0.35rem; display: flex; justify-content: space-between; color: var(--muted); font-size: 0.88rem; } .xp-bar { margin-top: 0.5rem; height: 12px; width: 100%; overflow: hidden; background: rgba(255, 255, 255, 0.12); } #xpFill { height: 100%; width: 0; background: #87f5b0; transition: width 320ms ease; } .xp-gain { color: #baf1ff; font-size: 0.86rem; } .settings-grid { margin-top: 0.45rem; display: grid; gap: 0.45rem; } .settings-grid label { color: var(--muted); font-size: 0.8rem; } .settings-grid input, .settings-grid select { width: 100%; border: 1px solid rgba(145, 205, 218, 0.32); background: rgba(6, 14, 18, 0.86); color: var(--text); font-size: 0.92rem; padding: 0.56rem 0.62rem; outline: none; } .settings-grid input:focus, .settings-grid select:focus { border-color: var(--accent); } .setting-note { margin: 0.2rem 0; color: #b9f4ff; font-size: 0.82rem; } .perks { margin-top: 0.7rem; display: grid; gap: 0.55rem; } .perk { border: 1px solid rgba(130, 160, 188, 0.24); padding: 0.7rem; background: rgba(8, 14, 24, 0.66); } .perk h3 { margin: 0; font-size: 0.94rem; } .perk p { margin: 0.28rem 0 0; color: var(--muted); font-size: 0.82rem; } .perk-actions { margin-top: 0.6rem; display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; } .perk-cost { color: #c8eecf; font-size: 0.77rem; } .perk-buy { border: none; padding: 0.28rem 0.74rem; font-size: 0.75rem; font-weight: 700; font-family: inherit; cursor: pointer; background: #b6f8ba; color: #193027; } .perk-buy:disabled { cursor: not-allowed; opacity: 0.44; } .perk .status { margin-top: 0.44rem; display: inline-block; padding: 0.18rem 0.54rem; font-size: 0.72rem; letter-spacing: 0.03em; } .status.locked { background: rgba(255, 255, 255, 0.12); color: #c0ccc6; } .status.unlocked { background: rgba(167, 255, 141, 0.18); color: #b9ffad; } .status.active { background: rgba(255, 231, 118, 0.2); color: #ffe58f; } .modal { position: fixed; inset: 0; background: rgba(2, 4, 10, 0.72); display: grid; place-items: center; z-index: 20; padding: 1rem; } .modal-card { width: min(520px, 100%); border: 1px solid rgba(145, 175, 218, 0.25); background: rgba(7, 11, 20, 0.98); padding: 1rem; } .modal-head { display: flex; justify-content: space-between; align-items: center; gap: 0.6rem; margin-bottom: 0.5rem; } .modal-actions { margin-top: 0.7rem; display: flex; justify-content: flex-end; gap: 0.5rem; } [hidden] { display: none !important; } .stats-layout { width: min(1040px, 94vw); margin: 2rem auto; display: grid; gap: 1rem; } .stats-header { display: flex; justify-content: space-between; align-items: center; gap: 0.8rem; } .stats-grid-large { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.8rem; } .history-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.5rem; } .history-item { border: 1px solid rgba(130, 160, 188, 0.24); padding: 0.62rem; background: rgba(8, 14, 24, 0.66); font-size: 0.9rem; color: var(--text); } @media (max-width: 980px) { .layout { grid-template-columns: 1fr; } .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stats-grid-large { grid-template-columns: repeat(2, minmax(0, 1fr)); } .head-actions { flex-wrap: wrap; justify-content: flex-end; } }