/* Surfseeker – kiinteä paneeli oikeaan yläkulmaan, kompakti + minimointi */
#surfseeker-panel {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1000;
  background: rgba(252, 236, 203, 0.96);
  border-radius: 10px;
  padding: 8px 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  width: 280px;
  font-family:
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  font-size: 0.9em;
  user-select: none;
}

#surfseeker-panel .ss-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-weight: 700;
  margin-bottom: 6px;
}

#surfseeker-panel .ss-brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

#surfseeker-panel .ss-title {
  white-space: nowrap;
}

#surfseeker-panel .ss-section {
  margin: 8px 0;
}

#surfseeker-panel .ss-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

#surfseeker-panel .chip {
  border: 1px solid #444;
  border-radius: 14px;
  padding: 3px 8px;
  background: #2b2b2b;
  color: #fff;
  font-size: 12px;
  cursor: pointer;
}

#surfseeker-panel .chip.active {
  background: #4a4a4a;
}

#surfseeker-panel .nav-btn {
  display: inline-block;
  margin-top: 4px;
  padding: 4px 8px;
  background: #2b2b2b;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 11px;
  cursor: pointer;
}

#surfseeker-panel .nav-btn:hover {
  background: #4a4a4a;
}

#surfseeker-panel.collapsed {
  padding: 6px 10px;
  width: auto;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

#surfseeker-panel.collapsed .ss-body,
#surfseeker-panel.collapsed .ss-toggle {
  display: none !important;
}

#surfseeker-panel.collapsed .ss-header {
  margin: 0;
}
