:root { --primary: #ff6b6b; --primary-dark: #ee5a5a; --secondary: #4ecdc4; --accent: #ffe66d; --text: #1a202c; --text-muted: #718096; --bg: #f5f7fa; --card-bg: #ffffff; --success: #2a9d8f; --warning: #f4a261; --danger: #e63946; } * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: -apple-system, "Segoe UI", Roboto, sans-serif; background: var(--bg); color: var(--text); overflow: hidden; } /* TOP BAR */ .topbar { position: fixed; top: 0; left: 0; right: 0; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: white; padding: 12px 16px; z-index: 1000; display: flex; align-items: center; gap: 16px; box-shadow: 0 2px 12px rgba(0,0,0,0.15); } .logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; } .logo-emoji { font-size: 28px; } .logo-text div:first-child { font-size: 18px; font-weight: 800; } .logo-text .tagline { font-size: 11px; opacity: 0.9; font-weight: 400; } .rescued-btn, .memorial-btn { background: rgba(255,255,255,0.15); border: none; color: white; padding: 8px 12px; border-radius: 10px; cursor: pointer; display: flex; align-items: center; gap: 6px; font-size: 12px; transition: all 0.3s; } .rescued-btn:hover, .memorial-btn:hover { background: rgba(255,255,255,0.25); transform: translateY(-1px); } .rb-count, .mb-count { background: var(--success); color: white; padding: 2px 6px; border-radius: 10px; font-size: 11px; font-weight: 700; } .mb-count { background: #6c757d; } .menu-btn { margin-left: auto; background: rgba(255,255,255,0.15); border: none; color: white; width: 40px; height: 40px; border-radius: 10px; cursor: pointer; font-size: 20px; transition: background 0.3s; } .menu-btn:hover { background: rgba(255,255,255,0.25); } .city-selector { background: rgba(255,255,255,0.2); border: 1px solid rgba(255,255,255,0.3); color: white; padding: 8px 12px; border-radius: 8px; font-size: 13px; cursor: pointer; outline: none; } .city-selector option { background: var(--text); color: white; } /* FILTER BAR */ .filter-bar { position: fixed; top: 70px; left: 0; right: 0; background: white; padding: 10px 12px; z-index: 999; display: flex; gap: 6px; overflow-x: auto; box-shadow: 0 2px 8px rgba(0,0,0,0.08); } .chip { background: #f0f0f0; border: none; padding: 6px 12px; border-radius: 16px; font-size: 12px; cursor: pointer; white-space: nowrap; transition: all 0.3s; display: flex; align-items: center; gap: 5px; } .chip:hover { background: #e0e0e0; } .chip.active { background: var(--primary); color: white; } .chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--primary); } .chip .dot-vet { background: var(--success); } .chip .dot-shelter { background: var(--warning); } .chip .dot-petshop { background: var(--danger); } /* MAP */ #map { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 1; } /* FAB */ .fab { position: fixed; bottom: 30px; right: 30px; width: 60px; height: 60px; border-radius: 50%; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: white; border: none; font-size: 30px; cursor: pointer; box-shadow: 0 4px 20px rgba(255,107,107,0.4); z-index: 1000; transition: all 0.3s; } .fab:hover { transform: scale(1.1); box-shadow: 0 6px 30px rgba(255,107,107,0.5); } /* AI FAB */ .ai-fab { position: fixed; bottom: 100px; right: 30px; width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--secondary) 0%, #3dbdb5 100%); color: white; border: none; font-size: 22px; cursor: pointer; box-shadow: 0 4px 15px rgba(78,205,196,0.3); z-index: 1000; transition: all 0.3s; } .ai-fab:hover { transform: scale(1.05); } /* AI PANEL */ .ai-panel { position: fixed; bottom: 160px; right: 30px; width: 320px; max-height: 420px; background: white; border-radius: 14px; box-shadow: 0 8px 35px rgba(0,0,0,0.15); z-index: 1001; display: flex; flex-direction: column; overflow: hidden; } .ai-panel[hidden] { display: none; } .ai-panel-head { background: linear-gradient(135deg, var(--secondary), #3dbdb5); color: white; padding: 12px 14px; display: flex; justify-content: space-between; align-items: center; } .ai-head-info { display: flex; align-items: center; gap: 8px; } .ai-head-avatar { font-size: 20px; } .ai-head-name { font-weight: 700; font-size: 13px; } .ai-head-status { font-size: 10px; opacity: 0.9; } .ai-panel-close { background: rgba(255,255,255,0.2); border: none; color: white; width: 26px; height: 26px; border-radius: 50%; cursor: pointer; font-size: 16px; } .ai-messages { flex: 1; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 10px; background: #f8f9fa; } .ai-msg { max-width: 85%; padding: 10px 13px; border-radius: 12px; font-size: 13px; line-height: 1.5; } .ai-msg.ai { background: white; align-self: flex-start; border-bottom-left-radius: 4px; box-shadow: 0 1px 3px rgba(0,0,0,0.1); } .ai-msg.user { background: var(--secondary); color: white; align-self: flex-end; border-bottom-right-radius: 4px; } .ai-suggestions { display: flex; gap: 6px; padding: 10px 12px; overflow-x: auto; background: white; border-top: 1px solid #e2e8f0; } .ai-sug { background: #e8f8f6; color: var(--secondary); padding: 6px 11px; border-radius: 16px; font-size: 11px; white-space: nowrap; cursor: pointer; border: 1px solid transparent; transition: all 0.3s; } .ai-sug:hover { border-color: var(--secondary); background: white; } .ai-input-row { display: flex; gap: 6px; padding: 10px 12px; background: white; border-top: 1px solid #e2e8f0; } .ai-input-row input { flex: 1; padding: 8px 12px; border: 1px solid #e2e8f0; border-radius: 20px; font-size: 13px; outline: none; } .ai-input-row input:focus { border-color: var(--secondary); } .ai-input-row button { background: var(--secondary); color: white; border: none; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; font-size: 14px; } .ai-input-row button:hover { background: #3dbdb5; } /* DRAWER */ .drawer { position: fixed; inset: 0; z-index: 2000; } .drawer[hidden] { display: none; } .drawer-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.5); } .drawer-panel { position: absolute; left: 0; top: 0; bottom: 0; width: 280px; background: white; box-shadow: 4px 0 20px rgba(0,0,0,0.15); display: flex; flex-direction: column; } .drawer-head { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: white; padding: 18px 14px; display: flex; justify-content: space-between; align-items: center; } .drawer-logo { font-size: 18px; font-weight: 800; } .drawer-close { background: rgba(255,255,255,0.2); border: none; color: white; width: 30px; height: 30px; border-radius: 50%; cursor: pointer; font-size: 18px; } .drawer-nav { flex: 1; padding: 14px 0; } .drawer-nav button { width: 100%; padding: 12px 16px; text-align: left; background: none; border: none; font-size: 14px; color: var(--text); cursor: pointer; display: flex; align-items: center; gap: 10px; transition: background 0.2s; } .drawer-nav button:hover { background: #f0f8f7; } .drawer-footer { padding: 16px; border-top: 1px solid #e2e8f0; font-size: 11px; color: var(--text-muted); text-align: center; } /* PREVIEW BOTTOM SHEET */ .preview { position: fixed; bottom: 0; left: 0; right: 0; background: white; border-radius: 20px 20px 0 0; box-shadow: 0 -4px 20px rgba(0,0,0,0.15); z-index: 1002; transform: translateY(100%); transition: transform 0.3s; max-height: 65vh; overflow-y: auto; } .preview.open { transform: translateY(0); } .preview-handle { width: 40px; height: 4px; background: #cbd5e0; border-radius: 2px; margin: 12px auto; } .preview-content { padding: 0 18px 18px; } .preview-title { font-size: 18px; font-weight: 700; margin-bottom: 10px; } .preview-meta { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; } .preview-tag { background: #f0f8f7; color: var(--secondary); padding: 3px 9px; border-radius: 10px; font-size: 11px; } .preview-tag.cat-lost { background: #ffe5e5; color: var(--danger); } .preview-tag.cat-found { background: #e8f8f6; color: var(--success); } .preview-tag.cat-help { background: #fff4e5; color: var(--warning); } .preview-desc { color: var(--text-muted); line-height: 1.6; margin-bottom: 14px; font-size: 14px; } .preview-image { width: 100%; height: 180px; background: #f0f0f0; border-radius: 12px; margin-bottom: 14px; display: flex; align-items: center; justify-content: center; font-size: 60px; } .preview-contact { background: #f8f9fa; padding: 10px; border-radius: 8px; margin-bottom: 14px; font-size: 13px; } .preview-actions { display: flex; gap: 10px; } .preview-btn { flex: 1; padding: 11px; border: none; border-radius: 9px; font-weight: 600; cursor: pointer; transition: all 0.3s; font-size: 13px; } .preview-btn.primary { background: var(--primary); color: white; } .preview-btn.primary:hover { background: var(--primary-dark); } .preview-btn.secondary { background: #f0f0f0; color: var(--text); } .preview-btn.secondary:hover { background: #e0e0e0; } .preview-btn.call { background: var(--success); color: white; } .preview-btn.call:hover { background: #218c7e; } /* MODAL */ .modal { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 3000; display: none; justify-content: center; align-items: center; padding: 20px; } .modal.open { display: flex; } .modal-content { background: white; border-radius: 14px; max-width: 480px; width: 100%; max-height: 90vh; overflow-y: auto; padding: 20px; } .modal-title { font-size: 20px; font-weight: 700; margin-bottom: 18px; } .form-group { margin-bottom: 14px; } .form-group label { display: block; margin-bottom: 5px; font-weight: 600; font-size: 13px; color: var(--text-muted); } .form-group input, .form-group textarea, .form-group select { width: 100%; padding: 10px; border: 1px solid #e2e8f0; border-radius: 8px; font-size: 13px; outline: none; } .form-group input:focus, .form-group textarea:focus { border-color: var(--primary); } .form-actions { display: flex; gap: 10px; margin-top: 18px; } /* TOAST */ .toast { position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(100px); background: var(--text); color: white; padding: 12px 20px; border-radius: 8px; z-index: 5000; transition: transform 0.3s; box-shadow: 0 4px 15px rgba(0,0,0,0.2); font-size: 14px; } .toast.show { transform: translateX(-50%) translateY(0); } /* MASCOT - КОТЁНОК */ .mascot { position: fixed; bottom: 15px; left: 15px; width: 90px; height: 90px; z-index: 999; cursor: pointer; transition: transform 0.3s; } .mascot:hover { transform: scale(1.05); } .mascot-bubble { position: absolute; bottom: 90px; left: 50%; transform: translateX(-50%); background: white; padding: 10px 14px; border-radius: 14px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); font-size: 12px; white-space: nowrap; opacity: 0; transition: opacity 0.3s; pointer-events: none; } .mascot:hover .mascot-bubble { opacity: 1; } /* RUNNING CAT ANIMATION */ .kitty-runner { position: fixed; width: 100px; height: 80px; z-index: 998; pointer-events: none; animation: runAcross 8s linear infinite; } .kitty-runner svg { width: 100%; height: 100%; } @keyframes runAcross { 0% { left: -100px; bottom: 20px; transform: scaleX(1); } 45% { bottom: 20px; } 50% { left: 50%; bottom: 100px; transform: scaleX(1); } 55% { transform: scaleX(-1); } 100% { left: 100%; bottom: 20px; transform: scaleX(-1); } } /* RESCUED BOARD */ .rescued-board { position: fixed; inset: 0; background: var(--bg); z-index: 4000; overflow-y: auto; display: none; } .rescued-board.open { display: block; } .rb-header { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: white; padding: 16px; position: sticky; top: 0; display: flex; align-items: center; gap: 12px; } .rb-back { background: rgba(255,255,255,0.2); border: none; color: white; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; font-size: 18px; } .rb-title { flex: 1; } .rb-title-main { font-weight: 800; font-size: 16px; } .rb-title-sub { font-size: 11px; opacity: 0.9; } .rb-stats { display: flex; gap: 12px; padding: 16px; overflow-x: auto; } .rb-stat { background: white; padding: 14px 18px; border-radius: 12px; text-align: center; min-width: 100px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); } .rb-stat-num { font-size: 24px; font-weight: 800; color: var(--primary); } .rb-stat-label { font-size: 11px; color: var(--text-muted); } .rb-filters { display: flex; gap: 8px; padding: 0 16px 12px; overflow-x: auto; } .rb-chip { background: white; border: 1px solid #e2e8f0; padding: 6px 12px; border-radius: 16px; font-size: 12px; cursor: pointer; white-space: nowrap; } .rb-chip.active { background: var(--primary); color: white; border-color: var(--primary); } .rb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; padding: 16px; } .rb-card { background: white; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.08); transition: transform 0.3s, box-shadow 0.3s; } .rb-card:hover { transform: translateY(-6px); box-shadow: 0 8px 20px rgba(0,0,0,0.12); } .rb-card-img { height: 160px; background: linear-gradient(135deg, #ffe5e5, #fff); display: flex; align-items: center; justify-content: center; font-size: 60px; } .rb-card-body { padding: 14px; } .rb-card-title { font-weight: 700; font-size: 15px; margin-bottom: 6px; color: var(--text); } .rb-card-desc { font-size: 13px; color: var(--text-muted); line-height: 1.5; margin-bottom: 8px; } /* MEMORIAL BOARD */ .memorial-page { position: fixed; inset: 0; background: linear-gradient(180deg, #1a1a2e 0%, #2d2d44 100%); z-index: 4000; overflow-y: auto; color: white; display: none; } .memorial-page.open { display: block; } .memorial-header { padding: 16px; position: sticky; top: 0; display: flex; align-items: center; gap: 12px; background: rgba(26,26,46,0.95); } .memorial-new-btn { margin-left: auto; background: rgba(255,255,255,0.15); border: none; color: white; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; font-size: 20px; } .memorial-quote { padding: 40px 20px; text-align: center; background: rgba(255,255,255,0.05); } .memorial-candle { font-size: 48px; margin-bottom: 16px; } .memorial-quote blockquote { font-size: 18px; font-style: italic; margin-bottom: 12px; opacity: 0.9; } .memorial-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; padding: 16px; } .memorial-card { background: rgba(255,255,255,0.08); border-radius: 12px; padding: 16px; text-align: center; transition: transform 0.3s; } .memorial-card:hover { transform: translateY(-4px); background: rgba(255,255,255,0.1); } .memorial-card-emoji { font-size: 50px; margin-bottom: 12px; } .memorial-card-name { font-weight: 700; margin-bottom: 6px; } .memorial-card-date { font-size: 12px; opacity: 0.7; } .memorial-card-desc { font-size: 12px; opacity: 0.8; margin-top: 8px; line-height: 1.4; } @media (max-width: 768px) { .topbar { padding: 10px 12px; } .logo-text .tagline { display: none; } .rescued-btn .rb-text, .memorial-btn .mb-text { display: none; } .ai-panel { width: calc(100% - 30px); right: 15px; bottom: 160px; } .fab { bottom: 20px; right: 20px; width: 54px; height: 54px; } .ai-fab { bottom: 90px; right: 20px; } .mascot { width: 70px; height: 70px; bottom: 12px; left: 12px; } .rb-grid, .memorial-grid { grid-template-columns: 1fr; } }
🐕

Название

Описание

🏆 Доска спасённых
Истории успеха через PetMap
🕯 Доска памяти
Тем, кого не успели спасти
🕯
«Зачем кому-то умирать, чтобы он нами был замечен?»

Каждая история — напоминание не быть безразличным.

Нажми + чтобы помочь! 🐾