/* The Art portal (art.js). Only uses app.css's colour tokens, so dark mode and themes keep working. */
.product-art .product-icon { background: #b0306a; }
.art-tabs { margin: 8px 0; display: flex; flex-wrap: wrap; gap: 4px; }
.art-cats { display: flex; flex-wrap: wrap; gap: 2px 10px; margin: 6px 0 12px; font-size: 12px; }
.art-cats a.on { font-weight: bold; color: var(--text); text-decoration: none; }
.art-search { gap: 6px; }
.art-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.art-card { display: flex; flex-direction: column; color: var(--text); background: var(--panel2); border: 2px solid var(--line);
  text-decoration: none; min-width: 0; }
.art-card:hover { border-color: var(--gb-red, #d4202a); text-decoration: none; }
.art-thumb { display: block; aspect-ratio: 1; background: var(--panel); overflow: hidden; }
.art-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.art-card-text { display: flex; flex-direction: column; gap: 1px; padding: 6px 8px; min-width: 0; }
.art-card-text b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.art-flag { color: #b06a00; font-weight: bold; }
.art-pages { margin-top: 12px; }
.art-piece { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 12px; align-items: start; }
.art-stage { background: #11161e; border: 2px solid var(--line); display: grid; place-items: center; min-height: 240px; }
.art-stage img { display: block; max-width: 100%; max-height: 80vh; object-fit: contain; }
.art-side { margin: 0; }
.art-side h1 { margin: 0 0 6px; font-size: 20px; overflow-wrap: anywhere; }
.art-text, .art-comment-text { white-space: pre-wrap; overflow-wrap: anywhere; }
.art-tag { margin-right: 4px; }
.art-comment { padding: 6px 0; border-bottom: 1px solid var(--line); }
.art-comment p { margin: 2px 0; }
.art-preview { max-width: 100%; max-height: 260px; border: 1px solid var(--line); }
@media (max-width: 700px) {
  .art-piece { grid-template-columns: 1fr; }
  .art-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; }
}
/* Home: products in their groups (products.js GROUPS). */
.product-group { margin: 12px 0 6px; font-size: 13px; text-transform: uppercase; letter-spacing: .4px; }
.product-group .small { text-transform: none; letter-spacing: 0; font-weight: normal; }
.product-later { margin: 4px 0 0; padding-left: 18px; }
.art-preview-box img { max-width: 100%; max-height: 260px; border: 1px solid var(--line); }
