/* =============================================================
   GDPRSolutions Network — handwritten cookie helper
   © 2026 The Raymond Brogan Corporation
   Pure CSS + inline SVG: NO image assets or external fonts.
   Loaded after demo-extras.css to override its old boxed tooltip.
   ============================================================= */
.gds-cookie-helper { overflow: visible; }
.gds-cookie-helper .gds-cookie-tip {
  position: absolute;
  right: 47px;
  bottom: 86px;
  width: clamp(235px, 28vw, 345px);
  padding: 8px 16px 100px 8px;
  color: #e8fff8;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  transform: rotate(-4deg);
  transform-origin: 90% 100%;
  filter: drop-shadow(0 3px 3px rgba(0,0,0,.8));
  animation: gdsNoteArrive .65s ease-out both;
  pointer-events: none;
}
.gds-cookie-helper .gds-cookie-tip::after { content: none; }
.gds-cookie-tip .gds-handwritten-title,
.gds-cookie-tip .gds-handwritten-message,
.gds-cookie-tip .gds-handwritten-note {
  display: block;
  font-family: "Segoe Print", "Comic Sans MS", "Bradley Hand", "Marker Felt", cursive;
  font-style: italic;
  letter-spacing: .015em;
  line-height: 1.24;
  text-wrap: balance;
}
.gds-cookie-tip .gds-handwritten-title {
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 700;
  color: #4af5c4;
  text-shadow: 0 0 13px rgba(32,218,191,.45);
}
.gds-cookie-tip .gds-handwritten-message {
  margin-top: 8px;
  font-size: clamp(17px, 1.65vw, 23px);
  color: #f3fbff;
}
.gds-cookie-tip .gds-handwritten-note {
  margin-top: 10px;
  font-size: clamp(12px, 1.1vw, 15px);
  color: #91e9dc;
}
.gds-cookie-tip .gds-handdrawn-arrow {
  position: absolute;
  right: -40px;
  bottom: -15px;
  width: min(230px, 80%);
  height: 100px;
  overflow: visible;
  transform: rotate(4deg);
}
.gds-handdrawn-arrow path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.gds-arrow-shadow { stroke: #0b5b50; stroke-width: 12; opacity: .35; }
.gds-arrow-stroke { stroke: #3cf4c1; stroke-width: 7; stroke-dasharray: 270; stroke-dashoffset: 270; animation: gdsArrowDraw .9s .25s ease-out forwards; }
.gds-arrow-head { stroke: #3cf4c1; stroke-width: 10; stroke-dasharray: 70; stroke-dashoffset: 70; animation: gdsArrowDraw .4s .95s ease-out forwards; }
.gds-arrow-bristle { stroke: #b6ffed; stroke-width: 2; opacity: .8; }
.gds-cookie-tip .gds-tip-dismiss {
  position: absolute;
  top: -14px;
  right: 0;
  pointer-events: auto;
  font-family: system-ui, sans-serif;
  font-size: 25px;
  line-height: 1;
  padding: 6px;
  color: #b8fff0;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.gds-cookie-tip .gds-tip-dismiss:hover,
.gds-cookie-tip .gds-tip-dismiss:focus-visible { color: #fff; }
@keyframes gdsArrowDraw { to { stroke-dashoffset: 0; } }
@keyframes gdsNoteArrive { from { opacity: 0; transform: translateY(12px) rotate(-7deg); } to { opacity: 1; transform: rotate(-4deg); } }
@media (max-width: 600px) {
  .gds-cookie-helper .gds-cookie-tip {
    right: 26px;
    bottom: 75px;
    width: min(265px, calc(100vw - 70px));
    padding-bottom: 75px;
  }
  .gds-cookie-tip .gds-handdrawn-arrow {
    right: -24px;
    bottom: -18px;
    width: 155px;
    height: 76px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .gds-cookie-helper .gds-cookie-tip,
  .gds-arrow-stroke,
  .gds-arrow-head { animation: none; }
  .gds-arrow-stroke,
  .gds-arrow-head { stroke-dashoffset: 0; }
}
