
body.naumishka-theme{--ink:#301553;--muted:#746583;--purple:#713de8;--violet:#713de8;--green:#4ba56b;--yellow:#ffdf7b;--paper:#fffcf8;--line:#e9e0f7;--border:#e9e0f7;background:#fffcf8;color:#301553;font-family:Nunito,Arial,sans-serif}
body.naumishka-theme button,body.naumishka-theme input,body.naumishka-theme select,body.naumishka-theme textarea{font-family:inherit}
body.naumishka-theme .header{background:#fffcf8;border-bottom:1px solid #e9e0f7}
body.naumishka-theme .logo{max-width:200px}
body.naumishka-theme .btn.primary,body.naumishka-theme .header .secondary,body.naumishka-theme .btn.purple{background:#713de8;color:#fff;border-color:#713de8}
body.naumishka-theme .btn.green,body.naumishka-theme .award-share-button{background:#4ba56b;color:#fff;border-color:#4ba56b}
body.naumishka-theme .btn.yellow{background:#ffdf7b;color:#301553}
body.naumishka-theme .public-hero,body.naumishka-theme .public-sidebar,body.naumishka-theme .public-content,body.naumishka-theme .account-rail,body.naumishka-theme .source-panel{border-color:#e9e0f7}
body.naumishka-theme .public-hero{background:#f4efff;color:#301553}
body.naumishka-theme .pale,body.naumishka-theme .home-footer{background:#f4efff}
body.naumishka-theme .public-icon{background:#fff1ba;color:#713de8}
body.naumishka-theme .popup_cont{background:#fffdf8;color:#301553}
body.naumishka-theme .popup_authorizationCont .switcher_item[aria-selected=true]{background:#713de8;color:#fff}
body.naumishka-theme .popup_authorizationCont .auth-switch-hint{color:#fff;background:#713de8}
body.naumishka-theme .popup_authorizationCont input[type=radio]{accent-color:#ee9c27}
body.naumishka-theme .account-rail{background:#f5f0ff}
body.naumishka-theme .account-rail nav a{display:grid;grid-template-columns:48px minmax(0,1fr);align-items:center;gap:10px;min-height:68px;padding:10px;border-radius:14px;font-size:14px;line-height:1.25;font-weight:800}
body.naumishka-theme .account-rail nav a img{display:block;width:48px;height:48px;max-width:none;object-fit:contain}
body.naumishka-theme .account-rail nav a[aria-current=page]{background:#713de8;color:#fff}
body.naumishka-theme .rail-brand img{max-height:95px;object-fit:contain;width:100%}
body.naumishka-theme .rail-copyright{display:block;margin-top:15px;line-height:1.4;color:#746583;font-size:11px}
body.naumishka-theme .naumishka-welcome{display:flex;align-items:center;gap:18px;padding:10px 22px;margin:0 0 20px;background:#fff4cb;border:1px solid #f4e5af;border-radius:20px}
body.naumishka-theme .naumishka-welcome h2{font-size:24px;line-height:1.2;margin:0 0 8px;color:#301553}
body.naumishka-theme .naumishka-welcome p{margin:0;color:#746583}
body.naumishka-theme .cabinet-mascot{flex:0 0 130px;width:130px;height:130px;position:relative}
@media(max-width:760px){body.naumishka-theme .account-rail nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}body.naumishka-theme .account-rail nav:has(a:nth-child(3):last-child){grid-template-columns:repeat(3,minmax(0,1fr))}body.naumishka-theme .account-rail nav a{display:flex;flex-direction:column;justify-content:flex-start;min-height:86px;padding:8px 3px;font-size:11px;line-height:1.2;text-align:center;gap:5px}body.naumishka-theme .account-rail nav a img{width:36px;height:36px}body.naumishka-theme .account-rail nav a span{display:block;white-space:normal;overflow-wrap:normal;word-break:normal;width:100%}body.naumishka-theme .naumishka-welcome{padding:10px 12px;gap:10px}body.naumishka-theme .cabinet-mascot{flex-basis:95px;width:95px;height:95px}body.naumishka-theme .naumishka-welcome h2{font-size:20px}body.naumishka-theme .naumishka-welcome p{font-size:13px}}
body.naumishka-theme .eyelid{opacity:0;animation:blink 4.5s 1s infinite}
body.naumishka-theme .lens[data-stage] .lens-stage{animation:none;opacity:0}
body.naumishka-theme .lens[data-stage="0"] .leaf-stage,body.naumishka-theme .lens[data-stage="1"] .math-stage,body.naumishka-theme .lens[data-stage="2"] .letter-stage{opacity:1;transform:none}
@keyframes blink{0%,39%,44%,100%{opacity:0}40%,43%{opacity:1}}
@keyframes lensCycle{0%,3%{opacity:0;transform:translateY(8px) scale(.87)}6%,27%{opacity:1;transform:none}31%,100%{opacity:0;transform:translateY(-7px) scale(.93)}}
@keyframes pageTurn{0%,12%{transform:rotateY(0)}28%,44%{transform:rotateY(-165deg)}60%,100%{transform:rotateY(0)}}
@keyframes quickPage{0%,100%{transform:rotateY(0)}50%{transform:rotateY(-170deg)}}
@keyframes bookSpark{0%,14%,58%,100%{opacity:0;transform:translateY(5px) scale(.6)}28%,44%{opacity:1;transform:translateY(-3px) scale(1)}}
@keyframes underline{to{stroke-dashoffset:0}}
@keyframes shine{to{transform:translateX(95%)}}
@keyframes shake{25%,75%{transform:translateX(-3px)}50%{transform:translateX(3px)}}
@keyframes confetti{0%{opacity:1;transform:translate(0,0) rotate(0)}100%{opacity:0;transform:translate(var(--dx),var(--dy)) rotate(var(--rot))}}
body.naumishka-theme body.motion-off .lens[data-stage] .lens-stage{opacity:0}
body.naumishka-theme body.motion-off .lens[data-stage="0"] .leaf-stage,body.naumishka-theme body.motion-off .lens[data-stage="1"] .math-stage,body.naumishka-theme body.motion-off .lens[data-stage="2"] .letter-stage{opacity:1}
body.naumishka-theme .mascot{position:relative;aspect-ratio:1;flex-shrink:0}
body.naumishka-theme .hero-visual>.mascot{position:absolute;width:100%;left:0;top:50%;transform:translateY(-50%)}
body.naumishka-theme .mascot-drawing{display:block;width:100%;height:auto;transform:rotate(var(--mascot-rotate,0deg));transform-origin:50% 70%;transition:transform .3s var(--ease)}
body.naumishka-theme .lens-control{position:absolute;left:54%;top:24%;width:32%;height:34%;border:0;background:transparent;border-radius:50%;padding:0;cursor:pointer;-webkit-tap-highlight-color:transparent}
body.naumishka-theme .lens-control:hover{box-shadow:inset 0 0 0 2px #ffffff55}
body.naumishka-theme .nau-symbol{opacity:0;transform-box:fill-box;transform-origin:center;animation:nauPop 9s infinite}
body.naumishka-theme .symbol-math{animation-delay:3s}
body.naumishka-theme .symbol-letter{animation-delay:6s}
body.naumishka-theme .mascot[data-stage] .nau-symbol{animation:none;opacity:0}
body.naumishka-theme .mascot[data-stage="0"] .symbol-leaf,body.naumishka-theme .mascot[data-stage="1"] .symbol-math,body.naumishka-theme .mascot[data-stage="2"] .symbol-letter{opacity:1;animation:nauManualPop .6s var(--ease) both}
body.naumishka-theme .welcome .mascot{margin-left:-12px}
@keyframes nauPop{0%{opacity:1;transform:scale(.025)}7%{opacity:1;transform:scale(1.04)}10%,28%{opacity:1;transform:scale(1)}32%,100%{opacity:0;transform:scale(.025)}}
@keyframes nauManualPop{0%{transform:scale(.025)}70%{transform:scale(1.04)}100%{transform:scale(1)}}
@keyframes iconGlint{0%,18%,76%,100%{opacity:.2;transform:scale(.6)}35%,55%{opacity:1;transform:scale(1)}}
@keyframes starBeat{0%,25%,70%,100%{transform:scale(1)}42%{transform:scale(1.12)}55%{transform:scale(1)}}
@keyframes medalShine{0%,20%{transform:translateX(-40px)}55%,100%{transform:translateX(110px)}}
@keyframes chalkDraw{0%,10%{stroke-dashoffset:65;opacity:1}38%,82%{stroke-dashoffset:0;opacity:1}95%,100%{stroke-dashoffset:0;opacity:0}}
@keyframes chalkMove{0%,18%,75%,100%{transform:translateX(0)}40%{transform:translateX(-5px)}}
body.naumishka-theme body.motion-off .mascot-drawing{transform:none}
body.naumishka-theme body.motion-off .nau-symbol{opacity:0;transform:none}
body.naumishka-theme body.motion-off .mascot:not([data-stage]) .symbol-leaf{opacity:1}
body.naumishka-theme body.motion-off .mascot[data-stage="0"] .symbol-leaf,body.naumishka-theme body.motion-off .mascot[data-stage="1"] .symbol-math,body.naumishka-theme body.motion-off .mascot[data-stage="2"] .symbol-letter{opacity:1}
body.naumishka-theme .lens-control:hover{box-shadow:none}

body.naumishka-theme [data-sleep] *,body.naumishka-theme.page-hidden [data-motion] *,body.naumishka-theme.motion-off [data-motion] *{animation-play-state:paused!important}
@media(prefers-reduced-motion:reduce){body.naumishka-theme .eyelid{animation:none!important;opacity:0}body.naumishka-theme .nau-symbol{animation:none!important;opacity:0}body.naumishka-theme .symbol-leaf{opacity:1}body.naumishka-theme [data-motion] *{animation-play-state:paused!important;transition:none!important}}

.naumishka-refresh .popup_authorizationCont .auth-switch-hint button{color:#fff!important;min-height:0;white-space:normal}.naumishka-refresh .popup_authorizationCont .auth-switch-hint{padding:10px 12px;border-radius:10px}.naumishka-refresh .popup_cont .error:not(:empty){color:#a82438!important;background:#fff0f3;border-radius:6px;padding:6px 8px}

body.naumishka-account .account-work .contest-action .info2,body.naumishka-account .account-work .contest-action .main_cont_note{width:100%!important;max-width:none!important}body.naumishka-account .account-work .contest-action .user_data{padding-top:0!important;margin-top:0!important}
/* Mobile codes: each participant has its own labelled row; no duplicate heading card. */
@media(max-width:767px){
.account-work .contest-action table.progress_status > tbody > tr:first-child{display:none!important}
.account-work .contest-action table.progress_status > tbody > tr:not(:first-child) > td:last-child{grid-column:1/-1;width:100%;white-space:normal;word-break:normal;overflow-wrap:normal}
}
@media(max-width:767px){
.account-work .contest-action .form_request .user_data{padding:0 0 16px!important}
.account-work .contest-action .total{padding:12px!important}
}
@media(max-width:760px){body.naumishka-theme .header-actions{flex:0 0 auto}body.naumishka-theme .header .menu-toggle{width:44px;min-width:44px;flex:0 0 44px}}
@media(max-width:520px){body.naumishka-public .naumishka-home .hero .entry-actions .btn{width:100%}}
@media(max-width:360px){body.naumishka-theme .header{padding:10px 12px}body.naumishka-theme .header .brand{width:110px}body.naumishka-theme .header-actions .btn{padding-left:9px;padding-right:9px;font-size:11px}}

@media(max-width:520px){body.naumishka-theme.registration-closed .hero .actions.entry-actions{display:flex;flex-direction:column;align-items:stretch}body.naumishka-theme.registration-closed .hero .actions.entry-actions .btn{width:100%}}

/* Closed registration has two actions; do not retain the three-column signup grid. */
body.naumishka-theme.registration-closed .hero .actions.entry-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
body.naumishka-theme.registration-closed .hero .actions.entry-actions .btn{width:100%;white-space:normal;text-align:center;min-height:49px}

/* Shared promotion cards retain contained logos and readable links in every route. */
body.naumishka-theme .crp-module .crp-brand img{width:100%;height:54px;max-height:54px;object-fit:contain;object-position:center}
body.naumishka-theme .crp-module a.crp-visit{color:#fff;font-weight:800}
body.naumishka-theme .crp-module .crp-orange a.crp-visit{color:#542b08}
/* Download icons take their own place in the row, never over the label. */
body.naumishka-account .account-work .docs_item>a{display:inline-flex;align-items:center;gap:10px;padding:12px 16px;line-height:1.4;white-space:normal;max-width:100%}
body.naumishka-account .account-work .docs_item>a::before{position:static;display:block;flex:0 0 21px;width:21px;height:26px;transform:none;margin:0;background-position:center;background-size:contain;background-repeat:no-repeat}
body.naumishka-account .account-work .container>.content{min-height:0}
body.naumishka-account .account-work .docs_list{padding-top:0;margin-top:8px;margin-bottom:8px}
