/* Lorraine's Closet — local recreation */
:root {
  --bg: #ffffff;
  --text: #2a2a2a;
  --text-muted: #8a8a8a;
  --text-soft: #6b6b6b;
  --border: #e6e6e6;
  --border-light: #efefef;
  --chip-bg: #f3f3f3;
  --chip-active: #1a1a1a;
  --pill-active: #1a1a1a;
  --shadow-soft: 0 2px 12px rgba(0, 0, 0, 0.04);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-pill: 999px;
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --script: "Great Vibes", cursive;
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}


/* Prevent author display rules from defeating the HTML hidden attribute */
[hidden] { display: none !important; }

html {
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}
body {
  overflow-x: hidden;
  max-width: 100vw;
}

button, input { font-family: inherit; }

/* —— Passcode gate —— */
.gate {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fafafa;
  padding: 24px;
}
.gate-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 36px;
  width: 100%;
  max-width: 380px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}
.gate-logo { width: 48px; height: 48px; object-fit: contain; margin-bottom: 12px; }
.gate-card h1 { margin: 0 0 6px; font-size: 22px; font-weight: 600; }
.gate-sub { margin: 0 0 20px; color: var(--text-muted); font-size: 13px; }
#passcode-form { display: flex; gap: 8px; }
#passcode-input {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 10px 16px;
  font-size: 14px;
  outline: none;
}
#passcode-input:focus { border-color: #999; }
#passcode-form button {
  background: var(--pill-active);
  color: #fff;
  border: none;
  border-radius: var(--radius-pill);
  padding: 10px 18px;
  font-weight: 560;
  cursor: pointer;
}
.gate-error { color: #c0392b; font-size: 13px; margin: 12px 0 0; }
.gate-hint { margin: 20px 0 0; font-size: 11px; color: #bbb; }

.app { min-height: 100vh; display: flex; flex-direction: column; }

/* —— Header —— */
.site-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 24px 8px;
  width: 100%;
  gap: 12px;
}
.header-side { display: flex; flex-direction: column; gap: 2px; }
.header-left { align-items: flex-end; text-align: right; padding-right: 8px; }
.header-right { align-items: flex-start; text-align: left; padding-left: 8px; }
.header-label {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
}
.header-name {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
}
.header-center { display: flex; justify-content: center; }
.profile-wrap { position: relative; width: 88px; height: 88px; }
.profile-img {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #eee;
}
.logo-badge {
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  object-fit: contain;
  padding: 3px;
  box-shadow: 0 0 0 1px #e8e8e8;
}

/* —— Pill nav —— */
.pill-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
  padding: 20px 16px 8px;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
}
.pill {
  appearance: none;
  background: transparent;
  border: none;
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.pill:hover { color: var(--text); background: #f5f5f5; }
.pill.active {
  background: var(--pill-active);
  color: #fff;
}
.pill.active:hover { background: #000; color: #fff; }

/* —— Panels —— */
main { flex: 1; width: 100%; max-width: var(--max); margin: 0 auto; padding: 8px 20px 48px; }
.panel { display: none; }
.panel.active { display: block; }

.search-row { display: flex; justify-content: center; margin: 12px 0 18px; }
.search-bar {
  position: relative;
  width: 100%;
  max-width: 520px;
}
.search-bar input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 11px 44px 11px 18px;
  font-size: 14px;
  outline: none;
  background: #fff;
  color: var(--text);
}
.search-bar input::placeholder { color: #aaa; }
.search-bar input:focus { border-color: #bbb; }
.search-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #333;
  pointer-events: none;
  display: flex;
}

/* —— Board cards (recs + looks) —— */
.board-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) {
  .board-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .board-grid { grid-template-columns: 1fr; }
}

.board-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.15s;
}
.board-card:hover { box-shadow: var(--shadow-soft); }
.board-card-title {
  margin: 0;
  padding: 14px 16px 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.35;
  min-height: 48px;
}
.board-collage {
  position: relative;
  aspect-ratio: 4 / 3.2;
  background: linear-gradient(160deg, #f7f7f7 0%, #efefef 100%);
  margin: 0 12px;
  border-radius: 6px;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 4px;
  padding: 8px;
}
.board-collage.video {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a1a1a;
}
.board-collage.video .play-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
}
.board-collage.video .play-btn::after {
  content: "";
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent #1a1a1a;
  margin-left: 3px;
}
.collage-tile {
  background: #fff;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  color: #888;
  letter-spacing: 0.02em;
  border: 1px solid #eee;
  overflow: hidden;
  text-align: center;
  padding: 4px;
  line-height: 1.2;
}
.collage-tile:nth-child(1) { grid-row: 1 / 3; grid-column: 1; }
.collage-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.collage-script {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--script);
  font-size: 22px;
  color: #444;
  pointer-events: none;
  text-shadow: 0 1px 0 rgba(255,255,255,0.6);
}
.board-actions {
  display: flex;
  justify-content: center;
  padding: 10px 0 6px;
  color: #999;
}
.board-actions svg { width: 16px; height: 16px; }

.shop-row {
  border-top: 1px solid var(--border-light);
  padding: 10px 14px 14px;
}
.shop-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.shop-products {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 2px;
}
.shop-product {
  flex: 0 0 auto;
  width: 78px;
  text-align: center;
}
.shop-thumb {
  width: 78px;
  height: 78px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: #f6f6f6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: #777;
  margin-bottom: 6px;
  overflow: hidden;
}
.shop-thumb img { width: 100%; height: 100%; object-fit: cover; }
.shop-brand {
  font-size: 10px;
  font-weight: 500;
  color: var(--text-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.shop-icons {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 4px;
  color: #bbb;
  font-size: 11px;
}

.looks-grid .board-collage {
  aspect-ratio: 1 / 1.05;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
}
.looks-grid .collage-tile:nth-child(1) { grid-row: auto; grid-column: auto; }
.looks-grid .board-card-title { min-height: 44px; }

.showing-count {
  text-align: center;
  color: var(--text-muted);
  font-size: 12px;
  margin: 28px 0 8px;
}

/* —— Wardrobe —— */
.wardrobe-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
}
.btn-dark {
  background: #1a1a1a;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: not-allowed;
  opacity: 0.85;
}

.category-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin: 0 auto 8px;
  max-width: 980px;
}
.category-chips.collapsed .chip:nth-child(n+16) { display: none; }
.chip {
  appearance: none;
  border: none;
  background: var(--chip-bg);
  color: var(--text-soft);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
}
.chip:hover { background: #e8e8e8; color: var(--text); }
.chip.active {
  background: var(--chip-active);
  color: #fff;
}
.chips-toggle {
  display: block;
  margin: 0 auto 20px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 4px 8px;
}
.chips-toggle:hover { color: var(--text); }

.item-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
@media (max-width: 1000px) { .item-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 720px) { .item-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .item-grid { grid-template-columns: repeat(2, 1fr); } }

.item-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}
.item-card:hover { border-color: #d0d0d0; }
.item-media {
  aspect-ratio: 1 / 1.15;
  background: #fafafa;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.item-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.placeholder-tile {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(145deg, #f8f8f8, #f0f0f0);
  color: #9a9a9a;
}
.placeholder-initials {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #e4e4e4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
  color: #666;
  letter-spacing: 0.04em;
}
.placeholder-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #bbb;
}
.item-body {
  padding: 10px 10px 8px;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.item-brand {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 2px;
  line-height: 1.3;
}
.item-name {
  font-size: 11px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.item-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 10px 10px;
  color: #ccc;
  font-size: 12px;
}
.item-footer .info-icon {
  width: 16px;
  height: 16px;
  border: 1px solid #ddd;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-style: italic;
  font-family: Georgia, serif;
  color: #bbb;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.page-btn {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--text-soft);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.page-btn:hover:not(:disabled) { background: #f3f3f3; }
.page-btn.active {
  background: #1a1a1a;
  color: #fff;
}
.page-btn:disabled { opacity: 0.35; cursor: default; }
.page-ellipsis { color: #aaa; padding: 0 2px; }

/* —— Calendar —— */
.calendar-wrap { max-width: 920px; margin: 12px auto 0; }
.calendar-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 18px;
}
.calendar-title {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  min-width: 180px;
  text-align: center;
}
.cal-arrow {
  appearance: none;
  border: none;
  background: none;
  font-size: 28px;
  line-height: 1;
  color: #222;
  cursor: pointer;
  padding: 0 8px;
}
.calendar-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}
.calendar-head {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: #1a1a1a;
  color: #fff;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 0;
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}
.cal-cell {
  min-height: 88px;
  border-right: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 8px;
  position: relative;
}
.cal-cell:nth-child(7n) { border-right: none; }
.cal-daynum {
  position: absolute;
  top: 8px;
  right: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.cal-cell.other .cal-daynum { color: #ccc; font-weight: 400; }
.cal-cell.today {
  outline: 1.5px solid #c9b27a;
  outline-offset: -1.5px;
  z-index: 1;
}
.cal-cell.today .cal-bg-num {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  font-weight: 300;
  color: rgba(0,0,0,0.06);
  pointer-events: none;
}

/* —— Comments —— */
.comments-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 4px 12px;
}
.comments-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
}
.messages-badge {
  background: #f0f0f0;
  color: var(--text-muted);
  font-size: 12px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
}
.comments-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0 0 32px;
}
.empty-card {
  max-width: 420px;
  margin: 40px auto;
  text-align: center;
  padding: 48px 32px;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  background: #fff;
}
.empty-card h3 { margin: 16px 0 8px; font-size: 18px; font-weight: 600; }
.empty-card p { margin: 0; color: var(--text-muted); font-size: 13px; line-height: 1.55; }
.empty-icon { display: block; margin: 0 auto; }

/* —— Footer —— */
.site-footer {
  text-align: center;
  padding: 24px 16px 36px;
  color: #bbb;
  font-size: 11px;
}
.site-footer p { margin: 0; }

/* empty search */
.empty-search {
  text-align: center;
  color: var(--text-muted);
  padding: 48px 16px;
  grid-column: 1 / -1;
}

/* Cover image boards */
.board-collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.board-collage.video {
  position: relative;
  overflow: hidden;
}
.shop-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* —— Look board detail —— */
.look-board-card {
  cursor: pointer;
}
.look-board-card:focus-visible {
  outline: 2px solid #1a1a1a;
  outline-offset: 2px;
}
.board-card-meta {
  text-align: center;
  font-size: 11px;
  color: var(--text-muted);
  padding: 0 12px 2px;
  letter-spacing: 0.02em;
}

.looks-detail-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 4px 0 18px;
  max-width: 100%;
}
.looks-back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: var(--radius-pill);
  padding: 8px 14px 8px 10px;
  font-size: 13px;
  font-weight: 560;
  color: var(--text);
  cursor: pointer;
  margin-top: 2px;
}
.looks-back:hover { background: #f7f7f7; }
.looks-detail-heading {
  min-width: 0;
  flex: 1;
}
.looks-detail-title {
  margin: 0;
  font-size: 18px;
  font-weight: 650;
  line-height: 1.3;
  word-wrap: break-word;
}
.looks-detail-count {
  margin: 4px 0 0;
  color: var(--text-muted);
  font-size: 13px;
}

.outfit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 1000px) {
  .outfit-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .outfit-grid { grid-template-columns: repeat(2, 1fr); }
}

.outfit-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.15s;
}
.outfit-card:hover { box-shadow: var(--shadow-soft); }
.outfit-media {
  position: relative;
  aspect-ratio: 3 / 4;
  background: #f6f6f6;
  overflow: hidden;
}
.outfit-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.outfit-media .placeholder-tile {
  width: 100%;
  height: 100%;
}
.look-piece-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(26, 26, 26, 0.82);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 4px 8px;
  border-radius: var(--radius-pill);
}
.outfit-body {
  padding: 10px 12px 12px;
}
.outfit-title {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}



/* —— iPhone / small-phone fixes —— */
@media (max-width: 640px) {
  .gate {
    min-height: 100dvh;
    padding: 16px;
    align-items: center;
  }
  .gate-card {
    padding: 28px 20px;
    max-width: 100%;
  }
  #passcode-form {
    flex-direction: column;
    gap: 10px;
  }
  #passcode-form button {
    width: 100%;
  }
  #passcode-input,
  .search-bar input {
    font-size: 16px; /* avoid iOS focus zoom */
  }

  .site-header {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: 12px 16px 4px;
    gap: 6px;
  }
  .header-side {
    align-items: center !important;
    text-align: center !important;
    padding: 0 !important;
  }
  .header-left { order: 2; }
  .header-center { order: 1; }
  .header-right { order: 3; }
  .header-name {
    font-size: 15px;
    max-width: 90vw;
  }
  .profile-wrap, .profile-img {
    width: 64px;
    height: 64px;
  }
  .logo-badge { display: none; } /* duplicate of profile logo */

  .pill-nav {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 6px;
    padding: 12px 16px 4px;
    scrollbar-width: none;
  }
  .pill-nav::-webkit-scrollbar { display: none; }
  .pill {
    flex: 0 0 auto;
    padding: 9px 14px;
    font-size: 11px;
    letter-spacing: 0.06em;
  }

  main {
    padding: 4px 12px 40px;
    max-width: 100%;
  }

  .wardrobe-actions {
    flex-wrap: wrap;
  }
  .btn-dark {
    flex: 1 1 auto;
    min-width: 140px;
  }

  .category-chips {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    max-width: 100%;
    padding: 0 2px 6px;
    scrollbar-width: none;
  }
  .category-chips::-webkit-scrollbar { display: none; }
  .category-chips.collapsed .chip:nth-child(n+16) { display: inline-flex; } /* horizontal scroll shows all in one row when collapsed is irrelevant */
  .category-chips .chip {
    flex: 0 0 auto;
    white-space: nowrap;
  }
  .chips-toggle { display: none; } /* chips are one swipeable row on phone */

  .item-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .calendar-wrap {
    max-width: 100%;
    overflow: hidden;
  }
  .calendar-title {
    font-size: 17px;
    min-width: 0;
  }
  .calendar-head {
    font-size: 10px;
    letter-spacing: 0.02em;
    padding: 8px 0;
  }
  .calendar-head span {
    overflow: hidden;
    text-overflow: clip;
    padding: 0 1px;
  }
  .cal-cell {
    min-height: 52px;
    padding: 4px;
  }
  .cal-daynum {
    font-size: 12px;
    top: 4px;
    right: 5px;
  }
  .cal-cell.today .cal-bg-num {
    font-size: 36px;
  }

  .shop-products {
    -webkit-overflow-scrolling: touch;
  }

  .board-card-title {
    min-height: 0;
    font-size: 11px;
  }

  .looks-detail-header {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 14px;
  }
  .looks-detail-title {
    font-size: 16px;
  }
  .outfit-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .outfit-body {
    padding: 8px 10px 10px;
  }
  .outfit-title {
    font-size: 11px;
  }
}

@media (max-width: 380px) {
  .item-brand { font-size: 11px; }
  .item-name { font-size: 10px; }
}

