/* Review frame around the screens (not part of the game UI). */
@font-face { font-family: Fredoka; font-weight: 500; src: url(assets/fonts/Fredoka_500Medium.ttf); }
@font-face { font-family: Fredoka; font-weight: 600; src: url(assets/fonts/Fredoka_600SemiBold.ttf); }
@font-face { font-family: Fredoka; font-weight: 700; src: url(assets/fonts/Fredoka_700Bold.ttf); }
@font-face { font-family: Lilita; src: url(assets/fonts/LilitaOne_400Regular.ttf); }
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: #2b1b0f; color: #f6e6cc; font-family: Fredoka, system-ui, sans-serif; font-weight: 500; }
::selection { background: #ffd24a; color: #4a2a14; }
a { color: #ffd24a; text-underline-offset: 3px; }
body { padding: 20px 32px 64px; max-width: 1920px; margin: 0 auto; }
.top { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.top .crumb { font-weight: 600; font-size: 14px; text-decoration: none; color: #e9c99a; }
.top h1 { font-family: Lilita, sans-serif; font-weight: 400; font-size: 30px; color: #fff3dc; letter-spacing: 0.01em; }
.top nav { margin-left: auto; display: flex; gap: 8px; }
.top nav a { font-size: 14px; font-weight: 600; text-decoration: none; padding: 8px 14px; border-radius: 10px; background: #3d2716; color: #f6e6cc; }
.top nav a:hover { background: #4d3220; }
.state { margin: 8px 0 34px; }
.state h2 { font-size: 16px; font-weight: 700; color: #ffd24a; margin-bottom: 10px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pair { display: flex; gap: 32px; align-items: flex-start; }
.dev { flex: none; }
.dev .cap { display: flex; justify-content: space-between; font-size: 12px; color: #c9ab82; margin-bottom: 6px; font-weight: 600; }
.dev .cap a { color: #c9ab82; }
.frame { position: relative; overflow: hidden; border-radius: 14px; background: #000; box-shadow: 0 18px 40px -18px #000; }
.frame iframe { position: absolute; left: 0; top: 0; border: 0; transform-origin: 0 0; }
.phone .frame { border-radius: 22px; }
.steps { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.steps button { font: inherit; font-size: 13px; font-weight: 600; border: 0; cursor: pointer; padding: 7px 12px; border-radius: 9px; background: #3d2716; color: #f6e6cc; }
.steps button.on { background: #ffd24a; color: #4a2a14; }
.steps button.play { background: #5aa83f; color: #fff; }
.note { font-size: 14px; color: #e2c9a2; max-width: 980px; line-height: 1.5; margin: 6px 0 14px; }
.kmm { margin-top: 10px; max-width: 1100px; }
.kmm h2 { font-family: Lilita, sans-serif; font-weight: 400; font-size: 22px; color: #fff3dc; margin-bottom: 10px; }
table { border-collapse: collapse; width: 100%; font-size: 14px; }
th, td { text-align: left; padding: 8px 12px; border-bottom: 1px solid #45301e; vertical-align: top; }
th { color: #c9ab82; font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; }
td:first-child { color: #fff3dc; font-weight: 600; width: 34%; }
td .k { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 6px; margin-right: 6px; }
.k.keep { background: #2f5d22; color: #d9f2c8; } .k.move { background: #2a4e8a; color: #d6e5ff; } .k.merge { background: #5c2f86; color: #ecd8ff; } .k.new { background: #8a5a10; color: #ffe9b8; }
@media (max-width: 1000px) { .pair { flex-direction: column; } body { padding: 16px; } }
