/* For you: a framed product gallery with sealed-paper covers for unseen designs.
   The native renderer owns the available items, selection and reduced-motion state. */
body#typewriterWorkshop #view-community.cd-community-914 #communityForYou #communityMadeGrid {
  --cw-unseal-ready: 1;
  --deck-near: calc(var(--deck-width) * .62);
  --deck-far: calc(var(--deck-width) * 1.10);
  position: relative;
  width: 100%;
  max-width: 1240px;
  height: calc(var(--deck-height) + 24px);
  margin-inline: auto;
}

body#typewriterWorkshop #view-community.cd-community-914 #communityForYou #communityMadeGrid > .cd-deck-slot[data-offset="0"] {
  top: 0;
  z-index: 5;
  opacity: 1;
  transform: translateX(calc(-50% + var(--deck-drag, 0px)));
}

body#typewriterWorkshop #view-community.cd-community-914 #communityForYou #communityMadeGrid > .cd-deck-slot[data-offset="0"] > .cd-card {
  filter: none;
}

body#typewriterWorkshop #view-community.cd-community-914 #communityForYou #communityMadeGrid > .cd-deck-slot:is([data-offset="-1"], [data-offset="1"], [data-offset="-2"], [data-offset="2"]) {
  display: block;
  top: 62px;
  z-index: 3;
  overflow: visible;
  width: var(--deck-width);
  height: var(--deck-width);
  border-radius: 12px;
  opacity: .96;
}

body#typewriterWorkshop #view-community.cd-community-914 #communityForYou #communityMadeGrid > .cd-deck-slot[data-offset="-1"] {
  transform: translateX(calc(-50% - var(--deck-near) + var(--deck-drag, 0px))) scale(.84) rotate(-4deg);
}
body#typewriterWorkshop #view-community.cd-community-914 #communityForYou #communityMadeGrid > .cd-deck-slot[data-offset="1"] {
  transform: translateX(calc(-50% + var(--deck-near) + var(--deck-drag, 0px))) scale(.84) rotate(4deg);
}

body#typewriterWorkshop #view-community.cd-community-914 #communityForYou #communityMadeGrid > .cd-deck-slot:is([data-offset="-2"], [data-offset="2"]) {
  top: 96px;
  z-index: 1;
  opacity: .8;
}
body#typewriterWorkshop #view-community.cd-community-914 #communityForYou #communityMadeGrid > .cd-deck-slot[data-offset="-2"] {
  transform: translateX(calc(-50% - var(--deck-far) + var(--deck-drag, 0px))) scale(.68) rotate(-8deg);
}
body#typewriterWorkshop #view-community.cd-community-914 #communityForYou #communityMadeGrid > .cd-deck-slot[data-offset="2"] {
  transform: translateX(calc(-50% + var(--deck-far) + var(--deck-drag, 0px))) scale(.68) rotate(8deg);
}

body#typewriterWorkshop #view-community.cd-community-914 #communityForYou #communityMadeGrid > .cd-deck-slot:is([data-offset="-1"], [data-offset="1"], [data-offset="-2"], [data-offset="2"]) > .cd-card {
  overflow: hidden;
  box-sizing: border-box;
  height: 100%;
  border: 1px solid #d8d4cd;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 24px -16px rgb(45 39 29 / 32%), 0 2px 5px rgb(45 39 29 / 5%);
  filter: none;
  transform: none;
}

body#typewriterWorkshop #view-community.cd-community-914 #communityForYou #communityMadeGrid > .cd-deck-slot:is([data-offset="-1"], [data-offset="1"], [data-offset="-2"], [data-offset="2"]) .cd-flipper {
  display: block;
  height: 100%;
  min-height: 0;
  transform: none;
}

body#typewriterWorkshop #view-community.cd-community-914 #communityForYou #communityMadeGrid > .cd-deck-slot:is([data-offset="-1"], [data-offset="1"], [data-offset="-2"], [data-offset="2"]) .cd-front {
  display: block;
  box-sizing: border-box;
  height: 100%;
  min-height: 0;
  padding: 7px;
  border: 0;
  border-radius: 11px;
  background: #fff;
  box-shadow: none;
}

body#typewriterWorkshop #view-community.cd-community-914 #communityForYou #communityMadeGrid > .cd-deck-slot:is([data-offset="-1"], [data-offset="1"], [data-offset="-2"], [data-offset="2"]) :is(.cd-card-body, .community-favorite, .cd-flip-cue, .cd-back, .cd-home-ai) {
  display: none;
}

body#typewriterWorkshop #view-community.cd-community-914 #communityForYou #communityMadeGrid > .cd-deck-slot:is([data-offset="-1"], [data-offset="1"], [data-offset="-2"], [data-offset="2"]) .cd-image {
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 0;
  aspect-ratio: auto;
  border: 0;
  border-radius: 6px;
  background: #f5f5f5;
  mask-image: none;
  -webkit-mask-image: none;
}

body#typewriterWorkshop #view-community.cd-community-914 #communityForYou #communityMadeGrid > .cd-deck-slot:is([data-offset="-1"], [data-offset="1"], [data-offset="-2"], [data-offset="2"]) .cd-image > img {
  position: static;
  display: block;
  width: 92%;
  height: 92%;
  max-width: none;
  max-height: none;
  padding: 0;
  object-fit: contain;
  opacity: 1;
  filter: none;
  transform: none;
}

body#typewriterWorkshop #view-community.cd-community-914 #communityForYou #communityMadeGrid > .cd-deck-slot > .cd-deck-peek {
  border-radius: 12px;
  background: transparent;
}
body#typewriterWorkshop #view-community.cd-community-914 #communityForYou #communityMadeGrid > .cd-deck-slot > .cd-deck-peek:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px #171717;
}

@media (max-width: 1100px) {
  body#typewriterWorkshop #view-community.cd-community-914 #communityForYou #communityMadeGrid {
    --deck-near: calc(var(--deck-width) * .50);
    --deck-far: calc(var(--deck-width) * .98);
  }
}
@media (max-width: 760px) {
  body#typewriterWorkshop #view-community.cd-community-914 #communityForYou #communityMadeGrid {
    --deck-near: calc(var(--deck-width) * .74);
  }
  body#typewriterWorkshop #view-community.cd-community-914 #communityForYou #communityMadeGrid > .cd-deck-slot:is([data-offset="-2"], [data-offset="2"]) {
    display: none;
  }
  body#typewriterWorkshop #view-community.cd-community-914 #communityForYou #communityMadeGrid > .cd-deck-slot:is([data-offset="-1"], [data-offset="1"]) {
    top: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body#typewriterWorkshop #view-community.cd-community-914 #communityForYou #communityMadeGrid > .cd-deck-slot,
  body#typewriterWorkshop #view-community.cd-community-914 #communityForYou #communityMadeGrid > .cd-deck-slot .cd-flipper,
  body#typewriterWorkshop #view-community.cd-community-914 #communityForYou #communityMadeGrid > .cd-deck-slot .cd-image > img {
    transition: none;
  }
}
html.reduce-motion body#typewriterWorkshop #view-community.cd-community-914 #communityForYou #communityMadeGrid > .cd-deck-slot,
html.reduce-motion body#typewriterWorkshop #view-community.cd-community-914 #communityForYou #communityMadeGrid > .cd-deck-slot .cd-flipper,
html.reduce-motion body#typewriterWorkshop #view-community.cd-community-914 #communityForYou #communityMadeGrid > .cd-deck-slot .cd-image > img,
body#typewriterWorkshop #view-community.cd-community-914 #communityForYou #communityMadeGrid:is(.is-instant, .is-dragging) > .cd-deck-slot {
  transition: none;
}

/* Discovery covers conceal unseen artwork; Liked always shows saved designs. */
body#typewriterWorkshop #view-community.cd-community-914 #communityForYou #communityMadeGrid:not([data-deck-filter="liked"]) > .cd-deck-slot:is([data-offset="1"], [data-offset="2"]) {
  opacity: 1;
}
body#typewriterWorkshop #view-community.cd-community-914 #communityForYou #communityMadeGrid:not([data-deck-filter="liked"]) > .cd-deck-slot:is([data-offset="1"], [data-offset="2"]) .cd-front {
  padding: 0;
  background: #fffaf5;
}
body#typewriterWorkshop #view-community.cd-community-914 #communityForYou #communityMadeGrid:not([data-deck-filter="liked"]) > .cd-deck-slot:is([data-offset="1"], [data-offset="2"]) .cd-image {
  isolation: isolate;
  border: 1px solid #e8ddd1;
  border-radius: 11px;
  background: #fffaf5 url("./for-you-paper.svg?v=6b5406285003") center / 100% 100% no-repeat;
  box-shadow: 0 12px 28px -22px rgb(59 52 42 / 30%), 0 2px 7px rgb(59 52 42 / 5%);
}
body#typewriterWorkshop #view-community.cd-community-914 #communityForYou #communityMadeGrid:not([data-deck-filter="liked"]) > .cd-deck-slot:is([data-offset="1"], [data-offset="2"]) .cd-image > :is(img, .community-image-fallback) {
  visibility: hidden;
  opacity: 0;
}
body#typewriterWorkshop #view-community.cd-community-914 #communityForYou #communityMadeGrid:not([data-deck-filter="liked"]) > .cd-deck-slot:is([data-offset="1"], [data-offset="2"]) .cd-image::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 46%;
  border: 0;
  background: transparent url("./for-you-flap.svg?v=ebc4e7b2f75f") center top / 100% 100% no-repeat;
  filter: drop-shadow(0 3px 4px rgb(69 58 43 / 9%));
  pointer-events: none;
}
body#typewriterWorkshop #view-community.cd-community-914 #communityForYou #communityMadeGrid:not([data-deck-filter="liked"]) > .cd-deck-slot:is([data-offset="1"], [data-offset="2"]) .cd-image::after {
  content: "CW";
  position: absolute;
  z-index: 2;
  top: 42%;
  left: 50%;
  width: 52px;
  height: 52px;
  border: 0;
  background: transparent url("./for-you-seal.svg?v=9f8d323fe5a3") center / contain no-repeat;
  color: transparent;
  font-size: 0;
  filter: drop-shadow(0 4px 6px rgb(42 39 33 / 18%));
  opacity: 1;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
body#typewriterWorkshop #view-community.cd-community-914 #communityForYou #communityMadeGrid:not([data-deck-filter="liked"]) > .cd-deck-slot:is([data-offset="1"], [data-offset="2"]) > .cd-deck-peek::before {
  content: "FOR YOU";
  position: absolute;
  top: 60%;
  left: 50%;
  color: #806d60;
  font: 500 9px/1.2 var(--sans, Manrope, sans-serif);
  letter-spacing: .16em;
  text-transform: uppercase;
  transform: translateX(-50%);
  pointer-events: none;
}
body#typewriterWorkshop #view-community.cd-community-914 #communityForYou #communityMadeGrid:not([data-deck-filter="liked"]) > .cd-deck-slot:is([data-offset="1"], [data-offset="2"]) > .cd-deck-peek::after {
  content: "A little\A surprise";
  position: absolute;
  top: 65%;
  left: 50%;
  color: #59483d;
  font: 500 16px/1.4 var(--sans, Manrope, sans-serif);
  letter-spacing: -.02em;
  white-space: pre;
  text-align: center;
  transform: translateX(-50%);
  pointer-events: none;
}
/* Pointer-only reveal. Native selection stays immediate; this stationery opens above it. */
body#typewriterWorkshop #view-community.cd-community-914 #communityForYou #communityMadeGrid > .cd-deck-slot .cd-unseal-envelope {
  position: absolute;
  inset: 0;
  z-index: 8;
  isolation: isolate;
  box-sizing: border-box;
  overflow: hidden;
  border: 1px solid #d8d4cd;
  border-radius: 12px;
  background: transparent;
  box-shadow: 0 14px 30px -24px rgb(58 50 39 / 30%), 0 2px 7px rgb(58 50 39 / 5%);
  pointer-events: none;
  perspective: 1000px;
}
body#typewriterWorkshop #view-community.cd-community-914 #communityForYou #communityMadeGrid > .cd-deck-slot .cd-unseal-paper {
  position: absolute;
  inset: 0;
  background: #fffaf5 url("./for-you-paper.svg?v=6b5406285003") center / 100% 100% no-repeat;
}
body#typewriterWorkshop #view-community.cd-community-914 #communityForYou #communityMadeGrid > .cd-deck-slot .cd-unseal-paper::after {
  content: "ContextWrap";
  position: absolute;
  right: 0;
  bottom: 15px;
  left: 0;
  color: rgb(113 84 63 / 32%);
  font: 500 8px/1 var(--sans, Manrope, sans-serif);
  letter-spacing: .14em;
  text-align: center;
  text-transform: uppercase;
}
body#typewriterWorkshop #view-community.cd-community-914 #communityForYou #communityMadeGrid > .cd-deck-slot .cd-unseal-flap {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 46%;
  border: 0;
  background: transparent url("./for-you-flap.svg?v=ebc4e7b2f75f") center top / 100% 100% no-repeat;
  transform-origin: 50% 0;
  backface-visibility: hidden;
  filter: drop-shadow(0 3px 4px rgb(69 58 43 / 9%));
}
body#typewriterWorkshop #view-community.cd-community-914 #communityForYou #communityMadeGrid > .cd-deck-slot .cd-unseal-seal {
  position: absolute;
  z-index: 4;
  top: calc(42% - 26px);
  left: calc(50% - 26px);
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 0;
  background: transparent url("./for-you-seal.svg?v=9f8d323fe5a3") center / contain no-repeat;
  color: transparent;
  font-size: 0;
  filter: drop-shadow(0 4px 6px rgb(42 39 33 / 18%));
}
body#typewriterWorkshop #view-community.cd-community-914 #communityForYou #communityMadeGrid > .cd-deck-slot .cd-unseal-label {
  position: absolute;
  z-index: 2;
  top: 65%;
  left: calc(50% - 70px);
  width: 140px;
  color: #59483d;
  font: 500 16px/1.4 var(--sans, Manrope, sans-serif);
  letter-spacing: -.02em;
  text-align: center;
}
body#typewriterWorkshop #view-community.cd-community-914 #communityForYou #communityMadeGrid > .cd-deck-slot .cd-unseal-label::before {
  content: "FOR YOU";
  position: absolute;
  right: 0;
  bottom: calc(100% + 7px);
  left: 0;
  color: #806d60;
  font: 500 9px/1.2 var(--sans, Manrope, sans-serif);
  letter-spacing: .16em;
  text-transform: uppercase;
}
body#typewriterWorkshop #view-community.cd-community-914 #communityForYou #communityMadeGrid > .cd-deck-slot .cd-unseal-rip {
  position: absolute;
  z-index: 3;
  top: calc(42% - 4px);
  right: 12px;
  left: 12px;
  height: 8px;
  background: rgb(94 86 73 / 10%);
  clip-path: polygon(0 38%,8% 28%,16% 54%,25% 34%,34% 63%,43% 42%,51% 70%,60% 35%,69% 59%,78% 31%,87% 55%,94% 33%,100% 45%,100% 62%,94% 56%,87% 73%,78% 49%,69% 76%,60% 53%,51% 86%,43% 58%,34% 80%,25% 52%,16% 72%,8% 48%,0 58%);
  opacity: 0;
}
body#typewriterWorkshop #view-community.cd-community-914 #communityForYou #communityMadeGrid > .cd-deck-slot.is-unsealing > .cd-card { pointer-events: none; }
@media (prefers-reduced-motion: reduce) {
  body#typewriterWorkshop #view-community.cd-community-914 #communityForYou #communityMadeGrid .cd-unseal-envelope { display: none; }
  body#typewriterWorkshop #view-community.cd-community-914 #communityForYou #communityMadeGrid > .cd-deck-slot.is-unsealing > .cd-card { opacity: 1 !important; transform: none !important; }
}
html.reduce-motion body#typewriterWorkshop #view-community.cd-community-914 #communityForYou #communityMadeGrid .cd-unseal-envelope { display: none; }
html.reduce-motion body#typewriterWorkshop #view-community.cd-community-914 #communityForYou #communityMadeGrid > .cd-deck-slot.is-unsealing > .cd-card { opacity: 1 !important; transform: none !important; }

@media (forced-colors: active) {
  body#typewriterWorkshop #view-community.cd-community-914 #communityForYou #communityMadeGrid .cd-unseal-paper,
  body#typewriterWorkshop #view-community.cd-community-914 #communityForYou #communityMadeGrid .cd-unseal-flap { border: 1px solid CanvasText; background: Canvas; background-image: none; }
  body#typewriterWorkshop #view-community.cd-community-914 #communityForYou #communityMadeGrid .cd-unseal-paper::after { color: CanvasText; }
  body#typewriterWorkshop #view-community.cd-community-914 #communityForYou #communityMadeGrid .cd-unseal-seal { border: 1px solid ButtonText; background: ButtonText; background-image: none; color: ButtonFace; font: 650 10px/1 sans-serif; }
  body#typewriterWorkshop #view-community.cd-community-914 #communityForYou #communityMadeGrid .cd-unseal-label,
  body#typewriterWorkshop #view-community.cd-community-914 #communityForYou #communityMadeGrid .cd-unseal-label::before { color: CanvasText; }

  body#typewriterWorkshop #view-community.cd-community-914 #communityForYou #communityMadeGrid:not([data-deck-filter="liked"]) > .cd-deck-slot:is([data-offset="1"], [data-offset="2"]) .cd-image { border-color: CanvasText; background: Canvas; background-image: none; }
  body#typewriterWorkshop #view-community.cd-community-914 #communityForYou #communityMadeGrid:not([data-deck-filter="liked"]) > .cd-deck-slot:is([data-offset="1"], [data-offset="2"]) .cd-image::before { border-bottom: 1px solid CanvasText; background: Canvas; background-image: none; filter: none; }
  body#typewriterWorkshop #view-community.cd-community-914 #communityForYou #communityMadeGrid:not([data-deck-filter="liked"]) > .cd-deck-slot:is([data-offset="1"], [data-offset="2"]) .cd-image::after { border: 1px solid ButtonText; background: ButtonText; background-image: none; color: ButtonFace; font: 650 10px/1 sans-serif; }
  body#typewriterWorkshop #view-community.cd-community-914 #communityForYou #communityMadeGrid:not([data-deck-filter="liked"]) > .cd-deck-slot:is([data-offset="1"], [data-offset="2"]) > .cd-deck-peek::before,
  body#typewriterWorkshop #view-community.cd-community-914 #communityForYou #communityMadeGrid:not([data-deck-filter="liked"]) > .cd-deck-slot:is([data-offset="1"], [data-offset="2"]) > .cd-deck-peek::after { color: CanvasText; }

  body#typewriterWorkshop #view-community.cd-community-914 #communityForYou #communityMadeGrid > .cd-deck-slot {
    opacity: 1;
  }
  body#typewriterWorkshop #view-community.cd-community-914 #communityForYou #communityMadeGrid > .cd-deck-slot > .cd-card {
    border: 1px solid CanvasText;
    background: Canvas;
    box-shadow: none;
  }
  body#typewriterWorkshop #view-community.cd-community-914 #communityForYou #communityMadeGrid > .cd-deck-slot > .cd-deck-peek:focus-visible {
    box-shadow: inset 0 0 0 3px Highlight;
  }
}
