* { box-sizing: border-box; }
body { margin: 0; font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif; color: #1a1a1a; background: #fff; }
a { color: inherit; }
header.qodef-site-header { display: flex; align-items: center; justify-content: space-between; padding: 18px 40px; border-bottom: 1px solid #eee; flex-wrap: wrap; gap: 16px; position: sticky; top: 0; background: #fff; z-index: 10; }
div.qodef-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; }
div.qodef-brand img { height: 34px; width: 34px; border-radius: 6px; object-fit: cover; }
nav.qodef-nav { display: flex; gap: 26px; font-size: 14px; font-weight: 600; }
nav.qodef-nav a { text-decoration: none; opacity: .75; }
nav.qodef-nav a:hover { opacity: 1; }
section.qodef-hero { padding: 56px 40px 8px; text-align: center; }
section.qodef-hero h1 { font-size: 40px; margin: 0 0 8px; letter-spacing: -.5px; }
section.qodef-hero p { color: #666; margin: 0 0 30px; font-size: 16px; }
div.qodef-search-wrap { max-width: 560px; margin: 0 auto 28px; position: relative; }
input.qodef-search { width: 100%; padding: 15px 20px 15px 46px; font-size: 15px; border: 1px solid #ddd; border-radius: 30px; outline: none; }
input.qodef-search:focus { border-color: #1a1a1a; }
div.qodef-search-wrap svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); opacity: .4; }
div.qodef-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; padding: 0 40px 40px; }
button.qodef-chip { border: 1px solid #ddd; background: #fff; border-radius: 20px; padding: 9px 16px; font-size: 13px; font-weight: 600; cursor: pointer; color: #444; }
button.qodef-chip span { color: #999; font-weight: 500; }
button.qodef-chip:hover { border-color: #1a1a1a; }
button.qodef-chip-active { background: #1a1a1a; border-color: #1a1a1a; color: #fff; }
button.qodef-chip-active span { color: #ccc; }
div.qodef-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 26px; padding: 0 40px 70px; max-width: 1440px; margin: 0 auto; }
a.qodef-card { display: block; text-decoration: none; border-radius: 8px; overflow: hidden; border: 1px solid #ececec; transition: box-shadow .18s, transform .18s; background: #fff; }
a.qodef-card:hover { box-shadow: 0 12px 28px rgba(0,0,0,.10); transform: translateY(-3px); }
span.qodef-thumb { display: block; position: relative; aspect-ratio: 4/3; background: #f2f2f2; overflow: hidden; }
span.qodef-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
span.qodef-thumb-fallback { display: flex; align-items: center; justify-content: center; height: 100%; color: #bbb; font-size: 13px; text-align: center; padding: 10px; }
span.qodef-badge { position: absolute; top: 10px; right: 10px; background: rgba(26,26,26,.85); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 4px 8px; border-radius: 4px; }
span.qodef-meta { display: block; padding: 14px 16px; }
span.qodef-title { display: block; font-size: 15px; font-weight: 700; margin-bottom: 3px; }
span.qodef-cat { display: block; font-size: 12px; color: #888; }
div.qodef-empty { display: none; text-align: center; padding: 60px 0; color: #888; }
@media (max-width: 640px) {
  header.qodef-site-header { padding: 14px 18px; }
  nav.qodef-nav { display: none; }
  section.qodef-hero { padding: 34px 18px 8px; }
  section.qodef-hero h1 { font-size: 28px; }
  div.qodef-chips { padding: 0 18px 28px; }
  div.qodef-grid { padding: 0 18px 50px; gap: 16px; }
}
