.profile-picture-theme .social-image-work {
  width: min(1420px, calc(100% - 36px));
  max-width: none;
}

.profile-picture-theme .profile-workspace-frame {
  overflow: clip;
  border: 2px solid var(--ink);
  border-radius: 28px;
  background: #fff;
  box-shadow: 9px 9px 0 var(--ink);
}

.profile-picture-theme .social-trust-banner {
  display: grid;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .58fr);
  align-items: center;
  gap: 22px;
  margin: 0;
  padding: 17px 20px;
  border: 0;
  border-bottom: 2px solid var(--ink);
  border-radius: 0;
  background: #dcefe5;
  box-shadow: none;
  text-align: left;
}

.profile-picture-theme .privacy-message {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.profile-picture-theme .privacy-message > i {
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
  margin-top: 5px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: #26a269;
}

.profile-picture-theme .privacy-message p,
.profile-picture-theme .social-update-note p {
  margin: 0;
}

.profile-picture-theme .social-update-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 11px;
  padding-left: 20px;
  border-left: 1px solid rgba(28, 32, 27, .3);
  color: #42483f;
  font-size: 12px;
  line-height: 1.45;
}

.profile-picture-theme .social-update-note > span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 4px 9px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 10px;
  font-weight: 900;
  white-space: nowrap;
}

.profile-picture-theme .work-card {
  overflow: visible;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.profile-picture-theme .work-card-header {
  border-radius: 0;
}

.profile-picture-theme .work-body {
  border-radius: 0 0 25px 25px;
  background: #fff;
}

.profile-picture-theme .split-layout {
  grid-template-columns: minmax(0, 1fr) 410px;
  align-items: start;
  gap: 20px;
}

.profile-picture-theme .preview-column {
  position: sticky;
  top: 86px;
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  padding: 20px;
  border: 2px solid var(--ink);
  border-radius: 18px;
  background-color: #e6e6e0;
  background-image:
    linear-gradient(45deg, #d6d6d0 25%, transparent 25%),
    linear-gradient(-45deg, #d6d6d0 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #d6d6d0 75%),
    linear-gradient(-45deg, transparent 75%, #d6d6d0 75%);
  background-position: 0 0, 0 12px, 12px -12px, -12px 0;
  background-size: 24px 24px;
  box-shadow: 8px 8px 0 var(--ink);
}

.profile-picture-theme .editor-controls {
  grid-column: 2;
  grid-row: 1;
  gap: 0;
  min-width: 0;
  padding: 0 20px;
  border: 0;
  border-radius: 0;
  background: #fff;
}

.profile-picture-theme .control-block {
  padding: 18px 0;
  border: 0;
  border-bottom: 1px solid #cfc6b7;
  border-radius: 0;
}

.profile-picture-theme .control-block:last-child {
  border-bottom: 0;
}

.profile-picture-theme .dual-preview {
  gap: 16px;
}

.profile-picture-theme .avatar-preview canvas {
  display: block;
  border: 1px solid rgba(0, 0, 0, .22);
  background: #fffaf0;
  box-shadow: 0 5px 18px rgba(0, 0, 0, .13);
}

.profile-picture-theme .check-row {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin: 14px 0 18px;
  cursor: pointer;
}

.profile-picture-theme .check-row input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--accent);
}

.profile-picture-theme .check-row span,
.profile-picture-theme .check-row small {
  display: block;
}

.profile-picture-theme .corner-field {
  min-width: 0;
  margin: 0 0 18px;
  padding: 0;
  border: 0;
}

.profile-picture-theme .corner-field legend {
  margin-bottom: 9px;
  font-weight: 800;
}

.profile-picture-theme .corner-choice {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.profile-picture-theme .corner-choice label {
  position: relative;
  cursor: pointer;
}

.profile-picture-theme .corner-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.profile-picture-theme .corner-choice span {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: #fff;
  font-size: .84rem;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
}

.profile-picture-theme .corner-choice input:checked + span {
  background: var(--soft-accent);
  box-shadow: 4px 4px 0 var(--ink);
}

.profile-picture-theme .corner-choice input:focus-visible + span {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.profile-picture-theme .check-row small {
  margin-top: 4px;
  color: #5f645d;
  font-size: .86rem;
  line-height: 1.42;
}

@media (max-width: 940px) {
  .profile-picture-theme .social-trust-banner {
    grid-template-columns: 1fr;
  }

  .profile-picture-theme .social-update-note {
    padding: 15px 0 0;
    border-top: 1px solid rgba(28, 32, 27, .3);
    border-left: 0;
  }

  .profile-picture-theme .split-layout {
    grid-template-columns: 1fr;
  }

  .profile-picture-theme .preview-column,
  .profile-picture-theme .editor-controls {
    position: static;
    grid-column: 1;
  }

  .profile-picture-theme .preview-column {
    grid-row: 1;
  }

  .profile-picture-theme .editor-controls {
    grid-row: 2;
    padding: 8px 2px 0;
  }
}

@media (max-width: 640px) {
  .profile-picture-theme .social-image-work {
    width: min(100% - 20px, 1420px);
  }

  .profile-picture-theme .profile-workspace-frame {
    border-radius: 20px;
    box-shadow: 6px 7px 0 var(--ink);
  }

  .profile-picture-theme .preview-column {
    padding: 13px;
    border-radius: 14px;
    box-shadow: 5px 5px 0 var(--ink);
  }

  .profile-picture-theme .social-trust-banner {
    padding: 15px;
  }

  .profile-picture-theme .social-update-note {
    grid-template-columns: 1fr;
  }

  .profile-picture-theme .work-card {
    border-radius: 0 0 20px 20px;
  }

  .profile-picture-theme .corner-choice {
    grid-template-columns: 1fr;
  }
}
