/* Asset geometry follows the supplied Hina mapping; all product styling is shared. */
html[data-display-brand=hina] .app-shell:not(.sidebar-collapsed) .sidebar-brand-row .brand img{width:46px!important;height:20px!important;max-height:20px!important;object-fit:contain!important;object-position:left center!important}
html[data-display-brand=hina] .app-shell.sidebar-collapsed .sidebar-brand-row .brand img{content:url('../../assets/hina-brand/hina-icon-circle.svg')!important;width:26px!important;height:26px!important;object-fit:contain!important;border-radius:50%}
html[data-display-brand=hina] #collapseButton .v132-collapsed-brand{content:url('../../assets/hina-brand/hina-icon-circle.svg')!important;width:26px!important;height:26px!important;object-fit:contain;border-radius:50%}
html[data-display-brand=hina] .invitation-corner-logo{width:150px!important;height:auto!important;max-height:none!important;object-fit:contain!important}
html[data-display-brand=hina] .invitation-brand-mark{object-fit:contain!important}
html[data-display-brand=hina] .bp-assistant-avatar img{object-fit:contain!important}
@media(max-width:700px){html[data-display-brand=hina] .invitation-corner-logo{width:130px!important}}


html[data-display-brand=hina] .hc-avatar:not(.ai-assistant-avatar) {
  position: relative;
  background: #164bd9 url('../../assets/hina-assistant-idle.png') center / cover no-repeat;
}
html[data-display-brand=hina] .hc-avatar:not(.ai-assistant-avatar) img { visibility: hidden; }
html[data-display-brand=hina] .hc-avatar:not(.ai-assistant-avatar)::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url('../../assets/hina-assistant-smile.png') center / cover no-repeat;
  opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
  html[data-display-brand=hina] .hc-avatar:not(.ai-assistant-avatar)::after {
    animation: hina-assistant-smile 6s steps(1, end) infinite;
  }
}
@keyframes hina-assistant-smile {
  0%, 82% { opacity: 0; }
  68% { opacity: 1; }
}

#invitationGate .invitation-brand-mark {
  border-radius: 19%;
  box-shadow: 0 8px 18px rgba(22, 67, 160, .18);
}
#invitationGate .invitation-brand-art::after {
  display: block;
  inset: 50% auto auto 50%;
  width: var(--mz-invitation-mark-size);
  height: var(--mz-invitation-mark-size);
  transform: translate(-50%, -50%);
  z-index: 2;
  border: 0;
  border-radius: 19%;
  background: linear-gradient(155deg, rgba(201, 235, 255, .22), transparent 45%, rgba(18, 34, 145, .19));
  box-shadow: inset 0 1px 3px rgba(255, 255, 255, .3);
  pointer-events: none;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  html[data-display-brand=hina] .hc-avatar:not(.ai-assistant-avatar):hover::after {
    animation: none;
  }

  html[data-display-brand=hina] .hc-avatar:not(.ai-assistant-avatar):hover::before {
    content: "";
    position: absolute;
    z-index: 1;
    left: 0;
    top: 0;
    width: 34%;
    aspect-ratio: 1;
    background-color: #fff;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23fff' d='M10 0Q11.5 8.5 20 10Q11.5 11.5 10 20Q8.5 11.5 0 10Q8.5 8.5 10 0Z'/%3E%3C/svg%3E") center / contain no-repeat;
    filter: drop-shadow(0 0 2px #68eaff) drop-shadow(0 0 3px #a8f8ff);
    pointer-events: none;
    animation: hina-avatar-spark 900ms ease-in-out both;
  }
}

@keyframes hina-avatar-spark {
  0%   { background-color:var(--avatar-spark-start,#fff); left: 5%;  top: 57%; opacity: 0; scale: .35; }
  16%  { background-color:var(--avatar-spark-start,#fff); left: 1%;  top: 44%; opacity: 1; scale: 1.08; }
  33%  { left: 7%;  top: 20%; opacity: .36; scale: .58; }
  52%  { background-color:#fff; left: 22%; top: 0%;  opacity: 1; scale: 1; }
  68%  { left: 47%; top: 0%;  opacity: .4; scale: .64; }
  82%  { left: 62%; top: 11%; opacity: 1; scale: 1.05; }
  100% { left: 68%; top: 20%; opacity: 0; scale: .32; }
}

.hiring-resource-editorial .hiring-resource-static-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  align-items: start;
  min-height: 0;
  gap: 12px;
}
.hiring-resource-static-card .hiring-expert-card-body {
  grid-area: 2 / 1 / 3 / -1;
  margin: 0;
}
.hiring-resource-card-meta {
  grid-area: 1 / 2;
  justify-self: end;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  min-width: 0;
  color: var(--muted-foreground, #65758a);
  font-size: 11px;
  text-align: right;
}
.hiring-featured-badge {
  padding: 2px 7px;
  border-radius: 5px;
  background: #edf5ff;
  color: #2467b4;
  font-weight: 600;
  line-height: 16px;
  white-space: nowrap;
}

/* Glass reveal is clipped to the existing invitation icon. */
@media (prefers-reduced-motion: no-preference) {
  body:not(.brand-booting) #invitationGate:not([hidden]) .invitation-brand-art::before {
    display: block;
    inset: 50% auto auto 50%;
    width: var(--mz-invitation-mark-size);
    height: var(--mz-invitation-mark-size);
    transform: translate(-50%, -50%);
    z-index: 3;
    border: 0;
    border-radius: 19%;
    pointer-events: none;
    background:
      radial-gradient(ellipse at 47% 48%, #e0f7ff47, transparent 55%),
      linear-gradient(122deg, transparent 32%, #a0dfff26 42%, #f4fdffab 49%, #a0dfff30 56%, transparent 67%) 200% center / 240% 100% no-repeat;
    animation: invitation-icon-glass 1.7s cubic-bezier(.22,.72,.27,1) .65s both;
  }
}
@keyframes invitation-icon-glass {
  0% { opacity: 0; clip-path: circle(3% at 48% 48%); }
  30% { opacity: .92; clip-path: circle(72% at 48% 48%); }
  78% { opacity: .72; background-position: center, -100% center; }
  100% { opacity: 0; background-position: center, -100% center; clip-path: circle(74% at 48% 48%); }
}
