.tutorial-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#000000c7;z-index:9999;display:flex;align-items:center;justify-content:center}.tutorial-overlay.hidden{display:none}.tutorial-content{background:#fff;border:2px solid var(--poke-yellow, #ffcb05);border-radius:16px;padding:30px 28px;max-width:560px;width:95%;max-height:90vh;overflow-y:auto;position:relative;color:var(--poke-navy)}#tutorialModal .tutorial-content:before{border-radius:14px 14px 0 0}.btn-close-tutorial{position:absolute;top:8px;right:14px;background:transparent;border:none;font-size:1.6rem;cursor:pointer;line-height:1;transition:color .2s;z-index:1}.tutorial-content h2{padding-right:24px}.tutorial-body{margin:0 0 16px}.tutorial-text-column{width:100%}.tutorial-desc{font-size:.9rem;color:var(--poke-navy);line-height:1.6;margin:0 0 16px}.tutorial-legend-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}.t-legend-item{display:flex;align-items:center;gap:8px;font-size:.8rem;color:var(--poke-navy)}.t-legend-item .color-box{width:18px;height:18px;border-radius:4px;border:1px solid rgba(0,58,112,.2);flex-shrink:0}.t-legend-item .arrow-icon{width:18px;height:18px;font-size:.8rem;border-width:1px;flex-shrink:0}.tutorial-choose-text{font-family:"Press Start 2P",cursive;font-size:.65rem;color:var(--poke-navy);text-shadow:none;margin:12px 0 10px;text-align:center}.tutorial-options{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}.btn-tutorial-level{font-family:"Press Start 2P",cursive;font-size:.5rem;padding:12px 22px;border-radius:20px;background:var(--poke-navy);border:2px solid var(--poke-yellow, #ffcb05);color:var(--poke-yellow, #ffcb05);cursor:pointer;transition:all .15s}.btn-tutorial-level:hover,.btn-tutorial-level:focus{background:var(--poke-yellow, #ffcb05);color:var(--poke-navy, #003a70);outline:none}@media(max-width:600px){.tutorial-content{padding:20px 16px;width:96%}.tutorial-legend-grid{grid-template-columns:1fr}}#tutorialModal{padding:12px;background:#030c1bd6;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px)}#tutorialModal .pokemon-tutorial-content{width:min(780px,100%);max-width:780px;max-height:calc(100dvh - 24px);padding:23px 25px 21px;overflow-x:hidden;overflow-y:auto;animation:pokemonTutEnter .34s cubic-bezier(.2,.9,.25,1.15) both}#tutorialModal .pokemon-tutorial-content:before,#tutorialModal .pokemon-tutorial-content:after{display:none}.pokemon-tutorial-heading{padding:0 42px 13px;text-align:center}.pokemon-tutorial-kicker{display:inline-block;margin-bottom:7px;padding:5px 9px;border:2px solid var(--poke-navy, #12355b);border-radius:999px;background:var(--poke-yellow, #ffcb05);color:var(--poke-navy, #12355b);font:.52rem/1 "Press Start 2P",cursive;letter-spacing:.04em;text-transform:uppercase}#tutorialModal .pokemon-tutorial-heading h2{margin:0 0 7px;color:var(--poke-navy, #12355b);font:1.12rem/1.25 "Press Start 2P",cursive;text-shadow:2px 2px 0 var(--poke-yellow, #ffcb05)}#tutorialModal .pokemon-tutorial-heading h2:before,#tutorialModal .pokemon-tutorial-heading h2:after{display:none}.pokemon-tutorial-heading p{max-width:610px;margin:0 auto;color:#284969;font:500 .84rem/1.35 Roboto,Arial,sans-serif}.pokemon-tutorial-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.pokemon-step-card{position:relative;min-width:0;padding:10px 10px 11px;display:grid;grid-template-rows:var(--tutorial-demo-height, 70px) min-content 1fr;gap:7px;border:2px solid var(--poke-navy, #12355b);border-radius:9px;background:#ffffff94;box-shadow:3px 3px #12355b3b;text-align:center}.pokemon-step-card:before{content:attr(data-step);position:absolute;z-index:2;top:5px;left:5px;width:25px;height:25px;display:grid;place-items:center;border:2px solid var(--poke-yellow, #ffcb05);border-radius:50%;background:var(--poke-navy, #12355b);color:#fff;font:.42rem/1 "Press Start 2P",cursive;box-shadow:1px 1px #111}.pokemon-step-card h3{margin:0;color:var(--poke-navy, #12355b);font:.58rem/1.35 "Press Start 2P",cursive;text-shadow:1px 1px 0 var(--poke-yellow, #ffcb05)}.pokemon-step-card p{margin:0;color:#334e68;font:500 .72rem/1.28 Roboto,Arial,sans-serif}.pokemon-tut-search{width:min(215px,78%);height:34px;display:grid;grid-template-columns:minmax(0,1fr) 38px;align-items:stretch;overflow:hidden;border:2px solid var(--poke-yellow, #ffcb05);border-radius:6px;background:#fff;box-shadow:2px 2px 0 var(--poke-navy, #12355b)}.pokemon-tut-search span{align-self:center;width:0;overflow:hidden;color:var(--poke-navy, #12355b);white-space:nowrap;font:.58rem/1 "Press Start 2P",cursive;animation:pokemonTutType 4.3s steps(7,end) infinite}.pokemon-tut-search b{display:grid;place-items:center;border-left:2px solid var(--poke-navy, #12355b);background:var(--poke-red, #e3350d);color:#fff;font:.48rem/1 "Press Start 2P",cursive;animation:pokemonTutOk 4.3s ease-in-out infinite}.pokemon-tut-compare{width:min(235px,86%);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.pokemon-tut-compare i{--cell-bg: #f5f5f5;--cell-border: #8da2b5;--cell-color: var(--poke-navy, #12355b);min-width:0;min-height:43px;padding:4px 2px;display:grid;place-items:center;gap:2px;border:2px solid #8da2b5;border-radius:5px;background:#f5f5f5;color:var(--poke-navy, #12355b);font-style:normal;box-shadow:1px 1px #12355b47;animation:pokemonTutCell 4.2s ease-in-out infinite}.pokemon-tut-compare i:nth-child(2){animation-delay:.35s}.pokemon-tut-compare i:nth-child(3){animation-delay:.7s}.pokemon-tut-compare .is-match{--cell-bg: var(--state-correct);--cell-border: var(--state-correct-dark);--cell-color: var(--state-correct-on)}.pokemon-tut-compare .is-partial{--cell-bg: var(--state-partial);--cell-border: var(--state-partial-dark);--cell-color: var(--state-partial-on)}.pokemon-tut-compare .is-higher{--cell-bg: var(--state-higher);--cell-border: var(--state-higher-dark);--cell-color: var(--state-higher-on)}.pokemon-tut-compare small{overflow:hidden;max-width:100%;color:inherit;font:600 .48rem/1 Roboto,Arial,sans-serif;text-overflow:ellipsis;white-space:nowrap}.pokemon-tut-compare b{color:inherit;font:.72rem/1 "Press Start 2P",cursive}.pokemon-tut-hint-unlock{position:relative;width:126px;height:59px;display:grid;place-items:center}.pokemon-tut-hint-icons{display:grid;grid-template-columns:repeat(3,31px);gap:5px}.pokemon-tut-hint-icons b{height:31px;display:grid;place-items:center;border:2px solid var(--poke-navy, #12355b);border-radius:5px;background:#aeb8c2;color:var(--poke-navy, #12355b);font:.42rem/1 "Press Start 2P",cursive;animation:pokemonTutHint 4.8s ease-in-out infinite}.pokemon-tut-hint-icons b:nth-child(2){animation-delay:.25s}.pokemon-tut-hint-icons b:nth-child(3){animation-delay:.5s}.pokemon-tut-lock{position:absolute;top:4px;right:-3px;width:25px;height:25px;display:grid;place-items:center;border:2px solid var(--poke-navy, #12355b);border-radius:50%;background:var(--poke-red, #e3350d);color:#fff;animation:pokemonTutUnlock 4.8s ease-in-out infinite}.pokemon-tut-lock svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2}.pokemon-tut-hint-unlock>i{position:absolute;bottom:3px;left:15px;width:96px;display:grid;grid-template-columns:repeat(3,1fr);gap:4px}.pokemon-tut-hint-unlock u{height:4px;overflow:hidden;border-radius:3px;background:#9eabb7;text-decoration:none;animation:pokemonTutHintProgress 4.8s ease-in-out infinite}.pokemon-tut-hint-unlock u:nth-child(2){animation-delay:.25s}.pokemon-tut-hint-unlock u:nth-child(3){animation-delay:.5s}.pokemon-tut-answer{position:relative;width:min(205px,74%);height:48px;display:grid;place-items:center;overflow:hidden;border:2px solid var(--poke-yellow, #ffcb05);border-radius:6px;background:var(--poke-navy, #12355b);box-shadow:2px 2px #111}.pokemon-tut-answer>span,.pokemon-tut-answer>b{grid-area:1 / 1;margin-bottom:10px;font:.58rem/1 "Press Start 2P",cursive}.pokemon-tut-answer>span{color:#a8b6c4;animation:pokemonTutQuestion 4.2s ease-in-out infinite}.pokemon-tut-answer>b{color:var(--poke-yellow, #ffcb05);opacity:0;animation:pokemonTutAnswer 4.2s ease-in-out infinite}.pokemon-tut-answer>i{position:absolute;right:9px;bottom:7px;left:9px;display:grid;grid-template-columns:repeat(4,1fr);gap:4px}.pokemon-tut-answer u{height:5px;border-radius:3px;background:#70849a;text-decoration:none;animation:pokemonTutResultCell 4.2s ease-in-out infinite}.pokemon-tut-answer u:nth-child(2){animation-delay:.12s}.pokemon-tut-answer u:nth-child(3){animation-delay:.24s}.pokemon-tut-answer u:nth-child(4){animation-delay:.36s}#tutorialModal .tutorial-choose-text{margin:13px 0 8px;color:var(--poke-navy, #12355b);font:.67rem/1.35 "Press Start 2P",cursive;text-align:center;text-shadow:1px 1px 0 var(--poke-yellow, #ffcb05)}#tutorialModal .tutorial-options{max-width:none;margin:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}#tutorialModal .btn-tutorial-level{min-width:0;padding:10px 5px;border:3px solid var(--poke-navy, #12355b);border-radius:7px;background:var(--poke-red, #e3350d);color:#fff;box-shadow:2px 2px 0 var(--poke-yellow, #ffcb05);font:.55rem/1.2 "Press Start 2P",cursive}#tutorialModal .btn-tutorial-level:hover,#tutorialModal .btn-tutorial-level:focus-visible{transform:translate(-1px,-1px);background:var(--poke-navy, #12355b);color:var(--poke-yellow, #ffcb05);box-shadow:4px 4px 0 var(--poke-yellow, #ffcb05)}@keyframes pokemonTutEnter{0%{opacity:0;transform:translateY(12px) scale(.97)}to{opacity:1;transform:none}}@keyframes pokemonTutType{0%,10%{width:0}48%,79%{width:7.4em}91%,to{width:0}}@keyframes pokemonTutOk{0%,51%,76%,to{filter:brightness(1);transform:none}57%,65%{filter:brightness(1.2);transform:scale(.88)}}@keyframes pokemonTutCell{0%,19%,76%,to{border-color:#8da2b5;background:#f5f5f5;color:var(--poke-navy, #12355b);transform:scale(.92);opacity:.68}31%,68%{border-color:var(--cell-border);background:var(--cell-bg);color:var(--cell-color);transform:scale(1);opacity:1}}@keyframes pokemonTutHint{0%,16%,86%,to{background:#aeb8c2;transform:scale(.92)}29%,77%{background:var(--poke-yellow, #ffcb05);transform:scale(1)}}@keyframes pokemonTutUnlock{0%,24%{opacity:1;transform:rotate(0) scale(1)}37%,80%{opacity:0;transform:rotate(22deg) scale(.55)}92%,to{opacity:1;transform:none}}@keyframes pokemonTutHintProgress{0%,18%,88%,to{background:#9eabb7;transform:scaleX(.2)}34%,79%{background:var(--poke-yellow, #ffcb05);transform:scaleX(1)}}@keyframes pokemonTutQuestion{0%,28%,84%,to{opacity:1;transform:scale(1)}41%,74%{opacity:0;transform:scale(.72)}}@keyframes pokemonTutAnswer{0%,30%,86%,to{opacity:0;transform:translateY(6px)}43%,76%{opacity:1;transform:none}}@keyframes pokemonTutResultCell{0%,34%,86%,to{background:#70849a;transform:scaleX(.25)}48%,78%{background:var(--state-correct);transform:scaleX(1)}}@media(max-width:600px){#tutorialModal{padding:7px}#tutorialModal .pokemon-tutorial-content{width:100%;max-height:calc(100dvh - 14px);padding:16px 11px 14px;border-width:3px;box-shadow:0 0 0 3px var(--poke-yellow, #ffcb05),0 0 0 5px #151515,0 14px 35px #0000006b}#tutorialModal .btn-close-tutorial{top:5px;right:5px;width:34px;height:34px;border-width:2px}.pokemon-tutorial-heading{padding:0 32px 9px}.pokemon-tutorial-kicker{margin-bottom:5px;padding:4px 7px;font-size:.4rem}#tutorialModal .pokemon-tutorial-heading h2{margin-bottom:5px;font-size:.76rem}.pokemon-tutorial-heading p{font-size:.68rem;line-height:1.25}.pokemon-tutorial-steps{gap:7px}.pokemon-step-card{padding:7px 5px 8px;--tutorial-demo-height: 56px;gap:5px;border-radius:7px;box-shadow:2px 2px #12355b3b}.pokemon-step-card:before{top:3px;left:3px;width:20px;height:20px;font-size:.34rem}.pokemon-step-card h3{font-size:.46rem;line-height:1.3}.pokemon-step-card p{font-size:.61rem;line-height:1.18}.pokemon-tut-search{transform:scale(.78);width:112%}.pokemon-tut-compare{transform:scale(.76);width:122%}.pokemon-tut-hint-unlock{transform:scale(.78)}.pokemon-tut-answer{transform:scale(.78);width:104%}#tutorialModal .tutorial-choose-text{margin:9px 0 6px;font-size:.54rem}#tutorialModal .tutorial-options{gap:6px}#tutorialModal .btn-tutorial-level{padding:8px 3px;border-width:2px;font-size:.44rem}}@media(max-height:680px)and (max-width:600px){#tutorialModal .pokemon-tutorial-content{padding:11px 9px 12px}.pokemon-tutorial-heading{padding-bottom:8px}.pokemon-tutorial-kicker{display:none}#tutorialModal .pokemon-tutorial-heading h2{font-size:.7rem}.pokemon-tutorial-heading p{display:none}.pokemon-step-card{--tutorial-demo-height: 57px;padding:7px 4px 8px;gap:4px}.pokemon-step-card h3{font-size:.42rem}.pokemon-step-card p{font-size:.57rem;line-height:1.14}.pokemon-tut-search{transform:scale(.75)}.pokemon-tut-compare{transform:scale(.73)}.pokemon-tut-hint-unlock{transform:scale(.74)}.pokemon-tut-answer{transform:scale(.75)}#tutorialModal .tutorial-choose-text{margin:7px 0 5px;font-size:.49rem}#tutorialModal .btn-tutorial-level{padding:7px 2px;font-size:.4rem}}html.tutorial-motion-reduce .pokemon-tutorial-content,html.tutorial-motion-reduce .pokemon-tut-search span,html.tutorial-motion-reduce .pokemon-tut-search b,html.tutorial-motion-reduce .pokemon-tut-compare i,html.tutorial-motion-reduce .pokemon-tut-hint-icons b,html.tutorial-motion-reduce .pokemon-tut-lock,html.tutorial-motion-reduce .pokemon-tut-hint-unlock u,html.tutorial-motion-reduce .pokemon-tut-answer>span,html.tutorial-motion-reduce .pokemon-tut-answer>b,html.tutorial-motion-reduce .pokemon-tut-answer u{animation:none!important;transition:none!important}html.tutorial-motion-reduce .pokemon-tut-search span{width:7.4em}html.tutorial-motion-reduce .pokemon-tut-compare i{border-color:var(--cell-border);background:var(--cell-bg);color:var(--cell-color);opacity:1;transform:none}html.tutorial-motion-reduce .pokemon-tut-hint-icons b{background:var(--poke-yellow, #ffcb05);transform:none}html.tutorial-motion-reduce .pokemon-tut-lock{opacity:0}html.tutorial-motion-reduce .pokemon-tut-hint-unlock u{background:var(--poke-yellow, #ffcb05);transform:none}html.tutorial-motion-reduce .pokemon-tut-answer>span{opacity:0}html.tutorial-motion-reduce .pokemon-tut-answer>b{opacity:1;transform:none}html.tutorial-motion-reduce .pokemon-tut-answer u{background:var(--state-correct);transform:none}
