.search-page-main{width:min(1180px,calc(100% - 32px));margin:0 auto;padding:42px 0 72px}.search-page-panel{padding:32px}.search-page-panel h1{margin:8px 0 8px;font-size:clamp(2.2rem,5vw,4.6rem);line-height:.96;letter-spacing:-.045em}.search-page-intro{max-width:760px;margin:0 0 24px;color:var(--muted,#a9c4d6);font-size:1.06rem;line-height:1.55}.search-page-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center}.search-page-form input{width:100%;min-height:52px;padding:0 16px;border:1px solid var(--line,rgba(94,230,255,.28));border-radius:14px;background:rgba(4,12,28,.82);color:var(--ink,#eefaff);font:inherit;font-weight:700;outline:none}.search-page-form input:focus{border-color:var(--cyan,#29e7ff);box-shadow:0 0 0 3px rgba(41,231,255,.10)}.search-page-form button{min-height:52px}.search-page-help{margin:10px 0 0;color:var(--muted,#a9c4d6);font-size:.88rem}.search-summary{margin:26px 0 14px;color:var(--yellow,#d46bff);font-weight:900}.search-results{display:grid;gap:18px}.search-result-group{margin:0}.search-result-group+.search-result-group{margin-top:0}.search-result-group-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 12px;padding:0 2px}.search-result-group-heading h3{margin:0;font-size:1.45rem}.search-result-group-heading span{color:var(--yellow,#d46bff);font-weight:900}.search-result-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.search-result-card{position:relative;min-width:0}.search-result-card[data-search-destination]{cursor:pointer}.search-result-card[data-search-destination]:focus-visible{outline:2px solid var(--cyan,#29e7ff);outline-offset:3px}.search-empty{margin-top:24px}.search-empty strong,.search-empty span{display:block}.search-empty span{margin-top:6px;color:var(--muted,#a9c4d6)}@media(max-width:760px){.search-page-main{width:min(100% - 20px,1180px);padding-top:24px}.search-page-panel{padding:20px}.search-page-form{grid-template-columns:1fr}.search-result-grid{grid-template-columns:1fr}}


/* 2026-08-21 dedicated search card formatting fix */
.search-result-card{
  box-sizing:border-box;
  width:100%;
  min-height:0;
}
.search-result-grid:has(> .search-result-card:only-child){
  grid-template-columns:minmax(0,760px);
}
.search-author-card,
.search-book-card{
  grid-template-columns:72px minmax(0,1fr);
  column-gap:16px;
  row-gap:10px;
  align-items:start;
}
.search-author-card > .kicker,
.search-book-card > .kicker{
  grid-column:1 / -1;
  grid-row:1;
  margin:0;
}
.search-author-card > .search-result-image,
.search-author-card > .search-result-placeholder,
.search-book-card > .search-book-cover,
.search-book-card > .search-result-placeholder{
  grid-column:1;
  grid-row:2;
  width:72px;
  max-width:72px;
}
.search-author-card > .search-result-image,
.search-author-card > .search-result-placeholder{
  height:72px;
}
.search-book-card > .search-book-cover,
.search-book-card > .search-result-placeholder{
  height:102px;
}
.search-author-card > .search-result-copy,
.search-book-card > .search-result-copy{
  grid-column:2;
  grid-row:2;
  min-width:0;
  width:100%;
}
.search-author-card > .search-result-actions,
.search-book-card > .search-result-actions{
  grid-column:1 / -1;
  grid-row:3;
  margin-top:2px;
}
.search-result-copy h4{
  margin-top:0;
}
.search-result-copy p{
  max-width:62ch;
  line-height:1.55;
  overflow-wrap:normal;
  word-break:normal;
}
.search-result-card h4{
  overflow-wrap:normal;
  word-break:normal;
}
.search-result-card p{
  line-height:1.5;
  overflow-wrap:normal;
  word-break:normal;
}
.search-result-actions{
  align-items:center;
}
@media(max-width:760px){
  .search-result-grid:has(> .search-result-card:only-child){grid-template-columns:1fr}
  .search-author-card,
  .search-book-card{grid-template-columns:58px minmax(0,1fr);gap:12px}
  .search-author-card > .search-result-image,
  .search-author-card > .search-result-placeholder,
  .search-book-card > .search-book-cover,
  .search-book-card > .search-result-placeholder{width:58px;max-width:58px}
  .search-author-card > .search-result-image,
  .search-author-card > .search-result-placeholder{height:58px}
  .search-book-card > .search-book-cover,
  .search-book-card > .search-result-placeholder{height:82px}
}
