.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-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;
}

/* ── OSM Slot ─────────────────────────────────────────────── */

.osm-slot-wrap {
  margin-bottom: 12px;
  max-width: 680px;
}

.osm-slot-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.osm-slot-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.osm-slot-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-primary);
  flex-shrink: 0;
}

.osm-slot-city {
  font-size: 0.72rem;
  color: var(--text-secondary);
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.osm-slot-open {
  font-size: 0.7rem;
  color: var(--primary);
  text-decoration: none;
  flex-shrink: 0;
  white-space: nowrap;
}

.osm-slot-open:hover {
  text-decoration: underline;
}

.osm-map-container {
  width: 100%;
  height: 280px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
}

/* Fix Leaflet popup inside dark themes */
.leaflet-popup-content-wrapper {
  background: var(--bg-light) !important;
  color: var(--text-primary) !important;
  border: 1px solid var(--border) !important;
  box-shadow: none !important;
}

.leaflet-popup-tip {
  background: var(--bg-light) !important;
}

.leaflet-popup-content {
  margin: 8px 12px !important;
  font-size: 0.8rem !important;
}

/* Fix Leaflet controls inside dark themes */
.leaflet-control-zoom a {
  background: var(--bg-light) !important;
  color: var(--text-primary) !important;
  border-color: var(--border) !important;
}

.leaflet-control-zoom a:hover {
  background: var(--bg-hover) !important;
}

.leaflet-control-attribution {
  background: rgba(0,0,0,0.4) !important;
  color: var(--text-secondary) !important;
  font-size: 0.6rem !important;
}

.leaflet-control-attribution a {
  color: var(--primary) !important;
}

.plausible-head-note {
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.05);
  font-size: 0.95rem;
  line-height: 1.45;
}

/* ── Currency Slot Animations ───────────────────────── */

@keyframes cxs-slide-in {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes cxs-fade-scale {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes cxs-pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.4); }
  50% { box-shadow: 0 0 0 4px rgba(74, 222, 128, 0); }
}

@keyframes cxs-number-pop {
  0% { transform: scale(0.9); opacity: 0.5; }
  50% { transform: scale(1.02); }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes cxs-accent-flash {
  0% { color: var(--text-secondary); }
  30% { color: var(--primary, #4ade80); text-shadow: 0 0 20px rgba(var(--primary-rgb, 74, 222, 128), 0.3); }
  100% { color: var(--text-secondary); }
}

/* ── Base ──────────────────────────────────────────── */

.cxs-wrap {
  max-width: 680px;
  margin-bottom: 16px;
  font-family: var(--font-sans, sans-serif);
  position: relative;
  animation: cxs-slide-in 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cxs-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  animation: cxs-fade-scale 0.3s ease 0.1s both;
}

.cxs-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-primary);
  opacity: 0.9;
}

.cxs-main {
  border: 1px solid var(--border-light);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, transparent 100%);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.cxs-main:hover {
  border-color: rgba(255,255,255,0.2);
  box-shadow: 0 4px 24px rgba(0,0,0,0.2);
}

.cxs-row {
  display: flex;
  align-items: center;
  padding: 16px 18px;
  gap: 14px;
  transition: background-color 0.2s ease;
}

.cxs-row:hover {
  background-color: rgba(255,255,255,0.02);
}

.cxs-flag {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.cxs-flag.changing {
  opacity: 0;
  transform: scale(0.8) rotate(-10deg);
}

.cxs-flag svg {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 6px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.cxs-input-wrap { flex: 1; min-width: 0; }

.cxs-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 6px;
  opacity: 0.8;
  transition: opacity 0.2s, color 0.2s;
}

.cxs-input-wrap:focus-within .cxs-label {
  opacity: 1;
  color: var(--primary, var(--text-primary));
}

.cxs-amount {
  width: 100%;
  font-size: 32px;
  font-weight: 300;
  color: var(--text-primary);
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-sans, sans-serif);
  letter-spacing: -1px;
  padding: 0;
  transition: all 0.2s ease;
}

.cxs-amount:focus {
  transform: translateX(2px);
}

.cxs-amount::-webkit-inner-spin-button,
.cxs-amount::-webkit-outer-spin-button { -webkit-appearance: none; }
.cxs-amount[type=number] { -moz-appearance: textfield; }

.cxs-result {
  font-size: 32px;
  font-weight: 300;
  color: var(--text-secondary);
  letter-spacing: -1px;
  transition: all 0.3s ease;
  min-height: 40px;
  font-variant-numeric: tabular-nums;
}

.cxs-result.updating {
  animation: cxs-accent-flash 0.8s ease;
}

/* Currency buttons */
.cxs-cur-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--border-light);
  background: rgba(255,255,255,0.03);
  cursor: pointer;
  color: var(--text-primary);
  flex-shrink: 0;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: var(--font-sans, sans-serif);
  position: relative;
  overflow: hidden;
}

.cxs-cur-btn:hover {
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.06);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.cxs-cur-btn:active {
  transform: translateY(0) scale(0.98);
}

.cxs-cur-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s;
}

.cxs-cur-btn:active::after {
  width: 100px;
  height: 100px;
}

.cxs-cur-code {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  text-align: left;
  transition: color 0.2s;
}

.cxs-cur-name {
  font-size: 11px;
  color: var(--text-secondary);
  text-align: left;
  white-space: nowrap;
  transition: color 0.2s;
}

.cxs-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-light) 20%, var(--border-light) 80%, transparent);
  position: relative;
  margin: 4px 0;
}

.cxs-swap {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background: var(--bg, #1a1a1a);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  z-index: 2;
  padding: 0; 
}

.cxs-swap:hover {
  border-color: rgba(255,255,255,0.3);
  color: var(--text-primary);
  box-shadow: 0 0 20px rgba(255,255,255,0.1);
}

.cxs-swap:active {
  transform: translate(-50%, -50%) scale(0.92);
}

.cxs-swap-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  width: 100%;
  height: 100%;
}

.cxs-swap.spinning .cxs-swap-inner {
  transform: rotate(180deg);
}

/* Rate bar */
.cxs-rate-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  background: rgba(255,255,255,0.02);
  border-top: 1px solid var(--border-light);
  font-size: 12px;
  color: var(--text-secondary);
  position: relative;
  overflow: hidden;
}

.cxs-rate-val {
  font-weight: 600;
  color: var(--text-primary);
  position: relative;
}

.cxs-updated { 
  font-size: 10px; 
  opacity: 0.7;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cxs-updated::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--primary, #4ade80);
  border-radius: 50%;
  animation: cxs-pulse-glow 2s infinite;
  box-shadow: 0 0 0 0 rgba(var(--primary-rgb, 74, 222, 128), 0.4);
}

/* Quick amounts */
.cxs-quick {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 14px;
  animation: cxs-fade-scale 0.3s ease 0.2s both;
}

.cxs-ql {
  font-size: 11px;
  color: var(--text-secondary);
  margin-right: 4px;
}

.cxs-q {
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid var(--border-light);
  background: rgba(255,255,255,0.03);
  color: var(--text-secondary);
  cursor: pointer;
  font-family: var(--font-sans, sans-serif);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.cxs-q:hover {
  border-color: rgba(255,255,255,0.25);
  color: var(--text-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.cxs-q:active {
  transform: translateY(0);
}

/* Popular pairs */
.cxs-pairs-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 10px;
  opacity: 0.8;
}

.cxs-pairs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  animation: cxs-fade-scale 0.3s ease 0.25s both;
}

.cxs-pair {
  padding: 12px 14px;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(255,255,255,0.02);
  position: relative;
  overflow: hidden;
}

.cxs-pair:hover {
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.05);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  z-index: 1;
}

.cxs-pair:active {
  transform: translateY(-1px) scale(0.98);
}

.cxs-pair-name {
  font-size: 11px;
  color: var(--text-secondary);
  margin-bottom: 6px;
  transition: color 0.2s;
}

.cxs-pair:hover .cxs-pair-name {
  color: var(--text-primary);
}

.cxs-pair-rate {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  transition: all 0.2s;
  font-variant-numeric: tabular-nums;
}

/* Picker */
.cxs-picker {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: var(--bg-light, var(--bg));
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 16px;
  z-index: 1000;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  display: none;
  opacity: 0;
  transform: scale(0.95) translateY(-10px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cxs-picker.active {
  display: block;
  opacity: 1;
  transform: scale(1) translateY(0);
}

.cxs-picker-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-light);
  background: rgba(255,255,255,0.02);
}

.cxs-picker-search {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-size: 15px;
  color: var(--text-primary);
  font-family: var(--font-sans, sans-serif);
  transition: color 0.2s;
}

.cxs-picker-search::placeholder { 
  color: var(--text-secondary);
  opacity: 0.6;
}

.cxs-picker-close {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 16px;
  padding: 8px;
  border-radius: 8px;
  transition: all 0.2s;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cxs-picker-close:hover {
  background: rgba(255,255,255,0.1);
  color: var(--text-primary);
  transform: rotate(90deg);
}

.cxs-picker-list {
  max-height: 280px;
  overflow-y: auto;
  padding: 8px;
}

.cxs-picker-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  animation: cxs-fade-scale 0.2s ease both;
  opacity: 0;
  transform: translateX(-10px);
}

.cxs-picker-item:nth-child(1) { animation-delay: 0.02s; }
.cxs-picker-item:nth-child(2) { animation-delay: 0.04s; }
.cxs-picker-item:nth-child(3) { animation-delay: 0.06s; }
.cxs-picker-item:nth-child(4) { animation-delay: 0.08s; }
.cxs-picker-item:nth-child(5) { animation-delay: 0.10s; }
.cxs-picker-item:nth-child(6) { animation-delay: 0.12s; }

.cxs-picker-item:hover { 
  background: rgba(255,255,255,0.08);
  transform: translateX(4px);
}

.cxs-picker-item:active {
  transform: translateX(2px) scale(0.98);
}

.cxs-picker-flag { 
  width: 22px; 
  height: 22px; 
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.cxs-picker-item:hover .cxs-picker-flag {
  transform: scale(1.1) rotate(5deg);
}

.cxs-picker-flag svg {
  width: 100%;
  height: 100%;
  border-radius: 6px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.cxs-picker-code {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  min-width: 42px;
  flex-shrink: 0;
  transition: color 0.2s;
}

.cxs-picker-name {
  font-size: 13px;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.cxs-picker-item:hover .cxs-picker-name {
  color: var(--text-primary);
}

@media (max-width: 480px) {
  .cxs-pairs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cxs-amount, .cxs-result { font-size: 26px; }
  .cxs-row { padding: 14px; }
}

.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;
}
.colors-command {
  width: 100%;
  max-width: none;
  padding: 0;
  overflow: hidden;
}

.colors-command.degoog-panel {
  border: none;
  box-shadow: none;
  background: transparent;
}

.colors-toolbar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding-bottom: 1rem;
  padding-left: 0;
}

.colors-style-wrap {
  min-width: 8rem;
}

.colors-hint {
  font-size: 0.75rem;
  font-weight: 500;
  opacity: 0.85;
}

.colors-boxes.boxes {
  display: flex;
  width: 100%;
  min-height: 14rem;
  max-height: 20rem;
  border-radius: var(--radius-md, 8px);
  overflow: hidden;
  border: 1px solid var(--border-light, rgba(128, 128, 128, 0.25));
}

.colors-command .box {
  width: 20%;
  position: relative;
  cursor: pointer;
  transition: filter 0.15s ease;
}

.colors-command .box:hover {
  filter: brightness(1.05);
}

.colors-command .colors-lock {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 1.75rem;
  pointer-events: none;
  z-index: 1;
}

.colors-command .box.locked .colors-lock {
  display: flex;
}

.colors-command .box .colors-hex {
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  bottom: 1.25rem;
  left: 50%;
  transform: translate(-50%, 0);
  position: absolute;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  cursor: pointer;
  z-index: 2;
  background: none;
  border: none;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  transition: opacity 0.15s ease, background 0.15s ease;
}

.colors-command .box .colors-hex:hover {
  background: rgba(0, 0, 0, 0.12);
}

.colors-command .box .colors-hex.colors-hex--copied {
  opacity: 0.85;
}

.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;
}

.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);
}

.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;
}

/* ─────────────────────────────────────────────────────────────────────────────
   OhMyClean — style.css
   Only contains the arrow button styles. All hiding rules are injected
   dynamically by script.js into <head> based on user settings.
───────────────────────────────────────────────────────────────────────────── */

/* ── Arrow submit button (injected inside #search-bar-home by script.js) ──── */

#omc-arrow-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0 10px;
  color: var(--degoog-text-muted, #9aa0a6);
  transition: color 0.15s, transform 0.15s;
  flex-shrink: 0;
}

#omc-arrow-btn:hover {
  color: var(--degoog-accent, var(--degoog-primary, #4a9eff));
  transform: translateX(2px);
}

#omc-arrow-btn svg {
  display: block;
}
