/* Help build EverlookDB: one short page to send to a friend. Colors come from app.css only.
   No class or id here may contain "ad", "banner" or "sponsor": ad blockers hide those. */

.hp { --measure: 760px; }
.hp-col { max-width: var(--measure); }
.hp h1 { margin: 0; font-size: 30px; letter-spacing: -0.02em; line-height: 1.15; }
.hp-lede { margin: 8px 0 26px; color: var(--muted); font-size: 16px; line-height: 1.5; max-width: 56ch; }
.hp h2 { margin: 34px 0 12px; font-size: 18px; letter-spacing: -0.01em; }
.hp a { color: var(--field); }
.hp a:hover { color: var(--gold); }
.hp code {
  font: 13px/1.4 var(--code); background: var(--raise); border: 1px solid var(--line);
  border-radius: 4px; padding: 1px 5px; overflow-wrap: anywhere;
}

/* the three installs, in order */
.hp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: hp; }
.hp-item {
  counter-increment: hp; position: relative;
  display: grid; grid-template-columns: 44px 1fr auto; gap: 4px 16px; align-items: center;
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px;
}
.hp-item::before {
  content: counter(hp); grid-row: 1 / span 2; align-self: center;
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid var(--gold); color: var(--gold); font: 700 16px var(--ui);
}
.hp-name { font-weight: 650; font-size: 16.5px; display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.hp-kind { font-weight: 500; font-size: 12.5px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 0 8px; }
.hp-what { grid-column: 2; color: var(--muted); font-size: 14.5px; line-height: 1.45; }
.hp-what b { color: var(--text); font-weight: 600; }
.hp-acts { grid-column: 3; grid-row: 1 / span 2; display: flex; flex-direction: column; gap: 6px; align-items: stretch; }

.hp-btn, .hp a.hp-btn {
  display: inline-block; text-align: center; white-space: nowrap; cursor: pointer;
  font: 600 13.5px var(--ui); padding: 7px 14px; border-radius: 8px; text-decoration: none;
  border: 1px solid var(--line); background: var(--raise); color: var(--text);
}
.hp-btn:hover, .hp a.hp-btn:hover { border-color: var(--gold); color: var(--text); }
.hp-btn:focus-visible { outline: 2px solid var(--field); outline-offset: 2px; }
/* the main action: dark ink on gold in both themes */
.hp-go, .hp a.hp-go { background: var(--gold); border-color: var(--gold); color: #1a1405; }
.hp-go:hover, .hp a.hp-go:hover { color: #1a1405; filter: brightness(1.08); }
@media (prefers-color-scheme: light) {
  :root[data-theme="system"] .hp-go, :root[data-theme="system"] .hp a.hp-go,
  :root[data-theme="system"] .hp a.hp-go:hover { color: #fff; }
}
.hp-btn.done { border-color: var(--str); color: var(--str); }

/* how to install: WowUp or by hand */
.hp-ways { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; }
.hp-way { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.hp-way h3 { margin: 0 0 8px; font-size: 15px; }
.hp-way ol { margin: 0; padding-left: 20px; display: grid; gap: 5px; font-size: 14.5px; line-height: 1.45; }
.hp-way p { margin: 8px 0 0; color: var(--muted); font-size: 13.5px; }

.hp-safe { margin: 22px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.hp-safe b { color: var(--text); }

.hp-end {
  margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line);
  display: flex; gap: 10px 18px; align-items: center; flex-wrap: wrap; font-size: 14.5px;
}
.hp-end strong { font-size: 16px; }

@media (max-width: 640px) {
  .hp h1 { font-size: 25px; }
  .hp-item { grid-template-columns: 40px 1fr; }
  .hp-acts { grid-column: 1 / -1; grid-row: auto; flex-direction: row; flex-wrap: wrap; margin-top: 8px; }
  .hp-ways { grid-template-columns: 1fr; }
}
.hp-way b { white-space: nowrap; }
.hp-name a { color: var(--text); text-decoration: none; }
.hp-name a:hover { color: var(--gold); text-decoration: underline; }
