.osg-profile-media {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  margin-block: 34px;
}
.osg-profile-media > h2 { grid-column: 1 / -1; margin-bottom: 0; }
.osg-profile-player { min-width: 0; display: grid; gap: 10px; align-content: start; }
.osg-profile-player h3 { margin: 0; overflow-wrap: anywhere; }
.osg-profile-player :is(audio, video, iframe) { display: block; width: 100%; max-width: 100%; border: 0; }
.osg-profile-video :is(iframe, video) { aspect-ratio: 16 / 9; min-height: 200px; }
.osg-load-player { justify-self: start; color: inherit; background: transparent; border: 1px solid currentColor; padding: 9px 14px; cursor: pointer; }
.osg-load-player:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.profile-portrait-preview { max-width: 160px; height: auto; }
#portrait > p, .hero .identity .intro { white-space: pre-line; overflow-wrap: anywhere; }
.profile-edit-media { min-width: 0; display: grid; gap: 10px; padding: 12px; border: 1px solid #675c49; }
.profile-edit-media legend { margin-inline: 5px; padding-inline: 5px; }
.profile-review-text { white-space: pre-wrap; overflow-wrap: anywhere; }
.profile-review-media :is(audio,video,img) { display: block; width: min(100%, 460px); margin-block: 8px; }

main section.follow:not(:has(a[href])), main .music #video-container:not(:has(*)) { display: none; }

.osg-profile-video { max-width: 760px; }
.osg-profile-video :is(iframe, video) { height: auto; }
.osg-profile-player .osg-video-preview {
  position: relative;
  padding: 0;
  border: 0;
  border-radius: 0;
  width: 100%;
  height: auto;
  min-height: 200px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: #fff;
  background: #171916;
}
.osg-video-preview img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.osg-video-play {
  position: relative;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  padding-inline-start: 3px;
  border: 1px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: rgb(0 0 0 / 72%);
  line-height: 1;
}
.osg-video-preview:hover .osg-video-play,
.osg-video-preview:focus-visible .osg-video-play { background: #171916; }

.osg-profile-media:has(> .osg-profile-video:only-of-type) { grid-template-columns: minmax(0, 1fr); }
.osg-artist-action,
.osg-artist-contact {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  width: fit-content;
  max-width: 100%;
  padding-block: 4px;
  border: 0;
  border-radius: 0;
  color: var(--gold, #d7ad61);
  background: transparent;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: .24em;
}
.osg-artist-action:hover,
.osg-artist-action:focus-visible,
.osg-artist-contact:hover,
.osg-artist-contact:focus-visible {
  color: var(--ivory, #f6f2e8);
  text-decoration-color: currentColor;
}
.osg-artist-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 0 12px; }
.osg-artist-heading h1 { min-width: 0; }
.osg-artist-contact { align-self: center; }
.osg-contact-instagram { width: 44px; justify-content: center; }
.osg-instagram-mark {
  display: inline-block;
  position: relative;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border: 1.65px solid currentColor;
  border-radius: 5px;
}
.osg-contact-instagram .osg-instagram-mark { width: 22px; height: 22px; border-radius: 6px; }
.osg-instagram-mark::before,
.osg-instagram-mark::after {
  content: "";
  position: absolute;
  box-sizing: border-box;
  border-radius: 50%;
}
.osg-instagram-mark::before {
  width: 48%;
  height: 48%;
  top: 26%;
  left: 26%;
  border: 1.55px solid currentColor;
}
.osg-instagram-mark::after { width: 15%; height: 15%; top: 15%; right: 15%; background: currentColor; }
.hero .stage-note { padding-inline: 0; border: 0; background: transparent; }
.osg-video-play { border: 0; }


.hero .hero-actions:not(:has(a[href])) { display: none; }

#quick-photo-status:empty { margin: 0; }
.dossier-news-list { display: grid; }
.dossier-news-item { min-width: 0; padding-block: 1rem; border-top: 1px solid #424636; }
.dossier-news-item h3 { margin: .25rem 0 .45rem; overflow-wrap: anywhere; }
.dossier-news-item time, .dossier-news-empty { color: #bdc3b6; }
.dossier-news-item .content-body { white-space: pre-wrap; overflow-wrap: anywhere; }
.dossier-news-item .media-photo { display: block; max-width: 24rem; }
.dossier-news-item :is(video, audio) { max-width: 100%; }
.dossier-news-item .actions { margin-top: .75rem; }
.dossier-news-editor { padding-block: 1rem; margin-block-end: 1rem; border-block: 1px solid #424636; }
.dossier-simple-editor h2, .dossier-simple-editor h3 { margin-block: 0 1rem; }
.dossier-form-details, .content-file-fields { min-width: 0; }
.dossier-form-details { border-top: 1px solid #424636; padding-block-start: .7rem; }
.dossier-form-details summary { cursor: pointer; color: #e0c78a; padding-block: .35rem; }
.dossier-form-details > .stack { margin-block-start: .8rem; }
.content-file-fields > p { margin: 0; }
.content-file-fields > p:empty { display: none; }
.osg-artist-preview-note {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: .5rem 1rem; margin: 1rem auto 0; padding: .7rem 1rem;
  width: min(calc(100% - 2rem), 74rem); border: 1px solid #76623d;
  background: #222219; color: #f0e8d6; border-radius: .35rem;
}
.osg-artist-preview-note a { color: #f2d886; text-decoration: underline; }

.profile-editor-panel { container-type: inline-size; }
.profile-editor-actions {
  position: sticky; top: .25rem; z-index: 2;
  margin-block-end: .25rem; padding-block: .45rem;
  background: #171b16;
}
.profile-live-preview { min-width: 0; }
.profile-live-preview[hidden] { display: none; }
.profile-live-preview [role="status"]:empty { margin: 0; }
.profile-live-preview iframe {
  display: block; width: 100%; height: clamp(23rem, 62vh, 42rem);
  border: 1px solid #5e543c; border-radius: .4rem; background: #111411;
}
.profile-editor-view[data-preview-open="true"] .profile-edit-fields { display: none; }
@container (min-width: 740px) {
  .profile-editor-view[data-preview-open="true"] {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 1rem; align-items: start;
  }
  .profile-editor-view[data-preview-open="true"] .profile-edit-fields { display: grid; }
  .profile-live-preview { position: sticky; top: 5rem; }
}

  .profile-visitor-preview[open]:not(:modal) {
    position: static;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    overflow: visible;
  }
@container (min-width: 740px) {
  .profile-visitor-preview[open]:not(:modal) {
    position: sticky;
    top: 5rem;
  }
}
.profile-preview-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .6rem;
  margin-bottom: .5rem;
}
.profile-visitor-preview:modal {
  position: fixed;
  inset: 0;
  width: min(calc(100% - 1.5rem), 90rem);
  max-width: none;
  max-height: calc(100dvh - 1rem);
  margin: auto;
  padding: .6rem;
  border: 1px solid #5e543c;
  border-radius: .5rem;
  background: #141711;
  color: #f6f0e4;
  overflow: auto;
}
.profile-visitor-preview:modal iframe { height: calc(100dvh - 6rem); }
.profile-visitor-preview::backdrop { background: #000b; }
