/*! © 2026 Dr. Oluwaseun Ogunmola · Dr. Ogunmola GameLabs · All rights reserved. Free to play at https://gamelabs.ogunmola.com.ng · Not licensed for re-hosting, copying or reuse. Terms: https://gamelabs.ogunmola.com.ng/terms/ */
body { --accent: #FFC94D; --accent-deep: #D99A00; --bg1: #DDF0E3; --bg2: #FFFDF8; }
.kk-mascot svg { border-radius: 50%; }

/* Gentle snowfall behind everything (off when reduced motion is asked for) */
body::before { content: ""; position: fixed; inset: -100px 0 0; z-index: -1; pointer-events: none; opacity: .75;
  background-image: radial-gradient(circle, #fff 0 2px, transparent 2.5px), radial-gradient(circle, #fff 0 1.5px, transparent 2px);
  background-size: 120px 120px, 70px 70px; background-position: 0 0, 35px 50px; animation: ea-snow 14s linear infinite; }
@keyframes ea-snow { to { transform: translateY(100px); } }
@media (prefers-reduced-motion: reduce) { body::before { animation: none; } }
.kk-level, .kk-mode { position: relative; }

/* Pictures and rows */
.ea-seq { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 6px auto 4px; max-width: 560px; }
.ea-chip { min-width: 48px; padding: 8px 10px; border-radius: 14px; background: #fff; border: 2px solid #CBE4D3; font-family: var(--display); font-weight: 700; font-size: clamp(1.1rem, 4.4vw, 1.45rem); text-align: center; box-shadow: 0 3px 0 #D9EADF; }
.ea-chip.q { background: #FFF1F2; border-color: #F3B0B8; color: var(--bad); }
.ea-seq.big .ea-chip { font-size: clamp(1.7rem, 8.5vw, 2.4rem); padding: 4px 6px; min-width: 0; }
.ea-emoji { font-size: clamp(2.1rem, 10vw, 2.9rem); line-height: 1.1; }
.ea-big { font-size: clamp(2.4rem, 11vw, 3.2rem); line-height: 1.1; margin: 0; }
.ea-digit { font-family: var(--display); font-size: clamp(2.1rem, 10vw, 2.9rem); line-height: 1; }
.ea-mini { font-size: clamp(1.3rem, 6vw, 1.7rem); letter-spacing: 4px; }
.ea-group { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 2px; max-width: 200px; font-size: clamp(1.6rem, 7vw, 2.1rem); line-height: 1.15; }
.ea-group.small { font-size: clamp(1.1rem, 5vw, 1.4rem); max-width: 260px; }
.ea-group.sack { max-width: 130px; }
.ea-tray { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; background: #fff; border: 2px dashed #CBE4D3; border-radius: 20px; padding: 10px 14px; max-width: 420px; margin: 0 auto; }
.ea-plus { font-family: var(--display); font-size: 2rem; color: var(--good); }
.ea-hop { font-size: clamp(1.6rem, 7vw, 2.1rem); display: inline-block; animation: ea-hop 1s ease-in-out infinite; }
@keyframes ea-hop { 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .ea-hop { animation: none; } }
.ea-one { display: flex; justify-content: center; }
.ea-one .ea-orn { width: clamp(76px, 22vw, 100px); height: auto; }
.ea-orn { width: clamp(44px, 12vw, 56px); height: auto; display: block; }
.ea-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; max-width: 360px; margin: 0 auto; background: #fff; border-radius: 18px; padding: 10px; border: 2px solid #CBE4D3; }
.ea-grid .ea-orn { width: 100%; }
.ea-gift { display: inline-block; line-height: 1; }
.ea-gift.s1 { font-size: 1.6rem; } .ea-gift.s2 { font-size: 2.6rem; } .ea-gift.s3 { font-size: 3.8rem; }
.ea-mirror { display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; }
.ea-mirror .ea-seq { margin: 0; flex-wrap: nowrap; gap: 4px; }
.ea-mirror .ea-chip { min-width: 0; padding: 6px; font-size: clamp(1.2rem, 5.4vw, 1.6rem); }
.ea-trunk { width: 6px; align-self: stretch; min-height: 48px; background: #7B4B2A; border-radius: 3px; }
.ea-tri { text-align: center; font-size: 1.1rem; line-height: 1.3; }
.ea-slab, .ea-wrap { display: block; width: min(100%, 300px); height: auto; margin: 4px auto; }
.ea-wrap { width: auto; max-width: min(100%, 320px); max-height: 180px; }

/* Words */
.ea-letter { background: #FFFDF2; border: 2px solid #EAD9A8; border-radius: 14px; padding: 12px 16px; max-width: 520px; margin: 0 auto; font-size: 1.125rem; font-family: var(--display); box-shadow: 0 3px 0 #F1E6C4; }
.ea-gap { display: inline-block; min-width: 64px; border-bottom: 3px solid var(--bad); color: var(--bad); text-align: center; margin: 0 4px; }

/* Logic grid clues and gift table */
.ea-clues { background: #fff; border: 2px solid #CBE4D3; border-radius: 16px; padding: 12px 16px; max-width: 560px; margin: 0 auto; text-align: left; }
.ea-clues-head { margin: 0 0 6px; font-weight: 600; font-size: .9375rem; color: var(--ink-soft); }
.ea-clues ol { margin: 0; padding-left: 22px; }
.ea-clues li { margin: 3px 0; }
.ea-table { margin: 0 auto; border-collapse: collapse; background: #fff; border-radius: 14px; overflow: hidden; border: 2px solid #CBE4D3; font-size: 1rem; }
.ea-table th, .ea-table td { padding: 7px 14px; text-align: center; border-bottom: 1px solid #E4EFE7; }
.ea-table th { background: #EEF7F0; font-size: .8125rem; }

/* Answer tiles: text answers read better a little bigger */
.kk-play-sort .kk-tile-label, .kk-play-tree .kk-tile-label, .kk-play-bake .kk-tile-label, .kk-play-wrap .kk-tile-label, .kk-play-sleigh .kk-tile-label, .kk-play-clock .kk-tile-label { font-family: var(--display); font-size: 1.25rem; }

/* Badges on the results screen */
.ea-badges { margin: 14px auto 4px; background: #F2FAF4; border: 2px solid #CBE4D3; border-radius: 18px; padding: 12px; max-width: 460px; }
.ea-badges-title { margin: 0 0 6px; font-weight: 600; }
.ea-badge-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.ea-badge { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; font-size: 1.4rem; background: #fff; border: 2px dashed #B9CCBF; filter: grayscale(1); opacity: .45; }
.ea-badge.on { border: 2px solid var(--accent-deep); background: #FFF6D8; filter: none; opacity: 1; }
.ea-grad { margin: 8px 0 0; font-weight: 700; color: var(--good); }
.ea-badges-note { margin: 8px 0 0; font-size: .875rem; color: var(--ink-soft); }

/* Christmas Eve Run */
.ea-run-intro h2 { margin: 6px 0; }
.ea-run-count { font-weight: 600; color: var(--ink-soft); }
.ea-run { max-width: 720px; margin: 0 auto; text-align: center; }
.ea-hud { margin: 0 0 8px; font-weight: 600; }
.ea-sky { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 22px; touch-action: manipulation; cursor: pointer; user-select: none; -webkit-user-select: none;
  background: radial-gradient(circle at 20% 30%, #fff 0 1px, transparent 1.5px) 0 0 / 60px 50px, radial-gradient(circle at 70% 60%, #fff 0 1px, transparent 1.5px) 0 0 / 90px 70px, linear-gradient(180deg, #0B1E45, #23407A 70%, #3B5C9A); box-shadow: 0 18px 40px -18px rgba(16, 45, 90, .55); }
.ea-moon { position: absolute; right: 7%; top: 8%; width: 1.4em; height: 1.4em; border-radius: 50%; background: #FFF4C2; box-shadow: 0 0 30px 8px rgba(255, 244, 194, .35); }
.ea-ground { position: absolute; left: 0; right: 0; bottom: 0; height: 6%; background: #F4F8FF; box-shadow: 0 -6px 12px rgba(255, 255, 255, .35); }
.ea-team { position: absolute; top: 6%; left: 26%; transform: translateX(-.5em); white-space: nowrap; line-height: 1; z-index: 3; }
.ea-flip { display: inline-block; transform: scaleX(-1); }
.ea-santa { position: absolute; left: .12em; top: -.5em; font-size: .75em; }
.ea-house { position: absolute; left: 0; bottom: 5.5%; width: 17%; will-change: transform; z-index: 1; }
.ea-house svg { display: block; width: 100%; height: auto; }
.ea-house .win { fill: #2B3A55; transition: fill .2s ease; }
.ea-house.lit .win { fill: #FFD84D; }
.ea-present { position: absolute; font-size: .8em; line-height: 1; z-index: 2; transform: translate(-50%, 0); }
.ea-present.miss { opacity: .25; transition: opacity .25s ease; }
.ea-drop { margin-top: 12px; min-height: 60px; font-size: 1.15rem; padding: 14px 32px; }
[data-level="tiny"] .ea-drop { min-height: 72px; font-size: 1.35rem; width: min(100%, 360px); }
