/* コトバツムギ (LexiForge) カスタムスタイル & モバイルセーフエリア対応 */

:root {
  color-scheme: dark;
}

html {
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
}

.safe-top {
  padding-top: env(safe-area-inset-top, 0px);
}

.safe-bottom {
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.active-tab {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(99, 102, 241, 0.2));
  color: #fde68a;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.tab-trigger:not(.active-tab) {
  color: #94a3b8;
}

.active-mobile-tab {
  color: #fbbf24 !important;
}

.lock-btn.is-locked {
  background: rgba(245, 158, 11, 0.2);
  color: #fde68a;
  border-color: rgba(245, 158, 11, 0.5);
}

.preset-chip.is-active {
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  color: #090d16;
  border-color: transparent;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.28);
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-card {
  animation: fadeSlideUp 0.24s ease-out;
}
