/* ClutchHub v205 - premium profile editor studio */

html body .profile-edit-modal.profile-studio-v205 {
  --studio-orange: #ff5418;
  --studio-navy: #10213b;
  --studio-copy: #65758b;
  --studio-line: #d8e3ee;
  position: relative !important;
  display: grid !important;
  grid-template-columns: minmax(285px, 340px) minmax(0, 1fr) !important;
  grid-template-rows: auto minmax(0, 1fr) !important;
  width: min(1540px, calc(100vw - 28px)) !important;
  max-width: 1540px !important;
  height: min(900px, calc(100vh - 28px)) !important;
  max-height: calc(100vh - 28px) !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid #cfdce8 !important;
  border-radius: 3px 15px !important;
  background:
    linear-gradient(rgb(224 235 245 / 42%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(224 235 245 / 42%) 1px, transparent 1px),
    #f8fbfe !important;
  background-size: 32px 32px !important;
  box-shadow: 0 28px 80px rgb(10 28 50 / 28%) !important;
  clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px);
}

html body .profile-studio-v205 > .modal-heading {
  grid-column: 1 / -1 !important;
  grid-row: 1 !important;
  min-height: 82px;
  padding: 17px 24px 15px 28px !important;
  border-bottom: 1px solid var(--studio-line) !important;
  background: rgb(255 255 255 / 96%) !important;
  box-shadow: 0 5px 18px rgb(22 48 76 / 5%);
}

html body .profile-studio-v205 > .modal-heading::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 110px;
  height: 24px;
  pointer-events: none;
  border-top: 3px solid var(--studio-orange);
  border-left: 3px solid var(--studio-orange);
  clip-path: polygon(0 0, 100% 0, 78% 3px, 19px 3px, 3px 19px, 3px 100%, 0 100%);
}

html body .profile-studio-v205 > .modal-heading .section-kicker {
  color: var(--studio-orange) !important;
  font-size: 10px !important;
  letter-spacing: .13em !important;
}

html body .profile-studio-v205 > .modal-heading h2 {
  margin-top: 3px !important;
  color: var(--studio-navy) !important;
  font-size: clamp(22px, 2vw, 29px) !important;
  font-weight: 950 !important;
}

html body .profile-studio-v205 > .modal-heading > button {
  width: 40px !important;
  height: 40px !important;
  border: 1px solid var(--studio-line) !important;
  border-radius: 7px 2px !important;
  background: #fff !important;
}

html body .profile-live-preview-v205 {
  grid-column: 1 !important;
  grid-row: 2 !important;
  min-width: 0;
  padding: 18px;
  overflow: auto;
  border-right: 1px solid var(--studio-line);
  background: linear-gradient(150deg, #f3f8fc, #fff 68%);
}

html body .profile-live-preview-v205 > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  color: var(--studio-navy);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .08em;
}

html body .profile-live-preview-v205 > header span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #139b5d;
  font-size: 9px;
}

html body .profile-live-preview-v205 > header span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #18b96c;
  box-shadow: 0 0 0 4px rgb(24 185 108 / 12%);
}

html body .profile-preview-card-v205 {
  position: sticky;
  top: 0;
  display: grid;
  align-content: start;
  min-height: 565px;
  padding: 26px 21px 22px;
  overflow: hidden;
  color: #fff;
  border: 1px solid #263d58;
  border-radius: 4px 16px;
  background:
    linear-gradient(180deg, rgb(6 18 34 / 18%), rgb(6 18 34 / 92%)),
    var(--profile-preview-bg, url('/assets/profile-backgrounds/profile-bg-01-command-center.webp')) center / cover,
    #0c1c31;
  box-shadow: 0 16px 36px rgb(13 34 58 / 20%);
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
}

html body .profile-preview-card-v205::before,
html body .profile-preview-card-v205::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

html body .profile-preview-card-v205::before {
  inset: 9px;
  border: 1px solid rgb(145 183 219 / 22%);
  clip-path: polygon(0 0, 42% 0, 48% 3px, 100% 3px, 100% 100%, 0 100%);
}

html body .profile-preview-card-v205::after {
  top: 0;
  left: 18px;
  width: 88px;
  height: 3px;
  background: var(--studio-orange);
  box-shadow: 205px 532px 0 var(--studio-orange);
}

html body .profile-preview-avatar-v205 {
  position: relative;
  display: grid;
  place-items: center;
  width: 148px;
  height: 148px;
  margin: 18px auto 13px;
}

html body .profile-preview-avatar-v205 > img:first-child {
  width: 118px;
  height: 118px;
  object-fit: cover;
  border: 4px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--studio-orange), 0 13px 27px rgb(0 0 0 / 38%);
}

html body .profile-preview-avatar-v205 .profile-preview-frame-v205 {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

html body .profile-preview-avatar-v205 i {
  position: absolute;
  right: 15px;
  bottom: 17px;
  width: 15px;
  height: 15px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #19bd70;
}

html body .profile-preview-card-v205 h3 {
  position: relative;
  margin: 0;
  text-align: center;
  font-size: 28px;
  font-weight: 950;
}

html body .profile-preview-card-v205 .profile-preview-role-v205 {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 7px;
  margin: 7px 0 14px;
}

html body .profile-preview-card-v205 .profile-preview-role-v205 span {
  padding: 5px 9px;
  color: #fff;
  border: 1px solid rgb(255 128 75 / 72%);
  border-radius: 6px 2px;
  background: rgb(255 84 24 / 85%);
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

html body .profile-preview-card-v205 .profile-preview-role-v205 span:last-child {
  color: #d9e7f3;
  border-color: rgb(180 205 228 / 34%);
  background: rgb(14 34 57 / 76%);
}

html body .profile-preview-title-v205,
html body .profile-preview-bio-v205 {
  position: relative;
  margin: 0;
  text-align: center;
}

html body .profile-preview-title-v205 {
  color: #ff8c59;
  font-size: 11px;
  font-weight: 900;
}

html body .profile-preview-bio-v205 {
  min-height: 48px;
  margin-top: 7px;
  color: #d7e1ec;
  font-size: 11px;
  line-height: 1.45;
}

html body .profile-preview-game-v205 {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgb(181 207 231 / 23%);
}

html body .profile-preview-game-v205 strong {
  grid-column: 1 / -1;
  color: #fff;
  font-size: 13px;
}

html body .profile-preview-game-v205 span {
  display: grid;
  gap: 3px;
  min-height: 55px;
  padding: 9px;
  border: 1px solid rgb(181 207 231 / 19%);
  border-radius: 7px 2px;
  background: rgb(7 24 43 / 64%);
}

html body .profile-preview-game-v205 small {
  color: #8fa9c0;
  font-size: 8px;
  font-weight: 850;
}

html body .profile-preview-game-v205 b {
  color: #fff;
  font-size: 11px;
}

html body .profile-preview-note-v205 {
  display: block;
  margin-top: 12px;
  color: #75879b;
  text-align: center;
  font-size: 9px;
  line-height: 1.4;
}

html body .profile-studio-v205 > form.create-lfg-form {
  grid-column: 2 !important;
  grid-row: 2 !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  align-content: start !important;
  gap: 12px !important;
  min-width: 0;
  margin: 0 !important;
  padding: 18px 20px 94px !important;
  overflow: auto !important;
  background: rgb(248 251 254 / 82%);
}

html body .profile-studio-v205 > form > :is(
  .profile-showcase-editor,
  .profile-preference-editor,
  .profile-privacy-editor,
  .profile-background-picker,
  .avatar-picker,
  .avatar-upload-panel,
  .profile-schedule-shortcut-v205
) {
  box-sizing: border-box;
  padding: 14px !important;
  border: 1px solid var(--studio-line) !important;
  border-radius: 8px 2px !important;
  background: rgb(255 255 255 / 96%) !important;
  box-shadow: 0 5px 15px rgb(20 45 74 / 5%);
}

html body .profile-studio-v205 > form > :is(
  .profile-showcase-editor,
  .profile-preference-editor,
  .profile-privacy-editor,
  .profile-background-picker,
  .avatar-picker
) > div:first-child > strong {
  color: var(--studio-navy) !important;
  font-size: 13px !important;
  font-weight: 950 !important;
}

html body .profile-studio-v205 > form > :is(
  .profile-showcase-editor,
  .profile-preference-editor,
  .profile-privacy-editor,
  .profile-background-picker,
  .avatar-picker
) > div:first-child > small {
  color: var(--studio-copy) !important;
  font-size: 10px !important;
}

html body .profile-studio-v205 :is(input, select, textarea) {
  border-color: #cfdae6 !important;
  border-radius: 6px 2px !important;
  background: #fbfdff !important;
  font-size: 11px !important;
}

html body .profile-studio-v205 :is(input, select, textarea):focus {
  border-color: #ff8f5f !important;
  outline: 3px solid rgb(255 84 24 / 10%) !important;
}

html body .profile-studio-v205 .profile-showcase-editor,
html body .profile-studio-v205 .profile-background-picker,
html body .profile-studio-v205 .avatar-picker,
html body .profile-studio-v205 .avatar-upload-panel,
html body .profile-studio-v205 .profile-schedule-shortcut-v205,
html body .profile-studio-v205 > form > label.form-wide,
html body .profile-studio-v205 > form > .modal-actions,
html body .profile-studio-v205 > form > .login-error {
  grid-column: 1 / -1 !important;
}

html body .profile-studio-v205 .showcase-badge-picker,
html body .profile-studio-v205 .profile-style-picker {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
}

html body .profile-studio-v205 :is(.showcase-badge-picker, .profile-style-picker) button {
  min-height: 32px !important;
  padding: 6px 9px !important;
  border-radius: 6px 2px !important;
  font-size: 9px !important;
}

html body .profile-studio-v205 .profile-background-grid {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(120px, 1fr)) !important;
  gap: 8px !important;
  max-height: 176px;
  overflow: auto;
}

html body .profile-studio-v205 .profile-background-grid button {
  min-height: 72px !important;
  border-radius: 7px 2px !important;
}

html body .profile-studio-v205 .avatar-picker-grid {
  display: grid !important;
  grid-template-columns: repeat(10, minmax(68px, 1fr)) !important;
  gap: 7px !important;
  max-height: 164px;
  overflow: auto;
}

html body .profile-studio-v205 .avatar-picker-grid button {
  min-width: 66px;
  border-radius: 7px 2px !important;
}

html body .profile-studio-v205 .avatar-frame-picker-grid {
  grid-template-columns: repeat(6, minmax(78px, 1fr)) !important;
}

html body .profile-studio-v205 .avatar-upload-panel {
  display: grid !important;
  grid-template-columns: 64px minmax(0, 1fr) auto auto !important;
  min-height: 88px !important;
}

html body .profile-studio-v205 .avatar-upload-panel > img {
  width: 60px !important;
  height: 60px !important;
}

html body .profile-schedule-shortcut-v205 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 78px;
}

html body .profile-schedule-shortcut-v205 div {
  display: grid;
  gap: 4px;
}

html body .profile-schedule-shortcut-v205 strong {
  color: var(--studio-navy);
  font-size: 13px;
  font-weight: 950;
}

html body .profile-schedule-shortcut-v205 span {
  color: var(--studio-copy);
  font-size: 10px;
}

html body .profile-schedule-shortcut-v205 button {
  min-height: 38px;
  padding: 0 14px;
  color: #e94a11;
  border: 1px solid #ffae8b;
  border-radius: 7px 2px;
  background: #fff8f4;
  font-size: 10px;
  font-weight: 900;
  cursor: pointer;
}

html body .profile-studio-v205 > form > .modal-actions {
  position: absolute !important;
  right: 0;
  bottom: 0;
  left: 340px;
  z-index: 20;
  display: flex !important;
  justify-content: flex-end !important;
  gap: 10px !important;
  min-height: 76px;
  margin: 0 !important;
  padding: 14px 22px !important;
  border-top: 1px solid var(--studio-line);
  background: rgb(255 255 255 / 96%);
  box-shadow: 0 -8px 22px rgb(18 43 72 / 8%);
  backdrop-filter: blur(10px);
}

html body .profile-studio-v205 > form > .modal-actions button {
  min-width: 170px;
  min-height: 44px !important;
  border-radius: 7px 2px !important;
  font-size: 11px !important;
  font-weight: 950 !important;
}

html body .profile-studio-v205 > form > .modal-actions .button-primary {
  color: #fff !important;
  border-color: #e7470f !important;
  background: linear-gradient(135deg, #ff6525, #eb430c) !important;
  box-shadow: 0 8px 19px rgb(238 68 12 / 23%) !important;
}

@media (max-width: 980px) {
  html body .profile-edit-modal.profile-studio-v205 {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto minmax(0, 1fr) !important;
  }

  html body .profile-live-preview-v205 {
    grid-column: 1 !important;
    grid-row: 2 !important;
    padding: 12px 16px;
    overflow: visible;
    border-right: 0;
    border-bottom: 1px solid var(--studio-line);
  }

  html body .profile-preview-card-v205 {
    position: relative;
    grid-template-columns: 84px minmax(0, 1fr);
    align-items: center;
    min-height: 128px;
    padding: 13px 15px;
  }

  html body .profile-preview-avatar-v205 {
    grid-row: 1 / 5;
    width: 76px;
    height: 76px;
    margin: 0;
  }

  html body .profile-preview-avatar-v205 > img:first-child { width: 60px; height: 60px; }
  html body .profile-preview-avatar-v205 i { right: 5px; bottom: 6px; }
  html body .profile-preview-card-v205 h3,
  html body .profile-preview-title-v205,
  html body .profile-preview-bio-v205 { text-align: left; }
  html body .profile-preview-card-v205 h3 { font-size: 20px; }
  html body .profile-preview-card-v205 .profile-preview-role-v205 { justify-content: flex-start; margin: 3px 0; }
  html body .profile-preview-bio-v205 { min-height: 0; -webkit-line-clamp: 1; overflow: hidden; }
  html body .profile-preview-game-v205 { display: none; }

  html body .profile-studio-v205 > form.create-lfg-form {
    grid-column: 1 !important;
    grid-row: 3 !important;
  }

  html body .profile-studio-v205 > form > .modal-actions { left: 0; }
}

@media (max-width: 620px) {
  html body .profile-edit-modal.profile-studio-v205 {
    width: calc(100vw - 10px) !important;
    height: calc(100vh - 10px) !important;
    max-height: calc(100vh - 10px) !important;
  }

  html body .profile-studio-v205 > .modal-heading { min-height: 70px; padding: 13px 14px 11px 18px !important; }
  html body .profile-live-preview-v205 > header { display: none; }
  html body .profile-studio-v205 > form.create-lfg-form { grid-template-columns: 1fr !important; padding: 12px 11px 88px !important; }
  html body .profile-studio-v205 > form > * { grid-column: 1 !important; }
  html body .profile-studio-v205 .profile-background-grid { grid-template-columns: repeat(2, minmax(120px, 1fr)) !important; }
  html body .profile-studio-v205 .avatar-picker-grid { grid-template-columns: repeat(4, minmax(68px, 1fr)) !important; }
  html body .profile-studio-v205 .avatar-upload-panel { grid-template-columns: 56px minmax(0, 1fr) !important; }
  html body .profile-studio-v205 .avatar-upload-panel > :is(label, button) { grid-column: 1 / -1; }
  html body .profile-studio-v205 > form > .modal-actions { padding: 11px !important; }
  html body .profile-studio-v205 > form > .modal-actions button { min-width: 0; flex: 1; }
}
