/* BAIZE-064: standalone co-creation Hero presentation. */
body.baize-user-route-cocreation .baize-co-route > .baize-co-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 176px minmax(300px, 1fr) minmax(354px, 1.06fr);
  gap: 24px;
  align-items: center;
  min-height: 268px;
  margin: 0;
  padding: 46px 30px 30px;
  overflow: hidden;
  border: 1px solid rgba(91, 159, 255, .42);
  border-radius: 18px;
  background:
    radial-gradient(ellipse at 92% 48%, rgba(54, 113, 255, .54), transparent 43%),
    radial-gradient(ellipse at 34% -20%, rgba(54, 152, 255, .26), transparent 42%),
    linear-gradient(118deg, #020d2f 0%, #062369 53%, #0d3182 100%);
  box-shadow: 0 18px 36px rgba(10, 47, 118, .22);
  color: #fff;
}

body.baize-user-route-cocreation .baize-co-route > .baize-co-hero::before,
body.baize-user-route-cocreation .baize-co-route > .baize-co-hero::after {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  content: "";
}

body.baize-user-route-cocreation .baize-co-route > .baize-co-hero::before {
  inset: 0;
  opacity: .42;
  background-image: linear-gradient(rgba(123, 184, 255, .14) 1px, transparent 1px), linear-gradient(90deg, rgba(123, 184, 255, .14) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, .75), transparent 61%);
}

body.baize-user-route-cocreation .baize-co-route > .baize-co-hero::after {
  right: -110px;
  bottom: -165px;
  width: 610px;
  height: 420px;
  border: 1px solid rgba(112, 173, 255, .3);
  border-radius: 50%;
  box-shadow: 0 0 0 54px rgba(92, 154, 255, .06), 0 0 0 110px rgba(92, 154, 255, .035);
  transform: rotate(-13deg);
}

.baize-co-hero-actions {
  position: absolute;
  top: 15px;
  right: 18px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.baize-co-hero-actions a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 31px;
  padding: 0 12px;
  border: 1px solid rgba(171, 207, 255, .42);
  border-radius: 999px;
  color: #e5f1ff;
  background: rgba(5, 29, 85, .38);
  font-size: 12px;
  font-weight: 800;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.baize-co-hero-actions a:hover {
  border-color: rgba(255, 211, 114, .82);
  background: rgba(69, 123, 230, .42);
  color: #fff5d6;
  transform: translateY(-1px);
}

.baize-co-hero-actions svg { width: 15px; height: 15px; }

.baize-co-hero-badge {
  position: relative;
  display: grid;
  place-items: center;
  align-self: center;
  width: 172px;
  height: 178px;
  filter: drop-shadow(0 14px 15px rgba(0, 7, 31, .42));
}

.baize-co-hero-badge-gem {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 116px;
  height: 130px;
  clip-path: polygon(50% 0, 91% 23%, 82% 79%, 50% 100%, 18% 79%, 9% 23%);
  background: linear-gradient(145deg, #e9f8ff 0 6%, #80d2ff 7% 14%, #267fff 37%, #1243b7 67%, #081d68 100%);
  box-shadow: inset 0 0 0 5px #f7cb66, inset 0 0 0 10px #125ad2, 0 0 0 4px rgba(245, 187, 74, .45);
  color: #f2fbff;
}

.baize-co-hero-badge-gem::before,
.baize-co-hero-badge-gem::after {
  position: absolute;
  width: 74%;
  height: 74%;
  border: 1px solid rgba(223, 247, 255, .84);
  content: "";
}

.baize-co-hero-badge-gem::before { transform: rotate(45deg); }
.baize-co-hero-badge-gem::after { transform: rotate(-45deg) scale(.65); opacity: .72; }
.baize-co-hero-badge-gem svg { position: relative; z-index: 1; width: 44px; height: 44px; filter: drop-shadow(0 3px 3px rgba(0, 25, 103, .48)); }

.baize-co-hero-badge-laurel {
  position: absolute;
  z-index: 0;
  top: 42px;
  width: 53px;
  height: 101px;
  border: 7px dotted #f4be53;
  border-top: 0;
  border-right: 0;
  border-radius: 0 0 0 70px;
  filter: drop-shadow(0 2px 1px rgba(97, 47, 2, .46));
}

.baize-co-hero-badge-laurel.is-left { left: 1px; transform: rotate(-27deg); }
.baize-co-hero-badge-laurel.is-right { right: 1px; transform: scaleX(-1) rotate(-27deg); }

.baize-co-hero-badge-plate {
  position: absolute;
  z-index: 2;
  bottom: 1px;
  min-width: 124px;
  padding: 7px 14px;
  border: 1px solid #ffdc7c;
  border-radius: 4px;
  background: linear-gradient(180deg, #1d56bc, #092b7c);
  box-shadow: 0 3px 0 #d59325, inset 0 1px 0 rgba(255, 255, 255, .38);
  color: #ffecae;
  font-size: 15px;
  letter-spacing: .08em;
  text-align: center;
}

.baize-co-hero-profile { min-width: 0; padding-top: 4px; }
.baize-co-hero-overline { margin: 0 0 5px; color: #92c3ff; font-size: 11px; font-weight: 900; letter-spacing: .15em; }
.baize-co-hero-profile h2 { margin: 0; color: #fff; font-size: 35px; font-weight: 850; letter-spacing: .02em; }
.baize-co-hero-desc { margin: 6px 0 17px; color: #d9eaff; font-size: 14px; line-height: 1.55; }

.baize-co-hero-facts {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.baize-co-hero-facts li { display: flex; align-items: center; gap: 9px; color: #dbeaff; font-size: 13px; line-height: 1.25; }
.baize-co-hero-facts svg { flex: 0 0 auto; width: 18px; height: 18px; color: #9ecbff; }
.baize-co-hero-facts b { color: #fff; }
.baize-co-hero-facts .is-active::before,
.baize-co-hero-facts .is-inactive::before { display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; content: ""; }
.baize-co-hero-facts .is-active::before { background: #50d978; box-shadow: 0 0 0 3px rgba(80, 217, 120, .15); }
.baize-co-hero-facts .is-inactive::before { background: #ff8b89; box-shadow: 0 0 0 3px rgba(255, 139, 137, .15); }

.baize-co-hero-stat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; align-self: stretch; padding-top: 27px; }
.baize-co-hero-stat { position: relative; z-index: 1; display: grid; grid-template-rows: 36px 18px minmax(34px, auto); place-items: center; align-content: center; gap: 8px; min-width: 0; min-height: 151px; padding: 19px 10px 16px; border: 1px solid rgba(150, 202, 255, .33); border-radius: 14px; background: linear-gradient(145deg, rgba(90, 154, 255, .25), rgba(9, 42, 115, .55)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); text-align: center; }
.baize-co-hero-stat-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(145deg, #579bff, #2964df); box-shadow: 0 5px 12px rgba(0, 12, 74, .26); color: #fff; }
.baize-co-hero-stat:nth-child(2) .baize-co-hero-stat-icon { background: linear-gradient(145deg, #42dfd3, #0d9d9c); }
.baize-co-hero-stat:nth-child(3) .baize-co-hero-stat-icon { background: linear-gradient(145deg, #aa85ff, #6947df); }
.baize-co-hero-stat-icon svg { width: 19px; height: 19px; }
.baize-co-hero-stat small { width: 100%; overflow: hidden; color: #c3ddff; font-size: 12px; line-height: 18px; text-overflow: ellipsis; white-space: nowrap; }
.baize-co-hero-stat strong { display: grid; width: 100%; min-width: 0; min-height: 34px; place-items: center; overflow: hidden; color: #fff; font-size: 27px; line-height: 1.2; letter-spacing: .01em; text-overflow: ellipsis; white-space: nowrap; }

@media (max-width: 1180px) {
  body.baize-user-route-cocreation .baize-co-route > .baize-co-hero { grid-template-columns: 152px minmax(260px, 1fr) minmax(300px, 1fr); gap: 20px; padding: 44px 24px 27px; }
  .baize-co-hero-badge { width: 148px; transform: scale(.9); transform-origin: center; }
  .baize-co-hero-profile h2 { font-size: 30px; }
  .baize-co-hero-stat { min-height: 134px; }
}

@media (max-width: 900px) {
  body.baize-user-route-cocreation .baize-co-route > .baize-co-hero { grid-template-columns: 145px minmax(0, 1fr); min-height: 0; padding: 64px 24px 24px; }
  .baize-co-hero-stat-grid { grid-column: 1 / -1; padding-top: 0; }
}

@media (max-width: 620px) {
  body.baize-user-route-cocreation .baize-co-route > .baize-co-hero { grid-template-columns: 1fr; gap: 10px; padding: 94px 18px 18px; }
  .baize-co-hero-actions { top: 13px; left: 14px; right: 14px; justify-content: flex-start; }
  .baize-co-hero-actions a { min-height: 29px; padding: 0 9px; }
  .baize-co-hero-badge { justify-self: center; margin-bottom: -4px; transform: scale(.82); }
  .baize-co-hero-profile { text-align: center; }
  .baize-co-hero-facts { justify-items: center; }
  .baize-co-hero-facts li { text-align: left; }
  .baize-co-hero-stat-grid { grid-template-columns: 1fr; }
  .baize-co-hero-stat { min-height: 106px; }
}

@media (prefers-reduced-motion: reduce) {
  .baize-co-hero-actions a { transition: none; }
}
