/* Tips & Tricks — page-specific CSS only (Tools base in tools-index.css). */

.tnt-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0 2px;
}

.tnt-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.tnt-visual { width: min(540px, 100%); }
.tnt-visual__svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 22px 60px rgba(0,0,0,0.35)); }

.tnt-osGrid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.tnt-osCard {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr 26px;
  gap: 14px;
  align-items: start;
  padding: 16px 16px;
  border-radius: 18px;
  border: 1px solid rgba(0, 64, 255, 0.12);
  background: rgba(0, 64, 255, 0.03);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

[data-theme="light"] .tnt-osCard {
  border-color: rgba(0, 12, 138, 0.08);
  background: rgba(0, 12, 138, 0.03);
}

.tnt-osCard:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 204, 253, 0.26);
  background: rgba(0, 64, 255, 0.05);
}

[data-theme="light"] .tnt-osCard:hover {
  border-color: rgba(0, 64, 255, 0.18);
  background: rgba(0, 12, 138, 0.04);
}

.tnt-osCard::before {
  content: '';
  position: absolute;
  inset: -30% -30%;
  background:
    radial-gradient(circle at 20% 20%, rgba(0, 204, 253, 0.14), transparent 48%),
    radial-gradient(circle at 80% 70%, rgba(0, 64, 255, 0.12), transparent 52%);
  opacity: 0.45;
  pointer-events: none;
}

.tnt-osCard > * { position: relative; z-index: 1; }

.tnt-osCard__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-glow);
  background: rgba(0, 64, 255, 0.05);
  color: var(--text);
  font-size: 1.35rem;
}

.tnt-osCard__title {
  font-weight: 950;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 6px;
  font-size: 1.1rem;
}

.tnt-osCard__desc {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.55;
  font-size: 0.98rem;
}

.tnt-osCard__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
  color: var(--text-muted);
  font-weight: 650;
  font-size: 0.9rem;
}

.tnt-osCard__meta i { margin-right: 6px; color: var(--color-lightest-blue); }
[data-theme="light"] .tnt-osCard__meta i { color: var(--color-accent-cyan); }

.tnt-osCard__arrow {
  opacity: 0.9;
  margin-top: 6px;
  color: var(--text-muted);
}

.tnt-note {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(0, 204, 253, 0.18);
  background: rgba(0, 204, 253, 0.06);
  color: var(--text);
  line-height: 1.5;
}

.tnt-featureGrid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.tnt-feature {
  border-radius: 18px;
  border: 1px solid rgba(0, 64, 255, 0.12);
  background: rgba(0, 64, 255, 0.03);
  padding: 16px;
}

[data-theme="light"] .tnt-feature {
  border-color: rgba(0, 12, 138, 0.08);
  background: rgba(0, 12, 138, 0.03);
}

.tnt-feature__top { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.tnt-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0, 204, 253, 0.18);
  background: rgba(0, 204, 253, 0.06);
  font-weight: 900;
  font-size: 0.85rem;
}

.tnt-tag--muted {
  border-color: rgba(0, 64, 255, 0.12);
  background: rgba(0, 64, 255, 0.03);
  color: var(--text-muted);
  font-weight: 800;
}

.tnt-feature__title { margin: 0 0 8px; font-weight: 950; letter-spacing: -0.02em; color: var(--text); }
.tnt-feature__desc { margin: 0; color: var(--text-muted); line-height: 1.55; }

.tnt-feature__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; }
.tnt-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 999px; border: 1px solid rgba(0, 64, 255, 0.12); background: rgba(0, 64, 255, 0.03); font-weight: 900; font-size: 0.85rem; }
.tnt-feature__link { margin-left: auto; display: inline-flex; gap: 10px; align-items: center; text-decoration: none; font-weight: 850; color: var(--color-lightest-blue); }
[data-theme="light"] .tnt-feature__link { color: var(--color-accent-cyan); }

.tnt-topicGrid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.tnt-topic {
  border-radius: 18px;
  border: 1px solid rgba(0, 64, 255, 0.12);
  background: rgba(0, 64, 255, 0.03);
  padding: 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

[data-theme="light"] .tnt-topic {
  border-color: rgba(0, 12, 138, 0.08);
  background: rgba(0, 12, 138, 0.03);
}

.tnt-topic i {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-glow);
  background: rgba(0, 64, 255, 0.05);
}

.tnt-topic__title { font-weight: 950; letter-spacing: -0.02em; color: var(--text); }
.tnt-topic__desc { margin-top: 4px; color: var(--text-muted); line-height: 1.55; }

.tnt-style {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 14px;
  align-items: stretch;
}

.tnt-style__copy {
  border-radius: 18px;
  border: 1px solid rgba(0, 64, 255, 0.12);
  background: rgba(0, 64, 255, 0.03);
  padding: 18px;
}

[data-theme="light"] .tnt-style__copy {
  border-color: rgba(0, 12, 138, 0.08);
  background: rgba(0, 12, 138, 0.03);
}

.tnt-style__list { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; color: var(--text); }
.tnt-style__list i { margin-right: 10px; color: var(--color-lightest-blue); }
[data-theme="light"] .tnt-style__list i { color: var(--color-accent-cyan); }

.tnt-style__panel {
  border-radius: 18px;
  border: 1px solid rgba(0, 64, 255, 0.12);
  background: rgba(0, 64, 255, 0.03);
  padding: 18px;
  overflow: hidden;
  position: relative;
}

[data-theme="light"] .tnt-style__panel {
  border-color: rgba(0, 12, 138, 0.08);
  background: rgba(0, 12, 138, 0.03);
}

.tnt-mini__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0, 204, 253, 0.18);
  background: rgba(0, 204, 253, 0.06);
  font-weight: 900;
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.tnt-mini__title { font-weight: 950; letter-spacing: -0.02em; margin-bottom: 12px; }
.tnt-mini__steps { display: grid; gap: 10px; color: var(--text); }
.tnt-mini__steps div { display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: start; }
.tnt-mini__steps span {
  width: 30px;
  height: 30px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 204, 253, 0.18);
  background: rgba(0, 204, 253, 0.08);
  font-weight: 950;
}

@media (max-width: 980px) {
  .tnt-osGrid { grid-template-columns: 1fr; }
  .tnt-featureGrid { grid-template-columns: 1fr; }
  .tnt-topicGrid { grid-template-columns: 1fr; }
  .tnt-style { grid-template-columns: 1fr; }
}
