/* Scout, the Kolumna mascot (inline SVG) */
.mtfe-scout {
    --scout-w: 160px;
    --scout-ink: #171917;
    --scout-cobalt: #3155E7;
    --scout-accent: #E2F268;
    --scout-paper: #F7F5F0;
    position: relative;
    display: inline-block;
    width: var(--scout-w);
    margin: 0 !important;
    line-height: 0;
    cursor: default;
}
.mtfe-scout__svg { display: block; width: 100%; height: auto; overflow: visible; }

.mtfe-scout__shadow { fill: rgba(23, 25, 23, 0.14); }
.mtfe-scout__rim { fill: var(--scout-cobalt); stroke: var(--scout-ink); stroke-width: 6; }
.mtfe-scout__lens { fill: var(--scout-paper); stroke: var(--scout-ink); stroke-width: 5; }
.mtfe-scout__shine { fill: none; stroke: #FFFFFF; stroke-width: 7; stroke-linecap: round; opacity: 0.9; }
.mtfe-scout__handle { fill: var(--scout-accent); stroke: var(--scout-ink); stroke-width: 5; }
.mtfe-scout__band { fill: var(--scout-ink); }
.mtfe-scout__leg { fill: none; stroke: var(--scout-ink); stroke-width: 6; stroke-linecap: round; }
.mtfe-scout__shoe { fill: #FFFFFF; stroke: var(--scout-ink); stroke-width: 4; stroke-linejoin: round; }
.mtfe-scout__eyes ellipse { fill: var(--scout-ink); }
.mtfe-scout__glint { fill: #FFFFFF; }
.mtfe-scout__cheek { fill: var(--scout-accent); stroke: var(--scout-ink); stroke-width: 1.5; opacity: 0.9; }
.mtfe-scout__mouth { fill: none; stroke: var(--scout-ink); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.mtfe-scout__mouth--open { fill: var(--scout-ink); }
.mtfe-scout__arm path { fill: none; stroke: var(--scout-ink); stroke-width: 6; stroke-linecap: round; }
.mtfe-scout__glove { fill: #FFFFFF; stroke: var(--scout-ink); stroke-width: 4; }
.mtfe-scout__finger { fill: none; stroke: var(--scout-ink); stroke-width: 5; stroke-linecap: round; }
.mtfe-scout__q { fill: var(--scout-cobalt); font-family: "Bricolage Grotesque", "Inter", sans-serif; font-size: 46px; font-weight: 800; }
.mtfe-scout__confetti rect { fill: var(--scout-accent); stroke: var(--scout-ink); stroke-width: 1.5; }
.mtfe-scout__confetti rect.is-b { fill: var(--scout-cobalt); }
.mtfe-scout__board-bg { fill: #FFFFFF; stroke: var(--scout-ink); stroke-width: 4; }
.mtfe-scout__clip { fill: var(--scout-ink); }
.mtfe-scout__lines { fill: none; stroke: var(--scout-ink); stroke-width: 3; stroke-linecap: round; opacity: 0.35; }
.mtfe-scout__tick { fill: none; stroke: var(--scout-cobalt); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.mtfe-scout__eyes.is-up ellipse { transform: translateY(-4px); }

/* speech bubble */
.mtfe-scout__bubble {
    position: absolute;
    bottom: calc(100% - 6px);
    left: 62%;
    z-index: 2;
    width: max-content;
    max-width: 210px;
    padding: 10px 14px;
    border: 2px solid var(--scout-ink);
    background: #FFFFFF;
    color: var(--scout-ink);
    box-shadow: 4px 4px 0 var(--scout-ink);
    font-family: "Bricolage Grotesque", "Inter", sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
    text-align: left;
    transform: rotate(-2deg);
}
.mtfe-scout__bubble::after {
    content: "";
    position: absolute;
    left: 18px;
    top: 100%;
    width: 14px;
    height: 14px;
    margin-top: -6px;
    border-right: 2px solid var(--scout-ink);
    border-bottom: 2px solid var(--scout-ink);
    background: #FFFFFF;
    transform: rotate(45deg) skew(10deg, 10deg);
}

/* life (only when motion is welcome) */
@media (prefers-reduced-motion: no-preference) {
    .mtfe-scout__body { animation: mtfe-scout-bob 3.2s ease-in-out infinite; }
    .mtfe-scout__eyes { transform-box: fill-box; transform-origin: center; animation: mtfe-scout-blink 4.6s ease-in-out infinite; }
    .mtfe-scout__arm--wave { transform-box: view-box; transform-origin: 176px 120px; animation: mtfe-scout-wave 1.6s ease-in-out infinite; }
    .mtfe-scout__arm--scratch { transform-box: view-box; transform-origin: 176px 120px; animation: mtfe-scout-scratch 0.9s ease-in-out infinite alternate; }
    .mtfe-scout__arm--point { transform-box: view-box; animation: mtfe-scout-point 1.4s ease-in-out infinite; }
    .mtfe-scout__arm--cheer-l, .mtfe-scout__arm--cheer-r { transform-box: view-box; animation: mtfe-scout-pump 0.8s ease-in-out infinite alternate; }
    .mtfe-scout__arm--cheer-l { transform-origin: 44px 120px; }
    .mtfe-scout__arm--cheer-r { transform-origin: 176px 120px; animation-delay: 0.2s; }
    .mtfe-scout__confetti rect { transform-box: fill-box; transform-origin: center; animation: mtfe-scout-confetti 2.4s ease-in-out infinite; }
    .mtfe-scout__confetti rect:nth-child(2) { animation-delay: 0.4s; }
    .mtfe-scout__confetti rect:nth-child(3) { animation-delay: 0.8s; }
    .mtfe-scout__confetti rect:nth-child(4) { animation-delay: 1.2s; }
    .mtfe-scout__confetti rect:nth-child(5) { animation-delay: 1.6s; }
    .mtfe-scout__q { animation: mtfe-scout-q 1.8s ease-in-out infinite; }
    .mtfe-scout__bubble { animation: mtfe-scout-bubble 3.2s ease-in-out infinite; }
    .mtfe-scout:hover .mtfe-scout__svg { animation: mtfe-scout-hop 0.6s cubic-bezier(0.3, 1.6, 0.5, 1); }
}
@keyframes mtfe-scout-bob { 50% { transform: translateY(-5px); } }
@keyframes mtfe-scout-blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(0.1); } }
@keyframes mtfe-scout-wave { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(-18deg); } }
@keyframes mtfe-scout-scratch { from { transform: rotate(0deg); } to { transform: rotate(-6deg); } }
@keyframes mtfe-scout-point { 50% { transform: translateX(6px); } }
@keyframes mtfe-scout-pump { from { transform: rotate(0deg); } to { transform: rotate(-10deg); } }
@keyframes mtfe-scout-confetti { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-8px) rotate(90deg); } }
@keyframes mtfe-scout-q { 50% { transform: translateY(-6px); } }
@keyframes mtfe-scout-bubble { 50% { transform: rotate(-2deg) translateY(-3px); } }
@keyframes mtfe-scout-hop { 40% { transform: translateY(-16px) rotate(-4deg); } 70% { transform: translateY(0) scale(1.04, 0.96); } }

.mtfe-scout__brow { fill: none; stroke: var(--scout-ink); stroke-width: 4; stroke-linecap: round; }
.mtfe-scout--think .mtfe-scout__brow { transform: translateY(-3px) rotate(-4deg); transform-box: fill-box; transform-origin: center; }
.mtfe-scout__arm path { stroke-width: 7; }
