.btn {
  position: relative;
  overflow: hidden;
}

.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: scale(0);
  animation: ripple-animation 0.6s ease-out;
  pointer-events: none;
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

.nav-list,
.hero-wrap,
.section,
.footer {
  zoom: 0.8;
}

.tomai-page .nav-contents {
  justify-content: center;
  position: relative;
}

.tomai-page .nav-contents .logo {
  position: absolute;
  left: 0;
}

.tomai-page .nav-list {
  margin-left: auto;
  margin-right: auto;
}

.tomai-page .nav-actions {
  position: absolute;
  right: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.tomai-page .nav-action-stack {
  display: flex;
  align-items: center;
}

.tomai-page .nav-action-btn {
  border: 2px solid rgba(255, 255, 255, 0.22);
  background: rgba(0, 0, 0, 0.25);
  color: rgba(255, 255, 255, 0.9);
  min-width: 124px;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.12s ease, border-color 0.12s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.tomai-page .nav-action-btn:hover {
  background: rgba(0, 0, 0, 0.45);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
}

.tomai-page .nav-action-btn:active {
  transform: translateY(0);
}

.tomai-page .nav-action-btn:disabled {
  opacity: 0.8;
  cursor: not-allowed;
}

.tomai-page .nav-action-btn .nav-action-label {
  display: block;
}

.tomai-page .nav-action-progress-track {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 6px;
  height: 4px;
  background: rgba(45, 45, 45, 0.95);
  border-radius: 999px;
  opacity: 0;
  transition: opacity 0.12s ease;
  overflow: hidden;
  pointer-events: none;
}

.tomai-page .nav-action-progress-bar {
  display: block;
  height: 100%;
  width: 0%;
  background: #22e8ec;
  transition: width 0.12s ease;
}

.tomai-page .nav-action-stack.is-loading .nav-action-progress-track {
  opacity: 1;
}

.tomai-page .nav-action-stack.is-complete .nav-action-progress-track {
  opacity: 1;
}

.tomai-page .nav-action-stack.is-loading .nav-action-progress-bar {
  background: linear-gradient(90deg,
      rgba(24, 139, 247, 0.85),
      rgba(34, 232, 236, 0.95),
      rgba(24, 139, 247, 0.85));
  background-size: 220% 100%;
  animation: tomai-progress-sheen 1.1s ease-in-out infinite;
}

@keyframes tomai-progress-sheen {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 100% 50%;
  }
}

.tom-admin-wake-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2147483000;
  padding: 16px;
}

.tom-admin-wake-box {
  width: min(980px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  background: rgba(20, 20, 20, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.tom-admin-wake-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tom-admin-wake-title {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.92);
}

.tom-admin-wake-close {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.25);
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  line-height: 1;
  font-size: 18px;
}

.tom-admin-wake-body {
  padding: 14px;
  overflow: auto;
}

.tom-admin-wake-status {
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  margin-bottom: 10px;
}

.tom-admin-wake-progress {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.tom-admin-wake-progress-bar {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, #188bf7, #22e8ec);
  transition: width 0.18s ease;
}

.tom-admin-wake-progress-text {
  margin-top: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.tom-admin-wake-frame-wrap {
  margin-top: 14px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.25);
}

.tom-admin-wake-frame-wrap iframe {
  width: 100%;
  height: min(62vh, 640px);
  border: 0;
  background: #111;
}

.tom-admin-wake-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding: 12px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.tom-admin-wake-btn {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.25);
  color: rgba(255, 255, 255, 0.9);
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
}

.tom-admin-wake-btn.primary {
  border-color: rgba(24, 139, 247, 0.6);
  background: rgba(24, 139, 247, 0.16);
}

.tom-admin-wake-btn:hover {
  background: rgba(0, 0, 0, 0.4);
}

.tom-admin-wake-btn.primary:hover {
  background: rgba(24, 139, 247, 0.24);
}

.cta {
  transition: opacity 0.5s ease;
}

.sticky-buttons-container.fade-out-delayed {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease 2s;
}

.example-item.hover-effect {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 3/2;
}

.example-item.hover-effect .image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.example-item.hover-effect .example-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.example-item.hover-effect .hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: #fff;
  text-align: center;
  padding: 10px;
  pointer-events: none;
}

.example-item.hover-effect:hover .hover-overlay {
  opacity: 1;
}

.example-item.hover-effect:hover .example-img {
  opacity: 0.3;
}

.tomai-gateway-btn[href="../boltWEB/boltweb.html"]:hover {
  background-image: url("../ui/TomAi/images/gateway-green.png") !important;
  background-size: cover !important;
  background-position: center !important;
}


/* =========================================
   全局禁止选中图标样式
   ========================================= */
svg, img, button svg, button img, a svg, a img, .icon, [class*="icon"] {
  user-select: none !important;
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
}
