/* Panels in the cartoon style of the HOOKEMON wordmark, shared by /packs and /docs: a thick navy outline,
   a blue band with a light highlight line, a solid navy offset shadow, a blue header bar with a yellow
   Lilita One title, a cream body. Copy is set in the book serif, every figure in DM Sans 700. */
:root {
  --hk-navy: #264079;
  --hk-blue: #4072b2;
  --hk-light: #b9c4dd;
  --hk-yellow: #f3cc46;
  --hk-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
}

.hk-panel {
  --r: 30px;
  --b: 8px;
  position: relative;
  padding: var(--b);
  border: 4px solid var(--hk-navy);
  border-radius: var(--r);
  background: linear-gradient(180deg, #5f92d2 0%, #4072b2 46%, #3866a6 100%);
  box-shadow: 6px 7px 0 var(--hk-navy), 0 16px 28px rgb(74 44 0 / 30%);
}
.hk-panel::before {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: calc(var(--r) - 6px);
  border: 2px solid rgb(185 196 221 / 92%);
  pointer-events: none;
}
.hk-panel > .hk-body {
  position: relative;
  border: 2px solid var(--hk-navy);
  border-radius: calc(var(--r) - 4px - var(--b));
  overflow: hidden;
  background: radial-gradient(130% 85% at 50% 28%, #fffbee 0%, #fcf5e2 58%, #f5e8c6 100%);
  color: var(--hk-navy);
  font-family: var(--hk-serif);
}
.hk-panel--sm {
  --r: 24px;
  --b: 6px;
  box-shadow: 5px 6px 0 var(--hk-navy), 0 12px 22px rgb(74 44 0 / 30%);
}
.hk-panel--sm::before { border-width: 1.5px; }

/* The header bar: highlight line along its top, a navy rule under it. */
.hk-bar {
  position: relative;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 16px;
  padding: 16px 22px 13px;
  background: linear-gradient(180deg, #6497d6 0%, #4677b8 48%, #3b6bab 100%);
  border-bottom: 3px solid var(--hk-navy);
}
.hk-bar::before {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  top: 4px;
  height: 2px;
  border-radius: 2px;
  background: rgb(185 196 221 / 80%);
}
.hk-title {
  margin: 0;
  font-family: var(--display, "Lilita One", "Arial Rounded MT Bold", sans-serif);
  font-weight: 400;
  font-size: clamp(26px, 3.2vw, 38px);
  letter-spacing: 0.025em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--hk-yellow);
  -webkit-text-stroke: 0.17em var(--hk-navy);
  paint-order: stroke fill;
  text-shadow: 0.085em 0.115em 0 var(--hk-navy);
}
.hk-bar-note {
  margin-left: auto;
  font-family: var(--body, "DM Sans", Arial, sans-serif);
  font-size: 13px;
  font-weight: 700;
  color: #eaf1fb;
  text-shadow: 0 1px 0 rgb(38 64 121 / 70%);
}

/* A blue rule that fades at both ends. */
.hk-rule {
  height: 3px;
  border-radius: 2px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg, rgb(64 114 178 / 0%) 0%, #4072b2 12%, #7fa4d6 50%, #4072b2 88%, rgb(64 114 178 / 0%) 100%);
}

/* Figures are DM Sans bold, never the serif. */
.hk-num {
  font-family: var(--body, "DM Sans", Arial, sans-serif);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 560px) {
  .hk-panel {
    --r: 22px;
    --b: 6px;
    box-shadow: 4px 5px 0 var(--hk-navy), 0 10px 18px rgb(74 44 0 / 30%);
  }
  .hk-bar { padding: 14px 16px 11px; }
}
