Spaces:
Sleeping
Sleeping
Download static/css/app.css from chechoguz/edadometro: direct link, hf CLI and curl.
- Browser
- Download file 18.7 kB
-
https://huggingface.co/spaces/chechoguz/edadometro/resolve/main/static/css/app.css
- Command line
-
hf download hf://spaces/chechoguz/edadometro/static/css/app.css
-
curl -L -o app.css https://huggingface.co/spaces/chechoguz/edadometro/resolve/main/static/css/app.css
18.7 kB
| /* Edadómetro — mobile-first, alto contraste, temas claro/oscuro */ | |
| :root { | |
| --font: "Inter", system-ui, -apple-system, sans-serif; | |
| --radius: 16px; | |
| --radius-sm: 10px; | |
| --radius-pill: 999px; | |
| --shadow: 0 8px 32px rgba(15, 23, 42, 0.1); | |
| --transition: 0.2s ease; | |
| --bg: #eef1f8; | |
| --bg-elevated: #ffffff; | |
| --bg-muted: #e2e8f4; | |
| --text: #0f172a; | |
| --text-secondary: #334155; | |
| --text-muted: #64748b; | |
| --border: #cbd5e1; | |
| --border-strong: #94a3b8; | |
| --accent: #2563eb; | |
| --accent-hover: #1d4ed8; | |
| --accent-text: #ffffff; | |
| --accent-soft: rgba(37, 99, 235, 0.12); | |
| --danger: #dc2626; | |
| --danger-hover: #b91c1c; | |
| --success: #059669; | |
| --overlay: rgba(15, 23, 42, 0.55); | |
| --shutter-ring: rgba(255, 255, 255, 0.45); | |
| --meta-color: #475569; | |
| } | |
| [data-theme="dark"] { | |
| --bg: #070b14; | |
| --bg-elevated: #111827; | |
| --bg-muted: #1f2937; | |
| --text: #f8fafc; | |
| --text-secondary: #e2e8f0; | |
| --text-muted: #94a3b8; | |
| --border: #374151; | |
| --border-strong: #6b7280; | |
| --accent: #38bdf8; | |
| --accent-hover: #0ea5e9; | |
| --accent-text: #041018; | |
| --accent-soft: rgba(56, 189, 248, 0.15); | |
| --danger: #f87171; | |
| --danger-hover: #ef4444; | |
| --success: #34d399; | |
| --overlay: rgba(0, 0, 0, 0.65); | |
| --shutter-ring: rgba(255, 255, 255, 0.35); | |
| --meta-color: #cbd5e1; | |
| --shadow: 0 12px 40px rgba(0, 0, 0, 0.45); | |
| } | |
| *, *::before, *::after { box-sizing: border-box; } | |
| html { | |
| font-family: var(--font); | |
| -webkit-font-smoothing: antialiased; | |
| -moz-osx-font-smoothing: grayscale; | |
| } | |
| body { | |
| margin: 0; | |
| min-height: 100dvh; | |
| background: var(--bg); | |
| color: var(--text); | |
| line-height: 1.5; | |
| } | |
| .hidden { display: none ; } | |
| .app-shell { | |
| max-width: 520px; | |
| margin: 0 auto; | |
| min-height: 100dvh; | |
| display: flex; | |
| flex-direction: column; | |
| padding: env(safe-area-inset-top) 16px env(safe-area-inset-bottom); | |
| } | |
| /* ── Header ── */ | |
| .top-bar { | |
| display: flex; | |
| align-items: center; | |
| justify-content: space-between; | |
| gap: 12px; | |
| padding: 12px 0 8px; | |
| } | |
| .brand { | |
| display: flex; | |
| align-items: center; | |
| gap: 10px; | |
| min-width: 0; | |
| } | |
| .brand-logo { | |
| flex-shrink: 0; | |
| width: 40px; | |
| height: 40px; | |
| object-fit: contain; | |
| } | |
| .brand-logo-dark { display: none; } | |
| [data-theme="dark"] .brand-logo-light { display: none; } | |
| [data-theme="dark"] .brand-logo-dark { display: block; } | |
| .brand-title { | |
| margin: 0; | |
| font-size: 1.15rem; | |
| font-weight: 800; | |
| letter-spacing: -0.02em; | |
| line-height: 1.2; | |
| } | |
| .brand-tagline { | |
| margin: 0; | |
| font-size: 0.72rem; | |
| color: var(--text-muted); | |
| font-weight: 500; | |
| } | |
| .brand > div { | |
| min-width: 0; | |
| } | |
| .brand-title, | |
| .brand-tagline { | |
| overflow: hidden; | |
| text-overflow: ellipsis; | |
| white-space: nowrap; | |
| } | |
| .top-actions { | |
| display: flex; | |
| align-items: center; | |
| gap: 8px; | |
| flex-shrink: 0; | |
| } | |
| .btn-header-action { | |
| white-space: nowrap; | |
| } | |
| /* ── Disclaimer ── */ | |
| .disclaimer { | |
| background: var(--bg-elevated); | |
| border: 1px solid var(--border); | |
| border-radius: var(--radius-sm); | |
| padding: 0 14px; | |
| margin-bottom: 12px; | |
| } | |
| .disclaimer summary { | |
| cursor: pointer; | |
| font-weight: 600; | |
| font-size: 0.85rem; | |
| padding: 10px 0; | |
| color: var(--text-secondary); | |
| list-style: none; | |
| } | |
| .disclaimer summary::-webkit-details-marker { display: none; } | |
| .disclaimer summary::after { | |
| content: "+"; | |
| float: right; | |
| font-weight: 700; | |
| color: var(--text-muted); | |
| } | |
| .disclaimer[open] summary::after { content: "−"; } | |
| .disclaimer p { | |
| margin: 0 0 12px; | |
| font-size: 0.82rem; | |
| color: var(--text-muted); | |
| } | |
| /* ── Tabs ── */ | |
| .tab-bar { | |
| display: grid; | |
| grid-template-columns: 1fr 1fr; | |
| gap: 6px; | |
| background: var(--bg-muted); | |
| border-radius: var(--radius-pill); | |
| padding: 4px; | |
| margin-bottom: 16px; | |
| } | |
| .tab { | |
| border: none; | |
| background: transparent; | |
| color: var(--text-muted); | |
| font-family: inherit; | |
| font-weight: 600; | |
| font-size: 0.9rem; | |
| padding: 10px 16px; | |
| border-radius: var(--radius-pill); | |
| cursor: pointer; | |
| transition: background var(--transition), color var(--transition); | |
| } | |
| .tab.active { | |
| background: var(--bg-elevated); | |
| color: var(--text); | |
| box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); | |
| } | |
| [data-theme="dark"] .tab.active { | |
| box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35); | |
| } | |
| /* ── Panels ── */ | |
| .main-content { flex: 1; } | |
| .panel { display: none; } | |
| .panel.active { display: block; } | |
| .step-badge { | |
| display: inline-block; | |
| background: var(--accent); | |
| color: var(--accent-text); | |
| font-weight: 700; | |
| font-size: 0.78rem; | |
| padding: 5px 12px; | |
| border-radius: var(--radius-pill); | |
| margin-bottom: 14px; | |
| } | |
| .step-view { animation: fadeIn 0.25s ease; } | |
| @keyframes fadeIn { | |
| from { opacity: 0; transform: translateY(6px); } | |
| to { opacity: 1; transform: translateY(0); } | |
| } | |
| /* ── Source picker (inicio) ── */ | |
| .source-picker { | |
| display: flex; | |
| justify-content: center; | |
| gap: 28px; | |
| padding: 48px 0 32px; | |
| } | |
| .source-btn { | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| gap: 12px; | |
| border: none; | |
| background: none; | |
| cursor: pointer; | |
| font-family: inherit; | |
| color: var(--text); | |
| padding: 0; | |
| transition: transform var(--transition); | |
| } | |
| .source-btn:active { transform: scale(0.94); } | |
| .source-icon { | |
| width: 80px; | |
| height: 80px; | |
| border-radius: 24px; | |
| background: var(--bg-elevated); | |
| border: 2px solid var(--border); | |
| display: grid; | |
| place-items: center; | |
| box-shadow: var(--shadow); | |
| transition: border-color var(--transition), background var(--transition); | |
| } | |
| .source-icon svg { | |
| width: 36px; | |
| height: 36px; | |
| color: var(--accent); | |
| } | |
| .source-btn:hover .source-icon, | |
| .source-btn:focus-visible .source-icon { | |
| border-color: var(--accent); | |
| background: var(--accent-soft); | |
| } | |
| .source-label { | |
| font-size: 0.85rem; | |
| font-weight: 600; | |
| color: var(--text-secondary); | |
| } | |
| /* ── Drop zone ── */ | |
| .drop-zone { | |
| background: var(--bg-elevated); | |
| border: 2px dashed var(--border-strong); | |
| border-radius: var(--radius); | |
| padding: 40px 24px; | |
| text-align: center; | |
| transition: border-color var(--transition), background var(--transition); | |
| } | |
| .drop-zone.dragover { | |
| border-color: var(--accent); | |
| background: var(--accent-soft); | |
| } | |
| .drop-icon { | |
| width: 48px; | |
| height: 48px; | |
| color: var(--accent); | |
| margin-bottom: 12px; | |
| } | |
| .drop-title { | |
| margin: 0 0 4px; | |
| font-weight: 700; | |
| font-size: 1.05rem; | |
| } | |
| .drop-hint { | |
| margin: 0 0 20px; | |
| color: var(--text-muted); | |
| font-size: 0.85rem; | |
| } | |
| /* ── Camera ── */ | |
| #step-camera { | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| } | |
| .camera-wrap { | |
| position: relative; | |
| width: 100%; | |
| max-width: 400px; | |
| margin: 0 auto; | |
| border-radius: var(--radius); | |
| overflow: hidden; | |
| background: #000; | |
| aspect-ratio: 3 / 4; | |
| max-height: 72dvh; | |
| } | |
| .camera-stage { | |
| position: absolute; | |
| inset: 0; | |
| overflow: hidden; | |
| } | |
| .camera-stage.mirrored { | |
| transform: scaleX(-1); | |
| } | |
| #camera-video { | |
| width: 100%; | |
| height: 100%; | |
| object-fit: cover; | |
| display: block; | |
| } | |
| .camera-overlay { | |
| pointer-events: none; | |
| position: absolute; | |
| inset: 0; | |
| } | |
| .camera-oval { | |
| position: absolute; | |
| left: 50%; | |
| top: 40%; | |
| transform: translate(-50%, -50%); | |
| width: 58%; | |
| height: 42%; | |
| border: 3px solid rgba(255, 255, 255, 0.92); | |
| border-radius: 50%; | |
| box-shadow: 0 0 0 9999px var(--overlay); | |
| } | |
| .camera-ui { | |
| position: absolute; | |
| inset: 0; | |
| pointer-events: none; | |
| z-index: 2; | |
| } | |
| .camera-zoom { | |
| position: absolute; | |
| left: 14px; | |
| top: 50%; | |
| transform: translateY(-50%); | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| gap: 6px; | |
| padding: 10px 8px; | |
| border-radius: 28px; | |
| background: rgba(0, 0, 0, 0.38); | |
| backdrop-filter: blur(8px); | |
| -webkit-backdrop-filter: blur(8px); | |
| pointer-events: auto; | |
| } | |
| @media (min-width: 769px) { | |
| .camera-zoom { display: none ; } | |
| } | |
| .zoom-btn { | |
| width: 32px; | |
| height: 28px; | |
| border: none; | |
| background: transparent; | |
| color: #ffffff; | |
| font-size: 1.4rem; | |
| font-weight: 400; | |
| line-height: 1; | |
| cursor: pointer; | |
| padding: 0; | |
| opacity: 0.95; | |
| } | |
| .zoom-btn:active { | |
| opacity: 0.65; | |
| } | |
| .zoom-slider { | |
| -webkit-appearance: none; | |
| appearance: none; | |
| writing-mode: vertical-lr; | |
| direction: rtl; | |
| width: 32px; | |
| height: 108px; | |
| background: transparent; | |
| cursor: pointer; | |
| margin: 0; | |
| } | |
| .zoom-slider::-webkit-slider-runnable-track { | |
| width: 4px; | |
| background: rgba(255, 255, 255, 0.35); | |
| border-radius: 4px; | |
| } | |
| .zoom-slider::-webkit-slider-thumb { | |
| -webkit-appearance: none; | |
| width: 20px; | |
| height: 20px; | |
| border-radius: 50%; | |
| background: #ffffff; | |
| box-shadow: 0 1px 6px rgba(0, 0, 0, 0.35); | |
| margin-left: -8px; | |
| } | |
| .zoom-slider::-moz-range-track { | |
| width: 4px; | |
| background: rgba(255, 255, 255, 0.35); | |
| border-radius: 4px; | |
| } | |
| .zoom-slider::-moz-range-thumb { | |
| width: 20px; | |
| height: 20px; | |
| border-radius: 50%; | |
| background: #ffffff; | |
| border: none; | |
| box-shadow: 0 1px 6px rgba(0, 0, 0, 0.35); | |
| } | |
| .camera-controls-bar { | |
| position: absolute; | |
| left: 0; | |
| right: 0; | |
| bottom: 0; | |
| padding: 48px 20px 24px; | |
| background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, transparent 100%); | |
| pointer-events: none; | |
| } | |
| .camera-controls { | |
| position: relative; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| min-height: 72px; | |
| pointer-events: auto; | |
| } | |
| .flip-camera-btn { | |
| display: none; | |
| position: absolute; | |
| right: 4px; | |
| top: 50%; | |
| transform: translateY(-50%); | |
| width: 44px; | |
| height: 44px; | |
| border-radius: 50%; | |
| border: none; | |
| background: rgba(255, 255, 255, 0.18); | |
| color: #ffffff; | |
| cursor: pointer; | |
| align-items: center; | |
| justify-content: center; | |
| padding: 0; | |
| backdrop-filter: blur(6px); | |
| -webkit-backdrop-filter: blur(6px); | |
| transition: background 0.15s ease, transform 0.12s ease; | |
| } | |
| .flip-camera-btn svg { | |
| width: 24px; | |
| height: 24px; | |
| } | |
| .flip-camera-btn:active { | |
| background: rgba(255, 255, 255, 0.32); | |
| transform: translateY(-50%) scale(0.92); | |
| } | |
| @media (max-width: 768px) { | |
| .flip-camera-btn { | |
| display: flex; | |
| } | |
| .camera-wrap { | |
| max-width: none; | |
| max-height: 78dvh; | |
| } | |
| } | |
| .shutter-btn { | |
| width: 72px; | |
| height: 72px; | |
| border-radius: 50%; | |
| border: 4px solid var(--shutter-ring); | |
| background: #ffffff; | |
| cursor: pointer; | |
| padding: 0; | |
| flex-shrink: 0; | |
| transition: transform 0.15s ease, box-shadow 0.15s ease; | |
| box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35); | |
| } | |
| .shutter-btn:active { | |
| transform: scale(0.92); | |
| } | |
| #step-camera .btn-back { | |
| margin-top: 16px; | |
| } | |
| /* ── Preview / result ── */ | |
| .section-title { | |
| font-weight: 700; | |
| font-size: 1rem; | |
| margin: 0 0 12px; | |
| color: var(--text-secondary); | |
| } | |
| .preview-frame { | |
| background: var(--bg-elevated); | |
| border: 2px solid var(--border); | |
| border-radius: var(--radius); | |
| overflow: hidden; | |
| margin-bottom: 14px; | |
| } | |
| .preview-frame img { | |
| width: 100%; | |
| display: block; | |
| } | |
| .preview-frame-sm { | |
| max-width: 220px; | |
| margin-left: auto; | |
| margin-right: auto; | |
| } | |
| .face-chips { | |
| display: flex; | |
| flex-wrap: wrap; | |
| gap: 8px; | |
| margin-bottom: 16px; | |
| } | |
| .face-chip { | |
| border: 2px solid var(--border); | |
| background: var(--bg-elevated); | |
| color: var(--text); | |
| font-family: inherit; | |
| font-weight: 600; | |
| font-size: 0.85rem; | |
| padding: 8px 16px; | |
| border-radius: var(--radius-pill); | |
| cursor: pointer; | |
| transition: border-color var(--transition), background var(--transition); | |
| } | |
| .face-chip.active { | |
| border-color: var(--accent); | |
| background: var(--accent-soft); | |
| color: var(--accent); | |
| } | |
| [data-theme="dark"] .face-chip.active { | |
| color: var(--accent); | |
| } | |
| .result-hero { | |
| margin-bottom: 16px; | |
| } | |
| .result-image { | |
| width: 100%; | |
| max-height: 55dvh; | |
| object-fit: contain; | |
| border-radius: var(--radius); | |
| border: 2px solid var(--border); | |
| background: var(--bg-elevated); | |
| display: block; | |
| } | |
| .result-phrase { | |
| margin: 0 0 16px; | |
| padding: 16px 18px; | |
| background: var(--bg-elevated); | |
| border-radius: var(--radius); | |
| border-left: 4px solid var(--accent); | |
| font-size: 0.98rem; | |
| line-height: 1.55; | |
| color: var(--text-secondary); | |
| font-style: italic; | |
| text-align: center; | |
| } | |
| .result-card { | |
| background: var(--bg-elevated); | |
| border: 2px solid var(--accent); | |
| border-radius: var(--radius); | |
| padding: 20px; | |
| text-align: center; | |
| font-size: 1.1rem; | |
| font-weight: 500; | |
| line-height: 1.6; | |
| color: var(--text); | |
| box-shadow: var(--shadow); | |
| } | |
| .result-card strong { | |
| color: var(--accent); | |
| font-weight: 800; | |
| font-size: 1.25rem; | |
| } | |
| .result-meta { | |
| text-align: center; | |
| font-size: 0.82rem; | |
| color: var(--meta-color); | |
| margin: 12px 0 20px; | |
| } | |
| /* ── Buttons ── */ | |
| .btn { | |
| font-family: inherit; | |
| font-weight: 600; | |
| font-size: 0.9rem; | |
| border-radius: var(--radius-pill); | |
| padding: 11px 20px; | |
| border: 2px solid transparent; | |
| cursor: pointer; | |
| transition: background var(--transition), border-color var(--transition), transform 0.12s ease; | |
| display: inline-flex; | |
| align-items: center; | |
| justify-content: center; | |
| gap: 6px; | |
| } | |
| .btn:active { transform: scale(0.97); } | |
| .btn-primary { | |
| background: var(--accent); | |
| color: var(--accent-text); | |
| border-color: var(--accent); | |
| } | |
| .btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); } | |
| .btn-ghost { | |
| background: transparent; | |
| color: var(--text-secondary); | |
| border-color: var(--border); | |
| } | |
| .btn-ghost:hover { | |
| background: var(--bg-muted); | |
| border-color: var(--border-strong); | |
| } | |
| .btn-danger { | |
| background: var(--danger); | |
| color: #fff; | |
| border-color: var(--danger); | |
| } | |
| .btn-danger:hover:not(:disabled) { | |
| background: var(--danger-hover); | |
| border-color: var(--danger-hover); | |
| } | |
| .btn-danger:disabled { | |
| opacity: 0.45; | |
| cursor: not-allowed; | |
| } | |
| .btn-sm { font-size: 0.82rem; padding: 8px 14px; } | |
| .btn-icon { | |
| width: 40px; | |
| height: 40px; | |
| padding: 0; | |
| border-radius: 50%; | |
| } | |
| .btn-icon svg { width: 20px; height: 20px; } | |
| #theme-toggle .icon-moon { display: none; } | |
| [data-theme="dark"] #theme-toggle .icon-sun { display: none; } | |
| [data-theme="dark"] #theme-toggle .icon-moon { display: block; } | |
| #admin-toggle.admin-active { | |
| color: var(--accent); | |
| background: var(--accent-soft); | |
| } | |
| .history-mode-label { | |
| margin: 0 0 10px; | |
| font-size: 0.82rem; | |
| font-weight: 600; | |
| color: var(--text-muted); | |
| } | |
| .history-mode-label.admin-mode { | |
| color: var(--accent); | |
| } | |
| .field-label { | |
| display: block; | |
| margin: 0 0 6px; | |
| font-size: 0.85rem; | |
| font-weight: 600; | |
| color: var(--text-secondary); | |
| } | |
| .field-input { | |
| width: 100%; | |
| padding: 10px 12px; | |
| margin-bottom: 12px; | |
| border: 1px solid var(--border); | |
| border-radius: var(--radius-sm); | |
| background: var(--bg-elevated); | |
| color: var(--text); | |
| font: inherit; | |
| } | |
| .field-input:focus { | |
| outline: 2px solid var(--accent-soft); | |
| border-color: var(--accent); | |
| } | |
| .admin-hint { | |
| margin: 0 0 14px; | |
| font-size: 0.88rem; | |
| color: var(--text-secondary); | |
| } | |
| .admin-error { | |
| margin: 0 0 12px; | |
| font-size: 0.85rem; | |
| font-weight: 600; | |
| color: var(--danger); | |
| } | |
| .action-row { | |
| display: flex; | |
| gap: 10px; | |
| justify-content: center; | |
| flex-wrap: wrap; | |
| margin-top: 8px; | |
| } | |
| .btn-back { | |
| display: block; | |
| margin: 16px auto 0; | |
| } | |
| /* ── Status / loading ── */ | |
| .status-msg { | |
| text-align: center; | |
| font-size: 0.88rem; | |
| font-weight: 600; | |
| color: var(--danger); | |
| min-height: 1.4em; | |
| margin: 12px 0 0; | |
| } | |
| .status-msg.ok { color: var(--success); } | |
| .loading { | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| gap: 10px; | |
| padding: 20px; | |
| color: var(--text-muted); | |
| font-weight: 600; | |
| } | |
| .spinner { | |
| width: 22px; | |
| height: 22px; | |
| border: 3px solid var(--border); | |
| border-top-color: var(--accent); | |
| border-radius: 50%; | |
| animation: spin 0.7s linear infinite; | |
| } | |
| @keyframes spin { to { transform: rotate(360deg); } } | |
| /* ── History ── */ | |
| .history-toolbar { | |
| display: flex; | |
| justify-content: space-between; | |
| gap: 10px; | |
| margin-bottom: 14px; | |
| } | |
| .history-list { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 10px; | |
| } | |
| .history-item { | |
| display: flex; | |
| align-items: center; | |
| gap: 12px; | |
| background: var(--bg-elevated); | |
| border: 2px solid var(--border); | |
| border-radius: var(--radius); | |
| padding: 12px; | |
| cursor: pointer; | |
| transition: border-color var(--transition), background var(--transition); | |
| } | |
| .history-item:hover { | |
| border-color: var(--border-strong); | |
| } | |
| .history-item.selected { | |
| border-color: var(--accent); | |
| background: var(--accent-soft); | |
| } | |
| .history-check { | |
| width: 22px; | |
| height: 22px; | |
| accent-color: var(--accent); | |
| flex-shrink: 0; | |
| cursor: pointer; | |
| } | |
| .history-thumb { | |
| width: 64px; | |
| height: 64px; | |
| object-fit: cover; | |
| border-radius: var(--radius-sm); | |
| border: 2px solid var(--border); | |
| flex-shrink: 0; | |
| } | |
| .history-body { | |
| flex: 1; | |
| min-width: 0; | |
| } | |
| .history-body strong { | |
| display: block; | |
| font-size: 0.88rem; | |
| font-weight: 700; | |
| color: var(--text); | |
| margin-bottom: 2px; | |
| } | |
| .history-body span { | |
| display: block; | |
| font-size: 0.82rem; | |
| color: var(--text-secondary); | |
| } | |
| .history-body small { | |
| display: block; | |
| font-size: 0.75rem; | |
| color: var(--text-muted); | |
| margin-top: 2px; | |
| } | |
| .empty-state { | |
| text-align: center; | |
| color: var(--text-muted); | |
| padding: 32px 16px; | |
| font-size: 0.9rem; | |
| } | |
| /* ── Modals ── */ | |
| .modal { | |
| border: none; | |
| border-radius: var(--radius); | |
| padding: 0; | |
| max-width: min(480px, calc(100vw - 32px)); | |
| width: 100%; | |
| background: var(--bg-elevated); | |
| color: var(--text); | |
| box-shadow: var(--shadow); | |
| } | |
| .modal::backdrop { | |
| background: var(--overlay); | |
| } | |
| .modal-sm { max-width: 360px; } | |
| .modal-header { | |
| display: flex; | |
| align-items: center; | |
| justify-content: space-between; | |
| padding: 16px 20px; | |
| border-bottom: 1px solid var(--border); | |
| } | |
| .modal-header h2 { | |
| margin: 0; | |
| font-size: 1rem; | |
| font-weight: 700; | |
| } | |
| .modal-body { padding: 20px; } | |
| .modal-body .result-image { margin-bottom: 16px; } | |
| .modal-body .action-row { margin-top: 16px; } | |
| /* ── Footer ── */ | |
| .footer { | |
| text-align: center; | |
| font-size: 0.72rem; | |
| color: var(--text-muted); | |
| padding: 20px 0 8px; | |
| display: flex; | |
| justify-content: center; | |
| align-items: center; | |
| gap: 6px; | |
| flex-wrap: wrap; | |
| } | |
| .dot { opacity: 0.5; } | |
| /* ── Responsive ── */ | |
| @media (max-width: 768px) { | |
| .top-bar { | |
| gap: 6px; | |
| } | |
| .brand { | |
| flex: 1; | |
| gap: 8px; | |
| } | |
| .brand-logo { | |
| width: 32px; | |
| height: 32px; | |
| } | |
| .brand-title { | |
| font-size: 1rem; | |
| } | |
| .brand-tagline { | |
| display: none; | |
| } | |
| .top-actions { | |
| gap: 4px; | |
| } | |
| .top-actions .btn-icon { | |
| width: 34px; | |
| height: 34px; | |
| } | |
| .top-actions .btn-icon svg { | |
| width: 18px; | |
| height: 18px; | |
| } | |
| .btn-header-action { | |
| font-size: 0.78rem; | |
| padding: 7px 10px; | |
| } | |
| } | |
| @media (min-width: 480px) { | |
| .app-shell { padding-left: 24px; padding-right: 24px; } | |
| .source-icon { width: 96px; height: 96px; } | |
| .source-icon svg { width: 42px; height: 42px; } | |
| } | |
| @media (max-width: 380px) { | |
| .top-actions .btn-header-action { | |
| font-size: 0.74rem; | |
| padding: 6px 8px; | |
| } | |
| } | |