* { box-sizing: border-box; }
body { background: #ffd84a; color: #1b2b7a; font: 500 14px/1.4 'Recursive', ui-monospace, monospace; }
:lang(ko) body { font-family: system-ui, -apple-system, 'Apple SD Gothic Neo', sans-serif; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
.layout { height: 100vh; height: 100svh; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 18px; padding: clamp(16px, 3.4vw, 40px); }
header { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; }
.logo { font-size: 18px; line-height: 1.9; text-decoration: none; white-space: nowrap; }
.motto { margin: 0; }
nav { display: flex; gap: 18px; margin-left: auto; }
.lol-stage { min-height: 0; border-radius: 18px; }
footer { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; }
.now { flex: 1 1 220px; }
.now-title { margin: 0; font-weight: 650; }
.progress { height: 3px; margin-top: 10px; background: rgba(27,43,122,.22); border-radius: 2px; overflow: hidden; }
.progress span { display: block; height: 100%; background: #1b2b7a; transform: scaleX(0); transform-origin: 0 50%; }
.controls, .langs { display: flex; flex-wrap: wrap; gap: 8px; }
button { min-height: 36px; padding: 6px 14px; border: 1.5px solid currentColor; border-radius: 999px; background: transparent; }
button:hover, button[aria-pressed="true"] { color: #ffd84a; background: #1b2b7a; border-color: #1b2b7a; }
.error { flex-basis: 100%; margin: 0; }
@media (max-width: 600px) {
  .layout { gap: 12px; }
  .motto { display: none; }
  .logo { font-size: 15px; }
  footer { gap: 10px; }
  .now { flex-basis: 100%; }
  .controls { gap: 6px; }
  button { padding: 5px 10px; min-height: 32px; font-size: 13px; }
}
