:root{ --jr-htu2-z: 999999; }

/* Sticky/docked panel */
.jr-htu2-panel{
  position: fixed !important;
  z-index: var(--jr-htu2-z) !important;
  right: 30px !important;
  bottom: 70px !important;

  width: 240px !important;
  max-width: calc(100vw - 40px) !important;

  /* Locked-in final styling (from your screenshot) */
  background: rgba(255, 255, 255, 0.86) !important;
  border: 3px solid rgba(220, 210, 200, 0.9) !important;
  border-radius: 12px !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;

  overflow: hidden !important;
}

/* Header */
.jr-htu2-header{
  display:flex !important;
  align-items:center !important;
  justify-content: space-between !important;
  padding: 14px 14px !important;
  border-bottom: 1px solid rgba(0,0,0,0.08) !important;
}

.jr-htu2-title{
  margin: 0 !important;
  font-size: 30px !important;
  font-weight: 800 !important;
}

/* Close button - match your existing "How to add Memories" */
.jr-htu2-close{
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  min-height: 28px !important;
  border-radius: 10px !important;
  border: 1px solid rgba(138, 43, 22, 0.22) !important;
  background: rgba(138, 43, 22, 0.06) !important;
  color: #8a2b16 !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  cursor: pointer !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  transition: background .15s ease, border-color .15s ease, transform .05s ease !important;
}

.jr-htu2-close:active{ transform: translateY(1px) !important; }

.jr-htu2-close span{
  font-size: 18px !important;
  line-height: 1 !important;
}

/* Body */
.jr-htu2-body{
  padding: 16px 14px 16px !important;
  font-size: 22px !important;
  line-height: 1.35 !important;
}

.jr-htu2-body ul,
.jr-htu2-body ol{ margin: 0 0 0 22px !important; }

.jr-htu2-body p{ margin: 0 0 10px !important; }

/* Mobile tweaks (we'll refine later) */
@media (max-width: 768px){
  .jr-htu2-panel{
    right: 14px !important;
    left: 14px !important;
    width: auto !important;
    bottom: 90px !important;
  }
  .jr-htu2-title{ font-size: 26px !important; }
  .jr-htu2-body{ font-size: 18px !important; }
}
