
.art-hero { padding: 34px 0 14px; max-width: 860px; }
.art-search { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.art-search input, .art-search select { font: inherit; color: var(--cream); background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; min-height: 50px; }
.art-search input { flex: 1 1 320px; }
.art-search select { flex: 0 1 220px; }
.art-search input:focus, .art-search select:focus { outline: 2px solid var(--orange); outline-offset: 1px; }
.moods { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.mood { font: inherit; font-size: 14px; font-weight: 700; color: var(--cream); background: #ffffff08; border: 1px solid var(--line); border-radius: 99px; padding: 7px 14px; cursor: pointer; }
.mood:hover { border-color: var(--orange); }
#count { margin: 20px 0 12px; font-size: 14px; }
.gallery { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(46%, 180px), 1fr)); }
.tile { font: inherit; color: var(--cream); background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 0; overflow: hidden; cursor: pointer; text-align: left; display: flex; flex-direction: column; }
.tile:hover { border-color: var(--orange); transform: translateY(-2px); }
.tile img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; background: #e2e1e1; }
.tile span { padding: 8px 10px; font-size: 13px; font-weight: 600; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
dialog#viewer { width: min(920px, calc(100% - 24px)); max-height: calc(100vh - 24px); padding: 0; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); color: var(--cream); overflow: auto; }
dialog#viewer::backdrop { background: #05020bcc; }
#viewer[open] { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
#v-img { width: 100%; height: 100%; object-fit: contain; background: #e2e1e1; }
.v-body { padding: 26px; }
.v-body h2 { font-size: 1.4rem; }
.v-note { font-size: 13px; margin-top: 18px; }
.v-close { position: absolute; top: 10px; right: 12px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--panel2); color: var(--cream); font-size: 24px; cursor: pointer; z-index: 2; }
@media (max-width: 700px) { #viewer[open] { grid-template-columns: 1fr; } }
.use { max-width: 980px; margin: 30px auto 0; }
.use-grid { margin: 26px 0 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.use .card h2 { font-size: 1.3rem; }
.use .card ul { margin: 0; padding-left: 20px; color: var(--muted); }
.use .card li { margin-bottom: 6px; }
.use .ok { border-color: #2f6a4a; } .use .no { border-color: #7a3a4a; }
.credit { margin-top: 0; }
