
/* SCANLINE: System 7 composer preview only */

.s7-composer {
  position: relative !important;
  padding-top: 37px !important;
  padding-right: 27px !important;
  border: 2px solid #000 !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: #000 !important;
}

.s7-composer::before,
.s7-composer::after {
  content: none !important;
  display: none !important;
}

.s7-composer-titlebar {
  position: absolute;
  top: 3px;
  left: 4px;
  right: 4px;
  height: 22px;
  display: flex;
  align-items: center;
  gap: 5px;
  border-bottom: 1px solid #000;
  background: #fff;
}

.s7-composer-close {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  border: 1px solid #000;
  background: #fff;
  box-shadow: inset 2px 2px #bbb;
}

.s7-composer-lines {
  height: 13px;
  flex: 1;
  min-width: 0;
  background: repeating-linear-gradient(
    to bottom,
    #000 0px,
    #000 1px,
    #fff 1px,
    #fff 3px
  );
}

.s7-composer-title {
  padding: 0 5px;
  background: #fff;
  color: #000;
  font-family: Geneva, Verdana, sans-serif;
  font-size: 13px;
  font-weight: bold;
  white-space: nowrap;
}

.s7-composer-scroll {
  position: absolute;
  top: 27px;
  bottom: 19px;
  right: 0;
  width: 19px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-left: 1px solid #000;
  background: #fff;
}

.s7-composer-arrow {
  width: 18px;
  height: 19px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid #000;
  border-radius: 0 !important;
  background: #fff !important;
  color: #000 !important;
  font: bold 12px monospace;
  cursor: pointer;
}

.s7-composer-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 19px;
  height: 19px;
  border-top: 1px solid #000;
  background: #fff;
}

.s7-composer-corner {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 19px;
  height: 19px;
  border-top: 1px solid #000;
  border-left: 1px solid #000;
  background: repeating-linear-gradient(
    135deg,
    #fff 0px,
    #fff 3px,
    #000 3px,
    #000 4px
  );
}

.s7-composer {
  padding-bottom: 30px !important;
}

/* Make the two composer actions visually identical. */
.s7-composer .s7-matched-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 35px !important;
  padding: 7px 13px !important;
  margin: 0 !important;
  background: #dedede !important;
  color: #000 !important;
  border: 1px solid #000 !important;
  border-radius: 0 !important;
  box-shadow: inset 1px 1px #fff, inset -1px -1px #777,
              1px 1px #000 !important;
  font: bold 12px Geneva, Verdana, sans-serif !important;
  cursor: pointer;
}


/* System 7 horizontal scrollbar and post frames */

.s7-composer-bottom {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  padding: 0 !important;
  background: #fff !important;
}

.s7-composer-bottom .s7-composer-arrow {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.s7-post {
  position: relative !important;
  padding-top: 37px !important;
  padding-right: 27px !important;
  padding-bottom: 30px !important;
  border: 2px solid #000 !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: #000 !important;
}

.s7-post::before,
.s7-post::after {
  content: none !important;
  display: none !important;
}

.s7-post .s7-composer-titlebar {
  z-index: 2;
}

.s7-post .s7-composer-scroll {
  z-index: 2;
}

.s7-post .s7-composer-bottom,
.s7-post .s7-composer-corner {
  z-index: 2;
}


/* SCANLINE SYSTEM 7 — BUTTONS AND SIDE WINDOW FIX */

/* Black composer action buttons */
.s7-composer .s7-matched-button,
.s7-composer button.s7-matched-button,
.s7-composer label.s7-matched-button {
  background: #000 !important;
  background-color: #000 !important;
  color: #fff !important;
  border: 1px solid #000 !important;
  border-radius: 0 !important;
  box-shadow: 2px 2px 0 #777 !important;
  font-weight: bold !important;
  min-height: 35px !important;
}

.s7-composer .s7-matched-button:hover {
  background: #333 !important;
  background-color: #333 !important;
  color: #fff !important;
}

/* Sidebar Finder window title bars */
.sidebar-card,
.right-card,
.members-sidebar {
  position: relative !important;
  padding-top: 33px !important;
}

/* Stripes begin after LEFT close box */
.sidebar-card::before,
.right-card::before,
.members-sidebar::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  top: 5px !important;
  left: 28px !important;
  right: 7px !important;
  height: 13px !important;
  width: auto !important;
  border: 0 !important;
  background: repeating-linear-gradient(
    to bottom,
    #000 0px,
    #000 1px,
    #fff 1px,
    #fff 3px
  ) !important;
  pointer-events: none;
}

/* Close box stays on the LEFT */
.sidebar-card::after,
.right-card::after,
.members-sidebar::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  top: 5px !important;
  left: 6px !important;
  right: auto !important;
  bottom: auto !important;
  width: 15px !important;
  height: 15px !important;
  background: #fff !important;
  border: 1px solid #000 !important;
  box-shadow: inset 2px 2px #bbb !important;
  pointer-events: none;
}












/* SCANLINE IMAGE TREATMENT — V1 */

/* Preserve the original carousel geometry. */
.post .post-image-frame {
  position: relative !important;
  border: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* Remove full-width scanline effects. */
.post .post-image-frame::after,
.post .post-image-carousel::after {
  content: none !important;
  display: none !important;
}

/* Restore image appearance without changing dimensions. */
.post .post-image-frame > img {
  border: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  filter: none !important;
}

/* The decoration is positioned within the image frame. */
.post .scanline-photo-decoration {
  position: absolute;
  z-index: 3;
  pointer-events: none;
  box-sizing: border-box;
  border: 4px double #000;
  border-radius: 0;
  box-shadow: inset 0 0 0 3px #fff;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 2px,
    rgba(0,0,0,0.14) 2px,
    rgba(0,0,0,0.14) 3px
  );
}


/* SCANLINE BRANDING */
.scanline-brand-subtitle {
  font-size: 12px;
  font-weight: bold;
  margin-top: 3px;
}
.scanline-brand-credit {
  font-size: 11px;
  margin-top: 3px;
}
