.pin-label { position: absolute; bottom: calc(100% + 4px); left: 50%; width: max-content; max-width: min(18rem, 60vw); padding: .4rem .65rem .4rem 1.3rem; border: 1px solid color-mix(in srgb, var(--pin-color) 48%, #302639); border-radius: .55rem; background: #211c2c; color: #faf1ee; box-shadow: 0 5px 16px #10081375; font-size: .875rem; font-weight: 600; line-height: 1.35; text-align: left; overflow-wrap: anywhere; pointer-events: none; opacity: 0; transform: translate(-50%, 5px); transition: opacity 160ms ease, transform 230ms cubic-bezier(.2, .7, .3, 1); }
.pin-label::before { content: ''; position: absolute; top: .75rem; left: .55rem; width: .35rem; height: .35rem; border-radius: 50%; background: var(--pin-color); }
:is(.moment-pin, .review-pin).label-visible .pin-label, :is(.moment-pin, .review-pin):hover .pin-label, :is(.moment-pin, .review-pin):focus-visible .pin-label { opacity: 1; transform: translate(-50%, 0); }
#original-photo-dialog { inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; }
#original-photo-dialog[open] { display: grid; place-items: center; }
#original-photo-dialog::backdrop { background: #0b0812ed; }
.original-photo-close { display: block; padding: 0; border: 0; border-radius: 0; background: transparent; cursor: zoom-out; }
#original-photo { display: block; max-width: calc(100vw - 2rem); max-height: calc(100dvh - 2rem); object-fit: contain; }
#original-photo-dialog:has(.photo-nav:not([hidden])) #original-photo { max-width: calc(100vw - 6rem); }
.photo-nav { position: absolute; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 2.25rem; height: 2.75rem; padding: 0; background: #211c2ce8; }
.photo-nav[hidden] { display: none; }
.photo-nav::before { content: ''; width: .55rem; height: .8rem; background: currentColor; clip-path: polygon(0 12%, 18% 0, 100% 50%, 18% 100%, 0 88%, 63% 50%); }
#next { right: .5rem; }
#previous { left: .5rem; }
#previous::before { transform: scaleX(-1); }
.photo-preview-open { display: block; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 0; cursor: zoom-in; }
.photo-preview-open:focus-visible { outline: 2px solid #ffaeaa; outline-offset: -2px; }
#gallery:not([hidden]) { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 8rem), 1fr)); gap: .65rem; }
#gallery .photo-preview-open { min-width: 0; aspect-ratio: 4 / 3; border-radius: .65rem; overflow: hidden; }
#gallery img { display: block; width: 100%; height: 100%; object-fit: cover; }
.phone-gallery-trigger { display: grid; min-width: 0; aspect-ratio: 4 / 3; place-content: center; justify-items: center; gap: .4rem; padding: .4rem; border-style: dashed; background: #2b2336; color: #ffcfca; font-size: .875rem; line-height: 1.2; text-align: center; }
.phone-symbol { position: relative; box-sizing: border-box; width: 2.05rem; height: 3.25rem; border: 2px solid currentColor; border-radius: .52rem; }
.phone-symbol::before { content: ''; position: absolute; inset: .38rem 0; border-block: 1px solid currentColor; }
.phone-symbol::after { content: ''; position: absolute; top: .14rem; left: 50%; width: .54rem; height: 2px; transform: translateX(-50%); border-radius: 2px; background: currentColor; box-shadow: 0 2.67rem currentColor; }
#phone-gallery-dialog { box-sizing: border-box; width: min(23rem, calc(100vw - 2rem), 51dvh); height: min(43rem, 94dvh); max-height: none; padding: 0 .5rem; border: 1px solid #76697a; border-radius: 2.1rem; overflow: hidden; background: #3b333e; box-shadow: 0 1rem 4rem #000a; }
#phone-gallery-dialog[open] { display: grid; grid-template-rows: clamp(1.2rem, 4dvh, 2rem) minmax(0, 1fr) clamp(1.4rem, 5dvh, 2.35rem); }
#phone-gallery-dialog::backdrop { background: #0b0812e8; }
.phone-screen { display: grid; grid-template-rows: auto auto minmax(0, 1fr); border-radius: .35rem; overflow: hidden; color-scheme: light; color: #2f2231; background: #fff7f3; }
.phone-bezel { position: relative; display: grid; place-items: center; }
.phone-bezel::before { content: ''; width: 1.3rem; height: 4px; border-radius: 4px; background: #161218; box-shadow: inset 0 1px 2px #000; }
.phone-bezel-top::after { content: ''; position: absolute; top: 50%; left: calc(50% + .95rem); transform: translateY(-50%); width: 5px; height: 5px; border-radius: 50%; background: #15111b; box-shadow: inset 0 0 0 1px #252130; }
.phone-bezel-bottom::before { width: .95rem; }
.phone-heading { display: grid; grid-template-columns: 2rem minmax(0, 1fr) 2rem; align-items: center; padding: .45rem .75rem; text-align: center; }
.phone-heading h2 { grid-column: 2; }
.phone-back { display: grid; place-items: center; width: 2rem; height: 2rem; padding: 0; border: 0; background: transparent; color: #814266; }
.phone-back::before, .phone-photo-nav::before { content: ''; width: .55rem; height: .8rem; background: currentColor; clip-path: polygon(0 12%, 18% 0, 100% 50%, 18% 100%, 0 88%, 63% 50%); }
.phone-back::before, #phone-prev::before { transform: scaleX(-1); }
.phone-storage { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .55rem .9rem; border-block: 1px solid #efdee5; font-size: .875rem; }
#phone-photo-count { padding: .15rem .5rem; border-radius: 1rem; background: #eedde6; font-variant-numeric: tabular-nums; white-space: nowrap; }
#phone-gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; gap: .5rem; padding: .85rem; overflow: auto; }
#phone-gallery-grid button { aspect-ratio: 1; overflow: hidden; border-radius: .55rem; }
#phone-gallery-grid img { display: block; width: 100%; height: 100%; object-fit: cover; }
.phone-storage[hidden], #phone-gallery-grid[hidden], .phone-photo-stage[hidden] { display: none; }
.phone-photo-stage { position: relative; grid-row: 2 / 4; display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; min-height: 0; overflow: hidden; }
.phone-photo-post { display: flex; flex-direction: column; align-items: flex-start; max-width: 100%; max-height: calc(100% - .6rem); min-width: 0; margin-bottom: .6rem; }
.phone-photo-caption { display: flex; align-items: baseline; gap: .3rem; flex-shrink: 0; align-self: stretch; min-width: 0; margin: 0 .65rem .35rem; }
.phone-photo-author { flex: 1; min-width: 0; margin: 0; color: #302132; font-size: .8rem; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.phone-photo-caption:has(.is-expanded) { display: block; }
.phone-photo-author.is-expanded { display: inline; white-space: normal; overflow-wrap: anywhere; }
#phone-caption-toggle { flex: none; padding: 0; border: 0; background: transparent; color: #695966; font-size: .8rem; }
#phone-caption-toggle[aria-expanded="true"] { margin-inline-start: .3rem; }
#phone-caption-toggle:is(:hover, :focus-visible) { text-decoration: underline; }
.phone-photo-author .twitch-identity-name + .phone-post-title::before { content: ' · '; color: #695966; }
#phone-photo { display: block; align-self: center; max-width: 100%; min-height: 0; object-fit: contain; }
.phone-photo-stage:has(.phone-photo-nav:not([hidden])) { padding-bottom: 2.65rem; }
.phone-photo-actions[hidden], #phone-comment-form[hidden] { display: none; }
.phone-photo-actions { display: flex; flex: none; align-self: stretch; gap: .75rem; margin-top: .3rem; padding-inline: .65rem; }
.phone-photo-actions button {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  min-height: 2rem;
  padding: .15rem 0;
  border: 0;
  background: transparent;
  color: #302132;
  font-size: .75rem;
}
.phone-photo-actions button:enabled:is(:hover, :focus-visible) { color: #a3275d; }
.phone-photo-actions svg { flex: none; width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.phone-comments button {
  padding: .25rem .45rem;
  border: 1px solid #d7bacb;
  border-radius: .4rem;
  background: #fff7f3;
  color: #55374a;
  font-size: .75rem;
}
#phone-like[aria-pressed="true"] { color: #a3275d; }
#phone-like[aria-pressed="true"] .phone-heart { fill: currentColor; }
.phone-comments-backdrop {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 1;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #0008;
  opacity: 1;
  transition: opacity 240ms ease, visibility 240ms;
}
.phone-comments-backdrop[hidden] { opacity: 0; visibility: hidden; pointer-events: none; }
.phone-comments {
  box-sizing: border-box;
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  height: min(100%, max(66%, 11rem));
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  gap: .4rem;
  padding: .5rem .65rem .65rem;
  border-radius: .95rem .95rem 0 0;
  background: #fff7f3;
  box-shadow: 0 -.35rem 1.1rem #0003;
  transition: transform 280ms cubic-bezier(.22, .75, .25, 1), visibility 280ms;
}
.phone-comments[hidden] { transform: translateY(105%); visibility: hidden; pointer-events: none; }
.phone-comments h3 { margin: 0; padding-bottom: .35rem; border-bottom: 1px solid #efdee5; font-size: .875rem; text-align: center; }
.phone-comments h3::before { content: ''; display: block; width: 1.65rem; height: .2rem; margin: 0 auto .35rem; border-radius: 1rem; background: #cbb8c3; }
.phone-comments-scroll { min-height: 0; overflow: auto; overscroll-behavior: contain; }
@media (prefers-reduced-motion: reduce) { .phone-comments, .phone-comments-backdrop { transition: none; } }
#phone-comment-list article { padding: .4rem; border-bottom: 1px solid #efdee5; font-size: .8rem; overflow-wrap: anywhere; white-space: pre-wrap; }
.media-comment-actions:not([hidden]) { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .15rem; }
.media-comment-actions button { padding: .15rem 0; border: 0; background: transparent; color: inherit; font-size: .7rem; opacity: .8; }
.media-comment-actions button:is(:hover, :focus-visible) { text-decoration: underline; opacity: 1; }
.media-comment-edit { display: grid; gap: .15rem; margin-top: .25rem; }
.media-comment-edit textarea { box-sizing: border-box; width: 100%; padding: .25rem; border: 1px solid currentColor; border-radius: .3rem; background: transparent; color: inherit; font: inherit; resize: vertical; }
#phone-more-comments:not([hidden]) { margin-top: .4rem; }
#phone-comment-status { font-size: .75rem; }
#phone-comment-status:empty { display: none; }
#phone-comment-form:not([hidden]) { display: grid; gap: .3rem; }
#phone-comment-body { box-sizing: border-box; width: 100%; padding: .35rem; border: 1px solid #d7bacb; border-radius: .35rem; background: #fff; color: #302132; resize: none; }
.phone-photo-nav { position: absolute; bottom: .55rem; display: grid; place-items: center; width: 2rem; height: 2rem; padding: 0; background: #fff7f3ef; border-color: #d7bacb; color: #814266; }
.phone-photo-nav[hidden] { display: none; }
#phone-prev { left: .55rem; }
#phone-next { right: .55rem; }
#video:not([hidden]) { display: grid; gap: .55rem; }
.clip-player { display: block; border: 0; width: 100%; min-height: 300px; aspect-ratio: 16 / 9; border-radius: .65rem; background: #100e17; }
:is(#viewer, #detail):has(#video:not([hidden])) {
  width: min(56rem, calc(100% - 1rem));
  max-height: calc(100dvh - 1rem);
  padding: clamp(.65rem, 2vw, 1.25rem) clamp(.65rem, 2vw, 1.25rem) .65rem;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.clip-monitor:has(#video:not([hidden])) {
  position: relative;
  --case-depth: clamp(6px, 1.7vw, 16px);
  padding: clamp(.6rem, 2.9vw, 1.7rem);
  padding-bottom: clamp(2.1rem, 5vw, 3.25rem);
  border: 1px solid #c9c9c2;
  border-radius: clamp(.95rem, 3vw, 2rem);
  background: linear-gradient(145deg, #f5f5f1, #deded8 54%, #b7b8ae);
  box-shadow:
    inset -2px 3px 2px #fffd,
    inset 4px -5px 8px #55584b55,
    calc(var(--case-depth) * .45) -2px 0 #b9bcb1,
    calc(var(--case-depth) * .8) -4px 0 #9da194,
    var(--case-depth) -5px 0 #787d70,
    0 .75rem 1.7rem #0007;
}
.clip-stand { display: none; }
.clip-monitor:has(#video:not([hidden])) + .clip-stand {
  position: relative;
  display: block;
  width: clamp(6rem, 26%, 13rem);
  height: clamp(1.5rem, 5vw, 2.85rem);
  margin-inline: auto;
}
.clip-stand::before, .clip-stand::after {
  content: '';
  position: absolute;
}
.clip-stand::before {
  inset: 0 24% 39%;
  z-index: 1;
  border-radius: 0 0 44% 44%;
  background: linear-gradient(180deg, #76796b, transparent 65%),
              linear-gradient(90deg, #8a8d7e, #bebfb1 66%, #929585);
}
.clip-stand::after {
  inset: 27% 0 0;
  border-radius: 50%;
  background: radial-gradient(ellipse at 68% 34%, #d0d1c5, #a2a696 66%, #777c6c);
  box-shadow: inset 0 -3px 2px #686d5e99, 0 .25rem .45rem #0005;
}
#moment > .clip-monitor:has(#video:not([hidden])) + .clip-stand { margin-top: -1rem; }
.clip-monitor:has(#video:not([hidden]))::before {
  content: '';
  position: absolute;
  bottom: .72rem;
  left: clamp(1rem, 4vw, 2rem);
  width: 3.5rem;
  height: .65rem;
  border-radius: 2px;
  background: repeating-linear-gradient(90deg, #797d73 0 2px, #ecece7 2px 3px, transparent 3px 5px);
}
.clip-monitor:has(#video:not([hidden]))::after {
  content: '';
  position: absolute;
  right: clamp(1rem, 4vw, 2rem);
  bottom: .85rem;
  width: .4rem;
  height: .4rem;
  border-radius: 50%;
  background: #92ec74;
  box-shadow: 0 0 0 2px #524c41, 0 0 .45rem #65e852;
}
.clip-monitor:has(#video:not([hidden])) .clip-screen {
  position: relative;
  overflow: hidden;
  border: clamp(4px, 1vw, 11px) solid #797d73;
  border-color: #464942 #70746a #f4f4ed #989c91;
  border-radius: 5% / 8%;
  background: #080f0d;
  box-shadow: 0 1px 1px #fffc, 0 -2px 3px #383c3466, inset 0 0 .55rem #000a;
}
.clip-screen:has(#video:not([hidden])) :is(.dialog-heading, .dialog-header) {
  gap: .5rem;
  padding: .4rem .75rem;
  border-bottom: 1px solid #262626;
  background: #000;
  color: #fff;
  font-family: ui-monospace, Consolas, monospace;
}
.clip-screen:has(#video:not([hidden])) .close-icon {
  flex-shrink: 0;
  border-color: transparent;
  background: transparent;
  color: #fff;
}
.clip-screen .clip-player { border-radius: 0; background: #080f0d; }
.clip-screen #video .hint { padding: 1rem; }
:is(#viewer, #detail):has(#gallery:not([hidden])) {
  width: min(49rem, calc(100% - 1rem));
  padding: 1rem .45rem .55rem;
  border: 0;
  background: transparent;
}
.clip-monitor:has(#gallery:not([hidden])) {
  position: relative;
  margin-top: .6rem;
  padding: clamp(.55rem, 2vw, 1.15rem);
  padding-right: clamp(2.5rem, 9vw, 5.25rem);
  border: 1px solid #656a71;
  border-radius: clamp(.85rem, 3vw, 1.75rem);
  background: linear-gradient(155deg, #4a5057, #272c33 35%, #14171b);
  box-shadow: inset 0 2px 1px #fff4, inset 0 -4px 3px #0008, 0 .45rem 0 #101317, 0 .75rem 1.2rem #0008;
}
.clip-monitor:has(#gallery:not([hidden]))::before {
  content: '';
  position: absolute;
  top: -.55rem;
  right: 7%;
  width: 14%;
  height: .55rem;
  border-radius: .45rem .45rem 0 0;
  background: repeating-linear-gradient(90deg, #80858b55 0 1px, transparent 1px 3px), linear-gradient(#676e75, #30343a);
}
.clip-monitor:has(#gallery:not([hidden]))::after {
  content: '';
  position: absolute;
  top: 50%;
  right: clamp(.35rem, 1.4vw, .8rem);
  translate: 0 -50%;
  width: clamp(1.5rem, 5vw, 3.5rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, #4b525b 0 25%, #24282e 27% 30%, #626971 32%, #32373e 61%, #171a1e 63%);
  box-shadow: 0 1px 2px #000, inset 0 1px 0 #fff4;
}
.clip-screen:has(#gallery:not([hidden])) {
  overflow: hidden;
  border: clamp(3px, .7vw, 7px) solid #15191e;
  border-radius: .65rem;
  background: #000;
  box-shadow: 0 0 0 1px #60666d, 0 2px 3px #0009;
}
.clip-screen:has(#gallery:not([hidden])) :is(.dialog-heading, .dialog-header) {
  gap: .4rem;
  padding: .35rem .55rem;
  border-bottom: 1px solid #434951;
  background: #000;
  color: #fff;
  overflow-wrap: anywhere;
}
.clip-screen:has(#gallery:not([hidden])) .close-icon {
  flex-shrink: 0;
  border-color: transparent;
  background: transparent;
}
.clip-screen #gallery:not([hidden]) {
  max-height: 52dvh;
  overflow: auto;
  padding: .55rem;
}
.media-author { display: none; }
.twitch-identity-name { font-weight: 700; }
.twitch-identity-badge {
  width: 1rem;
  height: 1rem;
  margin-inline-end: .25rem;
  vertical-align: middle;
  object-fit: contain;
}
.clip-monitor:has(:is(#gallery, #video):not([hidden])) .media-author:not(:empty) {
  display: block;
  margin: .4rem .15rem 0;
  color: #d3d6dc;
  font-size: .75rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.clip-monitor:has(#video:not([hidden])) .media-author:not(:empty) {
  position: absolute;
  inset: auto 6.75rem .65rem clamp(.6rem, 2.9vw, 1.7rem);
  margin: 0;
  color: #272922;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.clip-monitor:has(#video:not([hidden])):has(.media-author:not(:empty))::before {
  left: auto;
  right: 2.8rem;
}
#clip-chat-toggle, #clip-chat { display: none; }
.clip-monitor:has(#video:not([hidden])):has(#clip-chat-toggle:not([hidden]))::before {
  left: auto;
  right: 2.8rem;
}
.clip-monitor:has(#clip-chat-toggle:not([hidden])) .media-author { right: 9.6rem; }
.clip-monitor:has(#video:not([hidden])) #clip-chat-toggle:not([hidden]) {
  position: absolute;
  right: 6.65rem;
  bottom: .44rem;
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 1.28rem;
  padding: 0;
  border: 1px solid #8c8e83;
  border-radius: .28rem;
  background: linear-gradient(#f2f2ec, #b8b9ae);
  color: #33372e;
  box-shadow: inset 0 1px #fff9, 0 2px 1px #34382c80;
}
#clip-chat-toggle span {
  position: relative;
  width: .72rem;
  height: .45rem;
  border: 1px solid currentColor;
  border-radius: .14rem;
}
#clip-chat-toggle span::after {
  content: '';
  position: absolute;
  bottom: -.18rem;
  left: .09rem;
  width: .15rem;
  height: .17rem;
  border-left: 1px solid currentColor;
  transform: skewY(-35deg);
}
.clip-monitor:has(#video:not([hidden])) #clip-chat-toggle:is(:active, [aria-expanded="true"]) {
  background: linear-gradient(#a7a99b, #c8c9be);
  box-shadow: inset 0 1px 3px #30362d70;
}
.clip-monitor:has(#video:not([hidden])):has(#clip-chat-toggle:not([hidden])) #clip-chat {
  box-sizing: border-box;
  position: absolute;
  z-index: 2;
  inset: 0 0 0 auto;
  width: min(17rem, 85%);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  gap: .45rem;
  padding: .55rem;
  border: 1px solid #39393e;
  border-radius: .55rem 0 0 .55rem;
  background: #18181b;
  color: #efeff1;
  box-shadow: 0 .45rem 1.2rem #0008;
  opacity: 1;
  transform: translateX(0);
  transition: opacity 180ms ease, transform 260ms cubic-bezier(.22, .75, .25, 1), visibility 260ms;
}
.clip-monitor:has(#video:not([hidden])):has(#clip-chat-toggle:not([hidden])) #clip-chat[hidden] {
  opacity: 0;
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) { .clip-monitor:has(#video:not([hidden])):has(#clip-chat-toggle:not([hidden])) #clip-chat { transition: none; } }
.clip-chat-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #39393e; }
.clip-chat-header h3 { margin: 0; font-size: .875rem; }
.clip-chat-header .close-icon { width: 1.8rem; height: 1.8rem; border: 0; background: transparent; }
.clip-chat-scroll { overflow: auto; min-height: 0; overscroll-behavior: contain; }
#clip-chat-messages article { padding: .25rem .15rem; font-size: .85rem; white-space: pre-wrap; overflow-wrap: anywhere; }
#clip-chat-status { font-size: .75rem; color: #c9c5cf; }
#clip-chat-status:empty, #clip-chat-form[hidden] { display: none; }
#clip-chat-form:not([hidden]) { display: grid; gap: .3rem; }
#clip-chat-input { box-sizing: border-box; width: 100%; padding: .4rem; border: 1px solid #554860; border-radius: .35rem; background: #252529; color: inherit; resize: none; }
#clip-chat-form button, #clip-chat-more { justify-self: end; padding: .25rem .5rem; font-size: .75rem; }
.clip-screen #gallery .photo-preview-open { position: relative; }
.clip-screen #gallery .photo-preview-open::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 2px #d3e7ff, inset 0 0 0 4px #101923a6;
  pointer-events: none;
  opacity: 0;
}
.clip-screen #gallery .photo-preview-open:is(:hover, :focus-visible)::after { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .clip-screen #gallery .photo-preview-open::after { transition: opacity 150ms ease; }
}
@media (prefers-reduced-motion: reduce) { .pin-label { transition: none; } }

.close-icon { position: relative; width: 2.25rem; height: 2.25rem; padding: 0; }
.close-icon::before, .close-icon::after { content: ''; position: absolute; inset: 0; margin: auto; width: .95rem; height: 2px; border-radius: 1px; background: currentColor; transform: rotate(45deg); }
.close-icon::after { transform: rotate(-45deg); }
.photo-upload { position: relative; }
.photo-upload input { position: absolute; inset: 0; height: 100%; opacity: 0; cursor: pointer; }
.photo-picker { display: grid; justify-items: center; gap: .25rem; padding: 1.1rem .75rem; border: 1px dashed #77617c; border-radius: .75rem; background: #2b2336; text-align: center; }
.photo-upload:hover .photo-picker, .photo-upload:focus-within .photo-picker { border-color: #ffaeaa; background: #36283d; }
.photo-picker strong { color: #ffcfca; }
.photo-previews { display: grid; grid-template-columns: repeat(auto-fill, minmax(5.5rem, 1fr)); gap: .6rem; margin-top: .7rem; }
.photo-previews:empty { display: none; }
.photo-preview { position: relative; min-width: 0; aspect-ratio: 1; overflow: hidden; border-radius: .55rem; background: #15131e; }
.photo-preview img { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo-preview .close-icon { position: absolute; top: .25rem; right: .25rem; width: 1.75rem; height: 1.75rem; background: #15131eea; }
