#academy-search {
  --as-border: var(--line, #e1e6ee);
  width: min(560px, calc(100% - 2rem));
  margin: auto; padding: 0; overflow: hidden;
  border: 1px solid var(--as-border); border-radius: 16px;
  box-shadow: 0 24px 88px #17213a38; background: #fff; color: var(--ink, #19243c);
}
#academy-search .as-head {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 16px 20px 8px;
}
#academy-search .as-head h2 { font-size: 1.05rem; line-height: 1.5; }
.as-close {
  background: #f1f4f8; color: #46576b; border: 0; border-radius: 8px;
  font-size: 1.1rem; line-height: 30px; min-width: 32px; padding: 0;
}
.as-input {
  display: flex; align-items: center; gap: 10px; margin: 5px 20px 0; padding: 0 12px;
  border: 1px solid #aab9d2; border-radius: 9px; background: #fcfdff;
}
.as-input:focus-within { border-color: #4b63ba; box-shadow: 0 0 0 3px #5067c619; }
.as-input svg { width: 17px; height: 17px; flex: none; fill: none; stroke: #64748b; stroke-width: 1.7; }
.as-input input { border: 0; background: transparent; color: inherit; width: 100%; padding-block: 12px; outline: none; min-width: 0; }
.as-status { padding: 12px 21px 6px; font-size: .78rem; font-weight: 580; color: #59677b; }
#academy-search-options {
  max-height: min(45dvh, 405px); overflow: auto; overscroll-behavior: contain;
  padding: 0 8px 9px;
}
.as-option { display: flex; gap: 11px; align-items: center; padding: 8px 11px; border-radius: 9px; cursor: pointer; }
.as-option[aria-selected="true"] { background: #ecf0fe; }
.as-option:hover { background: #f1f4f9; }
.as-copy { min-width: 0; display: grid; gap: 2px; }
.as-copy strong { line-height: 1.4; font-size: .9rem; font-weight: 620; overflow-wrap: anywhere; }
.as-copy small { color: #59677b; font-size: .78rem; }
.as-icon {
  flex: none; width: 34px; height: 34px; display: grid; place-items: center;
  border: 1px solid #dce3ef; background: #f6f8fd; border-radius: 8px; color: #4b63a4;
}
.as-icon .lineicon { width: 17px; height: 17px; }
.as-video { background: #f2edfc; color: #7850ba; border-color: #e4daf5; }
.as-podcast { background: #fdf1e8; color: #95603d; border-color: #f0ded2; }
.as-lesson { background: #edf5ee; color: #447a52; border-color: #dceadc; }
@media (max-height: 500px) {
  #academy-search-options { max-height: 40dvh; }
  #academy-search .as-head { padding-block: 7px 0; }
  .as-status { padding-block: 5px 2px; }
}
.as-guide strong { color: #425476; }
.as-guide p { margin-block: .6rem 1.2rem; line-height: 1.65; }
