.photo-frame{display:block;position:relative;overflow:hidden;aspect-ratio:4/3;background:#e9eddf;border-radius:14px;flex-shrink:0}.photo-frame img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;aspect-ratio:inherit}.finding .photo-frame{width:68px;height:68px;aspect-ratio:1}.photo-frame.detail-photo{width:100%;height:auto;max-height:none}.photo-feedback{position:absolute;inset:auto 0 0;display:flex;flex-direction:column;gap:4px;padding:8px;text-align:center;background:#faf9f1ed}.photo-feedback[hidden]{display:none}.photo-feedback small{font-size:11px;line-height:1.2}.photo-feedback button{border:1px solid #a5b29f;border-radius:8px;background:#faf9f1;color:#254234;padding:6px;font:600 12px/1.15 inherit;cursor:pointer}.finding .photo-feedback{padding:3px}.finding .photo-feedback small{display:none}.finding .photo-feedback button{font-size:10px;padding:3px}.admin-finding .photo-frame{width:100%}.map-preview>.photo-frame{width:100%;height:170px;aspect-ratio:auto}.map-preview.beta-place-preview>.photo-frame{height:auto}.finding-cluster{background:transparent;border:0}.finding-cluster span{display:grid;place-items:center;width:48px;height:48px;border:3px solid #fbfaf1;border-radius:50%;background:#315843eb;color:#fff;box-shadow:0 3px 12px #1c382844;font:700 16px/1 system-ui}.map-data-state{position:absolute;z-index:490;left:14px;bottom:calc(var(--beta-panel-bottom,100px) + 12px);max-width:calc(100% - 28px);font-size:11px;background:#faf9f1e8;border-radius:10px;padding:5px 9px;pointer-events:none}.map-data-state:empty{display:none}.cluster-member{display:flex;align-items:center;gap:12px;width:100%;background:transparent;color:inherit;border:0;border-bottom:1px solid #b8c4b544;padding:12px;text-align:left}.cluster-member strong,.cluster-member small{display:block}.cluster-member small{font-size:12px;color:#6d7865}.cluster-members{max-height:var(--beta-panel-height,65vh);overflow:auto}.map-limit-setting{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.map-limit-setting input{width:100px}.map-limit-setting .field{flex:1;min-width:180px}@media(orientation:landscape){.map-data-state{left:var(--beta-panel-left,150px);max-width:var(--beta-panel-width,60vw);bottom:12px}}

.photo-open{display:block;width:100%;height:100%}.finding>.finding-link{display:flex;align-items:center;gap:14px;flex:1;min-width:0;text-decoration:none;color:inherit}.finding-link .finding-text{flex:1}

/* Decorative category art stays visible until a real photo has decoded. */
.photo-frame{background:#f5f0e3}
.photo-frame:not(.is-loaded) img{object-fit:contain!important;padding:10px 10px 25px;box-sizing:border-box}
.finding .photo-frame:not(.is-loaded) img{padding:3px 3px 13px}
.photo-illustration-label{position:absolute;bottom:5px;left:50%;transform:translateX(-50%);font:500 10px/1.2 system-ui;color:#827864;pointer-events:none}
.finding .photo-illustration-label{bottom:2px;font-size:8px}
.photo-frame.is-loaded .photo-illustration-label{display:none}
.photo-frame:has(.photo-feedback:not([hidden])) .photo-illustration-label{top:5px;bottom:auto;background:#f5f0e3cc;border-radius:5px;padding:1px 4px}
.finding .photo-frame:has(.photo-feedback:not([hidden])) .photo-illustration-label{top:2px;padding:0 2px}
.finding-pin-content{display:block;width:100%;height:100%}
.finding-cluster{display:flex;align-items:center;justify-content:center;background:none!important;border:0!important}
.finding-cluster .cluster-content{display:flex;align-items:center;justify-content:center;gap:3px;width:auto;height:52px;border:0;border-radius:0;background:none;box-shadow:none;color:#294734;filter:drop-shadow(0 2px 2px #203b2630)}
.finding-cluster .cluster-mushrooms{display:flex;align-items:end;width:auto;height:50px;border:0;border-radius:0;background:none;box-shadow:none}
.finding-cluster .cluster-mushroom{display:block;flex:none;width:35px;height:47px;border:0;border-radius:0;background:none;box-shadow:none}
.finding-cluster .cluster-mushroom+.cluster-mushroom{margin-left:-10px}
.finding-cluster .cluster-mushroom:nth-child(2){transform:translateY(-5px)}
.finding-cluster .cluster-mushroom svg{display:block;width:100%;height:100%;overflow:visible}
.finding-cluster .cluster-count{display:grid;place-items:center;min-width:25px;width:auto;height:27px;padding:0 5px;box-sizing:border-box;border:1.5px solid #fffdf3;border-radius:11px;background:#faf7e9f5;box-shadow:0 1px 4px #314a2926;color:#294734;font:750 13px/1 system-ui}
.find-pin .finding-pin-content .mushroom-group{animation:none}

.photo-progress{display:none;position:absolute;bottom:0;left:0;right:0;height:3px;background:#e4dcc7;overflow:hidden}
.is-preparing .photo-progress{display:block}.photo-progress:after{content:"";display:block;height:100%;width:45%;background:#7d9368;animation:photo-preparing 1.4s ease-in-out infinite}
.photo-frame.is-loaded img{animation:photo-reveal 220ms ease-out}
@keyframes photo-preparing{from{transform:translateX(-110%)}to{transform:translateX(325%)}}
@keyframes photo-reveal{from{opacity:0}to{opacity:1}}
.forest-author{font-size:12px;line-height:1.5;margin:20px 0 0;color:#f9f4e7}.forest-author small{font-size:10px;opacity:.75}
@media(prefers-reduced-motion:reduce){.photo-progress:after,.photo-frame.is-loaded img{animation:none}.photo-progress:after{width:100%;opacity:.6}}

.category-art-icon{display:inline-block;width:48px;height:48px;object-fit:contain;flex:none;background:#f5f0e3;border-radius:9px}
.mushroom-map-art,.cluster-mushroom .mushroom-map-art{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 1px 1px #1e27184d)}
.category-choice .category-choice-art{width:100%;height:88px;object-fit:contain;flex:none}.category-choice{background:#f5f0e3;min-height:126px;justify-content:flex-start}
.category-classification{display:block;font-size:10px;line-height:1.2;color:#775c85}.category-notice{font-size:12px;margin:10px 0;color:#68536c}.category-notice p{margin:8px 0}

/* Four visual levels replace numeric finding badges; place pins retain numbers. */
.finding-cluster .cluster-content{width:100%;height:100%;gap:0}
.finding-cluster .cluster-mushrooms{height:calc(46px * var(--cluster-scale));width:auto}
.finding-cluster .cluster-mushroom{width:calc(30px * var(--cluster-scale));height:calc(40px * var(--cluster-scale))}
.finding-cluster .cluster-mushroom+.cluster-mushroom{margin-left:calc(-10px * var(--cluster-scale))}
.finding-cluster .cluster-mushroom:nth-child(2){transform:translateY(calc(-3px * var(--cluster-scale)))}
