.tvtm-request-fab {
  position: fixed;
  right: 18px;
  bottom: 92px;
  z-index: 9997;
  border: 0;
  border-radius: 6px;
  background: #0f766e;
  color: #fff;
  font: 700 15px/1.1 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  padding: 13px 16px;
  box-shadow: 0 12px 30px rgba(15, 118, 110, .28);
  cursor: pointer;
}
.tvtm-request-modal {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, .62);
  padding: 18px;
}
.tvtm-request-modal[aria-hidden="false"] {
  display: flex;
}
.tvtm-request-panel {
  width: min(560px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
  border-radius: 8px;
  background: #fff;
  color: #172033;
  padding: 24px;
  position: relative;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .24);
}
.tvtm-request-panel h2 {
  margin: 0 0 16px;
  font-size: 24px;
}
.tvtm-request-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
#tvtmRequestForm {
  display: grid;
  gap: 10px;
}
#tvtmRequestForm input,
#tvtmRequestForm select,
#tvtmRequestForm textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #d4d9e2;
  border-radius: 6px;
  padding: 11px 12px;
  font: 15px/1.35 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
#tvtmRequestForm textarea {
  min-height: 110px;
  resize: vertical;
}
.tvtm-human-check {
  display: grid;
  grid-template-columns: 1fr 120px;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}
#tvtmRequestForm button[type="submit"] {
  border: 0;
  border-radius: 6px;
  background: #1d4ed8;
  color: #fff;
  padding: 12px 16px;
  font-weight: 700;
  cursor: pointer;
}
.tvtm-request-status {
  margin: 2px 0 0;
  min-height: 20px;
  font-weight: 600;
}
.tvtm-request-notice {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 10000;
  width: min(360px, calc(100vw - 36px));
  transform: translate(-50%, -50%) scale(.96);
  border-radius: 10px;
  background: #0f766e;
  color: #fff;
  padding: 16px 18px;
  text-align: center;
  font: 800 16px/1.35 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  box-shadow: 0 24px 70px rgba(15, 23, 42, .32);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}
.tvtm-request-notice[aria-hidden="false"] {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.tvtm-request-notice[data-state="loading"] {
  background: #1d4ed8;
}
.tvtm-request-notice[data-state="error"] {
  background: #dc2626;
}
.tvtm-mobile-actionbar {
  display: none;
}
@media (max-width: 640px) {
  .tvtm-request-fab {
    display: none;
  }
  .tvtm-human-check {
    grid-template-columns: 1fr;
  }
  .tvtm-mobile-actionbar {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 9997;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    padding: 8px;
    border: 1px solid rgba(15, 23, 42, .12);
    border-radius: 10px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 16px 42px rgba(15, 23, 42, .24);
    backdrop-filter: blur(10px);
  }
  .tvtm-mobile-actionbar button,
  .tvtm-mobile-actionbar a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 7px;
    color: #fff;
    font: 900 13px/1 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    text-decoration: none;
  }
  .tvtm-mobile-actionbar button {
    background: #f59e0b;
    color: #111827;
  }
  .tvtm-mobile-actionbar a:nth-child(2) {
    background: #dc2626;
  }
  .tvtm-mobile-actionbar a:nth-child(3) {
    background: #16a34a;
  }
  .tvtm-request-panel {
    max-height: calc(100vh - 22px);
    padding: 18px;
  }
}
