| |
| |
| |
|
|
| |
|
|
| :root { |
| |
| --color-bg: #f5f0e8; |
| --color-bg-alt: #ece6dc; |
| --color-bg-card: #faf6ef; |
| --color-sidebar-bg: #e3ddd2; |
|
|
| |
| --color-text: #3a3a3a; |
| --color-text-card: #3d3832; |
| --color-text-inverse: #ffffff; |
| --color-text-muted: #8a8a8a; |
|
|
| |
| --color-accent: #9c7a5a; |
| --color-highlight: rgba(156, 122, 90, 0.12); |
| --color-border: #d5cfc4; |
|
|
| |
| --color-score-high: #7A8B6F; |
| --color-score-mid: #A49768; |
| --color-score-low: #B49E82; |
| --color-score-minimal: #D5CFC6; |
|
|
| |
| --color-feedback-error: #d4896d; |
|
|
| |
| --font-ui: system-ui, -apple-system, sans-serif; |
| --font-scripture: 'Crimson Text', Georgia, serif; |
| --font-size-base: clamp(0.938rem, 0.875rem + 0.25vw, 1.063rem); |
| --line-height-base: 1.6; |
| --line-height-scripture: 1.8; |
|
|
| |
| --space-xs: 0.25rem; |
| --space-sm: 0.5rem; |
| --space-md: 1rem; |
| --space-lg: 2rem; |
| --space-xl: 4rem; |
|
|
| |
| --max-width: 960px; |
| --sidebar-width: 280px; |
| --card-width: 480px; |
| --touch-target-mobile: 44px; |
| --touch-target-desktop: 40px; |
|
|
| |
| --radius-sm: 4px; |
| --radius-md: 8px; |
| --radius-lg: 12px; |
|
|
| |
| --focus-offset: 2px; |
|
|
| |
| --transition-smooth: 500ms cubic-bezier(0.25, 0.1, 0.25, 1); |
| --transition-quick: 150ms ease-out; |
|
|
| |
| color-scheme: light; |
| } |
|
|
| |
|
|
| *, |
| *::before, |
| *::after { |
| box-sizing: border-box; |
| margin: 0; |
| padding: 0; |
| } |
|
|
| body { |
| font-family: var(--font-ui); |
| font-size: var(--font-size-base); |
| line-height: var(--line-height-base); |
| color: var(--color-text); |
| background-color: var(--color-bg); |
| max-width: var(--max-width); |
| margin: 0 auto; |
| padding: var(--space-md); |
| padding-left: calc(var(--space-md) + env(safe-area-inset-left, 0px)); |
| padding-right: calc(var(--space-md) + env(safe-area-inset-right, 0px)); |
| padding-bottom: calc(var(--space-md) + env(safe-area-inset-bottom, 0px)); |
| -webkit-font-smoothing: antialiased; |
| scrollbar-gutter: stable; |
| } |
|
|
| |
|
|
| .hero-section { |
| position: relative; |
| display: flex; |
| flex-direction: column; |
| min-height: 100vh; |
| min-height: 100dvh; |
| } |
|
|
| .hero-section::before { |
| content: ""; |
| flex: 2 0 0px; |
| } |
|
|
| .hero-section::after { |
| content: ""; |
| flex: 3 0 0px; |
| } |
|
|
| |
|
|
| .scroll-hint { |
| position: absolute; |
| bottom: var(--space-lg); |
| left: 50%; |
| transform: translateX(-50%); |
| color: var(--color-accent); |
| opacity: 0.5; |
| animation: scroll-hint-bob 2.5s ease-in-out infinite; |
| transition: opacity 400ms ease-out; |
| pointer-events: none; |
| } |
|
|
| .scroll-hint.faded { |
| opacity: 0; |
| } |
|
|
| @keyframes scroll-hint-bob { |
| 0%, 100% { transform: translateX(-50%) translateY(0); } |
| 50% { transform: translateX(-50%) translateY(6px); } |
| } |
|
|
| |
|
|
| |
| .hidden { |
| display: none !important; |
| } |
|
|
| .sr-only { |
| position: absolute; |
| width: 1px; |
| height: 1px; |
| padding: 0; |
| margin: -1px; |
| overflow: hidden; |
| clip: rect(0, 0, 0, 0); |
| white-space: nowrap; |
| border: 0; |
| } |
|
|
| |
|
|
| .skip-link { |
| position: absolute; |
| top: -100%; |
| left: var(--space-md); |
| z-index: 50; |
| padding: var(--space-sm) var(--space-md); |
| background: var(--color-accent); |
| color: var(--color-text-inverse); |
| border-radius: var(--radius-md); |
| font-family: var(--font-ui); |
| font-size: 0.9rem; |
| text-decoration: none; |
| } |
|
|
| .skip-link:focus { |
| top: var(--space-md); |
| } |
|
|
| |
|
|
| h1 { |
| font-family: var(--font-scripture); |
| font-size: clamp(1.875rem, 1.5rem + 1.5vw, 3rem); |
| font-weight: 700; |
| line-height: 1.2; |
| color: var(--color-text); |
| } |
|
|
| .subtitle { |
| font-family: var(--font-ui); |
| font-size: 1.25rem; |
| font-weight: 400; |
| line-height: 1.4; |
| color: var(--color-text-muted); |
| margin-top: var(--space-xs); |
| transition: font-size var(--transition-smooth), margin var(--transition-smooth); |
| } |
|
|
| .description { |
| font-family: var(--font-ui); |
| font-size: var(--font-size-base); |
| font-weight: 400; |
| line-height: var(--line-height-base); |
| color: var(--color-text); |
| margin-top: var(--space-xs); |
| margin-bottom: var(--space-md); |
| max-height: 8em; |
| opacity: 1; |
| overflow: hidden; |
| } |
|
|
| |
|
|
| .home-link { |
| color: inherit; |
| text-decoration: none; |
| pointer-events: none; |
| } |
|
|
| .results-active .home-link { |
| pointer-events: auto; |
| cursor: pointer; |
| } |
|
|
| |
|
|
| .page-header { |
| text-align: left; |
| padding: var(--space-xl) 0 var(--space-sm); |
| width: 100%; |
| max-width: 560px; |
| margin-left: auto; |
| margin-right: auto; |
| } |
|
|
| .verse-ref-header { |
| font-family: var(--font-scripture); |
| font-size: 1.1rem; |
| color: var(--color-text-muted); |
| margin-top: 0; |
| margin-bottom: var(--space-lg); |
| max-height: 3em; |
| overflow: hidden; |
| } |
|
|
| |
|
|
| .animating .description, |
| .animating .verse-ref-header, |
| .animating .page-header { |
| transition: none !important; |
| } |
|
|
| .animating .hero-section::before, |
| .animating .hero-section::after { |
| transition: none !important; |
| flex-grow: 0 !important; |
| } |
|
|
| |
|
|
| .results-active .description { |
| opacity: 0; |
| max-height: 0; |
| margin-top: 0; |
| margin-bottom: 0; |
| } |
|
|
| .results-active .verse-ref-header { |
| opacity: 0; |
| max-height: 0; |
| margin-bottom: 0; |
| overflow: hidden; |
| } |
|
|
| .results-active .hero-section { |
| max-height: 100vh; |
| max-height: 100dvh; |
| padding-bottom: calc(var(--space-lg) + 20px); |
| } |
|
|
| .results-active .hero-section::before, |
| .results-active .hero-section::after { |
| flex-grow: 0; |
| } |
|
|
| .results-active main { |
| flex: 1; |
| display: flex; |
| flex-direction: column; |
| min-height: 0; |
| } |
|
|
| .results-active #results-container { |
| flex: 1; |
| overflow-y: auto; |
| min-height: 0; |
| } |
|
|
| .results-active .page-header { |
| padding: var(--space-sm) 0 var(--space-sm); |
| } |
|
|
| .results-active .subtitle { |
| font-size: 1rem; |
| } |
|
|
| |
|
|
| .search-bar { |
| position: relative; |
| width: 100%; |
| max-width: 560px; |
| margin: 0 auto var(--space-lg); |
| transition: max-width var(--transition-smooth); |
| } |
|
|
| .search-input { |
| width: 100%; |
| font-family: var(--font-ui); |
| font-size: var(--font-size-base); |
| line-height: 1.4; |
| padding: var(--space-sm) 3.5rem var(--space-sm) var(--space-md); |
| border: 1px solid var(--color-border); |
| border-radius: var(--radius-md); |
| background-color: var(--color-bg); |
| color: var(--color-text); |
| outline: none; |
| transition: border-color var(--transition-quick), opacity var(--transition-quick); |
| -webkit-appearance: none; |
| appearance: none; |
| } |
|
|
| .search-input[aria-busy="true"] { |
| opacity: 0.7; |
| cursor: wait; |
| } |
|
|
| .search-input::-webkit-search-cancel-button { |
| -webkit-appearance: none; |
| appearance: none; |
| display: none; |
| } |
|
|
| .search-input:focus-visible { |
| border-color: var(--color-border); |
| box-shadow: none; |
| outline: 2px solid transparent; |
| outline-offset: var(--focus-offset); |
| } |
|
|
| .search-input::placeholder { |
| color: var(--color-text-muted); |
| font-style: italic; |
| } |
|
|
| .clear-button { |
| position: absolute; |
| top: 50%; |
| transform: translateY(-50%); |
| display: flex; |
| align-items: center; |
| justify-content: center; |
| width: var(--touch-target-desktop); |
| height: var(--touch-target-desktop); |
| padding: 0; |
| border: none; |
| border-radius: var(--radius-sm); |
| background: transparent; |
| cursor: pointer; |
| right: var(--space-sm); |
| color: var(--color-text-muted); |
| } |
|
|
| |
|
|
| .results-content { |
| opacity: 0; |
| transition: opacity 170ms ease-in; |
| } |
|
|
| .results-content.visible { |
| opacity: 1; |
| } |
|
|
| |
|
|
| .carousel-viewport { |
| flex: 1; |
| min-width: 0; |
| overflow: hidden; |
| touch-action: pan-y pinch-zoom; |
| overscroll-behavior-x: contain; |
| } |
|
|
| .carousel-track { |
| display: flex; |
| } |
|
|
| .carousel-slide { |
| flex: 0 0 100%; |
| min-width: 0; |
| display: flex; |
| align-items: center; |
| justify-content: center; |
| } |
|
|
| .carousel-slide--spacer { |
| pointer-events: none; |
| } |
|
|
| |
|
|
| .carousel-wrapper { |
| position: relative; |
| display: flex; |
| align-items: center; |
| gap: var(--space-sm); |
| max-width: calc(var(--card-width) + 280px); |
| margin-left: auto; |
| margin-right: auto; |
| } |
|
|
| .carousel-arrow { |
| flex-shrink: 0; |
| display: flex; |
| align-items: center; |
| justify-content: center; |
| width: var(--touch-target-desktop); |
| height: var(--touch-target-desktop); |
| padding: 0; |
| border: none; |
| border-radius: 50%; |
| background: transparent; |
| color: var(--color-accent); |
| cursor: pointer; |
| } |
|
|
| .carousel-arrow:hover { |
| background: var(--color-highlight); |
| } |
|
|
| .carousel-arrow[aria-disabled="true"] { |
| opacity: 0.3; |
| cursor: default; |
| pointer-events: none; |
| } |
|
|
| .carousel-dots { |
| display: flex; |
| justify-content: center; |
| gap: var(--space-sm); |
| padding: var(--space-md) 0; |
| } |
|
|
| .carousel-dot { |
| width: 12px; |
| height: 12px; |
| padding: 0; |
| border: 2px solid var(--color-accent); |
| border-radius: 50%; |
| background: transparent; |
| cursor: pointer; |
| transition: background-color var(--transition-quick); |
| } |
|
|
| .carousel-dot.active { |
| background: var(--color-accent); |
| } |
|
|
| |
|
|
| .result-card--placeholder { |
| opacity: 0; |
| } |
|
|
| |
|
|
| .result-card { |
| background-color: var(--color-bg-card); |
| color: var(--color-text-card); |
| border-radius: var(--radius-lg); |
| border: 1px solid rgba(156, 122, 90, 0.15); |
| box-shadow: 0 2px 8px rgba(58, 53, 48, 0.06); |
| padding: var(--space-md); |
| margin-bottom: var(--space-md); |
| max-width: var(--card-width); |
| margin-left: auto; |
| margin-right: auto; |
| contain: content; |
| } |
|
|
| .card-header { |
| display: flex; |
| justify-content: space-between; |
| align-items: center; |
| flex-wrap: wrap; |
| gap: var(--space-sm); |
| margin-bottom: var(--space-sm); |
| font-family: var(--font-ui); |
| font-size: 0.95rem; |
| line-height: 1.3; |
| } |
|
|
| .card-header strong { |
| font-weight: 700; |
| } |
|
|
| |
|
|
| .score-badge { |
| display: inline-block; |
| font-size: 0.8rem; |
| font-weight: 500; |
| line-height: 1.2; |
| padding: var(--space-xs) var(--space-sm); |
| border-radius: var(--radius-lg); |
| color: var(--color-text-inverse); |
| white-space: nowrap; |
| } |
|
|
| .score-high { |
| background-color: var(--color-score-high); |
| } |
|
|
| .score-mid { |
| background-color: var(--color-score-mid); |
| } |
|
|
| .score-low { |
| background-color: var(--color-score-low); |
| } |
|
|
| .score-minimal { |
| background-color: var(--color-score-minimal); |
| color: var(--color-text-card); |
| } |
|
|
| |
|
|
| .context-block { |
| padding: var(--space-sm) 0; |
| } |
|
|
| .context-verse { |
| padding: 0.3rem var(--space-sm); |
| margin: 0.2rem 0; |
| font-family: var(--font-scripture); |
| font-size: 0.95rem; |
| line-height: var(--line-height-scripture); |
| color: #847d74; |
| } |
|
|
| .verse-ref { |
| font-weight: bold; |
| margin-right: var(--space-sm); |
| font-size: 0.85rem; |
| } |
|
|
| .matched-verse { |
| background: var(--color-highlight); |
| border-left: 3px solid var(--color-accent); |
| padding-left: 0.7rem; |
| color: var(--color-text-card); |
| } |
|
|
| |
|
|
| .card-header-actions { |
| display: flex; |
| align-items: center; |
| gap: var(--space-xs); |
| } |
|
|
| .feedback-group { |
| display: flex; |
| align-items: center; |
| gap: 2px; |
| } |
|
|
| .feedback-btn { |
| display: flex; |
| align-items: center; |
| justify-content: center; |
| width: 28px; |
| height: 28px; |
| padding: 0; |
| border: none; |
| border-radius: var(--radius-sm); |
| background: transparent; |
| color: var(--color-text-muted); |
| cursor: pointer; |
| opacity: 0.5; |
| transition: color var(--transition-quick), |
| background-color var(--transition-quick), |
| opacity var(--transition-quick); |
| } |
|
|
| .feedback-btn:hover { |
| background: var(--color-highlight); |
| opacity: 1; |
| } |
|
|
| .feedback-up[aria-pressed="true"] { |
| color: var(--color-score-high); |
| opacity: 1; |
| } |
|
|
| .feedback-down[aria-pressed="true"] { |
| color: var(--color-feedback-error); |
| opacity: 1; |
| } |
|
|
| |
|
|
| .status-message { |
| text-align: center; |
| padding: var(--space-lg) var(--space-md); |
| color: var(--color-text); |
| max-width: 400px; |
| margin-left: auto; |
| margin-right: auto; |
| } |
|
|
| .status-message p { |
| margin-bottom: var(--space-sm); |
| } |
|
|
| .loading-spinner { |
| width: 28px; |
| height: 28px; |
| margin: var(--space-md) auto 0; |
| border: 3px solid var(--color-border); |
| border-top-color: var(--color-accent); |
| border-radius: 50%; |
| animation: spin 0.8s linear infinite; |
| } |
|
|
| @keyframes spin { |
| to { transform: rotate(360deg); } |
| } |
|
|
| .error-message { |
| color: var(--color-feedback-error); |
| } |
|
|
| .retry-button { |
| display: inline-block; |
| min-width: 120px; |
| min-height: var(--touch-target-mobile); |
| padding: var(--space-sm) var(--space-md); |
| margin-top: var(--space-md); |
| font-family: var(--font-ui); |
| font-size: var(--font-size-base); |
| color: var(--color-text-inverse); |
| background-color: var(--color-accent); |
| border: none; |
| border-radius: var(--radius-md); |
| cursor: pointer; |
| } |
|
|
| .retry-button:hover { |
| opacity: 0.9; |
| } |
|
|
| |
|
|
| .sidebar-toggle { |
| position: fixed; |
| top: calc(var(--space-md) + env(safe-area-inset-top, 0px)); |
| left: calc(var(--space-md) + env(safe-area-inset-left, 0px)); |
| z-index: 30; |
| display: flex; |
| align-items: center; |
| justify-content: center; |
| width: var(--touch-target-mobile); |
| height: var(--touch-target-mobile); |
| padding: 0; |
| border: none; |
| border-radius: var(--radius-sm); |
| background: var(--color-bg); |
| color: var(--color-text); |
| cursor: pointer; |
| transition: opacity 300ms ease-out; |
| } |
|
|
| .sidebar-toggle:hover { |
| background: var(--color-highlight); |
| } |
|
|
| .sidebar-open .sidebar-toggle { |
| background: var(--color-sidebar-bg); |
| } |
|
|
| .sidebar-open .sidebar-toggle:hover { |
| background: var(--color-sidebar-bg); |
| } |
|
|
| .history-sidebar { |
| position: fixed; |
| top: 0; |
| left: 0; |
| z-index: 20; |
| width: var(--sidebar-width); |
| height: 100vh; |
| height: 100dvh; |
| height: 100svh; |
| padding: calc(var(--touch-target-mobile) + var(--space-lg)) var(--space-md) var(--space-md); |
| padding-bottom: calc(var(--space-md) + env(safe-area-inset-bottom, 0px)); |
| padding-left: calc(var(--space-md) + env(safe-area-inset-left, 0px)); |
| background-color: var(--color-sidebar-bg); |
| overflow-y: auto; |
| -webkit-overflow-scrolling: touch; |
| overscroll-behavior-y: contain; |
| transform: translateX(-100%); |
| transition: transform 300ms ease-out; |
| will-change: transform; |
| display: flex; |
| flex-direction: column; |
| } |
|
|
| .sidebar-open .history-sidebar { |
| transform: translateX(0); |
| } |
|
|
| .sidebar-backdrop { |
| position: fixed; |
| top: 0; |
| left: 0; |
| z-index: 10; |
| width: 100vw; |
| height: 100vh; |
| height: 100dvh; |
| background: rgba(0, 0, 0, 0.3); |
| } |
|
|
| .sidebar-title { |
| font-family: var(--font-ui); |
| font-size: 1.1rem; |
| font-weight: 600; |
| color: var(--color-text); |
| margin-bottom: var(--space-md); |
| } |
|
|
| .history-empty { |
| color: var(--color-text-muted); |
| font-size: 0.9rem; |
| text-align: left; |
| padding: var(--space-md) 0; |
| } |
|
|
| .history-list:not(:empty) + .history-empty { |
| display: none; |
| } |
|
|
| .sidebar-version { |
| margin-top: auto; |
| padding-top: var(--space-md); |
| font-family: var(--font-ui); |
| font-size: 0.75rem; |
| color: var(--color-text-muted); |
| opacity: 0.6; |
| } |
|
|
| .history-entry { |
| display: flex; |
| align-items: center; |
| gap: var(--space-sm); |
| padding: var(--space-sm); |
| border-bottom: 1px solid var(--color-border); |
| } |
|
|
| .history-query { |
| flex: 1; |
| min-width: 0; |
| padding: var(--space-xs) 0; |
| border: none; |
| background: transparent; |
| color: var(--color-text); |
| font-family: var(--font-ui); |
| font-size: 0.9rem; |
| text-align: left; |
| cursor: pointer; |
| white-space: nowrap; |
| overflow: hidden; |
| text-overflow: ellipsis; |
| } |
|
|
| .history-query:hover { |
| color: var(--color-accent); |
| } |
|
|
| .history-delete { |
| flex-shrink: 0; |
| display: flex; |
| align-items: center; |
| justify-content: center; |
| width: 32px; |
| height: 32px; |
| padding: 0; |
| border: none; |
| border-radius: var(--radius-sm); |
| background: transparent; |
| color: var(--color-text-muted); |
| font-size: 1.1rem; |
| cursor: pointer; |
| } |
|
|
| .history-delete:hover { |
| color: var(--color-feedback-error); |
| } |
|
|
| |
|
|
| .offline-banner { |
| position: fixed; |
| top: 0; |
| left: 0; |
| z-index: 40; |
| width: 100%; |
| height: 48px; |
| display: flex; |
| align-items: center; |
| justify-content: center; |
| gap: var(--space-sm); |
| padding-top: env(safe-area-inset-top, 0px); |
| font-family: var(--font-ui); |
| font-size: 0.85rem; |
| color: var(--color-text); |
| background: rgba(153, 153, 153, 0.1); |
| border-bottom: 1px solid var(--color-border); |
| } |
|
|
| .offline-banner.hidden { |
| display: none !important; |
| } |
|
|
| |
|
|
| a:focus-visible, |
| button:focus-visible, |
| [role="button"]:focus-visible, |
| select:focus-visible, |
| textarea:focus-visible { |
| outline: 2px solid var(--color-accent); |
| outline-offset: var(--focus-offset); |
| } |
|
|
| |
|
|
| .seo-content { |
| width: 100%; |
| max-width: var(--max-width); |
| margin: var(--space-xl) auto 0; |
| padding: var(--space-xl) var(--space-md); |
| background-color: var(--color-bg-alt); |
| border-radius: var(--radius-lg); |
| } |
|
|
| .seo-content-inner { |
| max-width: 640px; |
| margin: 0 auto; |
| } |
|
|
| .seo-heading { |
| font-family: var(--font-scripture); |
| font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); |
| font-weight: 600; |
| color: var(--color-text); |
| margin-bottom: var(--space-sm); |
| } |
|
|
| .seo-subheading { |
| font-family: var(--font-ui); |
| font-size: 1rem; |
| font-weight: 600; |
| color: var(--color-text); |
| margin-bottom: var(--space-sm); |
| } |
|
|
| .seo-description { |
| font-family: var(--font-ui); |
| font-size: var(--font-size-base); |
| line-height: var(--line-height-base); |
| color: var(--color-text); |
| margin-bottom: var(--space-lg); |
| } |
|
|
| .example-queries { |
| display: flex; |
| flex-wrap: wrap; |
| justify-content: center; |
| gap: var(--space-xs); |
| margin-bottom: var(--space-lg); |
| } |
|
|
| .example-query { |
| display: inline-flex; |
| align-items: center; |
| min-height: var(--touch-target-desktop); |
| padding: var(--space-xs) var(--space-sm); |
| font-family: var(--font-ui); |
| font-size: 0.82rem; |
| color: var(--color-accent); |
| background: var(--color-bg-card); |
| border: 1px solid var(--color-border); |
| border-radius: 999px; |
| cursor: pointer; |
| transition: background-color var(--transition-quick), |
| border-color var(--transition-quick); |
| } |
|
|
| .example-query:hover { |
| background: var(--color-highlight); |
| border-color: var(--color-accent); |
| } |
|
|
| |
|
|
| .github-link { |
| text-align: center; |
| font-family: var(--font-ui); |
| font-size: 0.78rem; |
| color: var(--color-text-muted); |
| } |
|
|
| .github-link a { |
| color: var(--color-accent); |
| text-decoration: none; |
| } |
|
|
| .github-link a:hover { |
| text-decoration: underline; |
| } |
|
|
| |
|
|
| .support-section { |
| width: 100%; |
| max-width: var(--max-width); |
| margin: var(--space-lg) auto var(--space-xl); |
| padding: var(--space-lg) var(--space-md); |
| text-align: center; |
| } |
|
|
| .support-section .github-link { |
| margin-bottom: var(--space-md); |
| } |
|
|
| .support-links { |
| display: flex; |
| justify-content: center; |
| gap: var(--space-sm); |
| flex-wrap: wrap; |
| } |
|
|
| .support-link { |
| display: inline-flex; |
| align-items: center; |
| gap: var(--space-xs); |
| padding: var(--space-xs) var(--space-sm); |
| font-family: var(--font-ui); |
| font-size: 0.8rem; |
| font-weight: 500; |
| text-decoration: none; |
| border-radius: var(--radius-md); |
| transition: opacity var(--transition-quick); |
| } |
|
|
| .support-link:hover { |
| opacity: 0.85; |
| } |
|
|
| .support-link--github { |
| color: var(--color-text-inverse); |
| background-color: #333; |
| } |
|
|
| .support-link--kofi { |
| color: var(--color-text-inverse); |
| background-color: #e05d6f; |
| } |
|
|
| |
|
|
| @media (prefers-reduced-motion: reduce) { |
| *, |
| *::before, |
| *::after { |
| animation-duration: 0.01ms !important; |
| animation-iteration-count: 1 !important; |
| transition-duration: 0.01ms !important; |
| } |
| } |
|
|
| |
|
|
| @media (max-width: 767px) { |
| .sidebar-toggle { |
| position: relative; |
| top: auto; |
| left: auto; |
| } |
|
|
| .results-active .page-header { |
| padding-top: var(--space-sm); |
| } |
|
|
| .clear-button { |
| width: var(--touch-target-mobile); |
| height: var(--touch-target-mobile); |
| } |
|
|
| .search-input { |
| padding-right: calc(var(--touch-target-mobile) + var(--space-sm) * 2); |
| } |
|
|
| .carousel-arrow { |
| width: var(--touch-target-mobile); |
| height: var(--touch-target-mobile); |
| } |
|
|
| .history-delete { |
| width: var(--touch-target-mobile); |
| height: var(--touch-target-mobile); |
| } |
|
|
| .feedback-btn { |
| width: 32px; |
| height: 32px; |
| } |
|
|
| .example-query { |
| min-height: var(--touch-target-mobile); |
| } |
|
|
| } |
|
|
| |
|
|
| @media (min-width: 768px) { |
| .sidebar-backdrop { |
| display: none !important; |
| } |
|
|
| .search-input { |
| font-size: 1.1rem; |
| } |
|
|
| .carousel-wrapper { |
| max-width: calc(var(--card-width) + 320px); |
| } |
| } |
|
|
| |
|
|
| @media (min-width: 1024px) { |
| .search-bar { |
| max-width: 640px; |
| } |
|
|
| .page-header { |
| max-width: 640px; |
| } |
|
|
| .carousel-wrapper { |
| max-width: calc(var(--card-width) + 380px); |
| } |
|
|
| .seo-content-inner { |
| max-width: 700px; |
| } |
| } |
|
|
| |
|
|
| @media (min-width: 1280px) { |
| :root { |
| --max-width: 1100px; |
| } |
|
|
| .search-bar { |
| max-width: 700px; |
| } |
|
|
| .page-header { |
| max-width: 700px; |
| } |
|
|
| .result-card { |
| max-width: 540px; |
| } |
| } |
|
|