:root {
  --ui-paper: #faf7ef;
  --ui-ink: #241c22;
  --ui-line: #cfc7bc;
  --ui-action: #b41453;
  --heading-rule-gap: 40px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
}
main { max-width: 1200px; margin-inline: auto; overflow: visible; }
.content-wrapper { width: 100%; max-width: 1200px; box-sizing: border-box; padding-inline: 28px; }
main p, main li { line-height: 1.6; }
main p { margin-block: 0 16px; }
main h2 { margin-block: 64px 18px; padding-top: var(--heading-rule-gap); line-height: 1.15; }
main h3 { margin-block: 28px 16px; line-height: 1.2; }
.content-wrapper h2::before { top: 0; }
main :is(.button,.buy-button,a.go,button.go) {
  min-height: 44px; box-sizing: border-box; border-radius: 6px;
  border: 1px solid var(--ui-line); box-shadow: none; background: var(--ui-paper); color: var(--ui-ink);
  font: 600 15px/1.3 var(--display); text-decoration: none; padding: 12px 18px;
}
main :is(.button,.buy-button,a.go):active { box-shadow: none; translate: none; }
main :is(.button:not(.ghost), .buy-button[rel~="sponsored"]) {
  color: #fff;
  background: var(--ui-action);
  border-color: var(--ui-action);
}
main a.buy-button[rel~="sponsored"] {
  display: inline-flex;
  justify-content: center;
  flex: 0 1 auto;
  width: fit-content;
  max-width: 100%;
  text-align: center;
  white-space: nowrap;
}
@media (hover: hover) {
  main a.buy-button[rel~="sponsored"]:hover {
    color: #fff;
    background: #89113f;
    border-color: #89113f;
  }
}
@media (min-width: 900px) {
  
  main :is(
    .shop-buttons > a.buy-button[rel~="sponsored"] ~ a.buy-button,
    .shop-row + .shop-row .shop-buttons > a.buy-button,
    .pair-grid > .pair-col + .pair-col .shop-buttons > a.buy-button,
    #closet-table > .piece-card:nth-child(n + 2 of :has(.buy-button):not(:has(input:is([value="owned"], [value="borrowed"]):checked))) .buy-button,
    #closet-table .buy ~ .buy .buy-button
  )[rel~="sponsored"] {
    color: inherit;
    background: transparent;
    border-color: currentColor;
    box-shadow: none;
  }
}
@media (min-width: 900px) and (hover: hover) {
  main :is(
    .shop-buttons > a.buy-button[rel~="sponsored"] ~ a.buy-button,
    .shop-row + .shop-row .shop-buttons > a.buy-button,
    .pair-grid > .pair-col + .pair-col .shop-buttons > a.buy-button,
    #closet-table > .piece-card:nth-child(n + 2 of :has(.buy-button):not(:has(input:is([value="owned"], [value="borrowed"]):checked))) .buy-button,
    #closet-table .buy ~ .buy .buy-button
  )[rel~="sponsored"]:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
  }
}
.world-hero { margin-inline: -28px; padding: 40px 28px; border-radius: 0; }
.world-hero-inner { max-width: 1144px; margin-inline: auto; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.hero-copy { min-width: 0; grid-area: auto; }
.hero-copy h1 { font-size: clamp(3rem, 5.5vw, 5.5rem); margin: 12px 0 16px; line-height: 1; }
.hero-copy .scope { margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-copy .scope li { padding: 0; border: 0; background: none; }
.hero-meta { margin-bottom: 16px; font: 400 15px/1.45 var(--display); }
.hero-copy .safe-line { margin-bottom: 20px; }
.hero-copy .safe { background: none; border: 0; padding: 0; font: 400 14px/1.4 var(--display); }
.hero-copy .answer { font-size: 21px; line-height: 1.5; margin-bottom: 24px; }
.hero-kit { padding: 16px 0; margin-bottom: 24px; }
.hero-kit .closet-kit { padding: 0; margin: 0; background: none; border: 0; border-radius: 0; box-shadow: none; font-size: 18px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; }
.world-hero .hero-actions a:not(.button) { display: inline-flex; align-items: center; min-height: 44px; color: var(--on-field, var(--ui-ink)); text-decoration: underline; text-underline-offset: 3px; }
.world-look .hero-actions .hero-source { font: 500 14px/1.4 var(--display); }
.hero-copy .look-hook { margin: 24px 0 0; font-size: 16px; line-height: 1.5; font-weight: 400; }
.hero-copy > .hero-screening { margin: 8px 0 0; font-size: 1rem; line-height: 1.45; }
.hero-screening a { color: inherit; text-underline-offset: 3px; }
.hero-media { min-width: 0; }
.hero-figure { margin: 0; }
.hero-figure > img { display: block; width: 100%; height: 570px; max-height: 68vh; object-fit: contain; border: 0; border-radius: 0; padding: 0; box-shadow: none; }
.hero-figure figcaption { margin-top: 12px; font: 400 13px/1.5 var(--display); }
.photo-credit { margin-left: 8px; opacity: .85; }
.save-control, .pinterest-links { font: 400 14px/1.5 var(--display); margin-block: 16px 0; }
.save-control a, .pinterest-links a { color: inherit; min-height: 44px; display: inline-flex; align-items: center; text-underline-offset: 3px; }
.hero-media .save-control { margin-bottom: 0; }
.world-section { margin-block: 64px; }
.world-section > h2:first-child { margin-top: 0; }
.wardrobe-plan { display: block; margin: 64px 0; padding: clamp(16px, 2vw, 24px); background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.wardrobe-plan::before { display: none; }
.wardrobe-plan .plan-date { display: grid; grid-template-columns: max-content minmax(0, 22rem); align-items: center; gap: 10px 16px; margin: 0 0 24px; padding: 0; border: 0; background: none; }
.wardrobe-plan .plan-date label { margin: 0; }
.wardrobe-plan .plan-date .action-row { display: flex; gap: 12px; align-items: center; }
.wardrobe-plan .plan-date input { min-height: 44px; min-width: 0; flex: 1; }
.wardrobe-plan .plan-date .button { display: inline-flex; align-items: center; justify-content: center; }
.wardrobe-plan .pieces-h { margin-top: 0; padding-top: 0; }
.plan-prep {
  display: grid;
  gap: .75rem 1.5rem;
  margin-block: 1rem;
  font-size: .95rem;
  line-height: 1.45;
}
.plan-prep dt { font-weight: 700; }
.plan-prep dd { margin: 0; }
.wardrobe-plan[data-plan-alternate] .plan-prep { display: none; }
@media (min-width: 900px) {
  .plan-prep:has(> div + div) { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
}
.look-pieces { display: block; padding: 0; margin: 0; list-style: none; }
.look-pieces .piece-card { display: block; padding: 20px 0; border: 0; border-bottom: 1px solid var(--ui-line); border-radius: 0; background: transparent; box-shadow: none; }
.piece-card > .piece-swatch { display: none; }
.piece-card .lp-text { min-width: 0; padding: 0; }
.piece-card .lp-name { font: 600 21px/1.35 var(--display); margin: 0 0 12px; }
.piece-card .lp-name small { font-weight: 400; font-size: 14px; }
.piece-card .closet { margin-bottom: 20px; font-size: 19px; }
.piece-card .piece-own { display: flex; flex-wrap: wrap; gap: 0; padding: 0; margin: 0 0 24px; border: 0; }
.piece-card .piece-own label { margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; }
.piece-card .piece-own span { min-height: 44px; display: flex; align-items: center; padding: 0 16px; border: 1px solid var(--ui-line); border-radius: 0; background: var(--ui-paper); color: var(--ui-ink); font: 400 14px/1.2 var(--display); }
.piece-card .piece-own label:first-of-type span { border-radius: 6px 0 0 6px; }
.piece-card .piece-own label:last-of-type span { border-radius: 0 6px 6px 0; }
.piece-card .piece-own input:checked + span { background: #e4ddd2; color: #241c22; font-weight: 600; box-shadow: inset 0 -2px #655c53; }
.piece-card .buy { margin: 0 0 24px; }
.piece-card .buy-button::before, .piece-card .buy-button::after { display: none; }
.piece-card .state:empty { display: none; }
.piece-card .state { display: block; padding: 0; margin-top: 16px; background: none; border: 0; border-radius: 0; min-height: 0; font-size: 15px; line-height: 1.5; }
.piece-help { margin-bottom: 20px; }
.make-it-read { padding: 24px 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; gap: 32px; grid-template-columns: minmax(220px, 2fr) minmax(0, 3fr); }
.make-it-read.recipe-modal-only { grid-template-columns: minmax(0, 1fr); }
.make-it-read .recipe-art { background: transparent; padding: 0; border: 0; }
.make-it-read .recipe-art img { width: 100%; height: auto; max-height: 420px; object-fit: contain; }
.make-it-read .recipe-title { font: 600 24px/1.25 var(--display); }
.make-it-read .recipe-note { font-size: 17px; line-height: 1.6; }
.make-it-read ol { font-size: 19px; padding-left: 24px; }
.shop-row { padding: 20px 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.shop-note { font: 400 14px/1.5 var(--display); margin: 0 0 16px; }
.shop-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.shop-buttons .buy-button::before, .shop-buttons .buy-button::after { display: none; }
.shop-buttons .affiliate-disclosure-auto { flex-basis: 100%; order: -1; padding: 0; margin-bottom: 8px; }
.read-listen { padding: 28px 0; background: transparent; border: 0; border-radius: 0; color: var(--ui-ink); box-shadow: none; }
.read-listen h2 { margin: 0 0 20px; }
.read-listen .shop-row { padding-bottom: 0; }
.occasion-grid, .next-up .occasion-grid { grid-template-columns: repeat(auto-fit,minmax(min(100%,260px),1fr)); gap: 24px; }
@media (min-width: 900px) {
  .content-wrapper:has(#occasion-index-title) > .occasion-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  .content-wrapper:has(#occasion-index-title) > .occasion-grid > .occ-tile {
    flex: 0 1 calc((100% - 48px) / 3);
    display: flex;
  }
  .content-wrapper:has(#occasion-index-title) > .occasion-grid > .occ-tile[hidden] { display: none; }
  .content-wrapper:has(#occasion-index-title) > .occasion-grid .occ-tile > a { width: 100%; }
}
@media (min-width: 1200px) {
  .content-wrapper:has(#occasion-index-title) > .occasion-grid > .occ-tile {
    flex-basis: calc((100% - 72px) / 4);
  }
}

.occ-tile { display: block; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.occ-tile > a { display: flex; flex-direction: column; height: 100%; min-height: 0; gap: 12px; padding: 24px; box-sizing: border-box; border: 0; border-radius: 4px; background: var(--ui-paper); color: var(--ui-ink); box-shadow: none; }
.occ-tile > a strong { font: 600 22px/1.25 var(--display); }
.occ-tile > a span { color: inherit; font-weight: 400; }
.bridges { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,260px),1fr)); gap: 24px; }
.bridge { padding: 24px; border: 0; border-radius: 4px; box-shadow: none; background: var(--ui-paper); color: var(--ui-ink); }
.bridge strong { font: 600 20px/1.3 var(--display); }
.bridge span { font-weight: 400; }
.secondary-look { display: flow-root; }
.secondary-look .look-photo { float: none; width: fit-content; max-width: 100%; margin: 24px auto; }
.secondary-look .look-photo img { width: auto; height: auto; max-width: 100%; max-height: 360px; padding: 0; background: transparent; box-shadow: none; }
.secondary-look .look-photo figcaption { color: var(--ink); }
@media (min-width: 900px) {
  .secondary-look-kit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 27%); align-items: start; gap: 32px; }
  .secondary-look .secondary-look-kit > .look-photo { width: 100%; margin: 0; }
  .secondary-look .secondary-look-kit > .look-photo img { width: 100%; height: clamp(240px, 24vw, 360px); object-fit: contain; }

}
@media(max-width:899px) {
  .content-wrapper { padding-inline: 16px; }
  .world-hero { margin-inline: -16px; padding: 24px 16px; }
  .hero-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 16px; }
  .hero-copy { display: contents; }
  .hero-copy .scope { order: 0; margin-bottom: 0; }
  .hero-copy h1 { order: 1; margin: 0; font-size: 42px; }
  .hero-meta, .hero-copy .safe-line { order: 2; margin: 0; }
  .hero-media { order: 3; }
  .hero-figure > img { width: 100%; height: 220px; max-height: var(--phone-photo-limit, none); }
  .hero-copy .answer { order: 4; font-size: 18px; line-height: 1.45; margin: 0; }
  .hero-kit { order: 5; padding: 0; margin: 0; }
  .hero-kit .closet-kit { font-size: 16px; line-height: 1.45; }
  .hero-actions { order: 6; }
  .hero-copy .look-hook { order: 7; margin: 8px 0 0; font-size: 15px; }
  .hero-figure figcaption { margin-top: 8px; font-size: 12px; }
  .world-section, .wardrobe-plan { margin-block: 48px; }
  main h2 { margin-top: 48px; padding-top: var(--heading-rule-gap); }
  .make-it-read { display: block; }
  .make-it-read .recipe-art img { height: auto; max-height: 260px; }
  .piece-card .piece-own span { padding-inline: 12px; }
}

@media (max-width: 599px) {
  .piece-card .piece-own {
    flex-wrap: nowrap;
    min-inline-size: 0;
    inline-size: 100%;
  }
  .piece-card .piece-own label {
    flex: 1 1 0;
    min-width: 0;
  }
  .piece-card .piece-own label span {
    width: 100%;
    justify-content: center;
    padding-inline: 4px;
    white-space: nowrap;
  }
}

@media (max-width: 399px) {
  .wardrobe-plan .plan-date { grid-template-columns: minmax(0, 1fr); }
}

.pinterest-links { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.pinterest-links a { font-size: 13px; }

.world-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px; }
.world-card { display: flex; flex-direction: column; min-width: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: var(--ui-paper); }
.world-card-image { position: relative; display: block; width: 100%; min-width: 0; flex: none; aspect-ratio: 4 / 5; overflow: hidden; }
.world-card-image > img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.world-card-copy { padding: 24px; background: transparent; border: 0; }
.world-card h3 { margin: 0 0 16px; }
.world-card h3 a { color: inherit; text-decoration: none; }
.world-card .hero-meta { margin: 0 0 12px; font-size: 14px; }
.world-card-detail { font-size: 16px; }
.world-card:last-child:nth-child(odd) { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; }
@media(max-width:639px) { .world-grid { grid-template-columns: minmax(0,1fr); gap: 32px; } .world-card:last-child:nth-child(odd) { display: flex; } .world-card-copy { padding: 20px; } }

.world-hero .hero-grid > *, .world-hero .hero-copy > * { grid-area: auto; }
.hero-copy .scope:has(li:only-child) { display: none; }
@media(max-width:899px) {
  .world-hero .hero-copy > .answer { order: 3; }
  .world-hero .hero-copy > .hero-kit { order: 4; }
  .world-hero .hero-copy > .hero-actions { order: 5; }
  .world-hero .hero-grid > .hero-media { order: 6; }
  .world-hero .hero-copy > .look-hook { order: 7; }
  .world-look .hero-copy > .hero-screening { order: 7; }
}

.guide-options { margin: 48px 0; padding: 20px 0; border: 0; border-block: 1px solid var(--ui-line); border-radius: 0; background: transparent; box-shadow: none; }
.guide-options > summary { font: 600 20px/1.4 var(--display); cursor: pointer; padding: 12px 0; }
.look-style-details > summary h2 { display: inline; margin: 0; font: inherit; }
.guide-options .look-block { padding: 24px 0; background: transparent; border: 0; box-shadow: none; }
.book-lines { padding-left: 0; }
.book-lines > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.book-lines > li::before { display: none; }
.book-lines > li { margin-bottom: 24px; padding: 0 0 24px; border: 0; border-bottom: 1px solid var(--ui-line); background: transparent; }
.book-lines .cite { display: block; margin-top: 12px; font-size: 15px; line-height: 1.6; }
.world-hero .scope a { color: var(--world-ink, var(--ui-ink)); }

.world-diy { padding: 24px 0; }
.world-diy-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 40px; align-items: center; }
.world-diy-layout figure { margin: 0; border: 0; padding: 0; background: transparent; }
.world-diy-layout img { display: block; width: 100%; height: auto; }
.world-diy-layout figcaption { margin-top: 12px; font-size: 14px; }
@media(max-width:899px) { .world-diy-layout { display: block; } }

.piece-card > svg.swatch { display: none; }
.piece-card .closet b { color: inherit; font-weight: 400; }
.piece-card .piece-own input:checked + span { font-weight: 400; }

.hero-starters { margin-top: 28px; }
.hero-starters > p { font: 400 15px/1.4 var(--display); margin-bottom: 16px; }
.hero-starters ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.hero-starters li { font-size: 16px; line-height: 1.45; }
.hero-starters li strong { display: block; font: 600 15px/1.4 var(--display); }
.hero-starters li span { display: block; }
@media(max-width:899px) { .world-hub .hero-copy > .hero-starters { order: 7; margin: 8px 0 0; } }

.hero-media figcaption a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

@media(min-width:900px) { .world-look .hero-figure > img { height: 480px; } }


.pair-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: stretch; gap: 48px; margin-block: 48px; }
.pair-grid .pair-col { min-width: 0; padding: 24px; border: 0; border-radius: 0; background: var(--ui-paper); color: var(--ui-ink); box-shadow: none; }
.pair-col .look-photo { float: none; width: 100%; max-width: none; margin: 0 0 24px; }
.pair-col .look-photo img { width: 100%; height: 400px; max-height: none; object-fit: contain; }
.pair-col .look-pieces li { display: block; padding: 20px 0; border: 0; border-bottom: 1px solid var(--ui-line); }
.pair-col .look-pieces li::before { display: none; }
.pair-col .lp-text, .pair-col .lp-name, .pair-col .lp-closet { display: block; }
.pair-col .lp-name { margin-bottom: 12px; font: 600 20px/1.3 var(--display); }
.pair-col .make-it-read { display: block; }
.pair-col .make-it-read img { height: 240px; }
.pair-col > .go { display: inline-flex; padding: 12px 0; background: transparent; border: 0; box-shadow: none; color: inherit; }
@media(min-width:900px) { .world-pair .hero-figure > img { height: 480px; } }
@media(max-width:899px) { .pair-grid { grid-template-columns: minmax(0,1fr); gap: 48px; } .pair-col .look-photo img { height: 300px; } }

.world-occasion .hero-copy h1 { font-size: clamp(2.5rem,4.2vw,4.5rem); }
.occasion-timing { margin-block: 32px; }
.occasion-timing .ticket { padding: 20px 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.occasion-timing .ticket-stub { border: 0; padding: 12px 0; }
.pick-cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; padding: 0; list-style: none; }
.pick-cards > .hub-card {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  align-items: center;
  min-width: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: var(--ui-paper);
}
.pick-cards .hc-art { height: clamp(165px, 29vw, 220px); border: 0; }
.pick-cards .hc-photo { padding: 0; }
.pick-cards .hc-body { min-width: 0; padding: 12px; }
.pick-cards .hc-photo img { width: 100%; height: 100%; object-fit: contain; }
.bridges { display: flex; flex-wrap: wrap; }
.bridges > .bridge { flex: 1 1 260px; }
.hub-story-beats { gap: var(--space-4); }
.hub-story-beats > .bridge { padding: var(--space-4); }
.hub-story-beats h3 { margin-block: 0 var(--space-2); }
.hub-story-beats p { margin-block: 0 var(--space-3); }
@media(min-width:900px) { .world-occasion .hero-figure > img { height: 480px; } }
@media(max-width:899px) { .world-occasion .hero-copy h1 { font-size: 36px; } }

.world-events { background: #f1ece4; }
.world-events .event-near { padding: 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; margin-block: 24px; }
.world-events .event-near label { display: block; margin-bottom: 12px; font: 400 17px/1.4 var(--display); }
.world-events .event-near select { width: 100%; min-height: 44px; }
.world-events .ev-near-summary { margin-top: 12px; font-size: 15px; }
@media (min-width: 900px) {
  .world-events .hero-figure > img { height: 480px; }
  .world-events[aria-labelledby="cal-title"] .hero-figure > img { height: auto; max-height: 480px; object-fit: cover; }
}
@media(max-width:899px) { .world-events .hero-copy > .event-near { order: 4; margin: 0; } }

.world-pair .hero-copy h1 { font-size: clamp(2.5rem,4.2vw,4.5rem); }
@media(max-width:899px) { .world-pair .hero-copy h1 { font-size: 36px; } .world-pair .hero-copy > .hero-actions { order: 4; } .world-pair .hero-copy > .hero-kit { order: 5; } }

.event-meta .ev-chip { color: var(--ui-ink); background: transparent; border: 0; border-radius: 0; padding: 0; font-weight: 400; }
@media(min-width:900px) { .pick-cards:has(> li:nth-child(3):last-child) { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media(max-width:639px) { .pick-cards { grid-template-columns: minmax(0,1fr); } }

.occasion-choices { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
@media(max-width:639px) { .occasion-choices { grid-template-columns: minmax(0,1fr); } }

.pair-grid .pair-col :is(h2,h3,figcaption,.hero-meta) { color: var(--ui-ink); }
.pair-col .look-photo figcaption { color: var(--ui-ink); font-size: 13px; line-height: 1.5; }
.pair-minimum-kit { padding-left: 20px; }
.pair-minimum-kit li { margin-bottom: 16px; }


.pair-grid .pair-col, .utility-page { --ink: #241c22; --ink-2: #5d5158; --muted: #5d5158; --paper: #faf7ef; --paper-2: #eee8df; --sheet: #faf7ef; --on-field: #241c22; color: #241c22; }
.pair-grid .pair-col .shop-note { color: #5d5158; }

@media(min-width:900px) {
  .world-grid:has(> .world-card:nth-child(3):last-child) { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .world-grid:has(> .world-card:nth-child(3):last-child) > .world-card:last-child { grid-column: auto; display: flex; }
  .world-grid:has(> .world-card:nth-child(5):last-child) { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .world-grid:has(> .world-card:nth-child(5):last-child) > .world-card { grid-column: span 2; }
  .world-grid:has(> .world-card:nth-child(5):last-child) > .world-card:nth-child(4) { grid-column: 2 / span 2; }
  .world-grid:has(> .world-card:nth-child(5):last-child) > .world-card:last-child { grid-column: 4 / span 2; display: flex; }
  .world-grid > .world-card:only-child { grid-template-columns: minmax(0, 36%) minmax(0, 1fr); align-items: center; }
}
.ball-list { display: block; padding: 0; margin: 0; list-style: none; }
.ball-list .ball-card { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 12px 24px; padding: 28px 0; border: 0; border-bottom: 1px solid var(--ui-line); border-radius: 0; background: transparent; box-shadow: none; }
.ball-list .ball-card :is(p,h3) { margin: 0; }
.ball-list :is(.ball-links, .ball-card > .cite) { grid-column: 1 / -1; }
.ball-list .ball-order:not(.ball-dress + .ball-order) { grid-column: 1 / -1; }
@media(max-width:639px) { .ball-list .ball-card { display: block; } .ball-list .ball-card :is(p,h3) { margin-bottom: 12px; } }

.world-tool { background: #f1ece4; }
.world-tool .hero-copy > .action { margin: 16px 0; padding: 0; border: 0; background: transparent; box-shadow: none; }
.world-tool .action label { display: block; margin-bottom: 12px; font-size: 17px; }
.world-tool .action :is(input,select) { min-height: 44px; }
.world-tool .action select { width: 100%; }
@media(min-width:900px) { .world-tool .hero-figure > img { height: 480px; } }
@media(max-width:899px) { .world-tool .hero-copy > .action { order: 4; } }
.world-date h1 { margin: 0 0 16px; font-size: clamp(2.25rem, 4.5vw, 3.75rem); }
.world-date .action-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.world-date .action-row input { flex: 0 1 22rem; min-width: 0; }
.world-date .action-row .button { flex: 0 0 auto; }
.world-date .deadline-events { margin-top: 16px; }
.world-date .cite:empty { display: none; }
.deadline-results > h2 { margin-top: 32px; }
.deadline-results > [data-deadline-reminder]:not([hidden]) { margin-block: 0 12px; }
@media (max-width: 599px) { .world-date .action-row input { flex: 1 1 120px; } }
.deadline-presets { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: 8px; margin: 0 0 12px; padding: 0; list-style: none; }
.deadline-presets[hidden] { display: none; }
.deadline-presets .button { height: auto; width: 100%; text-align: left; }
.deadline-presets .button[aria-pressed="true"] { border-color: var(--ink); background: var(--paper-2); color: var(--ink); }
.world-date .deadline-events details { margin-block: 8px; }
.world-date .deadline-events select { inline-size: min(100%, 28rem); margin-block: 8px; }
.deadline-list { grid-template-columns: minmax(0,1fr); gap: 16px; }
.deadline-list .choice-card {
  padding: 16px;
  border: 1px solid var(--ui-line);
  border-radius: 0;
  box-shadow: none;
  background: var(--ui-paper);
  color: var(--ui-ink);
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "body" "reason" "state" "shop";
  grid-template-rows: auto auto auto 1fr;
  gap: 10px;
}
.deadline-look-frame { grid-area: body; position: relative; }
.deadline-list .deadline-look { display: block; color: var(--ui-ink); text-decoration: none; }
.deadline-list .deadline-look::after { content: none; }
.deadline-list .deadline-look:focus-visible strong { text-decoration: underline; }
@media (hover: hover) {
  .deadline-list .deadline-look:hover strong { text-decoration: underline; }
}
.deadline-look-title { min-block-size: 82px; padding-inline-start: 84px; align-content: center; }
.deadline-look .deadline-look-copy { margin-block-start: 10px; font-size: 16px; }
.deadline-art {
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  inline-size: 72px;
  block-size: 82px;
  pointer-events: none;
  background: var(--world-ground);
  color: var(--world-ink);
}
.deadline-art > img { display: block; width: 100%; height: 100%; object-fit: contain; visibility: hidden; }
.deadline-art[data-photo-ready] > img { visibility: visible; }
.deadline-art-fallback { position: absolute; inset: 0; display: grid; place-items: center; font: 750 1.4rem/1 var(--display); }
.deadline-art[data-photo-ready] .deadline-art-fallback { display: none; }
.deadline-art:not([data-photo-ready]) .photo-info { visibility: hidden; }
.deadline-art .photo-info { pointer-events: auto; }
.deadline-look-title .deadline-emoji { display: inline; margin-inline-end: .3em; }
.deadline-reason {
  grid-area: reason;
  color: var(--ui-ink);
  font: 650 .82rem / 1.4 var(--display);
}
.deadline-list .state { padding: 0; background: none; box-shadow: none; font-size: .9rem; }
.deadline-shop[hidden] { display: none; }
.deadline-shop {
  grid-area: shop;
  align-self: end;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px;
  background: var(--world-ground);
  color: var(--world-ink);
}
.deadline-shop strong { display: block; font-size: .95rem; }
.deadline-shop .amazon-image-piece { flex: 0 0 64px; order: 0; }
.deadline-shop .deadline-amazon {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: .2em;
}
@media(min-width:900px) {
  .deadline-list { grid-template-columns: repeat(6,minmax(0,1fr)); }
  .deadline-list > .choice-card { grid-column: span 2; }
  .deadline-list:has(> .choice-card:nth-last-child(1 of :not([hidden])):nth-child(3n+1 of :not([hidden]))) > .choice-card:nth-last-child(-n+4 of :not([hidden])) { grid-column: span 3; }
  .deadline-list:has(> .choice-card:nth-last-child(1 of :not([hidden])):nth-child(3n+2 of :not([hidden]))) > .choice-card:nth-last-child(-n+2 of :not([hidden])) { grid-column: span 3; }
  .deadline-list:has(> .choice-card:nth-child(1 of :not([hidden])):nth-last-child(1 of :not([hidden]))) > .choice-card:not([hidden]) { grid-column: 1 / -1; }
}


@media(max-width:899px) { .world-look .hero-figure > img { height:auto; max-height:var(--phone-photo-limit, none); } }

@media(max-width:899px) { .world-hub .hero-figure > img { height:auto; max-height:var(--phone-photo-limit, none); } }


@media (max-width: 420px) {
  main { --phone-photo-limit: 25svh; }
  .world-look .hero-grid:has(.scope > li + li) { row-gap: 8px; }
  .pair-col .look-photo img { max-height: var(--phone-photo-limit); }
}

.wear-it-to .wit-list {
  width: 100%;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 16px;
}
.wit-list a { height: 100%; }
.wit-occasions { margin-block-start: 24px; }
.book-sources {
  margin-block: 20px 28px;
  padding-inline-start: 24px;
  font-size: .9375rem;
}
.book-sources li + li { margin-block-start: 8px; }
.book-lines .cite > a + a { margin-inline-start: 12px; }
.choice-source { margin-block: 12px; font-size: .9375rem; }
#book ~ .book-lines > li {
  margin: 0;
  padding: 10px 0;
  border: 0;
  border-block-end: 1px solid var(--ui-line);
  border-radius: 0;
  background: transparent;
}
.book-lines .detail-links { white-space: nowrap; }
.detail-links > a {
  display: inline-block;
  min-width: 24px;
  min-height: 24px;
  text-align: center;
  vertical-align: middle;
  line-height: 24px;
}
@media (max-width: 599px) {
  .wardrobe-plan .ticket {
    grid-template-columns: minmax(min-content, 1fr) auto;
  }
  .wardrobe-plan .ticket-date {
    font-size: clamp(16px, 5.4vw, 24px);
    white-space: nowrap;
  }
  .wardrobe-plan .ticket-main,
  .wardrobe-plan .ticket-stub { padding-inline: 10px; }
  .wardrobe-plan .ticket-stub { min-width: 64px; }
}

.world-pair h1 {
  margin: 0 0 24px;
  font-size: clamp(2.25rem, 4.2vw, 4.5rem);
  line-height: 1.04;
  text-wrap: balance;
}
.pair-outfits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 3vw, 36px);
}
.pair-outfit {
  min-width: 0;
  margin: 0;
  padding: clamp(10px, 2vw, 20px);
  background: var(--ui-paper);
  color: var(--ui-ink);
  border: 1px solid var(--ui-line);
}
.pair-outfit img { display: block; width: 100%; height: clamp(112px, 20vw, 200px); object-fit: contain; }
.pair-outfit figcaption { margin-top: 10px; font-size: clamp(14px, 2.5vw, 17px); line-height: 1.4; }
.pair-outfit strong { display: block; font: 700 clamp(16px, 3vw, 23px)/1.2 var(--display); }
.pair-outfit cite { display: block; margin: 4px 0 9px; }
.world-pair .pair-context { margin: 16px 0 12px; }
.world-pair .hero-actions { margin: 0 0 16px; }
@media (max-width: 599px) {
  .world-pair h1 { margin-bottom: 16px; }
}
.world-pair + .pair-welcome { margin-block-start: 24px; }

.pair-grid .look-photo img {
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.read-listen-formats, .piece-purchase {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}
.read-listen-formats:has(> .amazon-image-slot:not([hidden])) {
  display: grid;
  grid-template-columns: clamp(84px, 13vw, 136px) minmax(0, 1fr);
}
.read-listen-formats .shop-buttons { width: 100%; min-width: 0; margin: 0; }
.piece-purchase .buy { min-width: 0; max-width: 100%; margin: 0; }
.piece-purchase:not(:has(a, .amazon-image-slot:not([hidden]))) { display: none; }
.amazon-image-slot[hidden] { display: none; }
.amazon-image-cover { flex: 0 0 clamp(84px, 13vw, 136px); }
.amazon-image-piece { flex: 0 0 clamp(132px, 26vw, 192px); order: -1; }
.amazon-image-link {
  display: block;
  max-width: 100%;
  color: inherit;
}
.amazon-image-link img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.amazon-image-cover img { max-block-size: 196px; }
.amazon-image-piece img {
  aspect-ratio: 1;
  padding: 6px;
  border: 1px solid var(--world-accent, var(--ui-line));
  border-radius: 6px;
  background: #fff;
}


@media (max-width: 599px) {
  :is(.world-look, .world-hub) .hero-grid { row-gap: 10px; }
  :is(.world-look, .world-hub) .hero-copy > h1 {
    font-size: clamp(2rem, 9.5vw, 2.625rem);
    text-wrap: balance;
  }
  :is(.world-look, .world-hub) .hero-copy > :is(.hero-meta, .safe-line, .look-hook, .hero-actions, .answer) {
    margin-block: 0;
  }
  .world-look .hero-copy > .answer { order: 3; font-size: 1.0625rem; line-height: 1.35; }
  .world-look .hero-copy > .look-hook {
    order: 4;
    font-size: 1rem;
    line-height: 1.35;
  }
  .world-look .hero-copy > .hero-actions { order: 5; }
  .world-look .hero-copy > .hero-screening { order: 5; margin: 0; }
  .world-look .hero-copy > ul.scope {
    display: grid !important;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    order: 6;
    padding-inline-end: 0;
    gap: 4px 10px;
  }
  .world-look .hero-copy > .alternate-looks { order: 6; }
  .world-look .hero-copy > .scope a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .world-look .hero-copy > .safe-line { order: 9; }
  .world-look .hero-copy > .event-celebration { order: 10; }
  .world-look .hero-copy > .hero-kit {
    order: 7;
    padding-block: 8px;
    margin-block: 0;
  }
  .world-look .hero-kit .hero-kit-label { margin-block: 0 5px; }
  .world-look .hero-kit .hero-kit-list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 16px;
    font-size: 1rem;
    line-height: 1.35;
  }
  .world-hub .hero-copy > .hero-actions { order: 4; }
  .world-look .hero-grid > .hero-media { order: 8; }
  .world-look .hero-figure > img { width: 100%; }
  
  .world-look .hero-figure.is-stock > img {
    object-fit: contain;
    height: auto;
  }
  #look-katniss-arena-jacket { --mobile-look-crop: 55%; }
  :is(#look-amren-storm-gray, #look-nesta-mortal-estate, #look-rhysand-first-meeting,
      #look-effie-reaping-spring-green, #look-lenore-dove-reaping-red, #look-polly-ring-pockets) {
    --mobile-look-crop: 15%;
  }
}


.guide-rail-section { border-block-end: 1px solid var(--ui-line); padding: 12px 0; font-size: .9375rem; line-height: 1.45; }
.guide-rail-label { font-weight: 700; margin: 0 0 8px; }
.guide-rail-section p:not(.guide-rail-label) { margin: 0 0 8px; }
.guide-rail-section ul { list-style: none; margin: 0; padding: 0; }
.guide-rail-section li + li { margin-block-start: 8px; }
.guide-rail-related-wide, .guide-rail-related-narrow li + li { display: none; }



@media (min-width: 1024px) {
  .guide-rail-related-wide { display: block; }
  .guide-body .wit-list:has(> li:not([hidden]) ~ li:not([hidden]) ~ li:not([hidden])) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .guide-rail .page-contents { margin: 0; padding-inline: 0; }
}

.costume-comparison > article {
  padding: 1rem 0;
  border-block-end: 1px solid var(--ui-line);
}
.costume-comparison h3 { margin: 0 0 .75rem; }
.costume-comparison dl { display: grid; gap: .75rem 2rem; margin: 0; }
.costume-comparison dt { font-weight: 700; }
.costume-comparison dd { margin: .25rem 0 0; }
.costume-comparison a { white-space: normal; }
@media (min-width: 600px) {
  .costume-comparison dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 900px) {
  .world-occasion .hero-grid:not(:has(.hero-media)) {
    grid-template-columns: minmax(0, 660px);
    justify-content: center;
  }
}

.guide-wardrobe .hero-figure {
  margin: 0;
  color: #2b2329;
  background: #faf3e6;
  border: 1px solid #ad978a;
  border-radius: 4px;
}

.guide-wardrobe .guide-wardrobe-studies {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.guide-wardrobe .guide-wardrobe-studies.is-pair {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.guide-wardrobe .guide-wardrobe-studies img {
  display: block;
  width: 100%;
  height: clamp(190px, 25vw, 300px);
  object-fit: contain;
}

.guide-wardrobe .is-pair img + img {
  border-inline-start: 1px solid #ad978a;
}

.world-hero .hero-media.guide-wardrobe .hero-figure figcaption {
  color: #2b2329;
  padding: 0.45rem 0.7rem 0.65rem;
  font-size: 0.875rem;
}


.world-hero:has(.guide-wardrobe) .hero-copy h1 {
  font-size: clamp(2.15rem, 4.4vw, 4rem);
  text-wrap: balance;
}

.world-hero:has(.guide-wardrobe) .hero-copy .answer {
  font-size: clamp(1.0625rem, 1.8vw, 1.25rem);
}

@media (max-width: 899px) {
  .world-hero:has(.guide-wardrobe) .hero-grid {
    row-gap: 10px;
  }

  .world-hero:has(.guide-wardrobe) .hero-copy h1 {
    margin-block-end: 0.45rem;
  }

  .world-hero:has(.guide-wardrobe) .hero-copy .answer {
    margin-block-start: 0;
  }
}

@media (min-width: 900px) {
  .world-hero .hero-grid:has(.guide-wardrobe .is-pair) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    column-gap: 32px;
  }
}



main :is(.hero-figure, .world-card-image, .atlas-content figure, .pinterest-photo-grid figure, .editorial-photo, .hc-art) img {
  object-fit: contain !important;
  object-position: center !important;
}

main .hero-figure > img { height: auto !important; max-height: 480px !important; width: auto !important; max-width: 100% !important; margin-inline: auto; }


@media (max-width: 899px) { main .hero-figure > img { max-height: 24vh !important; } }

.compact-guide-intro .guide-wardrobe-studies img {
  height: clamp(165px, 24vw, 208px);
}

header.compact-guide-intro {
  display: grid;
  align-items: start;
  gap: 20px;
  margin-block-end: 24px;
}

header.compact-guide-intro .guide-wardrobe .hero-figure {
  background: transparent;
  border: 0;
}

@media (min-width: 900px) {
  header.compact-guide-intro {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 32px;
  }
}

@media (max-width: 899px) {
  .world-hero.world-occasion { padding-block-start: 18px; }
}

.utility-lead-art {
  display: block;
  width: min(100%, 380px);
  height: auto;
  max-height: 165px;
  object-fit: contain;
  margin-block: 12px 0;
}

@media (min-width: 900px) {
  :is(
    body[data-series="acotar"] .world-hub,
    body[data-series="fourth-wing"] .world-hub,
    body[data-series="bridgerton"] :is(.world-hub, .world-look),
    .world-hero.world-occasion
  ) {
    padding-block-start: 24px;
  }

  :is(
    body[data-series="acotar"] .world-hub,
    body[data-series="fourth-wing"] .world-hub,
    body[data-series="bridgerton"] :is(.world-hub, .world-look),
    .world-hero.world-occasion
  ) .hero-copy {
    display: flex;
    flex-direction: column;
    align-self: start;
  }

  :is(
    body[data-series="acotar"] .world-hub,
    body[data-series="fourth-wing"] .world-hub,
    body[data-series="bridgerton"] :is(.world-hub, .world-look),
    .world-hero.world-occasion
  ) .hero-copy > h1 {
    order: -2;
    margin-block-start: 0;
  }

  :is(
    body[data-series="acotar"] .world-hub,
    body[data-series="fourth-wing"] .world-hub,
    body[data-series="bridgerton"] :is(.world-hub, .world-look),
    .world-hero.world-occasion
  ) .hero-copy > .answer {
    order: -1;
  }
}

.reading-module { max-inline-size: 680px; margin: 40px auto 0; }
.reading-cards {
  --reading-ground: color-mix(in srgb, var(--world-ground, #eadfcb) 14%, #fffbf4);
  --reading-line: color-mix(in srgb, var(--world-accent, #86715d) 40%, #d7cec1);
  max-inline-size: 680px;
  margin-inline: auto;
  color: #2e2330;
}
.reading-card, .reading-disclosure {
  margin: 0;
  background: var(--reading-ground);
  border: 1px solid var(--reading-line);
}
.reading-cards > .reading-disclosure {
  border-radius: 12px 12px 0 0;
  border-bottom: 0;
  padding: 12px 16px 0;
  color: #594d58;
  font-size: .82rem;
  line-height: 1.4;
}
.reading-card {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  grid-template-areas: "cover details" "cover actions";
  grid-template-rows: min-content 1fr;
  align-content: start;
  align-items: start;
  gap: 7px 16px;
  padding: 12px 16px 16px;
  border-radius: 12px;
}
.reading-disclosure ~ .reading-card:first-of-type { border-top: 0; border-radius: 0 0 12px 12px; }
.reading-card + .reading-card { margin-block-start: 10px; }
.reading-cover {
  grid-area: cover;
  position: relative;
  aspect-ratio: 2 / 3;
  min-inline-size: 0;
  border-radius: 3px 6px 6px 3px;
  box-shadow: 2px 3px 7px #261b2b36;
  background: var(--world-ground, #e5d6bd);
  isolation: isolate;
}
.reading-cover::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  inline-size: 4px;
  background: #251b3026;
  pointer-events: none;
}
.reading-cover-type, .reading-cover > .amazon-image-slot {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
}
.reading-cover-type {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12% 11%;
  color: var(--world-ink, #2e2330);
  overflow-wrap: anywhere;
  text-align: center;
  font-size: clamp(.68rem, 1.6vw, .85rem);
  line-height: 1.2;
}
.reading-cover-type span { font-size: .92em; }
.reading-cover .amazon-image-slot :is(.amazon-image-card, a, img) { inline-size: 100%; block-size: 100%; }
.reading-cover .amazon-image-slot img { max-block-size: none; object-fit: contain; background: var(--reading-ground); }
.reading-details { grid-area: details; }
.reading-cards .reading-details p { margin: 0; line-height: 1.35; }
.reading-details .reading-title { font-size: 1.15rem; }
.reading-details .reading-author, .reading-details .reading-reason { font-size: .94rem; }
.reading-cards .reading-details .reading-reason { margin-block-start: 8px; }
.reading-actions { grid-area: actions; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px 10px; margin-block-start: 3px; }
.reading-audio { display: grid; gap: 1px; }
.reading-actions .buy-button { display: flex; justify-content: center; align-items: center; margin: 0; min-block-size: 44px; text-align: center; }
main .reading-cards .reading-actions a.reading-primary { background: #2e2330; color: #fff9ef; border-color: #2e2330; }
main .reading-cards .reading-actions a.reading-secondary { background: transparent; color: #2e2330; border: 1px solid var(--reading-line); }
.reading-cards .reading-trial { color: #594d58; font-size: .82rem; text-align: center; padding: 5px 3px; }
.reading-cards .reading-more { margin: 8px 0 0; font-size: .92rem; }
@media (max-width: 599px) {
  .reading-card {
    grid-template-columns: 88px minmax(0, 1fr);
    grid-template-areas: "cover details" "actions actions";
    grid-template-rows: auto auto;
    gap: 12px;
  }
  .reading-actions { display: grid; grid-template-columns: minmax(0, 1fr); }
  main .reading-cards .reading-actions a.buy-button[rel~="sponsored"] { width: 100%; }
  .reading-cover-type { font-size: .69rem; }
}


:root { --panel-inset: 16px; }
@media (max-width: 390px) { :root { --panel-inset: 12px; } }
main .world-diy { padding-inline: var(--panel-inset); }
main .world-diy > h2:first-child { margin-block-start: 0; }
main .ticket:not(.occasion-timing .ticket) { padding: var(--panel-inset); }
main .ticket:not(.occasion-timing .ticket) .ticket-main { padding: 0; }
main .ticket:not(.occasion-timing .ticket) .ticket-stub { margin-inline-start: 12px; padding: 8px 10px; }

main [data-product-row]:not([hidden]) {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}
.product-tile {
  inline-size: 72px;
  block-size: 72px;
  border-radius: 4px;
}
.product-tile .amazon-image-slot { margin: 0; }
.product-tile .amazon-image-link img {
  display: block;
  inline-size: 72px;
  block-size: 72px;
  aspect-ratio: 1;
  object-fit: contain;
}
.product-copy { min-width: 0; }
.product-name {
  display: -webkit-box !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: .95rem;
  line-height: 18px;
  block-size: 36px;
}
.deadline-shop[data-product-row] { padding: var(--panel-inset); }


@media (max-width: 899px) {
  .return-gutter:has(> .to-top:not([hidden])) {
    display: flex;
    justify-content: flex-end;
    padding: 28px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  }
  .return-gutter > .to-top { position: static; }
  .return-gutter > .to-top[hidden] { display: none; }
}
.reading-cards > .reading-disclosure { padding-block-end: 8px; }
main .hub-band { padding-inline: var(--panel-inset); }

main .event-list .event-listing { padding: 0 var(--panel-inset) var(--panel-inset) !important; }
main .event-list .event-listing::before { margin-inline: calc(-1 * var(--panel-inset)); }
main .hero-figure:has(figcaption) > figcaption { padding: 8px var(--panel-inset); }

body[data-series="one-piece"] main .make-it-read { padding-inline: var(--panel-inset); }
main .event-closet-thumb img[data-photo-focus] { object-fit: contain; }


.guide-rail {
  --rail-card: color-mix(in srgb, var(--world-accent, #b96a4b) 10%, var(--sheet, #fffaf1));
  --rail-edge: color-mix(in srgb, var(--world-accent, #b96a4b) 26%, var(--line, #d8c9ba));
  min-width: 0;
}
.guide-rail > .rail-card, .guide-rail > .page-contents, .shop-sheet .rail-card {
  padding: 16px;
  margin: 0;
  border: 1px solid var(--rail-edge, var(--line));
  border-radius: 10px;
  background: var(--rail-card, var(--sheet));
}
.guide-rail .rail-card p, .shop-sheet .rail-card p { margin-block: 0 8px; line-height: 1.4; }
.guide-rail .rail-card ul, .shop-sheet .rail-card ul { padding: 0; margin: 0; list-style: none; }
.guide-rail .rail-date a { display: inline-block; font: 700 .875rem/1.35 var(--display); text-decoration: underline; text-underline-offset: 3px; }
.guide-rail .guide-rail-label, .shop-sheet .guide-rail-label {
  font: 750 1rem/1.3 var(--display);
}
.rail-shop .shop-note { font-size: .75rem; }
.rail-shop li + li { margin-block-start: 8px; }
.rail-shop li > .product-copy a { display: inline-flex; align-items: center; min-height: 44px; font-size: .8rem; }
.rail-shop .product-tile, .deadline-shop .product-tile, .shop-strip-tile {
  position: relative;
  background: color-mix(in srgb, var(--world-accent, #b96a4b) 20%, var(--ui-paper));
  color: var(--ui-ink);
}
.rail-tile-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 4px;
  font: 700 .68rem/1.2 var(--display);
  text-align: center;
  overflow-wrap: anywhere;
}
:where(.product-tile,.shop-strip-tile):has(.amazon-image-slot:not([hidden])) .rail-tile-fallback { display: none; }

.guide-rail .page-contents-list { gap: 6px; }
.guide-rail .page-contents-list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 5px 9px;
  border: 1px solid transparent;
  border-radius: 6px;
  font: 600 .875rem/1.3 var(--display);
}
.guide-rail .page-contents-list a[aria-current="location"] {
  border-color: var(--rail-edge);
  background: var(--sheet);
}
.rail-bridge {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  min-height: 44px;
  font: 600 .85rem/1.35 var(--display);
}
.rail-bridge img, .rail-bridge-marker {
  display: block;
  inline-size: 42px;
  block-size: 42px;
  object-fit: contain;
  background: var(--sheet);
  border-radius: 6px;
}
.rail-bridge-marker { display: grid; place-content: center; }
.shop-hero-strip, .shop-sheet-gutter { display: none; }
.shop-sheet { max-inline-size: 100%; }

@media (min-width: 1024px) {
  .guide-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(212px, 18vw, 256px);
    gap: clamp(20px, 2vw, 28px);
  }
  .guide-body { grid-area: 1 / 1; min-width: 0; }
  .guide-rail {
    display: grid;
    gap: 12px;
    grid-area: 1 / 2;
    align-self: start;
    position: sticky;
    inset-block-start: calc(var(--header-h, 96px) + 16px);
    padding: 0;
    max-block-size: calc(100dvh - var(--header-h, 96px) - 32px);
    overflow-y: auto;
  }
  .guide-rail .page-contents-list { grid-template-columns: minmax(0, 1fr); }
  .guide-rail-related-narrow { display: none; }
}

@media (max-width: 1023px) {
  .guide-layout > .guide-rail > :is(.rail-date, .rail-shop, .guide-rail-section) { display: none; }
  .guide-layout > .guide-rail > .page-contents { margin-block: 16px; }
  .guide-rail-related-narrow { display: block; }
  .shop-hero-strip { display: block; order: 4; }
  .shop-hero-strip p { margin: 0 0 4px; font: 700 .875rem/1.25 var(--display); }
  .shop-hero-strip ul { list-style: none; padding: 0; margin: 0; display: flex; gap: 8px; }
  .shop-hero-strip li { flex: 1 1 0; min-inline-size: 0; }
  .shop-hero-strip a {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: start;
    align-items: center;
    gap: 5px;
    min-block-size: 44px;
    font: 650 .75rem/1.15 var(--display);
    color: inherit;
    overflow-wrap: normal;
  }
  .shop-strip-tile { inline-size: 32px; block-size: 32px; border-radius: 4px; }
  .shop-strip-tile .amazon-image-slot { margin: 0; }
  .shop-strip-tile img { display: block; inline-size: 32px; block-size: 32px; object-fit: contain; }
  .shop-sheet-gutter { display: flex; justify-content: flex-end; padding-block: 16px; }
  .shop-sheet-open, .shop-sheet [data-shop-sheet-close] {
    min-block-size: 44px;
    padding-inline: 14px;
    border-radius: 22px;
    border: 1px solid var(--ui-line);
    background: var(--ui-paper);
    color: var(--ui-ink);
    font: 700 .875rem var(--display);
  }
  .shop-sheet {
    inline-size: min(100%, 480px);
    max-block-size: 80dvh;
    margin-block: auto 0;
    padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px));
    border: 1px solid var(--ui-line);
    border-radius: 16px 16px 0 0;
    background: var(--ui-paper);
    color: var(--ui-ink);
  }
  .shop-sheet::backdrop { background: rgb(18 20 51 / .48); }
  .shop-sheet [data-shop-sheet-close] { display: block; margin: 0 0 8px auto; }
}

main:has(> .content-wrapper > .world-hero:is(.world-look,.world-hub,.world-occasion)) {
  container-type: inline-size;
  max-inline-size: none;
  padding-inline: 0;
}
main:has(> .content-wrapper > .world-hero:is(.world-look,.world-hub,.world-occasion)) > .content-wrapper {
  --hero-content-inset: 28px;
  margin-inline: auto;
}
main > .content-wrapper > .world-hero:is(.world-look,.world-hub,.world-occasion) {
  --hero-bleed: calc((100cqi - min(100cqi, 1200px)) / 2 + var(--hero-content-inset, 28px));
  margin-inline: calc(-1 * var(--hero-bleed));
  padding-inline: var(--hero-bleed);
}
@media (max-width: 899px) {
  main:has(> .content-wrapper > .world-hero:is(.world-look,.world-hub,.world-occasion)) > .content-wrapper {
    --hero-content-inset: 16px;
  }
}
@media (min-width: 1024px) {
  .guide-layout { margin-block-start: var(--panel-inset); }
  .guide-body > :first-child { margin-block-start: 0; }
}
.shop-strip-tile .piece-swatch { display: grid; place-items: center; min-block-size: 32px; margin: 0; }
.page-contents-more > summary { min-block-size: 44px; cursor: pointer; align-content: center; }

.photo-info {
  position: relative;
  display: block;
  min-width: 0;
  height: 0;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: var(--ui-ink);
  z-index: 1;
}
.photo-info > summary {
  position: absolute;
  inset-block-end: 0;
  inset-inline-end: 2px;
  display: grid;
  place-items: center;
  inline-size: 44px;
  block-size: 44px;
  padding: 0;
  list-style: none;
  cursor: pointer;
}
.photo-info > summary::-webkit-details-marker { display: none; }
.photo-info > summary > span {
  display: grid;
  place-items: center;
  inline-size: 24px;
  block-size: 24px;
  border-radius: 50%;
  border: 1px solid currentColor;
  background: color-mix(in srgb, var(--world-accent, #e2316f) 12%, #fffaf0 88%);
  color: #121433;
  font: 700 .875rem/1 var(--display);
}
.photo-info-popover {
  position: absolute;
  inset-block-end: 47px;
  inset-inline-end: 4px;
  inline-size: max-content;
  max-inline-size: min(250px, 82vw);
  padding: 12px;
  border: 1px solid var(--ui-line);
  border-radius: 8px;
  background: var(--ui-paper);
  color: var(--ui-ink);
  font: 500 .85rem/1.45 var(--display);
  box-shadow: 0 6px 14px #12143325;
}
.photo-info-popover a { color: inherit; text-decoration: underline; }
.photo-info[open] { z-index: 2; }
.emblem-info { max-inline-size: 130px; margin-inline-start: auto; }


:root { --space-within: 12px; --space-block: 24px; --space-section: 28px; }
@media (max-width: 899px) { :root { --space-within: 10px; --space-block: 20px; --space-section: 26px; } }
main h2 { margin-block-start: var(--space-section); }
main .world-section { margin-block: var(--space-section); }
main .world-section > h2:first-child { margin-block-start: 0; }
main :is(.watch-how, .look-video) { margin-block: var(--space-block); }
main .look-video:not([open]) :is(video, iframe) { display: none; }
main .watch-caption { margin-block: var(--space-within) var(--space-block); }
main :is(.world-section, .watch-how) + :is(.world-section, .watch-how) { margin-block-start: var(--space-block); }
.photo-info:not([open]) > .photo-info-popover { display: none; }

main .content-wrapper :is(.wardrobe-plan,.book-lines,.signature,.faq,.read-listen,.look-choices,.wear-it-to,.on-screen,.guide-options,.reader-wall,.world-quote,.next-up,.watch-how) {
  margin-block: var(--space-section);
}
main .content-wrapper :is(.wardrobe-plan,.book-lines,.signature,.faq,.read-listen,.look-choices,.wear-it-to,.on-screen,.reader-wall,.world-quote,.next-up,.watch-how) > :is(h2,header):first-child {
  margin-block-start: 0;
}
main .content-wrapper .world-section:not(.world-hero) { margin-block: var(--space-section); }
main .content-wrapper .guide-layout + :is(.faq,.read-listen) { margin-block-start: var(--space-block); }

main .content-wrapper .world-diy { padding-block: var(--panel-inset); }
main .content-wrapper .world-diy > .make-it-read { padding-block: var(--space-within); margin-block: 0; }
main .content-wrapper .watch-how > .watch-caption { margin-block-end: 0; }
main .content-wrapper :is(.guide-options,.world-diy,.wear-it-to,.read-listen) > h2:first-child { margin-block-start: 0; }
main .content-wrapper .guide-body > :is(.world-section, .wardrobe-plan):first-child { margin-block-start: 0; }
main .content-wrapper :is(.wore-it,.read-listen,.faq) { margin-block-start: var(--space-block); }
main .content-wrapper .book-lines { margin-block-start: var(--space-within); }
main .content-wrapper .wardrobe-plan { padding-block: var(--panel-inset); }
main .content-wrapper :is(.planner,.make-it-read,.world-diy,.guide-options) + :is(.watch-how,.look-video,.world-diy,.guide-options) {
  margin-block-start: var(--space-within);
}
main .content-wrapper .world-diy + #how-to-dress + h2 { margin-block-start: var(--space-block); }
main .content-wrapper :is(.world-section,.watch-how,.world-diy) > :last-child { margin-block-end: 0; }

main > .content-wrapper > .world-hero:is(.world-look,.world-hub,.world-occasion) {
  padding-block-end: var(--space-block);
}
main .content-wrapper .pair-grid { gap: var(--space-block); margin-block: var(--space-section); }
main .content-wrapper .pair-grid .pair-col { padding-block: var(--panel-inset); }
main .content-wrapper .pair-col > h2:first-child { margin-block-start: 0; }
.pick-cards > .hub-card > .hc-art { grid-area: 1 / 1; }
.pick-cards > .hub-card > .hc-body { grid-area: 1 / 2; }
.pick-cards > .hub-card > .photo-info {
  grid-area: 1 / 1;
  align-self: center;
  translate: 0 calc(clamp(165px, 29vw, 220px) / 2);
  z-index: 3;
}
@media (max-width: 599px) {
  .world-look .hero-kit .hero-kit-list { display: grid; grid-template-columns: minmax(0, 1fr); }
}
main .content-wrapper > .page-contents { margin-block-start: 0; }
main .content-wrapper .reading-cards + p { margin-block-start: var(--space-within); }
@media (min-width: 640px) {
  .world-card:last-child:nth-child(odd):has(> .photo-info) > .world-card-image { grid-area: 1 / 1; }
  .world-card:last-child:nth-child(odd):has(> .photo-info) > .world-card-copy { grid-area: 1 / 2; }
  .world-card:last-child:nth-child(odd) > .photo-info { grid-area: 1 / 1; align-self: end; }
}
.reading-cards + .where-next { margin-block-start: var(--space-within); }
main .content-wrapper .bridgerton-dispatch { margin-block-start: var(--space-block); }
main .content-wrapper #society-paper-h { padding-block-start: var(--space-block); margin-block-start: 0; }
.pick-cards > .hub-card > .photo-info > .photo-info-popover {
  inset-inline-start: 4px;
  inset-inline-end: auto;
  max-inline-size: min(220px, 74vw);
}

main .world-hero .hero-figure > img[width][height] { inline-size: 100% !important; }
.wardrobe-plan > .ticket { margin-block-start: var(--space-within); }

@media (max-width: 1023px) {
  main .shop-hero-strip .shop-note { color: inherit; font-size: .75rem; margin-block: 0 6px; }
  .shop-hero-strip li { display: grid; justify-items: start; flex: 0 0 min(30%, 108px); gap: 5px; }
  .shop-hero-strip ul { overflow-x: auto; scroll-snap-type: x mandatory; }
  .shop-hero-strip li { min-inline-size: 76px; scroll-snap-align: start; }
  .shop-hero-strip .shop-strip-tile { inline-size: 72px; block-size: 72px; }
  .shop-hero-strip .shop-strip-tile img { inline-size: 72px; block-size: 72px; }
  .shop-hero-strip .rail-tile-fallback {
    padding: 4px;
    font: 700 .68rem/1.2 var(--display);
    text-align: center;
  }
  .shop-hero-strip .shop-strip-name {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    min-block-size: 0;
    line-height: 1.25;
    text-overflow: ellipsis;
    overflow-wrap: normal;
  }
}
.shop-hero-strip .rail-tile-fallback { display: grid; place-content: center; }
.shop-hero-strip .shop-strip-tile:has(.amazon-image-slot:not([hidden])) .rail-tile-fallback { display: none; }
@media (max-width: 899px) {
  .world-look .hero-copy:has(> .shop-hero-strip) > .hero-actions { order: 3; }
  .world-look .hero-copy:has(> .shop-hero-strip) > .hero-kit { order: 4; }
  .world-look .hero-copy > .shop-hero-strip { order: 5; }
}

.product-picks > ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  list-style: none;
}
.product-picks li[data-product-row] {
  flex: 1 1 235px;
  min-inline-size: 0;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: var(--panel-inset);
  border: 1px solid var(--ui-line);
  border-radius: 8px;
}

main .product-picks li[data-product-row] {
  min-block-size: 0;
  padding: 12px;
}
main .product-picks .product-copy {
  display: grid;
  align-content: center;
  gap: 0;
}
main .product-picks .product-name {
  block-size: auto;
  margin: 0;
}
.occasion-shop-strip { margin-block: 12px; }
.occasion-shop-strip .occasion-shop-label { margin: 0; font: 750 .875rem/1.3 var(--display); }
.occasion-shop-strip .shop-note { margin-block: 4px 8px; color: inherit; font-weight: 400; }
.occasion-shop-strip ul { display: flex; align-items: start; list-style: none; padding: 0; gap: 8px; margin: 0; }
.occasion-shop-strip li { display: grid; align-content: start; flex: 0 1 100px; min-inline-size: 72px; gap: 4px; margin: 0; }
.occasion-shop-strip a.occasion-shop-name { color: inherit; font: 700 .8rem/1.2 var(--display); text-decoration: underline; }
main .product-picks > ul { flex-direction: row; }
.reviewed-product-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-inline-size: 100%;
  vertical-align: middle;
}
.reviewed-product-picture {
  flex: 0 0 60px;
  inline-size: 60px;
  block-size: 60px;
}
.reviewed-product-thumb img {
  inline-size: 60px;
  block-size: 60px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--ui-line);
  border-radius: 5px;
}
.reviewed-product-links { display: grid; min-inline-size: 0; }
.reviewed-product-name { font-weight: 700; }
.reviewed-product-options { font-size: .84rem; }
.occasion-shop-strip li {
  grid-template-columns: minmax(0, 1fr);
  justify-items: start;
}
.occasion-shop-strip li + li { margin-block-start: 0; }
.hero-copy:has(.occasion-shop-strip) > .answer { margin-block-end: 4px; }
.hero-copy:has(.occasion-shop-strip) > .hero-actions { margin-block: 6px; }
@media (min-width: 900px) {
  .hero-copy:has(.occasion-shop-strip) > h1 { font-size: clamp(38px, 4.4vw, 68px); }
}
@media (max-width: 899px) {
  .hero-grid:has(.occasion-shop-strip) .hero-copy > .answer { order: 3; }
  .hero-grid:has(.occasion-shop-strip) .occasion-shop-strip { order: 5; margin-block: 0; }
  .hero-grid:has(.occasion-shop-strip) .hero-actions { order: 4; margin-block: 0; }
  .hero-grid:has(.occasion-shop-strip) .hero-media { order: 8; }
}
.occasion-shop-strip { margin-block-start: 4px; }
.occasion-shop-strip .shop-strip-tile { inline-size: 72px; block-size: 72px; }
.occasion-shop-strip .shop-strip-tile img { inline-size: 72px; block-size: 72px; }
@media (max-width: 899px) {
  .world-hero:has(.occasion-shop-strip) { padding-block-start: 16px; }
  .hero-grid:has(.occasion-shop-strip) { row-gap: 9px; }
  .hero-grid:has(.occasion-shop-strip) .hero-copy > h1 { font-size: clamp(30px, 9vw, 38px); }
  .hero-grid:has(.occasion-shop-strip) .hero-copy > .answer { line-height: 1.35; }
}
@media (min-width: 900px) {
  .hero-grid:has(.occasion-shop-strip) > .hero-media {
    display: grid;
    align-self: stretch;
    align-content: center;
  }
  .occasion-shop-strip li { flex: 1 1 0; }
}

@media (min-width: 1024px) and (max-width: 1279px) {
  .guide-body .piece-card .piece-own { flex-wrap: nowrap; }
  .guide-body .piece-card .piece-own span { padding-inline: 9px; font-size: .8125rem; white-space: nowrap; }
}



@media (min-width: 900px) {
  main .world-look .hero-figure:has(> .photo-info) { inline-size: fit-content; max-inline-size: 100%; margin-inline: auto; }
  main .world-look .hero-figure:has(> .photo-info) > figcaption { contain: inline-size; }
  main .world-look .hero-figure:has(> .photo-info) > img[width][height] { inline-size: auto !important; }
}


@supports (anchor-name: --a) {
  .hero-media > .world-emblem { anchor-name: --world-emblem; }
  .hero-media > .emblem-info {
    position: absolute; position-anchor: --world-emblem; inset: auto; top: anchor(bottom); left: anchor(right);
    inline-size: 0; max-inline-size: none; margin: 0; border: 0;
  }
  .hero-media > .emblem-info > summary { inset-inline-end: 0; inset-block-end: 4px; }
}

main > .content-wrapper > h1:first-child { margin-block-start: clamp(32px, 6vw, 64px); }

li:has(> .rail-bridge + .photo-info) > .rail-bridge { padding-inline-end: 34px; }
@media (max-width: 899px) {
  main .world-look:has(.shop-hero-strip) .hero-grid { row-gap: 8px; }
  main .world-look .hero-copy:has(.shop-hero-strip) > .answer { order: 3; }
  main .world-look .hero-copy:has(.shop-hero-strip) > .hero-solstice { order: 3; }
  main .world-look .hero-copy:has(.shop-hero-strip) > .hero-actions { order: 4; }
  main .world-look .hero-copy:has(.shop-hero-strip) > .hero-kit { order: 5; }
  main .world-look .hero-copy > .shop-hero-strip { order: 6; }
  main .world-look .hero-copy:has(.shop-hero-strip) > .look-hook { order: 7; }
  main .world-look .hero-grid:has(.shop-hero-strip) > .hero-media { order: 8; }
  .shop-hero-strip ul { align-items: start; }
  .shop-hero-strip li { align-content: start; }
  main .shop-hero-strip .shop-note { font-weight: 400; }
}

@media (max-width: 599px) {
  main [data-mobile-occasion] .hero-media > .hero-figure {
    display: grid;
    grid-template-columns: 116px minmax(0, 1fr);
    gap: var(--space-within);
    align-items: center;
  }
  main [data-mobile-occasion] .hero-figure > img[width][height] {
    grid-area: 1 / 1;
    inline-size: 100% !important;
    max-block-size: 86px !important;
  }
  main [data-mobile-occasion] .hero-figure > figcaption { grid-area: 1 / 2; margin: 0; padding: 0; }
  main [data-mobile-occasion] .hero-figure > .photo-info { grid-area: 1 / 1; align-self: end; }
  main [data-mobile-occasion] + .guide-layout > .guide-rail { display: none; }
  main .occasion-core-next { display: block; margin-block-start: var(--space-within); }
}

.outfit-comparison-rows {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 195px), 1fr));
  column-gap: var(--space-block);
}
.outfit-comparison-row {
  border-block-start: 1px solid var(--line);
  padding-block: var(--space-3);
}
.outfit-comparison-row > h3 { margin-block: 0 var(--space-2); }
.outfit-comparison-row > p { margin-block: 0 var(--space-2); }
.outfit-comparison-row > p:last-child { margin-block-end: 0; }
.outfit-comparison-kind { color: var(--ink-2); font: 700 .875rem/1.4 var(--display); }
@media (max-width: 1199px) {
  .outfit-comparison-rows { grid-template-columns: 1fr; }
}


.look-next {
  display: grid;
  inline-size: fit-content;
  max-inline-size: 100%;
  color: inherit;
  text-underline-offset: 3px;
  gap: 2px;
  margin-block: var(--space-2);
  padding-block: var(--space-2);
  min-block-size: 44px;
}
.look-next > span { font-size: 0.8125rem; }
.look-next--end {
  padding: var(--space-4);
  background: var(--ui-paper);
  color: var(--ui-ink);
  border-radius: 4px;
}
.look-next--photo { display: none; }
.guide-body > .look-photo.has-search-caption > figcaption { color: var(--ink); }
@media (max-width: 899px) {
  .world-look .hero-copy > .look-next--hero { order: 7; }
  .world-look .hero-copy:has(.moment-look:not([hidden])) > .look-next--hero { order: 12; }
}
@media (max-width: 599px) {
  main .world-look--mobile-plan .hero-grid > .hero-media:has(> .look-next--photo) {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    grid-template-rows: minmax(112px, auto) auto;
    align-items: center;
    gap: var(--space-2) var(--space-4);
    padding-block-start: var(--space-2);
  }
  main .world-look--mobile-plan .hero-grid > .hero-media:not(:has(> .look-next--photo)) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-2);
  }
  main .world-look--mobile-plan .hero-grid .hero-media > :is(.hero-figure, .band-figure) {
    grid-area: 1 / 1;
    margin: 0;
    min-inline-size: 0;
  }
  main .world-look--mobile-plan .hero-figure > img { max-block-size: 120px !important; }
  .world-look--mobile-plan .hero-media > :is(.world-emblem, .emblem-info),
  .world-look--mobile-plan .hero-figure > figcaption,
  .guide-layout--mobile-plan > .guide-rail > .page-contents { display: none; }
  main .world-look--mobile-plan .hero-media > .look-next--photo {
    display: grid;
    grid-area: 1 / 2;
    align-self: end;
    margin: 0;
    font: 600 1rem/1.4 var(--display);
  }
  main .world-look--mobile-plan .hero-media > :is(.pinterest-links, .save-control) {
    grid-area: 2 / 1 / 3 / -1;
    margin-block: 0;
  }
  main .world-look--mobile-plan .hero-grid > .hero-media:has(> .has-search-caption) {
    display: grid;
    grid-template: none / minmax(0, 1fr);
  }
  main .world-look--mobile-plan .hero-grid .hero-media > .has-search-caption,
  .guide-body > .look-photo.has-search-caption {
    display: grid;
    grid-template-columns: 102px minmax(0, 1fr);
    align-items: center;
    column-gap: var(--space-4);
  }
  .guide-body > .look-photo.has-search-caption { float: none; width: auto; margin: 0 0 var(--space-4); }
  .has-search-caption > img { grid-area: 1 / 1; }
  .has-search-caption > .photo-info { grid-area: 1 / 1; align-self: end; }
  main .world-look--mobile-plan .has-search-caption > figcaption,
  .guide-body > .look-photo.has-search-caption > figcaption {
    display: block;
    grid-area: 1 / 2;
    margin: 0;
    padding: 0;
  }
  main .world-look--mobile-plan .hero-media:has(> .has-search-caption) > :is(.look-next--photo, .pinterest-links, .save-control) {
    grid-area: auto;
  }
  .guide-layout--mobile-plan #plan { display: grid; grid-template-columns: minmax(0, 1fr); }
  .guide-layout--mobile-plan #plan > :is(.plan-howto, .plan-prep) { order: 1; }
  .guide-layout--mobile-plan #closet-table ~ * { order: 2; }
}

#screening-outfits > .screening-outfit-list {
  list-style: none;
  margin-block: var(--space-within);
  padding: 0;
}
#screening-outfits .screening-outfit-list > li { margin-block: 0 var(--space-2); }
#screening-outfits .screening-outfit-list > li > p { margin: 0; }

@media (max-width: 599px) {
  #screening-outfits > .screening-pair { margin-block: 0; }
  #screening-outfits .screening-pair > a { margin-block-start: 0; }
  #screening-outfits > .screening-outfit-list { margin-block-start: var(--space-1); }
  #screening-outfits .screening-outfit-list > li { margin-block-end: var(--space-1); }
}


.moment-look {
  margin-block-start: var(--space-3);
  padding-block-start: var(--space-3);
  border-block-start: 1px dashed color-mix(in srgb, currentColor 45%, transparent);
}
.moment-look p { margin: 0; font-size: 0.9375rem; line-height: 1.35; }
.moment-look p.moment-closet { margin-block-start: var(--space-2); }
.moment-look .moment-source { display: inline-block; margin-block-start: var(--space-2); color: inherit; font-size: .875rem; text-decoration: underline; }
.moment-look .moment-kind { font-size: .75rem; font-weight: 700; }
.moment-look :is(h2,h3) { margin: var(--space-1) 0; padding: 0; font-size: clamp(1.125rem, 2vw, 1.375rem); }
.moment-products { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: var(--space-2) 0 0; padding: 0; list-style: none; }
.moment-products > li { display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: center; gap: var(--space-1); flex: 1 1 136px; min-inline-size: 0; }
.moment-products .shop-strip-tile, .moment-products .shop-strip-tile img { inline-size: 48px; block-size: 48px; }
.moment-look .moment-product-name { color: inherit; font-size: .8125rem; line-height: 1.25; }
:is(.hero-moment-disclosure, .guide-shop-disclosure) { margin: 0; font-size: .75rem; }
[data-hero-moment-shop] > .hero-moment-disclosure { color: inherit; }
[data-hero-moment-shop]:not(:has(.moment-look:not([hidden]), .occasion-shop-strip a[rel~="sponsored"], .shop-hero-strip a[rel~="sponsored"])) > .hero-moment-disclosure { display: none; }
@media (max-width: 899px) {
  .world-hero [data-hero-moment-shop] > .hero-moment-disclosure { order: 5; }
  .world-hero [data-hero-moment-shop]:has(.shop-hero-strip) > .hero-moment-disclosure { order: 6; }
  .world-hero [data-hero-moment-shop] > .moment-look { order: 11; margin-block-start: 0; }
}
@media (min-width: 1024px) {
  [data-hero-moment-shop]:not(:has(.moment-look:not([hidden]), .occasion-shop-strip a[rel~="sponsored"])) > .hero-moment-disclosure { display: none; }
  .guide-layout[data-plan-shop-group] { row-gap: var(--space-2); }
  .guide-layout[data-plan-shop-group] > .guide-shop-disclosure { grid-area: 1 / 1 / 2 / -1; }
  .guide-layout[data-plan-shop-group] > .guide-body { grid-row: 2; }
  .guide-layout[data-plan-shop-group] > .guide-rail { grid-row: 2; }
}

@media (min-width: 900px) {
  .world-look .hero-copy:has(> .moment-look:not([hidden])) > h1 { font-size: clamp(2.5rem, 4.4vw, 4.25rem); }
}

.inner-circle-intro .hero-media .hero-figure {
  background: transparent;
  border: 0;
}

main .inner-circle-intro .hero-figure > img {
  max-height: 260px !important;
}

@media (max-width: 599px) {
  main .inner-circle-intro .hero-figure > img {
    max-height: 86px !important;
  }
}

.yule-color-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .45rem .7rem;
  padding: 0;
  list-style: none;
  font-size: .92rem;
}
.yule-color-list a {
  display: block;
  color: inherit;
  min-block-size: 44px;
  line-height: 1.25;
  text-decoration: none;
}
.yule-color-list strong { display: block; font-weight: 700; text-decoration: underline; }
.yule-order { font-size: .94rem; }
@media (max-width: 899px) {
  .hero-copy > :is(.yule-color-list,.yule-order) { order: 4; margin-block: .25rem; }
}
@media (max-width: 599px) {
  .world-occasion:has(.yule-color-list) .hero-media > .hero-figure {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: var(--space-within);
    align-items: center;
  }
  main .world-occasion:has(.yule-color-list) .hero-figure > img[width][height] {
    inline-size: 100%;
    max-block-size: 86px !important;
  }
  .world-occasion:has(.yule-color-list) .hero-figure > figcaption { margin: 0; padding: 0; }
}
