.catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.catalog-card { display: flex; flex-direction: column; align-items: stretch; border-radius: 8px; min-width: 0; gap: 12px; }
.catalog-card img { width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; }
.catalog-card h3 { font-size: 22px; line-height: 1.3; overflow-wrap: anywhere; letter-spacing: 0; }
.catalog-card p { flex: 1; }
.catalog-link { color: var(--cyan, #32d5ff); font-weight: 700; margin-top: 16px; }
.catalog-browse { margin: 22px 0 0; }
.catalog-browse a, .footer-links a { color: var(--cyan, #32d5ff); }
.pack-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 28px; padding: 28px 0; border-top: 1px solid #34404c; scroll-margin-top: 100px; }
.pack-detail img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; }
.pack-detail h3 { font-size: 26px; margin: 8px 0 16px; line-height: 1.3; letter-spacing: 0; }
.pack-detail p { color: #c1cad5; line-height: 1.75; }
.command-note { font-size: 14px; line-height: 1.7; color: #c1cad5; margin: 16px 0; overflow-wrap: anywhere; }
.command-section > .command-note { max-width: 100%; padding: 0 4px; }
.command-empty { color: #f6d178; margin: 16px 0; }
.command-section[hidden], .command-table tr[hidden], .command-empty[hidden] { display: none !important; }
.command-table code { overflow-wrap: anywhere; }
.command-chips a { min-width: 0; }
.command-chips a span { white-space: normal; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.site-footer { flex-wrap: wrap; gap: 20px; }
.site-nav a:focus-visible, .catalog-card:focus-visible, .command-chips a:focus-visible, .footer-links a:focus-visible { outline: 2px solid #32d5ff; outline-offset: 4px; }
@media (max-width: 1020px) {
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .catalog-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .pack-detail { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .pack-detail h3 { font-size: 23px; }
  .command-section-head > div { min-width: 0; }
  .command-section-head h2 { font-size: 26px; overflow-wrap: anywhere; }
  .command-table code { white-space: normal; word-break: normal; }
}
