#mushroom-panel{position:absolute;left:12px;top:12px;z-index:3;max-width:calc(100% - 24px);padding:11px 14px;border:1px solid #b7c4a9;border-radius:13px;background:#fcf5e6f2;box-shadow:0 3px 18px #182c2626;font-size:13px}#mushroom-count{font-weight:700;color:#70458e}#mushroom-panel.done{border-color:#806699;background:#f5edfc}.mushroom-dialog{padding:0;width:min(820px,calc(100vw - 24px));max-height:calc(100dvh - 32px);border-radius:17px;overflow:hidden;background:var(--paper,#fcf5e6)}.mushroom-dialog[open]{display:flex;flex-direction:column}.mushroom-scroll{overflow-y:auto;overscroll-behavior:contain;min-height:0;padding:15px 22px 22px;line-height:1.55}.mushroom-scroll>p{font-size:14px}.mushroom-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.mushroom-grid button{width:100%;padding:9px 6px;min-height:42px;margin-top:7px;border:1px solid #bcb1c5;border-radius:7px;background:#fff9;font-size:12px}.mushroom-photo{display:block;width:100%;max-height:40dvh;object-fit:contain;border-radius:8px;background:#e9e6db}.mushroom-latin{font-style:italic;color:#526149}.mushroom-caption{font-size:12px!important;color:#58614f}.mushroom-notice{padding:12px;border:1px solid #c9c4b3;border-radius:8px;font-size:12px!important;background:#f0eddf}.mushroom-toxic{font-weight:700;color:#862f2b;background:#fff0e9;padding:9px;border:1px solid #bd7469;border-radius:7px}.mushroom-next{display:block;min-height:44px;width:100%;margin-top:16px;background:#70458e;color:white;border:1px solid #70458e;border-radius:8px;padding:10px}body.mushroom-world #hint,body.mushroom-world #draw{display:none}body.mushroom-world #world:focus-visible~.cat-keyboard-aim{display:block}@media(max-width:600px){#mushroom-panel{top:8px;left:8px;padding:8px 11px;font-size:12px}.mushroom-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mushroom-scroll{padding:12px}.mushroom-dialog h2{font-size:18px}.mushroom-photo{max-height:34dvh}}
/* A find adds knowledge without interrupting navigation. */
#mushroom-book-open{display:flex;align-items:center;gap:7px;flex-wrap:wrap;text-decoration:none}
#mushroom-book-open>span:first-child{text-decoration:underline}
#mushroom-new-count,.mushroom-book-new{display:inline-block;background:#70458e;color:#fff;border-radius:20px;padding:3px 7px;font-size:11px;font-weight:700;text-decoration:none}
#mushroom-book-open.has-new{color:#70458e;font-weight:700}
#mushroom-find-info{position:absolute;top:70px;right:12px;width:266px;max-width:calc(100% - 24px);max-height:calc(100% - 86px);z-index:4;overflow:auto;overscroll-behavior:contain;touch-action:pan-y;padding:16px;border:1px solid #b6bba8;border-radius:14px;background:#fcf5e6f5;box-shadow:0 4px 22px #182c2626}
.mushroom-find-heading{display:flex;align-items:center;gap:7px;padding-right:28px;color:#70458e;font-size:11px;font-weight:700}
#mushroom-find-info .mushroom-info-close{position:absolute;top:7px;right:7px;display:grid;place-items:center;width:34px;height:34px;padding:0;border:0;border-radius:50%;background:transparent;font-size:26px}
#mushroom-find-info .mushroom-info-close:hover{background:#e8dfd1}
.mushroom-find-body{display:flex;gap:11px;margin-top:12px;align-items:flex-start}
#mushroom-find-photo{width:70px;height:82px;flex:none;object-fit:cover;border-radius:7px;background:#e7e2d4}
#mushroom-find-info h2{font:700 16px/1.25 Arial,Helvetica,sans-serif;margin:0 0 7px;overflow-wrap:anywhere}
#mushroom-find-fact{font-size:12px;line-height:1.45;margin:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden}
#mushroom-find-info .mushroom-toxic{margin:10px 0 0;padding:7px;font-size:12px}
.mushroom-find-notice{font-size:10px;line-height:1.4;color:#596251;margin:10px 0 0}
#mushroom-find-more{display:block;min-height:40px;width:100%;margin-top:10px;padding:8px;border:1px solid #70458e;border-radius:8px;background:#70458e;color:#fff;font-size:12px;font-weight:700}
.mushroom-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#mushroom-found-glow{position:absolute;z-index:2;pointer-events:none;transform:translate(-50%,-50%);border-radius:50%;background:radial-gradient(ellipse,transparent 22%,#ffdf7c85 58%,transparent 74%);opacity:0}
#mushroom-found-glow.is-fresh{animation:mushroom-found 1s ease-out}
@keyframes mushroom-found{0%{opacity:.9}100%{opacity:0}}
@media(prefers-reduced-motion:reduce){#mushroom-found-glow.is-fresh{animation:none;opacity:.65}}
@media(max-width:760px),(max-height:520px){
 #mushroom-find-info{top:auto;bottom:8px;left:8px;right:76px;width:auto;max-width:none;max-height:min(32dvh,226px);padding:10px;border-radius:12px}
 .mushroom-find-heading{font-size:10px;gap:5px}.mushroom-find-heading img{width:19px;height:19px}
 .mushroom-find-body{gap:8px;margin-top:5px}#mushroom-find-photo{width:48px;height:48px}#mushroom-find-info h2{font-size:14px;margin-bottom:3px}#mushroom-find-fact{font-size:11px;line-height:1.35;-webkit-line-clamp:2}
 #mushroom-find-info .mushroom-toxic{padding:4px 6px;font-size:11px;margin-top:5px}.mushroom-find-notice{font-size:9px;margin-top:5px}
 #mushroom-find-more{min-height:34px;font-size:11px;margin-top:5px;padding:5px}
}
.mushroom-knowledge-source{display:block;margin-top:9px;font-size:12px;line-height:1.5}
.mushroom-knowledge{font-weight:600}
