.sf-skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: #06b6d4;
  color: #0f172a;
  padding: 0.5rem 1rem;
  z-index: 100;
  border-radius: 0 0 0.375rem 0;
}

.sf-skip:focus {
  left: 0;
}

.sf-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.25);
  color: #67e8f9;
}

.sf-tab {
  flex: none;
  padding: 0.4rem 0.9rem;
  border-radius: 0.5rem;
  color: #94a3b8;
  border: 1px solid transparent;
  white-space: nowrap;
}

.sf-tab:hover {
  color: #e2e8f0;
}

.sf-tab.is-active {
  background: rgba(6, 182, 212, 0.12);
  border-color: rgba(6, 182, 212, 0.4);
  color: #22d3ee;
  font-weight: 600;
}

.sf-card {
  display: flex;
  flex-direction: column;
  border-radius: 0.6rem;
  background: #1a2333;
  border: 1px solid #263449;
  overflow: hidden;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.sf-card:hover {
  transform: translateY(-2px);
  border-color: rgba(6, 182, 212, 0.4);
}

.sf-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0f172a;
}

.sf-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sf-card-tag {
  position: absolute;
  top: 0.4rem;
  left: 0.4rem;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.85);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.sf-card-body {
  padding: 0.65rem 0.7rem 0.4rem;
  flex: 1;
}

.sf-card-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: #e2e8f0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sf-card-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #263449;
  font-size: 0.62rem;
  color: #7c8aa5;
}

.sf-card-stats span {
  padding: 0.4rem 0.3rem;
  text-align: center;
  border-right: 1px solid #263449;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sf-card-stats span:last-child {
  border-right: none;
}

.sf-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  text-align: left;
  font-size: 0.88rem;
  font-weight: 500;
  color: #e2e8f0;
}

.sf-faq-icon {
  transition: transform 0.2s ease;
  color: #67e8f9;
}

.sf-faq-item.is-open .sf-faq-icon {
  transform: rotate(180deg);
}

.sf-faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.2s ease;
  padding: 0 1rem;
  font-size: 0.85rem;
  color: #94a3b8;
}

.sf-faq-a p {
  overflow: hidden;
}

.sf-faq-item.is-open .sf-faq-a {
  grid-template-rows: 1fr;
  padding-bottom: 1rem;
}

.sf-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.1rem;
  border-radius: 0.5rem;
  background: #0f172a;
  border: 1px solid #334155;
  color: #e2e8f0;
  font-size: 0.85rem;
  font-weight: 600;
}

.sf-store-btn:hover {
  border-color: #06b6d4;
  color: #22d3ee;
}

.sf-code-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
}

.sf-code-table th,
.sf-code-table td {
  border: 1px solid #263449;
  padding: 0.5rem 0.6rem;
  text-align: left;
}

.sf-code-table th {
  background: #1a2333;
  color: #67e8f9;
  font-weight: 600;
}

.sf-code-table td:first-child {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: #f59e0b;
}

.sf-cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  background: #0f172a;
  border-top: 1px solid #263449;
  padding: 1rem;
}
