/* Tipsntricks Windows index — page-specific CSS (Tools base in tools-index.css). */

.tt-osActions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

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

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

.tt-library {
  margin-top: 22px;
  border-radius: 18px;
  border: 1px solid rgba(0, 64, 255, 0.12);
  background: rgba(0, 64, 255, 0.03);
  padding: 16px;
}

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

.tt-search { display: grid; gap: 8px; }
.tt-label { font-weight: 850; letter-spacing: -0.01em; color: var(--text); }
.tt-search__row { display: flex; gap: 12px; flex-wrap: wrap; }

.tt-input {
  flex: 1 1 320px;
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(0, 204, 253, 0.18);
  background: rgba(0, 1, 31, 0.45);
  color: var(--text);
  outline: none;
}

[data-theme="light"] .tt-input {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(0, 12, 138, 0.10);
}

.tt-input:focus {
  box-shadow: 0 0 0 4px rgba(0, 204, 253, 0.18);
  border-color: rgba(0, 204, 253, 0.35);
}

.tt-searchBtn { display: inline-flex; align-items: center; gap: 10px; }
.tt-help { color: var(--text-muted); font-size: 0.95rem; }

.tt-chips { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 10px; }
.tt-chip {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0, 64, 255, 0.12);
  background: rgba(0, 64, 255, 0.03);
  color: var(--text);
  font-weight: 900;
  cursor: pointer;
}

.tt-chip.is-active { border-color: rgba(0, 204, 253, 0.28); background: rgba(0, 204, 253, 0.06); }

.tt-guideSurface { margin-top: 14px; }

.tt-guideGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.tt-guideCard {
  border-radius: 18px;
  border: 1px solid rgba(0, 64, 255, 0.12);
  background: rgba(0, 64, 255, 0.03);
  padding: 14px 14px 12px;
  text-decoration: none;
  color: inherit;
  display: grid;
  gap: 10px;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

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

.tt-guideCard:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 204, 253, 0.28);
  background: rgba(0, 204, 253, 0.05);
}

.tt-guideCard:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(0, 204, 253, 0.18);
  border-color: rgba(0, 204, 253, 0.35);
}

.tt-guideCard__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.tt-guideCard__topic {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 950;
  letter-spacing: -0.02em;
  font-size: 0.92rem;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0, 204, 253, 0.18);
  background: rgba(0, 204, 253, 0.06);
  color: var(--text);
  max-width: 70%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tt-guideCard__file {
  font-size: 0.85rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 46%;
}

.tt-guideCard__title {
  font-weight: 950;
  letter-spacing: -0.03em;
  font-size: 1.05rem;
  line-height: 1.25;
  color: var(--text);
}

.tt-guideCard__desc {
  color: var(--text-muted);
  line-height: 1.5;
  font-size: 0.95rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tt-guideCard__desc--muted { opacity: 0.85; }

.tt-guideCard__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  color: rgba(0, 204, 253, 0.95);
}

.tt-filterEmpty {
  margin-top: 12px;
  border-radius: 18px;
  border: 1px dashed rgba(0, 204, 253, 0.22);
  background: rgba(0, 204, 253, 0.05);
  padding: 14px 16px;
}

.tt-filterEmpty__title { font-weight: 950; letter-spacing: -0.02em; color: var(--text); }
.tt-filterEmpty__desc { margin-top: 6px; color: var(--text-muted); line-height: 1.55; }

.tt-empty {
  margin-top: 14px;
  border-radius: 18px;
  border: 1px dashed rgba(0, 204, 253, 0.22);
  background: rgba(0, 204, 253, 0.05);
  padding: 16px;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  align-items: start;
}

.tt-empty__icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 204, 253, 0.22);
  background: rgba(0, 204, 253, 0.08);
}

.tt-empty__title { font-weight: 950; letter-spacing: -0.02em; color: var(--text); }
.tt-empty__desc { margin-top: 4px; color: var(--text-muted); line-height: 1.55; }
.tt-empty__actions { margin-top: 12px; display: flex; gap: 12px; flex-wrap: wrap; }

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

.tt-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: 14px;
  align-items: flex-start;
}

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

.tt-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);
}

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

@media (max-width: 980px) {
  .tt-topicGrid { grid-template-columns: 1fr; }
  .tt-guideGrid { grid-template-columns: 1fr; }
}

