*{margin:0;padding:0;box-sizing:border-box}:root{--primary-color: #2c5530;--secondary-color: #8b4513;--accent-color: #d4a574;--bg-dark: #1a1a2e;--bg-light: #16213e;--text-light: #eee;--text-muted: #aaa}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,sans-serif;background:var(--bg-dark);color:var(--text-light);overflow:hidden;height:100vh;width:100vw}#app{position:relative;width:100%;height:100%}#globe-container{position:absolute;top:0;left:0;width:100%;height:100%;z-index:1}.logo-link{position:absolute;top:20px;left:24px;z-index:10;transition:opacity .2s ease}.logo-link:hover{opacity:.85}.logo{height:32px;width:auto;filter:drop-shadow(0 2px 4px rgba(0,0,0,.3))}.header{position:absolute;top:20px;left:50%;transform:translate(-50%);text-align:center;z-index:10;pointer-events:none}.header h1{font-size:2rem;font-weight:600;text-shadow:2px 2px 4px rgba(0,0,0,.5);margin-bottom:0}.loading{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);text-align:center;z-index:100}.loading.hidden{display:none}.spinner{width:50px;height:50px;border:3px solid var(--bg-light);border-top-color:var(--accent-color);border-radius:50%;animation:spin 1s linear infinite;margin:0 auto 15px}@keyframes spin{to{transform:rotate(360deg)}}.modal{position:fixed;top:0;left:0;width:100%;height:100%;background:#2d2a26a6;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;z-index:1000;opacity:1;transition:opacity .4s cubic-bezier(.4,0,.2,1);padding:20px;box-sizing:border-box}.modal.hidden{opacity:0;pointer-events:none}#breed-modal .modal-content{background:#fff;border-radius:24px;max-width:720px;max-height:90vh;width:100%;overflow:hidden;overflow-y:auto;position:relative;box-shadow:0 8px 32px #0000001f;transform:scale(1) translateY(0);transition:transform .4s cubic-bezier(.4,0,.2,1)}.modal.hidden .modal-content{transform:scale(.96) translateY(12px)}#breed-modal .modal-content::-webkit-scrollbar{width:6px}#breed-modal .modal-content::-webkit-scrollbar-track{background:transparent}#breed-modal .modal-content::-webkit-scrollbar-thumb{background:#ddd;border-radius:3px}#breed-modal .modal-content::-webkit-scrollbar-thumb:hover{background:#ccc}#breed-modal .modal-close{position:absolute;top:16px;right:16px;background:#fff;border:1px solid #dddddd;color:#333;font-size:1.1rem;width:36px;height:36px;border-radius:50%;cursor:pointer;z-index:10;transition:all .2s ease;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 4px #00000014;line-height:1}#breed-modal .modal-close:hover{background:#f5f5f5;transform:scale(1.08);box-shadow:0 4px 8px #0000001f;color:#1a1a1a}#breed-modal .breed-image-container{width:100%;aspect-ratio:4 / 3;overflow:hidden;background:#f5f5f5;position:relative}#breed-modal .breed-image-container img{width:100%;height:100%;object-fit:contain;object-position:center;display:block;background:#f5f5f5}.image-credit{position:absolute;bottom:8px;right:10px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,sans-serif;font-size:12px;color:#666;background:#ffffffe6;padding:4px 10px;border-radius:4px;z-index:5}.image-credit.hidden{display:none}.image-credit a{color:#24a275;text-decoration:none;transition:color .2s ease}.image-credit a:hover{color:#1e8a63;text-decoration:underline}.breed-info{padding:48px 56px 56px;color:#333;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,sans-serif}@media (max-width: 768px){.breed-info{padding:32px 24px}}.breed-info h2{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,sans-serif;font-size:28px;font-weight:800;margin-bottom:8px;padding-bottom:12px;border-bottom:3px solid #24a275;color:#1a1a1a;line-height:1.3}.breed-location{font-size:15px;color:#333;margin-bottom:20px;font-weight:400}.separator{margin:0 8px;color:#ddd;font-weight:400}.breed-description-wrapper{margin-bottom:32px;padding-bottom:20px;border-bottom:1px solid #dddddd}.breed-description{font-size:15px;line-height:1.6;color:#333;margin:0;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical}.breed-description.truncated{-webkit-line-clamp:3}.breed-description.expanded{-webkit-line-clamp:unset}.breed-description a.description-link{color:#24a275;text-decoration:none;transition:color .2s ease}.breed-description a.description-link:hover{color:#1e8a63;text-decoration:underline}.see-more-btn{background:none;border:none;color:#24a275;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,sans-serif;font-size:14px;font-weight:600;cursor:pointer;padding:0;margin-top:12px;transition:color .2s ease}.see-more-btn:hover{color:#1e8a63;text-decoration:underline}.see-more-btn.hidden{display:none}.breed-details{display:grid;grid-template-columns:1fr 1fr;gap:32px;margin-bottom:32px}.detail-group h3{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,sans-serif;font-size:18px;font-weight:800;color:#1a1a1a;margin-bottom:8px;padding-bottom:8px;border-bottom:2px solid #24a275;display:inline-block}.detail-group p{margin-bottom:12px;font-size:16px;color:#333;line-height:1.5}.detail-group p:last-child{margin-bottom:0}.detail-group strong{color:#1a1a1a;font-weight:600;font-size:14px;display:block;margin-bottom:6px}.breed-footer{display:flex;justify-content:space-between;align-items:flex-end;padding-top:24px;border-top:1px solid #dddddd}.status-section{display:flex;flex-direction:column;gap:10px}.status-label{font-size:14px;font-weight:600;color:#1a1a1a}.status-badge{display:inline-flex;align-items:center;padding:10px 20px;border-radius:50px;font-size:14px;font-weight:600;width:fit-content;transition:all .2s ease}.status-badge.critical{background:#fee;color:#c00;border:1px solid #fcc}.status-badge.at-risk{background:#fff4e6;color:#c48a20;border:1px solid #ffe0b2}.status-badge.recovering{background:#f0faf5;color:#24a275;border:1px solid #c8e6d7}.status-badge.extinct,.status-badge.unknown{background:#f5f5f5;color:#666;border:1px solid #ddd}.learn-more-btn{display:inline-flex;align-items:center;justify-content:center;padding:16px 40px;background:#24a275;color:#fff;text-decoration:none;border-radius:50px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,sans-serif;font-size:16px;font-weight:600;transition:background .2s ease}.learn-more-btn:hover{background:#1e8a63}.breed-footer-actions{display:flex;gap:12px;align-items:center}.edit-breed-btn{display:inline-flex;align-items:center;gap:6px;padding:16px 32px;background:#fff;border:1px solid #dddddd;border-radius:50px;color:#333;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,sans-serif;font-size:16px;font-weight:600;cursor:pointer;transition:all .2s ease}.edit-breed-btn:hover{background:#f5f5f5;border-color:#ccc}.edit-breed-btn svg{flex-shrink:0}@media (max-width: 740px){#breed-modal .modal-content{max-width:100%;border-radius:24px}}@media (max-width: 560px){#breed-modal .breed-image-container{aspect-ratio:16 / 10}#breed-modal .breed-image-container img{object-fit:cover}.breed-info h2{font-size:1.75rem}.breed-details{grid-template-columns:1fr;gap:24px}.detail-group h3{font-size:1.2rem}.breed-footer{flex-direction:column;align-items:stretch;gap:20px}.breed-footer-actions{flex-direction:column}.learn-more-btn,.edit-breed-btn{width:100%;padding:16px 24px;justify-content:center}}.search-container{position:absolute;top:20px;left:50%;transform:translate(-50%);z-index:100;width:90%;max-width:420px}#search-input{width:100%;padding:16px 50px 16px 24px;font-size:16px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,sans-serif;border:1px solid #dddddd;border-radius:50px;background:#fff;color:#333;outline:none;box-shadow:0 4px 16px #00000014;transition:border-color .2s ease,box-shadow .2s ease}#search-input:focus{border-color:#24a275;box-shadow:0 4px 20px #0000001f}#search-input::placeholder{color:#999}.voice-search-btn{position:absolute;right:8px;top:50%;transform:translateY(-50%);width:36px;height:36px;border:none;border-radius:50%;background:transparent;color:#666;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease}.voice-search-btn:hover{background:#f5f5f5;color:#24a275}.voice-search-btn.listening{background:#e74c3c1a;color:#e74c3c;animation:pulse 1.5s infinite}@keyframes pulse{0%,to{transform:translateY(-50%) scale(1)}50%{transform:translateY(-50%) scale(1.1)}}.voice-search-btn.unsupported{display:none}.search-suggestions{position:absolute;top:100%;left:0;right:0;margin-top:8px;background:#fff;border:1px solid #dddddd;border-radius:20px;box-shadow:0 8px 24px #0000001f;max-height:320px;overflow-y:auto}.search-suggestions::-webkit-scrollbar{width:6px}.search-suggestions::-webkit-scrollbar-track{background:transparent}.search-suggestions::-webkit-scrollbar-thumb{background:#ddd;border-radius:3px}.search-suggestions::-webkit-scrollbar-thumb:hover{background:#ccc}.search-suggestions.hidden{display:none}.suggestion-item{padding:14px 20px;cursor:pointer;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #f5f5f5;transition:background .2s ease}.suggestion-item:first-child{border-radius:19px 19px 0 0}.suggestion-item:last-child{border-bottom:none;border-radius:0 0 19px 19px}.suggestion-item:only-child{border-radius:19px}.suggestion-item:hover,.suggestion-item.active{background:#f5f5f5}.suggestion-name{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,sans-serif;font-weight:600;font-size:16px;color:#1a1a1a}.suggestion-country{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,sans-serif;font-size:14px;color:#666}.tooltip{position:fixed;background:#000000e6;color:#fff;padding:10px 16px;border-radius:50px;font-size:.85rem;pointer-events:none;z-index:500;white-space:nowrap;transform:translate(-50%,-100%);margin-top:-10px}.tooltip.hidden{display:none}@media (max-width: 600px){.logo-link{top:16px;left:16px}.logo{height:24px}.header h1{font-size:1.4rem}}.edit-toggle{position:absolute;bottom:20px;right:20px;z-index:100;padding:10px 20px;background:var(--bg-light);color:var(--text-light);border:2px solid var(--accent-color);border-radius:25px;font-size:.9rem;cursor:pointer;transition:all .2s}.edit-toggle:hover{background:var(--accent-color);color:var(--bg-dark)}.edit-toggle.active{background:#e74c3c;border-color:#e74c3c;color:#fff}.edit-indicator{position:absolute;top:70px;left:50%;transform:translate(-50%);z-index:100;padding:10px 25px;background:#e74c3ce6;color:#fff;border-radius:25px;font-size:.85rem;font-weight:500;text-align:center}.edit-indicator.hidden{display:none}#edit-modal .modal-content{background:#fff;border-radius:24px;max-width:680px;box-shadow:0 8px 32px #0000001f}.edit-modal-content{max-width:100%;padding:48px 56px;max-height:85vh;overflow-y:auto;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,sans-serif}@media (max-width: 768px){.edit-modal-content{padding:32px 24px}}.edit-modal-content::-webkit-scrollbar{width:6px}.edit-modal-content::-webkit-scrollbar-track{background:transparent}.edit-modal-content::-webkit-scrollbar-thumb{background:#ddd;border-radius:3px}.edit-modal-content::-webkit-scrollbar-thumb:hover{background:#ccc}.edit-modal-content h2{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,sans-serif;font-size:28px;font-weight:800;margin-bottom:24px;padding-bottom:12px;border-bottom:3px solid #24a275;color:#1a1a1a}.form-group{margin-bottom:20px}.form-group label{display:block;margin-bottom:10px;font-size:16px;color:#1a1a1a;font-weight:700}.form-group input,.form-group textarea{width:100%;padding:16px 20px;background:#fff;border:1px solid #dddddd;border-radius:50px;color:#333;font-size:16px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,sans-serif;transition:border-color .2s ease}.form-group textarea{border-radius:20px}.form-group input:focus,.form-group textarea:focus{outline:none;border-color:#24a275}.form-group input::placeholder,.form-group textarea::placeholder{color:#999}.form-group textarea{resize:vertical;min-height:100px;line-height:1.6}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:32px;padding-top:24px;border-top:1px solid #dddddd}.btn{padding:16px 36px;border:none;border-radius:50px;font-size:16px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,sans-serif;font-weight:600;cursor:pointer;transition:background .2s ease}.btn-primary{background:#24a275;color:#fff}.btn-primary:hover{background:#1e8a63}.btn-secondary{background:#fff;color:#333;border:1px solid #dddddd}.btn-secondary:hover{background:#f5f5f5;border-color:#ccc;color:#1a1a1a}#edit-modal .modal-close{background:#fff;border:1px solid #dddddd;color:#333}#edit-modal .modal-close:hover{background:#f5f5f5;color:#1a1a1a}body.dragging-marker,body.dragging-marker *{cursor:grabbing!important}.image-upload-area{border:2px dashed #dddddd;border-radius:20px;padding:24px;text-align:center;cursor:pointer;transition:all .2s ease;background:#fff;min-height:160px;display:flex;align-items:center;justify-content:center;position:relative}.image-upload-area:hover,.image-upload-area.dragover{border-color:#24a275;background:#f0faf5}.upload-prompt{display:flex;flex-direction:column;align-items:center;gap:10px;color:#666}.upload-prompt .upload-icon{font-size:2.5rem;line-height:1;color:#24a275;opacity:.7}.image-preview{position:relative;width:100%;max-height:200px}.image-preview img{max-width:100%;max-height:200px;object-fit:contain;border-radius:8px;box-shadow:0 2px 8px #2d2a261a}.image-preview.hidden,.upload-prompt.hidden{display:none}.remove-image-btn{position:absolute;top:-10px;right:-10px;width:28px;height:28px;border-radius:50%;background:#c43c3c;color:#fff;border:2px solid #ffffff;font-size:1.1rem;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease;box-shadow:0 2px 6px #c43c3c4d}.remove-image-btn:hover{background:#a83232;transform:scale(1.1)}.faq-link{position:absolute;bottom:20px;left:20px;z-index:100;width:40px;height:40px;display:flex;align-items:center;justify-content:center;background:#fff;border:1px solid #dddddd;border-radius:50%;color:#333;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,sans-serif;font-size:20px;font-weight:600;text-decoration:none;box-shadow:0 2px 8px #00000014;transition:all .2s ease}.faq-link:hover{background:#24a275;border-color:#24a275;color:#fff}.map-title{position:absolute;bottom:28px;left:50%;transform:translate(-50%);z-index:100;margin:0;font-family:DM Sans,sans-serif;font-size:.8125rem;font-weight:500;letter-spacing:.08em;text-transform:uppercase;color:#ffffffb3;pointer-events:none}
