/* The Pharos sheet (pharos/sheet.js): a frame around Pharos's own search. Its
   colours are Pharos's (the bundle's near-black, #f0eeeb ink, #ff5e00), so the bar
   reads as part of the screen under it rather than as Hearth chrome over it. */
.ps-scrim { position: fixed; inset: 0; z-index: 1400; display: grid; place-items: center; padding: 16px;
  background: rgba(4, 3, 3, .72); opacity: 0; transition: opacity .16s ease; }
.ps-scrim.is-open { opacity: 1; }
.ps-sheet { display: flex; flex-direction: column; width: min(1180px, 100%); height: min(880px, 100%); min-height: 0;
  background: #0a0a0c; color: #f0eeeb; border: 1px solid rgba(255, 255, 255, .1); border-radius: 16px; overflow: hidden;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .7); transform: translateY(8px); transition: transform .2s cubic-bezier(.22, 1, .36, 1); }
.ps-scrim.is-open .ps-sheet { transform: none; }
.ps-bar { flex: none; display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 6px 0 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .08); background: #0d0b0b; }
.ps-what { flex: 1; min-width: 0; margin: 0; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: rgba(240, 238, 235, .55);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ps-close { flex: none; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 10px;
  background: transparent; color: rgba(240, 238, 235, .7); cursor: pointer; }
.ps-close:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.ps-close:focus-visible { outline: 2px solid #ff5e00; outline-offset: -4px; }
.ps-frame { flex: 1; min-height: 0; width: 100%; border: 0; background: #0a0a0c; color-scheme: dark; }
@media (max-width: 700px) {
  .ps-scrim { padding: 0; }
  .ps-sheet { width: 100%; height: 100%; border: 0; border-radius: 0; }
}
@media (prefers-reduced-motion: reduce) { .ps-scrim, .ps-sheet { transition: none; } .ps-sheet { transform: none; } }
