#results-layout:has(#engine-stats) #sidebar-col {
  display: none;
}

#results-layout:has(#engine-stats) #results-main {
  max-width: none;
}

.es-command {
  width: 100%;
  max-width: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 0.5rem 0 2rem;
}

.es-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.es-heading {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.es-logo {
  color: var(--primary);
  font-size: 1.5rem;
}

.es-heading-text {
  display: flex;
  flex-direction: column;
}

.es-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
}

.es-subtitle {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.es-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.es-tabs {
  display: flex;
  gap: 0.25rem;
}

.es-tab {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-decoration: none;
}

.es-tab:hover {
  background: var(--bg-hover);
}

.es-tab--on {
  background: var(--primary);
  color: var(--white);
}


.es-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
}

.es-card {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  background: var(--bg-light);
}

.es-card-value {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-primary);
}

.es-card-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.es-table-wrap {
  overflow-x: auto;
}

.es-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.es-table th {
  text-align: left;
  padding: 0.5rem 0.6rem;
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-secondary);
  white-space: nowrap;
}

.es-table td {
  padding: 0.55rem 0.6rem;
  color: var(--text-primary);
  white-space: nowrap;
}

.es-row:hover td {
  background: var(--bg-hover);
}

.es-num {
  font-variant-numeric: tabular-nums;
}

.es-engine {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.es-name {
  font-weight: 500;
}

.es-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--text-secondary);
}

.es-dot--healthy {
  background: var(--success);
}

.es-dot--shaky {
  background: var(--warning, #d98324);
}

.es-dot--down {
  background: var(--danger);
}

.es-row--down .es-fail,
.es-error {
  color: var(--danger);
}

.es-row--shaky .es-fail {
  color: var(--warning, #d98324);
}

.es-chips {
  display: inline-flex;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.es-chip {
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  background: var(--bg-light);
  color: var(--text-secondary);
  font-size: 0.72rem;
}

.es-muted {
  color: var(--text-secondary);
}

.es-empty,
.es-foot {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.wiki-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  color: var(--text-primary);
  overflow: hidden;
}

.wiki-thumb {
  border-radius: 13px;
  max-width: 40%;
  float: right;
  margin-left: 1rem;
  margin-bottom: 1rem;
  background: var(--border-color);
}

.wiki-thumb--logo {
  display: block;
  max-width: 80%;
  max-height: 60px;
  width: auto;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 0.75rem;
  margin: 0.75rem auto 2rem auto;
}

.wiki-body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.wiki-title {
  display: block;
  font-size: var(--font-large);
  font-weight: 600;
  color: var(--link-color);
  text-decoration: none;
  line-height: 1.1;
}

.wiki-title:hover {
  color: var(--link-hover, var(--link-color));
  text-decoration: underline;
}

.wiki-desc {
  margin-bottom: 1rem;
  font-size: var(--font-small);
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
}

.wiki-extract {
  font-size: var(--font-medium);
  color: var(--text-primary);
  display: inline;
}

.wiki-footer-link {
  display: inline-block;
  margin-top: 0.25rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-decoration: none;
}

.wiki-footer-link:hover {
  color: var(--link-color);
  text-decoration: underline;
}

.sn-panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sn-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
}

.sn-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sn-item {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  border-radius: 6px;
  padding: 4px;
  transition: background 0.12s;
}

.sn-item:hover {
  background: var(--bg-hover);
  text-decoration: none;
}

.sn-thumb {
  width: 36px;
  height: 50px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
  display: block;
}

.sn-thumb--placeholder {
  background: var(--bg-hover);
}

.sn-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sn-title {
  font-size: 13px;
  color: var(--text-primary);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sn-ep {
  font-size: 11px;
  color: var(--text-secondary);
}

.glance-ai-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.glance-ai-title {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-primary);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
}

.glance-ai-title .fa-robot {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.glance-ai-sources-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.5rem 0.25rem 0.25rem;
  border: none;
  border-radius: 1.5rem;
  background: var(--bg);
  color: var(--text-secondary);
  font-size: 0.75rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.15s;
}

.glance-ai-sources-toggle:hover {
  color: var(--text-primary);
}

.glance-ai-sources-toggle::after {
  content: "\25BE";
  font-size: 0.625rem;
  line-height: 1;
  transition: transform 0.15s;
}

.glance-ai-sources-toggle[aria-expanded="true"]::after {
  transform: rotate(180deg);
}

.glance-ai-stack {
  display: inline-flex;
  align-items: center;
}

.glance-ai-stack-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg);
  box-shadow: 0 0 0 2px var(--bg-hover);
  object-fit: contain;
}

.glance-ai-stack-icon + .glance-ai-stack-icon {
  margin-left: -6px;
}

.glance-ai-rail {
  display: flex;
  gap: 0.5rem;
  margin: -0.25rem 0 0.75rem;
  padding-bottom: 0.25rem;
  overflow-x: auto;
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
}

.glance-ai-rail[hidden] {
  display: none;
}

.glance-ai-rail-card {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 0 0 11rem;
  padding: 0.5rem 0.625rem;
  border-radius: 0.5rem;
  background: var(--bg-hover);
  color: var(--text-primary);
  text-decoration: none;
  scroll-snap-align: start;
  transition: background 0.15s;
}

.glance-ai-rail-card:hover {
  background: rgba(var(--primary-rgb), 0.12);
  text-decoration: none;
}

.glance-ai-rail-head {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  min-width: 0;
}

.glance-ai-rail-icon {
  flex-shrink: 0;
  border-radius: 3px;
}

.glance-ai-rail-host {
  color: var(--text-secondary);
  font-size: 0.625rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.glance-ai-rail-title {
  font-size: 0.75rem;
  line-height: 1.35;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.glance-ai-body--clamped {
  min-height: 160px;
  max-height: 160px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
}

.glance-ai-body .glance-snippet > :first-child {
  margin-top: 0;
}

.glance-ai-body .glance-snippet p,
.glance-ai-reply p {
  margin: 0 0 0.75rem;
  line-height: 1.65;
}

.glance-ai-body .glance-snippet h2,
.glance-ai-body .glance-snippet h3,
.glance-ai-reply h2,
.glance-ai-reply h3 {
  margin: 1.25rem 0 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary);
}

.glance-ai-body .glance-snippet ul,
.glance-ai-body .glance-snippet ol,
.glance-ai-reply ul,
.glance-ai-reply ol {
  margin: 0 0 0.75rem;
  padding-inline-start: 1.15rem;
}

.glance-ai-body .glance-snippet li,
.glance-ai-reply li {
  margin-bottom: 0.35rem;
  line-height: 1.6;
}

.glance-ai-body .glance-snippet li::marker,
.glance-ai-reply li::marker {
  color: var(--text-secondary);
}

.glance-ai-body .glance-snippet table,
.glance-ai-reply table {
  display: block;
  width: max-content;
  max-width: 100%;
  margin: 0 0 0.75rem;
  overflow-x: auto;
  border-collapse: collapse;
  font-size: 0.8125rem;
}

.glance-ai-body .glance-snippet th,
.glance-ai-body .glance-snippet td,
.glance-ai-reply th,
.glance-ai-reply td {
  padding: 0.375rem 0.625rem;
  text-align: start;
  vertical-align: top;
}

.glance-ai-body .glance-snippet thead th,
.glance-ai-reply thead th {
  background: var(--bg-hover);
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.glance-ai-body .glance-snippet tbody tr:nth-child(even),
.glance-ai-reply tbody tr:nth-child(even) {
  background: var(--bg-hover);
}

.glance-ai-body .glance-snippet code,
.glance-ai-reply code {
  padding: 1px 4px;
  border-radius: 3px;
  background: var(--bg-hover);
  font-size: 0.8125em;
}

.glance-ai-body .glance-snippet pre,
.glance-ai-reply pre {
  margin: 0 0 0.75rem;
  padding: 0.625rem 0.75rem;
  border-radius: 0.5rem;
  background: var(--bg-hover);
  overflow-x: auto;
}

.glance-ai-body .glance-snippet pre code,
.glance-ai-reply pre code {
  padding: 0;
  background: none;
}

.glance-ai-body .glance-snippet blockquote,
.glance-ai-reply blockquote {
  margin: 0 0 0.75rem;
  padding: 0.125rem 0 0.125rem 0.75rem;
  border-inline-start: 2px solid var(--border);
  color: var(--text-secondary);
}

.glance-ai-body .glance-snippet hr,
.glance-ai-reply hr {
  margin: 1rem 0;
  border: none;
  height: 1px;
  background: var(--border);
}

.glance-ai-key {
  padding: 0 3px;
  border-radius: 3px;
  background: rgba(var(--primary-rgb), 0.16);
  color: var(--text-primary);
  font-weight: 600;
}

.glance-ai.degoog-panel {
  overflow: visible;
  position: relative;
  background: transparent;
}

.glance-ai:has(.glance-ai-collapse:not([hidden])) {
  padding-bottom: 1.5rem;
  margin-bottom: 1rem;
}

.glance-ai-expand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.6rem 1rem;
  border: none;
  border-radius: 0.25rem;
  background: var(--bg);
  color: var(--white);
  font-size: 0.75rem;
  cursor: pointer;
  transition: color 0.15s;
  border: 2px solid var(--primary);
  border-radius: 2rem;
}

.glance-ai-expand::after {
  content: "\25BE";
  font-size: 0.75rem;
  line-height: 1;
}

.glance-ai-expand:hover {
  color: var(--text-primary);
}

.glance-ai-expand[hidden],
.glance-ai-collapse[hidden] {
  display: none;
}

.glance-ai-collapse {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  width: auto;
  margin: 0;
  padding: 0.35rem 0.9rem;
  border: none;
  border-radius: 999px;
  background: var(--bg);
  color: var(--text-secondary);
  font-size: 0.75rem;
  white-space: nowrap;
  cursor: pointer;
  transform: translate(-50%, 50%);
  transition: color 0.15s;
}

.glance-ai-collapse::after {
  content: "\25BE";
  font-size: 0.75rem;
  line-height: 1;
  transform: rotate(180deg);
}

.glance-ai-collapse:hover {
  color: var(--text-primary);
}

.glance-ai-cite {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  vertical-align: baseline;
  margin: 0 2px;
  padding: 0 4px;
  max-width: 12rem;
  border: none;
  border-radius: 0.75rem;
  background: transparent;
  color: var(--text-secondary);
  font: inherit;
  line-height: 1.35;
  cursor: pointer;
  transition: background 0.15s;
}

.glance-ai-cite:hover,
.glance-ai-cite--open {
  background: var(--bg-hover);
}

.glance-ai-cite-favicon {
  flex-shrink: 0;
  border-radius: 2px;
  vertical-align: middle;
}

.glance-ai-cite-host {
  font-size: 0.6875rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.glance-ai-cite-more {
  font-size: 0.6875rem;
  color: var(--text-secondary);
  opacity: 0.8;
}

.glance-ai-pop {
  display: none;
  position: fixed;
  z-index: 9999;
  width: 17rem;
  max-height: 20rem;
  overflow-y: auto;
  padding: 0.375rem;
  border-radius: 0.5rem;
  background: var(--bg-light);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.22);
  pointer-events: none;
  font-size: 0.6875rem;
  line-height: 1.45;
  color: var(--text-primary);
}

.glance-ai-pop--visible {
  display: block;
}

.glance-ai-pop--pinned {
  pointer-events: auto;
}

.glance-ai-pop-label {
  padding: 0.25rem 0.375rem;
  color: var(--text-secondary);
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.glance-ai-pop-row {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.375rem;
  border-radius: 0.375rem;
  color: var(--text-primary);
  text-decoration: none;
}

.glance-ai-pop--pinned .glance-ai-pop-row:hover {
  background: rgba(var(--primary-rgb), 0.12);
  text-decoration: none;
}

.glance-ai-pop-head {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--text-secondary);
}

.glance-ai-pop-host {
  font-size: 0.625rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.glance-ai-pop-title {
  font-weight: 500;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.glance-ai-pop-snippet {
  color: var(--text-secondary);
  display: -webkit-box;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.glance-ai-messages {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.glance-ai-chat {
  margin-top: 0.75rem;
}

@property --glance-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

.glance-ai-input-wrap--styled {
  position: relative;
  padding: 2px;
  border-radius: 0.5rem;
}

.glance-ai-input-wrap--styled::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: conic-gradient(
    from var(--glance-angle),
    var(--brand-blue, var(--primary)),
    var(--danger),
    var(--brand-yellow, var(--warning)),
    var(--success),
    var(--brand-blue, var(--primary))
  );
  opacity: 0;
  transition: opacity 0.2s ease;
}

.glance-ai-input-wrap--styled:focus-within::before {
  opacity: 1;
  animation: glance-ai-spin 4s linear infinite;
}

@keyframes glance-ai-spin {
  to {
    --glance-angle: 360deg;
  }
}

.glance-ai-input {
  position: relative;
  width: 100%;
  min-height: 5rem;
  resize: none;
}

.glance-ai-reply {
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 0.875rem;
}

.glance-ai-reply.glance-ai-user {
  align-self: flex-end;
  max-width: 78%;
  background: var(--bg-hover);
  border-radius: 1rem 0 1rem 1rem;
  padding: 0.5rem 0.75rem;
  color: var(--text-primary);
  font-size: 0.875rem;
  display: block;
  width: auto;
}

.glance-ai-typing {
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.glance-ai-skeleton {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.25rem 0;
}

.glance-ai-skeleton .skeleton-line--snippet {
  width: 100%;
}

.glance-ai-skeleton .skeleton-line--snippet-short {
  width: 55%;
}

.glance-ai-writing {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0.25rem 0;
  color: var(--text-secondary);
  font-size: 0.8125rem;
}

.glance-ai-writing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.4;
  animation: glance-ai-pulse 1.2s ease-in-out infinite;
}

.glance-ai-writing span:nth-child(2) {
  animation-delay: 0.2s;
}
.glance-ai-writing span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes glance-ai-pulse {
  0%,
  80%,
  100% {
    opacity: 0.3;
    transform: scale(0.8);
  }
  40% {
    opacity: 1;
    transform: scale(1);
  }
}

.glance-ai-thinking-label {
  font-size: 0.6875rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
  opacity: 0.7;
}

.glance-ai-thinking-stream {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  font-style: italic;
  opacity: 0.75;
  white-space: pre-wrap;
  max-height: 12em;
  overflow-y: auto;
  border-left: 2px solid var(--text-secondary);
  padding: 0.25rem 0.5rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

@media (prefers-reduced-motion: reduce) {
  .glance-ai-input-wrap--styled:focus-within::before {
    animation: none;
  }

  .glance-ai-writing span {
    animation: none;
  }
}

.math-widget {
  font-family: system-ui, -apple-system, sans-serif;
  background: var(--bg-light);
  max-width: 652px;
  color: var(--text-primary);
}

.math-header {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  font-weight: 600;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 0.5rem;
}

.math-body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.math-query {
  font-size: 1.1rem;
  color: var(--text-secondary);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.math-equals {
  font-size: 0.9rem;
  color: var(--text-secondary);
  opacity: 0.7;
}

.math-result {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}
.math-calc {
  font-family: system-ui, -apple-system, sans-serif;
  max-width: 652px;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.math-calc-screen {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.math-calc-expr {
  width: 100%;
  background: var(--bg-light);
  color: var(--text-primary);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 1.4rem;
  font-weight: 600;
  padding: 0.6rem 0.75rem;
  border: 0;
  border-radius: 12px;
  outline: none;
}

.math-calc-result {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
  min-height: 1.6rem;
  padding: 0 0.75rem;
}

.math-calc-keys {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.math-calc-row {
  display: flex;
  gap: 0.4rem;
}

.math-calc-key {
  flex: 1;
  appearance: none;
  border: 0;
  border-radius: 12px;
  background: var(--bg-light);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1.05rem;
  padding: 0.7rem 0;
  cursor: pointer;
  transition: background 0.15s;
}

.math-calc-key:hover {
  background: var(--bg-hover);
}

.math-calc-fn {
  color: var(--text-secondary);
}

.math-calc-eq {
  background: var(--brand-blue);
  color: #fff;
}

.math-calc-eq:hover {
  background: var(--brand-blue);
  opacity: 0.92;
}

.cp-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cp-header {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.cp-image {
  width: 72px;
  height: 96px;
  object-fit: cover;
  object-position: top center;
  border-radius: 6px;
  flex-shrink: 0;
  display: block;
}

.cp-image--placeholder {
  background: var(--bg-hover);
}

.cp-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 2px;
}

.cp-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
  word-break: break-word;
}

.cp-series {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.cp-series-tag {
  font-size: 11px;
  color: var(--text-secondary);
  background: var(--bg-hover);
  border-radius: 3px;
  padding: 2px 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.cp-desc {
  font-size: 13px;
  color: var(--text-snippet);
  line-height: 1.5;
  margin: 0;
}

.cp-link {
  display: inline-block;
  align-self: flex-start;
  font-size: 12px;
  color: var(--text-link);
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 3px 9px;
  transition: background 0.15s;
}

.cp-link:hover {
  background: var(--bg-hover);
  text-decoration: none;
}

#results-layout:has(#engine-stats) #sidebar-col {
  display: none;
}

#results-layout:has(#engine-stats) #results-main {
  max-width: none;
}

.es-command {
  width: 100%;
  max-width: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 0.5rem 0 2rem;
}

.es-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.es-heading {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.es-logo {
  color: var(--primary);
  font-size: 1.5rem;
}

.es-heading-text {
  display: flex;
  flex-direction: column;
}

.es-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
}

.es-subtitle {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.es-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.es-tabs {
  display: flex;
  gap: 0.25rem;
}

.es-tab {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-decoration: none;
}

.es-tab:hover {
  background: var(--bg-hover);
}

.es-tab--on {
  background: var(--primary);
  color: var(--white);
}


.es-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
}

.es-card {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  background: var(--bg-light);
}

.es-card-value {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-primary);
}

.es-card-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.es-table-wrap {
  overflow-x: auto;
}

.es-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.es-table th {
  text-align: left;
  padding: 0.5rem 0.6rem;
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-secondary);
  white-space: nowrap;
}

.es-table td {
  padding: 0.55rem 0.6rem;
  color: var(--text-primary);
  white-space: nowrap;
}

.es-row:hover td {
  background: var(--bg-hover);
}

.es-num {
  font-variant-numeric: tabular-nums;
}

.es-engine {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.es-name {
  font-weight: 500;
}

.es-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--text-secondary);
}

.es-dot--healthy {
  background: var(--success);
}

.es-dot--shaky {
  background: var(--warning, #d98324);
}

.es-dot--down {
  background: var(--danger);
}

.es-row--down .es-fail,
.es-error {
  color: var(--danger);
}

.es-row--shaky .es-fail {
  color: var(--warning, #d98324);
}

.es-chips {
  display: inline-flex;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.es-chip {
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  background: var(--bg-light);
  color: var(--text-secondary);
  font-size: 0.72rem;
}

.es-muted {
  color: var(--text-secondary);
}

.es-empty,
.es-foot {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.password-result .password-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.password-result .password-value {
  font-size: 1.1rem;
  word-break: break-all;
  margin: 0.5rem 0;
}

.password-result .password-value code {
  background: var(--bg-hover);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

.password-result .password-hint {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 0.75rem;
}

.define-result .define-word {
  font-size: 1.5rem;
  margin: 0 0 0.25rem 0;
}

.define-phonetic {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin: 0 0 0.75rem 0;
}

.define-meaning {
  margin-bottom: 1rem;
}

.define-pos {
  font-style: italic;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.define-list {
  margin: 0.25rem 0 0 1rem;
  padding-left: 0.5rem;
}

.define-example {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.qr-result .qr-label {
  word-break: break-all;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

.qr-result .qr-image {
  display: block;
  border-radius: 8px;
}

/* users-online/style.css  v1.0.0
   All selectors prefixed .uo- to avoid conflicts.
   Uses Degoog CSS variables for automatic theme support. */

/* ════════════════════════════════════════
   HEADER BUTTON
   Injected before #nav-settings-top
   ════════════════════════════════════════ */

#uo-header-btn,
.uo-header-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  margin-right: 10px;
  vertical-align: middle;

  background: var(--bg-hover, rgba(255,255,255,0.07));
  border: 1px solid var(--border, rgba(255,255,255,0.14));
  border-radius: 6px;

  font-size: 12px;
  font-weight: 500;
  color: var(--text-primary, #e8e8ec);
  cursor: pointer;
  white-space: nowrap;
  line-height: 1;

  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

#uo-header-btn:hover,
.uo-header-btn:hover {
  background: var(--primary-muted, rgba(99,102,241,0.18));
  border-color: var(--primary, #6366f1);
  color: var(--primary, #6366f1);
}

/* ════════════════════════════════════════
   SIDEBAR CARD
   ════════════════════════════════════════ */

.uo-sidebar {
  padding: 12px 14px;
  font-size: 13px;
}

.uo-sidebar-header {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
  font-weight: 600;
  color: var(--text-primary);
}

.uo-sidebar-icon { font-size: 16px; }

.uo-sidebar-title { font-size: 13px; }

.uo-count-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
}

.uo-count {
  font-size: 28px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--primary);
  line-height: 1;
}

.uo-count-label {
  font-size: 11px;
  color: var(--text-secondary);
}

.uo-hint {
  font-size: 10px;
  color: var(--text-secondary);
  opacity: 0.7;
  line-height: 1.5;
  border-top: 1px solid var(--border-light);
  padding-top: 8px;
  margin-top: 4px;
}

/* ════════════════════════════════════════
   MODAL OVERLAY
   ════════════════════════════════════════ */

.uo-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.uo-overlay.uo-overlay--open { opacity: 1; }

.uo-modal-loading,
.uo-modal-error {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 40px;
  text-align: center;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}

.uo-spinner {
  width: 28px;
  height: 28px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: uo-spin 0.7s linear infinite;
}
@keyframes uo-spin { to { transform: rotate(360deg); } }

.uo-modal-inner {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 28px 24px;
  width: 100%;
  max-width: 420px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  animation: uo-pop 0.2s ease;
}

@keyframes uo-pop {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to   { opacity: 1; transform: none; }
}

.uo-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--bg-hover);
  border: 1px solid var(--border);
  border-radius: 6px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.uo-modal-close:hover { background: var(--danger); color: #fff; border-color: var(--danger); }

/* Modal header */
.uo-modal-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-right: 36px;
}

.uo-modal-icon { font-size: 28px; line-height: 1; }

.uo-modal-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.uo-modal-sub {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 2px;
}

/* Count hero */
.uo-modal-count-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 10px;
}

.uo-modal-count {
  font-size: 48px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--primary);
  line-height: 1;
}

.uo-modal-count-label {
  font-size: 14px;
  color: var(--text-secondary);
  align-self: flex-end;
  padding-bottom: 6px;
}

.uo-modal-note {
  font-size: 11px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.6;
}

/* Hide me section */
.uo-hide-section {
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
}

.uo-hide-header {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.uo-hide-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
}

.uo-hide-label { flex: 1; min-width: 0; }

.uo-hide-label-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  display: block;
  margin-bottom: 2px;
}

.uo-hide-label-desc {
  font-size: 11px;
  color: var(--text-secondary);
  display: block;
  line-height: 1.5;
}

/* Toggle switch */
.uo-toggle-btn {
  flex-shrink: 0;
  width: 40px;
  height: 22px;
  background: var(--border, rgba(255,255,255,0.14));
  border: none;
  border-radius: 99px;
  cursor: pointer;
  position: relative;
  transition: background 0.2s;
}

.uo-toggle-btn.uo-toggle-on {
  background: var(--primary, #6366f1);
}

.uo-toggle-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.2s;
  pointer-events: none;
}

.uo-toggle-btn.uo-toggle-on .uo-toggle-knob {
  left: 21px;
}

.ac-item--history {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
}

.ac-item--history .ac-item-icon--clock {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--text-secondary);
}

.ac-item--history .ac-item-icon--clock svg {
  width: 20px;
  height: 20px;
}

.ac-item--history .ac-item-text {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ac-item--history .ac-item-delete {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-secondary);
  border-radius: 50%;
  opacity: 0.8;
}

.ac-item--history .ac-item-delete:hover {
  opacity: 1;
  background: var(--bg-hover);
  color: var(--danger);
}

.ac-item--history .ac-item-delete svg {
  width: 18px;
  height: 18px;
}

.search-history-result .result-favicon--clock {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  color: var(--text-cite);
}

.search-history-result .result-favicon--clock svg {
  width: 22px;
  height: 22px;
}

.search-history-result .history-delete-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-left: auto;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  color: var(--text-secondary);
  border-radius: 50%;
  text-decoration: none;
}

.search-history-result .history-delete-btn:hover {
  color: var(--danger);
  background: var(--bg-hover);
}

.search-history-result .history-delete-btn svg {
  width: 18px;
  height: 18px;
}


.time-result .time-place {
  font-size: 1.25rem;
  margin: 0 0 0.25rem 0;
}

.time-time {
  font-size: 1.75rem;
  font-weight: 600;
  margin: 0.25rem 0;
}

.time-date {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin: 0;
}

.rss-result-date {
  font-size: 12px;
  color: var(--text-secondary);
}
.rss-result-date::before {
  content: "\00b7";
  margin: 0 6px;
}

#main-home.has-feed {
  justify-content: flex-start;
  margin-top: 0;
  padding-top: 80px;
  padding-bottom: 24px;
}

.home-news-feed {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 584px;
  margin: 24px auto 0;
  gap: 16px;
}
.home-news-feed:empty {
  display: none;
}

.skeleton-feed {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 16px;
}
.skeleton-feed-card {
  background: var(--bg-light);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.skeleton-feed-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(
    90deg,
    var(--bg-light) 25%,
    var(--bg-hover) 50%,
    var(--bg-light) 75%
  );
  background-size: 200% 100%;
  animation: rss-skeleton-shimmer 1.6s ease-in-out infinite;
}
.skeleton-feed-body {
  padding: 10px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.skeleton-feed-line {
  background: linear-gradient(
    90deg,
    var(--bg-light) 25%,
    var(--bg-hover) 50%,
    var(--bg-light) 75%
  );
  background-size: 200% 100%;
  animation: rss-skeleton-shimmer 1.6s ease-in-out infinite;
  border-radius: 4px;
  height: 12px;
}
.skeleton-feed-line.skeleton-feed-source {
  width: 100px;
}
.skeleton-feed-line.skeleton-feed-title {
  height: 16px;
  width: 85%;
}

@keyframes rss-skeleton-shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

@keyframes home-feed-fade-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.home-feed-card {
  display: block;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
  animation: home-feed-fade-in 0.4s ease-out backwards;
}

.home-feed-card.ext-card {
  padding: 0;
}

.home-feed-card:nth-child(1) {
  animation-delay: 0.02s;
}
.home-feed-card:nth-child(2) {
  animation-delay: 0.06s;
}
.home-feed-card:nth-child(3) {
  animation-delay: 0.1s;
}
.home-feed-card:nth-child(4) {
  animation-delay: 0.14s;
}
.home-feed-card:nth-child(5) {
  animation-delay: 0.18s;
}
.home-feed-card:nth-child(6) {
  animation-delay: 0.22s;
}
.home-feed-card:nth-child(7) {
  animation-delay: 0.26s;
}
.home-feed-card:nth-child(8) {
  animation-delay: 0.3s;
}
.home-feed-card:nth-child(n + 9) {
  animation-delay: 0.34s;
}

.home-feed-card:active {
  background: var(--bg-hover);
}

.home-feed-card-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  background: var(--bg-hover);
}

.home-feed-card-favicon-wrap {
  display: flex;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--bg-hover);
  align-items: center;
  justify-content: center;
}
.home-feed-card-favicon {
  width: 48px;
  height: 48px;
  opacity: 0.6;
}

.home-feed-card-body {
  padding: 10px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.home-feed-card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-secondary);
}

.home-feed-card-source {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-feed-card-date {
  flex-shrink: 0;
}
.home-feed-card-date::before {
  content: "\00b7";
  margin-right: 6px;
}

.home-feed-card-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.3;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (min-width: 768px) {
  .home-news-feed:not(.home-news-feed--desktop) {
    display: none !important;
  }

  .home-news-feed--desktop {
    flex-direction: row;
    max-width: 100%;
    margin: 24px 0 0;
    padding: 0 24px;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .home-news-feed--desktop::-webkit-scrollbar {
    display: none;
  }

  .home-news-feed--desktop .home-feed-card {
    flex: 0 0 280px;
    min-width: 280px;
  }
  .home-news-feed--desktop .home-feed-card-img {
    aspect-ratio: 16 / 9;
  }

  .home-news-feed--desktop .home-feed-sentinel {
    flex: 0 0 1px;
    min-width: 1px;
  }

  .home-news-feed--desktop .skeleton-feed {
    display: flex;
    flex-direction: row;
    gap: 16px;
  }
  .home-news-feed--desktop .skeleton-feed-card {
    flex: 0 0 280px;
    min-width: 280px;
  }
}

.weather-result {
  padding: 1.5em 0;
  max-width: 652px;
  color: var(--text-primary);
}

.weather-result .ti {
  font-size: 1.25em;
  opacity: 0.9;
  color: var(--text-primary);
}

.weather-location {
  margin: 0 0 1rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
}

.weather-hero {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.weather-hero-icon {
  flex-shrink: 0;
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light);
  border-radius: 12px;
  border: 1px solid var(--border-light);
}

.weather-hero-icon .ti {
  font-size: 2.5rem;
  color: var(--primary, #1a73e8);
}

.weather-hero-text {
  min-width: 0;
}

.weather-temp {
  font-size: 2rem;
  margin: 0 0 0.2rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.2;
}

.weather-desc {
  font-size: 0.9375rem;
  font-weight: 400;
  opacity: 0.85;
  color: var(--text-secondary);
}

.weather-feels {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.weather-now-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem 1rem;
  margin-bottom: 1.5rem;
}

.weather-now-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
}

.weather-now-icon {
  flex-shrink: 0;
  font-size: 1.1rem !important;
  opacity: 0.7;
  color: var(--text-secondary) !important;
}

.weather-value {
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.weather-week-heading {
  margin: 0 0 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}

.weather-week-hint {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  opacity: 0.8;
}

.weather-week-wrap {
  border: 1px solid var(--border-light);
  border-radius: 10px;
  background: var(--bg-light);
  overflow: hidden;
}

.weather-week {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.weather-week th,
.weather-week td {
  text-align: left;
  padding: 0.6rem 0.85rem;
  border-bottom: 1px solid var(--border-light);
}

.weather-week th {
  color: var(--text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.7rem;
}

.weather-week tbody tr:last-child td {
  border-bottom: none;
}

.weather-week-row {
  cursor: pointer;
  transition: background 0.15s ease;
}

.weather-week-row:hover {
  background: var(--bg-hover, rgba(0, 0, 0, 0.04));
}

.weather-week-row:focus {
  outline: 2px solid var(--primary, #1a73e8);
  outline-offset: -2px;
}

.weather-day {
  font-weight: 600;
  color: var(--text-primary);
  width: 3.5rem;
}

.weather-day-icon .ti {
  font-size: 1.35rem !important;
  color: var(--primary, #1a73e8) !important;
}

.weather-day-temps {
  font-weight: 500;
  color: var(--text-primary);
}

.weather-day-precip {
  color: var(--text-secondary);
  font-size: 0.8125rem;
}

.weather-day-precip .ti {
  font-size: 0.9rem !important;
  opacity: 0.8;
  margin-right: 0.2rem;
}

.weather-hourly-row td {
  padding: 0 !important;
  border-bottom: 1px solid var(--border-light);
  vertical-align: top;
  background: var(--bg-light);
}

.weather-hourly-cell {
  padding: 0.75rem 1rem !important;
  overflow: hidden;
}

.weather-hourly-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  padding: 0.25rem 0;
  margin: 0 -0.25rem 0 0;
}

.weather-hourly-strip {
  display: flex;
  gap: 0.5rem;
  width: max-content;
  padding: 0 0.25rem 0 0;
}

.weather-hourly-scroll::-webkit-scrollbar {
  height: 6px;
}

.weather-hourly-scroll::-webkit-scrollbar-track {
  background: var(--border-light);
  border-radius: 3px;
}

.weather-hourly-scroll::-webkit-scrollbar-thumb {
  background: var(--text-secondary);
  opacity: 0.3;
  border-radius: 3px;
}

.weather-hour-card {
  flex: 0 0 auto;
  min-width: 4.25rem;
  padding: 0.6rem 0.5rem;
  background: var(--search-bar-bg, #fff);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.weather-hour-time {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--text-secondary);
  white-space: nowrap;
}

.weather-hour-icon {
  font-size: 1.5rem !important;
  color: var(--primary, #1a73e8) !important;
}

.weather-hour-temp {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.weather-hour-precip {
  font-size: 0.65rem;
  color: var(--text-secondary);
}
