/* tshirttube.com/closet — owned items grid.
   The page uses the shared /tshirts chrome (sidebar + topbar) via tshirts.css;
   only the closet content that renders inside .tst-main is styled here. */
#closetRoot {
  max-width: 80rem;
  margin: 0 auto;
  padding: 1.5rem clamp(0.75rem, 3vw, 2rem) 4rem;
  color: #16130f;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}
.cl-status { color: #8a857e; padding: 3rem 0; text-align: center; }

.cl-head { display: flex; align-items: baseline; gap: 0.9rem; margin-bottom: 1.5rem; }
.cl-head h1 { margin: 0; font-size: 1.9rem; letter-spacing: -0.01em; }
.cl-count { margin: 0; color: #8a857e; font-size: 0.95rem; }

.cl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: 1.25rem;
}

.cl-card {
  display: block; background: #fff; border: 1px solid #ececec; border-radius: 16px;
  overflow: hidden; text-decoration: none; color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.cl-card:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -30px rgba(0,0,0,0.4); border-color: #ddd; }

.cl-art {
  position: relative; aspect-ratio: 1 / 1; background: #f2f1ef;
  display: flex; align-items: center; justify-content: center;
}
.cl-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cl-art__ph { font-weight: 800; letter-spacing: 0.08em; color: #cfccc6; font-size: 1.6rem; }
.cl-tag {
  position: absolute; top: 0.6rem; left: 0.6rem;
  background: rgba(17,17,17,0.85); color: #fff; font-size: 0.66rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em; padding: 0.28rem 0.55rem; border-radius: 999px;
}

.cl-body { padding: 0.85rem 0.95rem 1rem; }
.cl-name { margin: 0; font-weight: 650; line-height: 1.3; }
.cl-meta { margin: 0.25rem 0 0; font-size: 0.82rem; color: #8a857e; display: flex; gap: 0.3rem; flex-wrap: wrap; }
.cl-variant { margin: 0.3rem 0 0; font-size: 0.8rem; color: #6b6660; }
.cl-foot {
  margin: 0.7rem 0 0; padding-top: 0.6rem; border-top: 1px solid #f2f1ef;
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
}
.cl-serial { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 0.76rem; color: #9a948c; }
.cl-price { font-weight: 700; }

.cl-empty { text-align: center; padding: 4rem 1rem; max-width: 30rem; margin: 0 auto; }
.cl-empty h2 { margin: 0 0 0.5rem; font-size: 1.5rem; }
.cl-empty p { margin: 0 0 1.5rem; color: #6b6660; line-height: 1.5; }
.cl-btn {
  display: inline-block; background: #111; color: #fff; text-decoration: none;
  padding: 0.7rem 1.4rem; border-radius: 999px; font-weight: 600; font-size: 0.95rem;
  border: 0; cursor: pointer;
}
.cl-btn:hover { background: #000; }
