@font-face {
  font-family: Noto;
  src: url(/fonts/noto-serif-display-400-normal.woff2);
}
@font-face {
  font-family: NotoI;
  src: url(/fonts/noto-serif-display-400-italic.woff2);
}
@font-face {
  font-family: Instrument;
  src: url(/fonts/instrument-sans-400-normal.woff2);
}
@font-face {
  font-family: Instrument;
  src: url(/fonts/instrument-sans-600-normal.woff2);
  font-weight: 600;
}
* {
  box-sizing: border-box;
}
html {
  color-scheme: dark;
  background: #201319;
}
body {
  margin: 0;
  color: #f7f2f3;
  font:
    16px Instrument,
    system-ui,
    sans-serif;
}
main {
  max-width: 440px;
  margin: 0 auto;
  min-height: 100svh;
  background: #0c0a0a;
  padding-bottom: max(14px, env(safe-area-inset-bottom));
  box-shadow: 0 0 60px #0004;
}
header {
  height: 64px;
  padding: 0 18px;
  border-bottom: 1px solid #382c32;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
header img {
  width: 124px;
}
header > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
button,
a {
  font: inherit;
  color: inherit;
  cursor: pointer;
  touch-action: manipulation;
}
button {
  background: transparent;
  border: 0;
}
button:disabled {
  opacity: 0.4;
  cursor: default;
}
:focus-visible {
  outline: 2px solid #ff80bc;
  outline-offset: 3px;
}
section {
  padding: 0 18px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font:
    40px/1.12 Noto,
    Georgia,
    serif;
  margin: 18px 0 16px;
  letter-spacing: -1.3px;
}
em {
  font: inherit;
  font-family: NotoI, Georgia, serif;
  color: #ff80bc;
}
.quiet {
  color: #ff9bc9;
  min-height: 44px;
}
.hero {
  height: clamp(220px, calc(100svh - 296px), 505px);
  border-radius: 15px;
  position: relative;
  overflow: hidden;
  touch-action: pan-y;
  user-select: none;
  background: #211b1d;
}
.hero {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
}
.hero video,
.detailvideo {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: block;
  object-fit: contain;
  background: #130f11;
}
.hero video {
  grid-area: 1/1;
}
.caption {
  grid-area: 2/1;
  padding: 10px 64px 12px 14px;
  pointer-events: none;
  overflow-wrap: anywhere;
}
.caption h2 {
  font:
    29px/1.15 Noto,
    Georgia,
    serif;
  margin-bottom: 5px;
}
.caption p,
.meta {
  font-size: 15px;
  line-height: 1.45;
}
.mediaToggle {
  grid-area: 2/1;
  justify-self: end;
  align-self: center;
  margin-right: 10px;
  background: #100a0cba;
  border-radius: 50%;
  min-width: 44px;
  height: 44px;
  z-index: 2;
}
.badge {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 2;
  border-radius: 30px;
  background: #121012dd;
  padding: 6px 14px;
  font-weight: 600;
}
.actions {
  display: flex;
  gap: 10px;
}
.pill {
  display: block;
  text-align: center;
  text-decoration: none;
  border: 1px solid #664958;
  border-radius: 50px;
  font-weight: 600;
  padding: 13px 12px;
  flex: 1;
}
.pink {
  background: #e60073;
  border-color: #e60073;
  color: white;
}
.undo {
  min-height: 44px;
  color: #dbcfd4;
  display: block;
  margin: 0 auto;
}
.hint {
  font-size: 13px;
  text-align: center;
  color: #d3c5cd;
  margin: 9px 0 11px;
}
.saved {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 12px;
}
.tile {
  text-align: left;
  padding: 0;
  align-self: start;
}
.tile img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: contain;
  border-radius: 11px;
}
.tile strong {
  display: block;
  font:
    22px/1.16 Noto,
    Georgia,
    serif;
  margin: 7px 0;
}
.tile small {
  display: block;
  line-height: 1.5;
  color: #ded3da;
}
.shelf {
  margin-bottom: 18px;
  color: #ddced6;
  font-size: 15px;
}
.back {
  padding: 0;
}
.return {
  display: block;
  margin: 22px auto;
}
.detailvideo {
  height: min(48svh, 410px);
  border-radius: 14px;
}
.detailtitle {
  font:
    34px/1.15 Noto,
    Georgia,
    serif;
  margin: 14px 0 6px;
}
.service {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-block: 1px solid #44353c;
  padding: 14px 0;
  margin: 16px 0;
}
.empty {
  padding: 36px 0;
  color: #ddced6;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
@media (min-width: 600px) {
  main {
    margin: 22px auto;
    border-radius: 20px;
    overflow: hidden;
    min-height: calc(100svh - 44px);
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto;
  }
}
.titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.titlebar h1 {
  font-size: clamp(30px, 8.5vw, 40px);
}
.filter-open {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  border: 1px solid #725464;
  background: #22161d;
  border-radius: 23px;
  min-height: 44px;
  padding: 0 13px;
}
.filter-open.active {
  border-color: #ff80bc;
  color: #ff9bc9;
}
.filterSummary {
  margin: -4px 0 13px;
  color: #ffbadb;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.regular {
  display: block;
  width: fit-content;
  margin: 0 auto;
  color: #ddced6;
  font-size: 14px;
  padding: 13px 6px;
}
dialog {
  width: min(100%, 440px);
  max-width: 100%;
  max-height: 90dvh;
  background: #161214;
  color: #f7f2f3;
  border: 1px solid #53424a;
  border-radius: 20px;
  padding: 0;
  box-shadow: 0 12px 60px #000b;
}
dialog::backdrop {
  background: #070509b8;
}
dialog form {
  display: flex;
  flex-direction: column;
  max-height: 88dvh;
}
dialog h2 {
  font:
    30px Noto,
    serif;
}
.sheetHead,
.sheetFoot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  gap: 12px;
}
.sheetFoot {
  border-top: 1px solid #43343c;
  padding-bottom: max(12px, env(safe-area-inset-bottom));
}
.fields {
  overflow: auto;
  padding: 8px 18px 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 12px;
}
.fields label {
  font-size: 14px;
  display: grid;
  gap: 6px;
  min-width: 0;
}
.fields input:not([type="checkbox"]),
.fields select {
  font:
    16px Instrument,
    sans-serif;
  width: 100%;
  height: 44px;
  background: #241c20;
  color: #fff;
  border: 1px solid #65525c;
  border-radius: 9px;
  padding: 0 8px;
}
.wide {
  grid-column: 1/-1;
}
.checks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.checks label {
  display: flex;
  align-items: center;
  padding: 9px;
  border-radius: 20px;
  border: 1px solid #53424a;
  min-height: 44px;
}
.checks input {
  accent-color: #e60073;
}
.checks label[hidden] {
  display: none;
}
.closeSheet {
  width: 44px;
  height: 44px;
  font-size: 24px;
}
.fallback {
  font-size: 14px;
  color: #e8cdda;
  margin: 8px 0;
}
.saved img {
  background: #251c22;
}
.hero {
  height: clamp(200px, calc(100svh - 340px), 505px);
}
@media (max-width: 520px) {
  dialog {
    margin: auto auto 0;
    border-radius: 20px 20px 0 0;
  }
}

#notice:not(:empty) {
  text-align: center;
  padding: 10px 18px;
}
.shelf a,
.disclosure a {
  color: #ff9bc9;
}
.disclosure {
  font-size: 14px;
  line-height: 1.45;
  color: #ddced6;
  margin: 0 0 12px;
}
.matches {
  margin-top: 18px;
}
.matches a {
  display: block;
  color: #ff9bc9;
  padding: 10px 0;
}
.matches h2 {
  font:
    24px Noto,
    serif;
}

.follow-stylist{pointer-events:auto;min-height:44px;padding:4px 10px;margin-left:4px;border-radius:18px;color:#ff9bc9;font-weight:600}.follow-stylist[aria-pressed=true]{color:#fff}

.matches { padding-inline: 0; }
.match-card { display: grid; grid-template-columns: minmax(64px, 29%) minmax(0, 1fr); gap: 12px; padding: 16px 0; border-top: 1px solid #4a3642; }
.match-card img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 10px; }
.match-card h3 { font: 1.35rem/1.12 Noto, Georgia, serif; }
.match-card p { margin: 5px 0; line-height: 1.35; overflow-wrap: anywhere; }
.match-reason { color: #e5c8d8; font-size: .9rem; }
.match-card a { display: inline-flex; align-items: center; min-height: 44px; }
