.mascot-home{max-width:720px;margin:12px auto;padding:0 16px}.mascot-select{display:flex;align-items:center;gap:12px;width:100%;padding:10px 14px;border:2px solid #d7e7ca;border-radius:22px;background:#fffdf6;color:#294e44;text-align:left;cursor:pointer}.mascot-select b{font-size:17px}.mascot-select small{display:block;margin-top:4px;font-size:11px;color:#687b65}.mascot-change{margin-left:auto;font-size:12px;white-space:nowrap}.mascot-portrait{position:relative;display:inline-block;width:58px;height:58px;flex-shrink:0}.mascot-portrait img{width:100%;height:100%;border-radius:22%;display:block}.mascot-medal{position:absolute;right:-3px;bottom:-4px;background:#ffe189;border:2px solid white;border-radius:20px;padding:2px 5px;font-size:12px;color:#73500b}.rank-2 img{outline:3px solid #b2d7ef;outline-offset:2px}.rank-3 img{outline:4px solid #f2d278;outline-offset:2px}.mascot-note{font-size:12px;line-height:1.5;color:#526e57;margin:7px 6px}.mascot-growth{display:flex;align-items:center;gap:10px;margin:9px 5px;font-size:11px;color:#677e61}.mascot-growth progress{width:70px;flex-shrink:0;height:7px;accent-color:#7dac59;margin:0}.mascot-portrait.large{width:200px;height:200px;max-width:85%;margin:25px auto}.mascot-portrait.large .mascot-medal{font-size:24px;right:0;bottom:0;padding:5px 10px}.mascot-overlay{position:fixed;inset:0;z-index:1000;background:#203b386e;display:flex;align-items:center;justify-content:center;padding:18px;overflow:auto}.mascot-dialog{background:#fffdf7;color:#294b43;border-radius:28px;padding:24px;width:800px;max-width:100%;max-height:90dvh;overflow:auto;box-shadow:0 20px 80px #12332833}.mascot-dialog-head{display:flex;align-items:center;gap:12px}.mascot-dialog-head h2{font-size:26px;margin:0;flex:1}.mascot-close{border:0;border-radius:50%;background:#e9efdf;width:42px;height:42px;flex-shrink:0;color:#345847;font-size:20px}.mascot-dialog>p{font-size:14px;line-height:1.6}.mascot-choices{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:22px 0}.mascot-choices button{display:flex;flex-direction:column;align-items:center;gap:7px;padding:12px 7px;border:2px solid #e4e9dc;border-radius:22px;background:white;color:#2e5146;cursor:pointer}.mascot-choices button[aria-pressed=true]{border-color:#729d55;background:#eff8e7}.mascot-choices img{width:100%;max-width:125px}.mascot-choices b{font-size:18px}.mascot-choices span{font-size:11px;min-height:30px;line-height:1.4}.mascot-choices small{font-size:12px;background:#e7f1dc;border-radius:8px;padding:6px}.mascot-local{color:#687b64;font-size:12px!important}.mascot-dialog-open{overflow:hidden}.mascot-choices button:focus-visible,.mascot-select:focus-visible,.mascot-close:focus-visible{outline:3px solid #447da3;outline-offset:3px}.theory-embedded .mascot-home,.parent-mobile>.mascot-home{display:none}@media(max-width:600px){.mascot-dialog{padding:18px;border-radius:24px}.mascot-dialog-head h2{font-size:22px}.mascot-choices{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.mascot-choices img{max-width:90px}.mascot-choices span{min-height:0}.mascot-select{padding:7px 12px}.mascot-portrait{width:46px;height:46px}.mascot-note{font-size:11px}.mascot-choices{margin:16px 0}}@media(prefers-reduced-motion:no-preference){.mascot-choices button:hover img{transform:translateY(-4px)}.mascot-choices img{transition:transform .2s}}

.practice-active .mascot-home{margin:6px auto}.practice-active .mascot-growth{display:none}.practice-active .mascot-note{margin:4px 6px}.practice-active .mascot-select small{font-size:10px}.practice-active .mascot-select{padding:5px 10px}.practice-active .mascot-portrait{width:38px;height:38px}.practice-active .mascot-select b{font-size:14px}
