.asksam-analytics-consent[hidden] { display: none !important; }
.asksam-analytics-consent {
  position: fixed;
  z-index: 2147483000;
  right: 18px;
  bottom: 18px;
  left: 18px;
  color: #0e1428;
  font-family: Manrope, "Noto Sans TC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.asksam-analytics-consent__panel {
  position: relative;
  display: grid;
  width: min(100%, 980px);
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  margin: 0 auto;
  border: 1px solid rgba(14, 20, 40, .16);
  border-top: 4px solid #e87722;
  background: rgba(255, 255, 255, .98);
  padding: 20px 22px;
  box-shadow: 0 24px 70px rgba(8, 17, 35, .25);
  backdrop-filter: blur(18px);
}
.asksam-analytics-consent__mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  background: #e8f4f2;
}
.asksam-analytics-consent__mark span {
  width: 18px;
  height: 18px;
  border: 5px solid #19736c;
  border-top-color: #e87722;
  border-radius: 50%;
}
.asksam-analytics-consent__copy { min-width: 0; }
.asksam-analytics-consent__eyebrow {
  margin: 0 0 3px !important;
  color: #19736c !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.asksam-analytics-consent h2 { margin: 0; color: #0e1428; font-size: 17px; line-height: 1.3; }
.asksam-analytics-consent__copy > p:not(.asksam-analytics-consent__eyebrow) { margin: 5px 0 0 !important; color: #536277 !important; font-size: 12px !important; line-height: 1.55 !important; }
.asksam-analytics-consent__status { font-weight: 800 !important; }
.asksam-analytics-consent__actions { display: grid; min-width: 210px; gap: 7px; }
.asksam-analytics-consent__actions button {
  min-height: 40px;
  border: 1px solid #0e1428;
  border-radius: 999px;
  background: #0e1428;
  padding: 8px 14px;
  color: white;
  font: inherit;
  font-size: 11px;
  font-weight: 850;
  cursor: pointer;
}
.asksam-analytics-consent__actions button.is-secondary { background: white; color: #0e1428; }
.asksam-analytics-consent__actions a { justify-self: center; color: #166b65; font-size: 10px; font-weight: 800; text-underline-offset: 3px; }
.asksam-analytics-consent__actions button:hover { background: #e87722; border-color: #e87722; }
.asksam-analytics-consent__actions button.is-secondary:hover { background: #f4f6f8; border-color: #19736c; color: #0e1428; }
.asksam-analytics-consent__actions button:focus-visible,
.asksam-analytics-consent__actions a:focus-visible,
.asksam-analytics-consent__close:focus-visible { outline: 3px solid #5ab8ae; outline-offset: 2px; }
.asksam-analytics-consent__close {
  position: absolute;
  top: 6px;
  right: 8px;
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: #536277;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

button[data-analytics-settings] {
  border: 0;
  background: transparent;
  padding: 0;
  color: inherit;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}
button[data-analytics-settings]:hover,
button[data-analytics-settings]:focus-visible { color: #e87722; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 720px) {
  .asksam-analytics-consent { right: 10px; bottom: 10px; left: 10px; }
  .asksam-analytics-consent__panel { grid-template-columns: auto minmax(0, 1fr); gap: 12px; padding: 18px 16px 16px; }
  .asksam-analytics-consent__actions { grid-column: 1 / -1; grid-template-columns: 1fr; min-width: 0; }
  .asksam-analytics-consent__actions a { min-height: 32px; display: inline-flex; align-items: center; }
  .asksam-analytics-consent__close { top: 2px; right: 3px; }
}

@media (prefers-reduced-motion: reduce) {
  .asksam-analytics-consent *, .asksam-analytics-consent *::before, .asksam-analytics-consent *::after { scroll-behavior: auto !important; transition: none !important; }
}
