/* sook — the layer on top of the mirrored shell. Black, white, grey. */
:root { --hf-accent: #3f3c39; --hf-ink: #2f2d2b; --hf-dim: #837e79; --hf-line: rgba(64,61,58,.10); }

.hf-logo { object-fit: contain; display: inline-block; }

/* -------------------------------------------------------------- banners */
.hf-banner { position: relative; display: block; text-decoration: none; background: #e7e0da; }
.hf-banner__grid {
  position: absolute; inset: 0; opacity: .55;
  background-image: linear-gradient(rgba(64,61,58,.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(64,61,58,.05) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: radial-gradient(90% 120% at 18% 30%, #F0E9E3 10%, transparent 76%);
  -webkit-mask-image: radial-gradient(90% 120% at 18% 30%, #F0E9E3 10%, transparent 76%);
}
.hf-banner__plate {
  position: absolute; right: -2%; top: 50%; transform: translateY(-50%);
  width: 46%; opacity: .5; pointer-events: none;
}
.hf-banner__plate svg { width: 100%; height: auto; display: block; }
.hf-banner__body {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center;
  gap: 5px; padding: 0 clamp(18px, 4%, 40px);
}
.hf-banner__kicker { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--hf-dim); font-weight: 700; }
.hf-banner__title { font-size: clamp(19px, 2.5vw, 32px); font-weight: 800; color: #34312f; line-height: 1.1; letter-spacing: -.02em; }
.hf-banner__sub { font-size: clamp(11px, 1.15vw, 13.5px); color: var(--hf-dim); max-width: 56%; }
.hf-banner__cta {
  margin-top: 8px; font-size: 12px; font-weight: 700; color: #34312f;
  display: inline-flex; align-items: center; gap: 7px; width: fit-content;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(64,61,58,.06); border: 1px solid var(--hf-line);
  transition: background .2s, transform .2s;
}
.hf-banner:hover .hf-banner__cta { background: rgba(64,61,58,.14); transform: translateX(2px); }

/* -------------------------------------------------- the ten hooks picker */
.hf-section { width: 100%; margin: 4px 0 26px; }
.hf-section__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.hf-section__kicker { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; color: var(--hf-dim); }
.hf-section__more {
  background: none; border: 0; cursor: pointer; padding: 0;
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700;
  color: var(--hf-dim); transition: color .18s;
}
.hf-section__more:hover { color: #34312f; }
.hf-section__more b { font-weight: 700; }

.hf-plates { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.hf-plate {
  position: relative; display: flex; flex-direction: column; text-align: left; cursor: pointer;
  padding: 0; overflow: hidden; color: inherit; font: inherit;
  background: #e3dcd6; border: 1px solid var(--hf-line); border-radius: 12px;
  transition: border-color .2s, background .2s, transform .2s;
}
.hf-plate:hover { border-color: rgba(64,61,58,.3); background: #E0D9D3; transform: translateY(-2px); }
.hf-plate[aria-pressed="true"] { border-color: #34312f; background: #DED7D1; box-shadow: inset 0 0 0 1px rgba(64,61,58,.35); }
.hf-plate__art { display: block; padding: 16px 12px 6px; }
.hf-plate__art svg { width: 100%; height: auto; display: block; opacity: .82; transition: opacity .2s; }
.hf-plate:hover .hf-plate__art svg,
.hf-plate[aria-pressed="true"] .hf-plate__art svg { opacity: 1; }
.hf-plate__foot {
  display: flex; align-items: baseline; justify-content: space-between; gap: 8px;
  padding: 10px 14px 14px;
}
.hf-plate__name { font-size: 13px; font-weight: 800; color: #34312f; letter-spacing: -.01em; line-height: 1.25; }
.hf-plate__tag { font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: #98928d; font-weight: 700; white-space: nowrap; }

.hf-section__foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 13px; flex-wrap: wrap; }
.hf-section__note { font-size: 12px; color: var(--hf-dim); }
.hf-section__note a { color: var(--hf-ink); text-decoration: underline; text-underline-offset: 2px; }
.hf-section__custom { font-size: 12px; font-weight: 700; color: #34312f; text-decoration: none; border-bottom: 1px solid rgba(64,61,58,.3); padding-bottom: 1px; }

@media (max-width: 1180px) { .hf-plates { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 900px)  { .hf-plates { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 620px)  { .hf-plates { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* --------------------------------------------------- hook chip on a card */
.hf-hookchip {
  display: inline-flex; align-items: center; gap: 5px; height: 16px; padding: 0 8px;
  border-radius: 999px; font-size: 10px; font-weight: 600;
  color: #4b4744; background: rgba(64,61,58,.05); border: 1px solid var(--hf-line);
  white-space: nowrap; cursor: pointer; transition: border-color .18s, color .18s;
}
.hf-hookchip:hover { color: #34312f; border-color: rgba(64,61,58,.32); }
.hf-hookchip__dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.hf-hidden { display: none !important; }

/* ------------------------------------------------------------------ modal */
.hf-modal { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: flex-start; justify-content: center; }
.hf-modal[hidden] { display: none; }
.hf-modal__scrim { position: absolute; inset: 0; background: rgba(240,233,227,.88); backdrop-filter: blur(6px); }
.hf-modal__panel {
  position: relative; margin: 4vh auto; width: min(1120px, 94vw); max-height: 92vh; overflow-y: auto;
  background: #e8e1db; border: 1px solid var(--hf-line); border-radius: 18px;
  padding: 34px clamp(18px, 3.4vw, 42px) 42px;
  box-shadow: 0 40px 120px -30px #F0E9E3;
}
.hf-modal__x {
  position: absolute; top: 16px; right: 18px; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(64,61,58,.05); border: 1px solid var(--hf-line);
  color: var(--hf-ink); cursor: pointer; font-size: 13px; transition: background .18s;
}
.hf-modal__x:hover { background: rgba(64,61,58,.14); }
.hf-modal__head { max-width: 780px; margin-bottom: 26px; }
.hf-kicker { display: inline-block; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; color: var(--hf-dim); margin-bottom: 12px; }
.hf-modal__head h2 { font-size: clamp(24px, 3.2vw, 36px); font-weight: 800; color: #34312f; letter-spacing: -.025em; margin-bottom: 12px; line-height: 1.12; }
.hf-modal__head p { font-size: 15px; line-height: 1.62; color: var(--hf-dim); }
.hf-modal__head b { color: var(--hf-ink); font-weight: 700; }

.hf-hooks { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.hf-hook { background: #e3dcd6; border: 1px solid var(--hf-line); border-radius: 14px; padding: 0 0 16px; overflow: hidden; transition: border-color .2s, background .2s; }
.hf-hook:hover { border-color: rgba(64,61,58,.28); background: #E1DAD4; }
.hf-hook__art { padding: 14px 14px 0; }
.hf-hook__art svg { width: 100%; height: auto; display: block; opacity: .85; }
.hf-hook header { display: flex; align-items: baseline; gap: 9px; padding: 14px 18px 8px; flex-wrap: wrap; }
.hf-hook h3 { font-size: 15.5px; font-weight: 800; color: #34312f; letter-spacing: -.01em; }
.hf-hook__tag { margin-left: auto; font-size: 9.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #98928d; white-space: nowrap; }
.hf-hook__short { font-size: 13px; color: var(--hf-ink); font-weight: 600; line-height: 1.5; padding: 0 18px 8px; }
.hf-hook__long { font-size: 12.5px; color: var(--hf-dim); line-height: 1.62; padding: 0 18px 14px; }
.hf-hook__go { display: inline-block; margin: 12px 18px 0; font-size: 12px; font-weight: 700; color: #34312f; text-decoration: none; border-bottom: 1px solid rgba(64,61,58,.28); padding-bottom: 1px; }
.hf-hook__go:hover { border-color: #34312f; }
.hf-hook--custom { grid-column: 1 / -1; margin-top: 12px; border-style: dashed; }

.hf-split { display: flex; flex-direction: column; gap: 6px; padding: 0 18px; }
.hf-split__row { display: grid; grid-template-columns: 1fr 78px 34px; align-items: center; gap: 9px; font-size: 11.5px; color: var(--hf-dim); }
.hf-split__row b { color: var(--hf-ink); font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.hf-split__bar { height: 4px; border-radius: 999px; background: rgba(64,61,58,.09); overflow: hidden; }
.hf-split__bar i { display: block; height: 100%; border-radius: 999px; background: #34312f; }

.hf-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 999px;
  background: #34312f; color: #e8e1db; font-weight: 800; font-size: 13.5px;
  text-decoration: none; border: 0; cursor: pointer; transition: filter .2s, transform .2s;
}
.hf-btn:hover { filter: brightness(.9); transform: translateY(-1px); }
.hf-btn--ghost { background: rgba(64,61,58,.06); color: var(--hf-ink); border: 1px solid var(--hf-line); }
.hf-btn--ghost:hover { background: rgba(64,61,58,.14); filter: none; }

@media (max-width: 640px) {
  .hf-banner__sub { display: none; }
  .hf-modal__panel { padding: 26px 16px 32px; margin: 2vh auto; }
}

/* ---------------------------------------------- hooks page: jump targets */
.hf-plate[aria-current="true"] { border-color: #34312f; background: #DED7D1; }
.hf-plate[aria-current="true"] .hf-plate__art svg { opacity: 1; }
.hf-hook.is-target { border-color: rgba(64,61,58,.55); background: #DFD8D2; }
/* the custom card spans the row, so keep its plate from ballooning */
.hf-hook--custom .hf-hook__art { display: flex; justify-content: center; }
.hf-hook--custom .hf-hook__art svg { max-width: 340px; }

/* ------------------------------------------------------------ icon rail */
.hf-rail { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-top: 12px; }
.hf-rail__item {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 7px; color: #98928d; text-decoration: none;
  transition: color .18s, background .18s;
}
.hf-rail__item:hover { color: #34312f; background: rgba(64,61,58,.06); }
.hf-rail__item.is-active { color: #34312f; background: rgba(64,61,58,.09); box-shadow: inset 0 0 0 1px rgba(64,61,58,.14); }
.hf-rail__label {
  position: absolute; left: calc(100% + 10px); white-space: nowrap;
  background: #DED7D1; border: 1px solid rgba(64,61,58,.12); color: #2f2d2b;
  font-size: 11.5px; font-weight: 700; padding: 5px 9px; border-radius: 7px;
  opacity: 0; pointer-events: none; transform: translateX(-4px);
  transition: opacity .16s, transform .16s; z-index: 40;
}
.hf-rail__item:hover .hf-rail__label { opacity: 1; transform: translateX(0); }

/* a coin with no published fee policy */
.hf-hookchip.is-unhooked { color: #98928d; border-style: dashed; }

/* list layout for the board */
#hf-board.hf-board--list { grid-template-columns: 1fr !important; }

/* ------------------------------------------------------------ home page */
.hf-home { width: 100%; margin: 6px 0 40px; }
.hf-home__split { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 46px; }
.hf-compare { border: 1px solid var(--hf-line); border-radius: 16px; padding: 26px 28px; background: #E3DCD6; }
.hf-compare--now { opacity: .78; }
.hf-compare--sook { border-color: rgba(31,29,28,.24); }
.hf-compare__tag {
  display: inline-block; font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
  font-weight: 700; color: var(--hf-dim); margin-bottom: 14px;
}
.hf-compare h3 { font-size: clamp(18px, 2.1vw, 23px); font-weight: 800; color: #1f1d1c; letter-spacing: -.02em; margin-bottom: 10px; line-height: 1.18; }
.hf-compare p { font-size: 14px; line-height: 1.68; color: var(--hf-dim); }

.hf-home__head { margin-bottom: 18px; }
.hf-steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0 0 46px; padding: 0; }
.hf-step { display: flex; gap: 14px; border: 1px solid var(--hf-line); border-radius: 16px; padding: 22px 24px; background: #E3DCD6; }
.hf-step__n {
  flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--hf-accent); color: #e5ded8;
  font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center;
}
.hf-step h3 { font-size: 15.5px; font-weight: 800; color: #1f1d1c; margin-bottom: 7px; letter-spacing: -.01em; }
.hf-step p { font-size: 13.5px; line-height: 1.65; color: var(--hf-dim); }

.hf-home__cta {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  border: 1px solid var(--hf-line); border-radius: 18px; padding: clamp(22px, 3vw, 34px); background: #e5ded8;
}
.hf-home__cta h3 { font-size: clamp(19px, 2.4vw, 26px); font-weight: 800; color: #1f1d1c; letter-spacing: -.02em; margin-bottom: 7px; }
.hf-home__cta p { font-size: 14px; color: var(--hf-dim); }
.hf-home__buttons { display: flex; gap: 10px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .hf-home__split { grid-template-columns: 1fr; }
  .hf-steps { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------- contract address */
.hf-ca {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px;
  border-radius: 999px; cursor: pointer; font: inherit;
  background: rgba(31,29,28,.04); border: 1px solid var(--hf-line); color: var(--hf-ink);
  transition: border-color .18s, background .18s;
}
.hf-ca:hover { border-color: rgba(31,29,28,.32); background: rgba(31,29,28,.08); }
.hf-ca.is-copied { border-color: var(--hf-accent); }
.hf-ca__k { font-size: 11px; font-weight: 700; letter-spacing: .12em; color: var(--hf-dim); }
.hf-ca__v { font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.hf-ca__icon { opacity: .6; flex: none; }
.hf-ca:hover .hf-ca__icon { opacity: 1; }
.hf-ca--sm { height: 30px; padding: 0 11px; }
.hf-ca--sm .hf-ca__v { font-size: 12px; }
@media (max-width: 640px) { .hf-ca__k { display: none; } }
