.guide-main { color: #4f3b59; }
.guide-intro {
  min-height: 176px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(23px, 5vw, 51px);
  border: 1px solid #eaddec;
  border-radius: 24px;
  background: linear-gradient(116deg, #f8eaf0, #f2e7f4 70%, #e9d9ee);
}
.guide-intro h1 { font-size: clamp(25px, 5vw, 55px); line-height: 1.18; }
.guide-intro h1 em { color: #815c8d; font-family: Georgia, serif; font-weight: 400; }
.guide-intro img { width: clamp(32px, 9vw, 116px); height: auto; opacity: .78; }
.guide-intro nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.guide-intro nav a {
  display: inline-grid;
  align-items: center;
  min-height: 38px;
  padding: 5px 13px;
  border: 1px solid #e7d6ea;
  border-radius: 30px;
  background: #fffc;
  color: #674872;
}
.guide-intro nav a:hover { background: #fff; border-color: #c8a6ce; }
.guide-loading { margin-top: 19px; }
.guide-loading:empty { display: none; }
#guide-retry { margin: 8px 0; }
.guide-sections { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-block: 24px; }
.guide-sections section { min-width: 0; scroll-margin-block-start: 20px; }
.guide-sections h2 { margin-bottom: 11px; color: #563d62; font-size: clamp(19px, 2.7vw, 27px); }
#profile, #outfits { grid-column: 1 / -1; }
.guide-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.guide-card, .guide-empty {
  min-width: 0;
  margin: 0;
  padding: clamp(15px, 2.4vw, 24px);
  border: 1px solid #ede2ee;
  border-radius: 17px;
  background: #fff;
  overflow-wrap: anywhere;
}
.guide-empty { color: #705c78; }
.guide-card-heading { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; }
.guide-card h3, .guide-outfit h3 { font-size: clamp(16px, 2vw, 21px); color: #4f3559; }
.guide-card > img { max-height: 280px; width: 100%; object-fit: contain; background: #fbf5fa; border-radius: 12px; margin-top: 10px; }
.guide-description { margin-top: 6px; color: #615267; white-space: pre-wrap; }
.guide-date { margin-top: 4px; font-size: 13px; color: #715e7a; }
.guide-link { display: inline-block; margin-top: 10px; color: #754d82; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.guide-label { padding: 2px 9px; border-radius: 20px; background: #f3e9f5; color: #674472; font-size: 12px; }
.guide-label-open { background: #e9f3ec; color: #345b3d; }
.guide-label-ended { background: #f0edf2; color: #66596e; }
.guide-wardrobe {
  position: relative;
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scrollbar-color: #bb9ac6 #f1e7f3;
}
.guide-outfit {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  align-items: center;
  flex: 0 0 100%;
  overflow: hidden;
  scroll-snap-align: start;
  border-radius: 21px;
  background: #fff;
  border: 1px solid #eaddec;
}
.guide-outfit-art { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(140deg, #faedf3, #e9dbf0); }
.guide-outfit-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.guide-outfit-copy { padding: clamp(14px, 4vw, 42px); overflow-wrap: anywhere; }
.guide-outfit-controls { display: flex; justify-content: center; align-items: center; gap: 13px; margin-top: 9px; color: #6e5976; }
.guide-outfit-controls button { min-height: 38px; color: #674872; }
.guide-outfit-controls button:disabled { cursor: default; }
#milestones .guide-card { border-inline-start: 3px solid #c6a8cc; }

@media (max-width: 640px) {
  .guide-intro { min-height: 0; align-items: flex-start; }
  .guide-intro img { display: none; }
  .guide-intro nav { margin-top: 12px; }
  .guide-intro nav a { min-height: 36px; padding-inline: 11px; font-size: 13px; }
  .guide-sections { grid-template-columns: 1fr; gap: 20px; }
  .guide-outfit { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-items: start; }
}
.guide-facts { margin-bottom: 1rem; }
.guide-facts dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(155px, 1fr)); gap: 1rem; margin: .75rem 0 .15rem; }
.guide-facts dt { color: #765b7d; font-size: .83rem; }
.guide-facts dd { margin: .25rem 0 0; color: #47374e; }
