/* generated by tools/hk5-gen.mjs from tools/hk5/engine.css + cards.css: edit those, not this file */
/* "One sentence, four subjects" (Team 5): the layout shared by every page of version m.
   Generated into pages/<page>/m/style.css by tools/hk5-gen.mjs; edit it here, then run the generator.
   Left: a fixed line, the words, one sentence that changes its subject, a detail and three points.
   Right: one card that shows that part of the app, with the lamp's small actor standing on its top edge. */
.hk5 { --hk5-warm: 255, 206, 92; --hk5-beam: .30; --hk5-pool: .55; --hk5-mark: .38;
  position: relative; flex: 1; width: 100%; display: flex; align-items: flex-start; justify-content: center; padding: clamp(48px, 8vh, 96px) 56px 18px; }
:root[data-theme="dark"] .hk5 { --hk5-warm: 255, 214, 120; --hk5-beam: .17; --hk5-pool: .30; --hk5-mark: .16; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hk5 { --hk5-warm: 255, 214, 120; --hk5-beam: .17; --hk5-pool: .30; --hk5-mark: .16; } }

/* the light: a soft cone from the header's lamp to the actor, drawn by script in page coordinates */
.hk5 .hk5-light { position: absolute; left: 0; top: 0; width: 0; height: 0; overflow: visible; pointer-events: none; z-index: 0; transition: opacity .45s ease; }
.hk5 .hk5-light.is-dim { opacity: .4; }
.hk5 .hk5-light .hk5-b-in { stop-color: rgb(var(--hk5-warm)); stop-opacity: calc(var(--hk5-beam) * 1.6); }
.hk5 .hk5-light .hk5-b-out { stop-color: rgb(var(--hk5-warm)); stop-opacity: var(--hk5-beam); }
.hk5 .hk5-light .hk5-g-in { stop-color: rgb(255, 214, 92); stop-opacity: .8; }
.hk5 .hk5-light .hk5-g-out { stop-color: rgb(255, 190, 60); stop-opacity: 0; }

/* two columns, one left edge on every page: the text on the left, the card + actor on the right */
.hk5 .hk5-copy { --hk5-fs: clamp(36px, 3.4vw, 50px);
  position: relative; z-index: 1; min-width: 0; width: min(1000px, 100%); margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 1fr) clamp(280px, 26%, 340px); column-gap: clamp(36px, 3.6vw, 52px);
  grid-template-areas: "text side"; align-items: start; }
/* the left text group keeps the height of its tallest subject (set by script); the points sit at its foot, level with
   the card's bottom edge, so any spare space falls between the detail and the points, never inside the sentence */
.hk5 .hk5-text { grid-area: text; display: flex; flex-direction: column; align-items: stretch; min-width: 0; }

/* what the page is about: never changes */
.hk5 .hk5-what { grid-area: what; font: 400 clamp(17px, 1.4vw, 19px)/1.4 var(--font-sans); color: var(--ink-2); margin: 0 0 4px; }
.hk5 .hk5-what b { font-weight: 700; color: var(--ink); }

/* the words: plain, the current one carries a thin progress line */
.hk5 .hk5-for { grid-area: pick; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 20px; padding: 2px 0 4px; border: 0; min-width: 0; }
.hk5 .hk5-for-lead { font: 600 17px/1.2 var(--font-sans); color: var(--muted); margin-right: 4px; white-space: nowrap; flex: none; }
.hk5 .hk5-who { position: relative; display: inline-block; border: 1px solid var(--key-line); background: color-mix(in srgb, var(--surface) 62%, transparent); box-shadow: 0 2px 0 var(--key-line); padding: 10px 16px 12px; margin: 0; font: 600 17px/1.2 var(--font-sans); color: var(--ink-2); cursor: pointer; border-radius: 12px; white-space: nowrap; transition: color .35s ease; -webkit-tap-highlight-color: transparent; }
.hk5 .hk5-who:hover { color: var(--ink); background: var(--surface); }
.hk5 .hk5-who.is-on { color: var(--brand-ink); background: var(--surface); border-color: color-mix(in srgb, var(--brand-ink) 45%, var(--key-line)); }
.hk5 .hk5-who i { position: absolute; left: 12px; right: 12px; bottom: 5px; height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; opacity: 0; transition: opacity .35s ease; }
.hk5 .hk5-who.is-on i { opacity: 1; }
.hk5 .hk5-who i b { display: block; height: 100%; background: var(--brand); transform: scaleX(0); transform-origin: 0 50%; }
.hk5 .hk5-who.is-picked { color: var(--brand-ink); }
.hk5 .hk5-who.is-picked i b { transform: none; }
.hk5 button.hk5-who:focus-visible { box-shadow: var(--focus-ring); }
/* on Get started the words are radios, on one row */
.hk5-gs .hk5-for { flex-wrap: nowrap; gap: 6px; }
.hk5-gs .hk5-who { padding: 9px 11px 11px; font-size: 15.5px; }
.hk5-gs .hk5-for-lead { margin-right: 2px; }
.hk5 .hk5-who input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.hk5 .hk5-who:has(input:focus-visible) { box-shadow: var(--focus-ring); }

/* the sentence: up to four lines; its height is reserved for the longest subject, so nothing moves */
.hk5 .hk5-head { grid-area: head; min-width: 0; }
.hk5 h1 { min-width: 0; max-width: 26ch; text-wrap: balance; font: 800 var(--hk5-fs)/1.06 var(--font-head); letter-spacing: -.03em; color: var(--ink); }
.hk5 .hk5-say { position: relative; display: block; }
.hk5 .hk5-l1, .hk5 .hk5-l2 { display: block; white-space: normal; text-wrap: balance; }
.hk5 .hk5-l2 { color: color-mix(in srgb, var(--muted) 78%, var(--ink)); }
.hk5 .hk5-slot { position: relative; display: inline-block; white-space: nowrap;
  background: linear-gradient(transparent 60%, rgba(var(--hk5-warm), var(--hk5-mark)) 60% 90%, transparent 90%) no-repeat 0 0 / 100% 100%; }
.hk5 .hk5-subj { display: inline-block; color: var(--brand-ink); }
.hk5 .hk5-subj.is-next { position: absolute; left: 0; top: 0; }
.hk5 .hk5-w { display: inline-block; }

/* the detail and three points */
.hk5 .hk5-x { grid-area: x; margin: 16px 0 14px; max-width: 40em; font: 400 17px/1.5 var(--font-sans); color: var(--ink-2); text-wrap: pretty; }
.hk5 .hk5-pts { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; max-width: 40em; }
.hk5 .hk5-pts li { position: relative; padding-left: 18px; font: 400 16.5px/1.45 var(--font-sans); color: var(--ink-2); }
.hk5 .hk5-pts li::before { content: ""; position: absolute; left: 1px; top: calc(.725em - 3px); width: 6px; height: 6px; border-radius: 1px; background: var(--brand); opacity: .7; }

/* the right column: the card, with the actor standing on its top edge */
/* the card's top is level with the sentence's first line (--hk5-ctop, set by script); the actor stands on it */
.hk5 .hk5-side { grid-area: side; align-self: stretch; display: flex; flex-direction: column; position: relative; padding-top: var(--hk5-ctop, 104px); min-width: 0; }
.hk5 .hk5-spot { position: absolute; top: calc(var(--hk5-ctop, 104px) - 110px); right: 32px; width: 110px; height: 110px; display: flex; justify-content: center; align-items: flex-end; z-index: 2; pointer-events: none; }
.hk5 .hk5-spot img { position: relative; display: block; height: 112px; width: auto; max-width: none; margin-bottom: -2px; transition: opacity .22s ease, transform .22s ease; }
.hk5 .hk5-spot.is-out img { opacity: 0; transform: translateY(4px); }
.hk5 .hk5-pool { position: absolute; left: 50%; bottom: -9px; width: 120px; height: 18px; margin-left: -60px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(var(--hk5-warm), var(--hk5-pool)), rgba(var(--hk5-warm), 0)); }
/* the card: portrait, from the sentence's first line down to the last point */
.hk5 .hk5-cards { position: relative; width: 100%; flex: 1; min-height: 250px; max-height: 420px; container-type: inline-size; }
.hk5-gs .notify { flex: 1; display: flex; flex-direction: column; min-height: 250px; max-height: 420px; }
.hk5-gs .notify form { flex: 1; display: flex; flex-direction: column; }
.hk5-gs .notify .hk5-formcard, .hk5-gs .notify .done { flex: 1; }
/* Get started: the steps under the form */
.hk5 .hk5-next { list-style: none; counter-reset: hk5n; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.hk5 .hk5-next li { counter-increment: hk5n; display: flex; align-items: baseline; gap: 10px; font: 400 15px/1.45 var(--font-sans); color: var(--ink-2); }
.hk5 .hk5-next li::before { content: counter(hk5n); flex: none; width: 22px; height: 22px; border-radius: 7px; display: inline-grid; place-items: center; font: 400 11px/1 var(--font-mono); color: var(--brand-ink);
  border: 1px solid var(--key-line); box-shadow: 0 2px 0 var(--key-line); background: var(--surface); transform: translateY(-1px); }

/* short screens (1366×768, 1280×720): a smaller header so the page still fits without scrolling */
@media (max-height: 780px) and (min-width: 761px) {
  body:has(.hk5) .site-head { gap: 12px; padding-top: 22px; }
  body:has(.hk5) .site-head .su-mark-svg { width: 230px; height: auto; }
  body:has(.hk5) .site-tab { gap: 5px; padding: 6px 12px; }
  body:has(.hk5) .site-tab .key { width: 44px; height: 40px; }
  body:has(.hk5) .site-tab .key svg { width: 28px; height: 28px; }
}
@media (max-height: 740px) and (min-width: 761px) {
  .hk5 .hk5-copy { --hk5-fs: 38px; }
  .hk5 .hk5-x { font-size: 16px; }
  .hk5 .hk5-pts { gap: 4px; }
  .hk5 .hk5-pts li { font-size: 16px; }
  .hk5 .hk5-cards, .hk5-gs .notify { min-height: 230px; }
}
/* a word row that scrolls sideways fades at its edge */
.hk5 .hk5-for.is-scroll:not(.at-end) { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 44px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 44px), transparent); }
/* the quiet footer, readable */
body:has(.hk5) .site-foot { color: var(--muted); font-size: 11px; }

/* narrower than 1024px: one column, like the phone */
@media (max-width: 1023px) {
  .hk5 { padding: 16px 32px 22px; }
  /* one column: the points follow the detail; spare space falls under them */
  .hk5 .hk5-x { margin-bottom: 0; }
  .hk5 .hk5-pts, .hk5 .hk5-next { margin-top: 12px; }
  /* one column: the card is as tall as its content, so nothing empty sits under it */
  .hk5 .hk5-side { display: block; }
  .hk5 .hk5-cards { flex: none; min-height: 0; max-height: none; }
  .hk5-gs .notify { min-height: 0; max-height: none; }
  .hk5 .hk5-cards .hk5-card { position: relative; }
  .hk5 .hk5-card.k-bars, .hk5 .hk5-card.k-video, .hk5 .hk5-card.k-viewer { aspect-ratio: 1.55; }
  .hk5 .hk5-light { display: none; }
  .hk5 .hk5-copy { width: 100%; max-width: 640px; display: flex; flex-direction: column; align-items: stretch; }
  .hk5 .hk5-side { align-self: stretch; padding-top: 96px; margin-top: 18px; }
  .hk5 .hk5-spot { top: -14px; right: 24px; }
  .hk5 h1 { max-width: none; }
  .hk5-gs .hk5-for { overflow-x: auto; scrollbar-width: none; }
}
@media (max-width: 760px) {
  .hk5 { padding: 16px 16px 22px; }
  .hk5 .hk5-what { font-size: 16px; margin-bottom: 0; }
  .hk5 .hk5-for { flex-wrap: nowrap; gap: 6px; margin: 0 -16px 14px; padding: 2px 16px 6px; overflow-x: auto; scrollbar-width: none; }
  body:has(.hk5) .site-foot { font-size: 12px; }
  .hk5 .hk5-for::-webkit-scrollbar { display: none; }
  .hk5 .hk5-for-lead, .hk5 .hk5-who { font-size: 15px; }
  .hk5 .hk5-for-lead { margin-right: -3px; }
  .hk5 .hk5-who { padding: 11px 13px 13px; flex: none; }
  .hk5 h1 { font-size: clamp(28px, 8.2vw, 34px); line-height: 1.1; }
  .hk5 .hk5-x { font-size: 16px; margin-top: 12px; max-width: none; }
  .hk5 .hk5-pts li { font-size: 15px; }
  .hk5 .hk5-side { padding-top: 80px; margin-top: 0; }
  .hk5 .hk5-spot { top: -6px; right: 16px; width: 84px; height: 84px; }
  .hk5 .hk5-spot img { height: 84px; }
  .hk5 .hk5-pool { width: 90px; margin-left: -45px; height: 14px; bottom: -7px; }
}
@media (prefers-reduced-motion: reduce) { .hk5 .hk5-spot img, .hk5 .hk5-who, .hk5 .hk5-light { transition: none; } }

/* The cards: one calm piece of the app per subject, in the beta's Aurora look (surface, key line, 2px key shadow).
   Everything inside is sized in em from the card's width, so a card is the same picture at every screen size.
   Each card plays one small animation when it is shown (.is-play); with reduced motion it shows the end state. */
.hk5 .hk5-card { position: absolute; inset: 0; display: none; flex-direction: column; justify-content: flex-start; gap: .8em; padding: 1.15em 1.3em; border-radius: 1.45em;
  background: var(--surface); border: 1px solid var(--key-line); box-shadow: 0 2px 0 var(--key-line), 0 1.6em 3em -2.4em rgba(22, 21, 19, .35);
  font: 400 clamp(13px, 4.4cqi, 15px)/1.4 var(--font-sans); color: var(--ink); text-align: left; overflow: hidden; }
.hk5 .hk5-card.is-on { display: flex; }
/* a card is as tall as its content (no empty middle); cards with a picture that fills them keep the full slot */

.hk5 .hk5-card b { font-weight: 600; }

/* tones: logos, avatars and slide covers */
.hk5 .t-b { --tone: var(--brand); } .hk5 .t-g { --tone: #1f9a5b; } .hk5 .t-r { --tone: var(--like); } .hk5 .t-y { --tone: #d18f00; }
.hk5 .t-v { --tone: #6d4ad6; } .hk5 .t-o { --tone: #e0621c; } .hk5 .t-k { --tone: var(--ink); }

/* parts */
.hk5 .c-row { display: flex; align-items: center; gap: .7em; min-width: 0; }
.hk5 .c-between { justify-content: space-between; }
.hk5 .c-col { display: flex; flex-direction: column; gap: .1em; min-width: 0; }
.hk5 .c-grow { flex: 1; min-width: 0; }
.hk5 .c-push { margin-top: auto; }
.hk5 .c-name { font-weight: 600; font-size: 1.07em; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hk5 .c-h { font: 800 1.25em/1.15 var(--font-head); letter-spacing: -.01em; color: var(--ink); }
.hk5 .c-meta { font-size: .93em; line-height: 1.35; color: var(--muted); }
.hk5 .c-txt { color: var(--ink-2); line-height: 1.4; }
.hk5 .c-label { font: 400 .7em/1.4 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.hk5 .c-ok { color: var(--success); font-weight: 600; display: inline-flex; align-items: center; gap: .4em; }
.hk5 .c-ic { width: 1.25em; height: 1.25em; flex: none; display: block; }
.hk5 .c-ava { font: 600 .78em/1 var(--font-sans); width: 2.7em; height: 2.7em; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: color-mix(in srgb, var(--tone, var(--brand)) 16%, var(--surface)); color: color-mix(in srgb, var(--tone, var(--brand)) 78%, var(--ink)); }
.hk5 .c-ava.lg { font-size: 1.3em; box-shadow: 0 0 0 .22em var(--surface); }
.hk5 .c-logo { font: 800 1em/1 var(--font-head); width: 2.5em; height: 2.5em; border-radius: .75em; flex: none; display: grid; place-items: center;
  background: color-mix(in srgb, var(--tone) 16%, var(--surface)); color: color-mix(in srgb, var(--tone) 80%, var(--ink)); border: 1px solid color-mix(in srgb, var(--tone) 22%, var(--key-line)); }
.hk5 .c-btn { display: inline-flex; align-items: center; justify-content: center; gap: .45em; height: 2.45em; padding: 0 1em; border-radius: .85em; flex: none;
  border: 1px solid var(--key-line); box-shadow: 0 2px 0 var(--key-line); background: var(--surface); font: 600 1em/1 var(--font-sans); color: var(--brand-ink); white-space: nowrap; }
.hk5 .c-btn.blue, .hk5 .is-play .c-btn.a-lit { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 2px 0 var(--brand-pressed); }
.hk5 .c-btn.red { background: var(--like); border-color: var(--like); color: #fff; box-shadow: 0 2px 0 color-mix(in srgb, var(--like) 70%, #000); }
.hk5 .c-btn.sm { height: 2.1em; padding: 0 .8em; font-size: .93em; }
.hk5 .c-btn.wide { display: flex; width: 100%; flex: none; }
.hk5 .c-btn.grow { flex: 1; }
.hk5 .a-sw.wide { display: grid; width: 100%; }
.hk5 .c-slide.wide { aspect-ratio: 2.5 / 1; flex: none; }
.hk5 .c-tabs { display: flex; gap: 1.3em; border-bottom: 1px solid var(--line); }
.hk5 .c-tabs span { padding: .2em 0 .55em; color: var(--muted); font-weight: 600; }
.hk5 .c-tabs span.on { color: var(--ink); box-shadow: inset 0 -2px 0 var(--brand); }
.hk5 .c-set { display: flex; align-items: center; justify-content: space-between; height: 2.55em; padding: 0 .1em; border-bottom: 1px solid var(--line); }
.hk5 .c-set .c-val { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; color: var(--ink); }
.hk5 .c-seg { display: flex; gap: .4em; flex-wrap: wrap; }
.hk5 .c-seg span { padding: .45em .7em; border-radius: .75em; border: 1px solid var(--key-line); color: var(--ink-2); font-weight: 600; font-size: .93em; }
.hk5 .c-seg span.on { border-color: var(--brand); color: var(--brand-ink); background: color-mix(in srgb, var(--brand) 7%, var(--surface)); }
.hk5 .c-field { display: flex; align-items: center; gap: .55em; height: 2.55em; padding: 0 .9em; border-radius: .85em; border: 1.5px solid var(--key-line);
  background: color-mix(in srgb, var(--ground) 60%, var(--surface)); color: var(--muted); white-space: nowrap; overflow: hidden; min-width: 0; }
.hk5 .c-field b { color: var(--ink); font-weight: 400; }
.hk5 .c-slide { position: relative; aspect-ratio: 16 / 9; border-radius: .7em; padding: .75em .85em; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden;
  background: color-mix(in srgb, var(--tone) 9%, var(--surface)); border: 1px solid color-mix(in srgb, var(--tone) 18%, var(--line)); }
.hk5 .c-st { font: 800 1.1em/1.1 var(--font-head); color: color-mix(in srgb, var(--tone) 70%, var(--ink)); }
.hk5 .c-bars { display: flex; align-items: flex-end; gap: .35em; height: 2.6em; }
.hk5 .c-bars span { width: 1.05em; border-radius: .25em .25em 0 0; background: color-mix(in srgb, var(--tone) 70%, var(--surface)); }
.hk5 .c-cover { position: relative; flex: none; height: 4.3em; margin: -1.15em -1.3em 0; padding: .9em 1.3em; display: flex; align-items: flex-end; justify-content: space-between;
  background: color-mix(in srgb, var(--tone) 14%, var(--surface)); border-bottom: 1px solid color-mix(in srgb, var(--tone) 18%, var(--line)); }
.hk5 .c-cover .c-h { color: color-mix(in srgb, var(--tone) 72%, var(--ink)); }
.hk5 .c-cover .c-ic { width: 2em; height: 2em; color: color-mix(in srgb, var(--tone) 70%, var(--ink)); }
.hk5 .c-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 1.1em; flex: 1; min-height: 0; }
.hk5 .c-hr { height: 1px; background: var(--line); flex: none; }
.hk5 .c-cmt { display: flex; gap: .6em; align-items: flex-start; }
.hk5 .c-cmt .c-txt { font-size: .97em; }
.hk5 .c-num { font: 400 .8em/1 var(--font-mono); color: var(--muted); letter-spacing: .04em; }
.hk5 .c-list { display: flex; flex-direction: column; gap: .5em; }
.hk5 .c-li { display: flex; align-items: center; gap: .7em; height: 2.75em; }
.hk5 .c-round { width: 2.2em; height: 2.2em; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--fill); color: var(--ink); }
.hk5 .c-round .c-ic { width: 1.15em; height: 1.15em; }
.hk5 .c-note { display: flex; align-items: center; gap: .65em; padding: .55em .8em; border-radius: .9em; background: color-mix(in srgb, var(--fill) 55%, var(--surface)); border: 1px solid var(--line); }

/* animations: the start state, then .is-play */
.hk5 .a-in { opacity: 0; transform: translateY(.6em); transition: opacity .45s ease var(--d, 0ms), transform .5s cubic-bezier(.22, .8, .24, 1) var(--d, 0ms); }
.hk5 .a-in.down { transform: translateY(-.8em); }
.hk5 .is-play .a-in, .hk5 .is-play.a-in { opacity: 1; transform: none; }
.hk5 .a-sw { display: inline-grid; }
.hk5 .a-sw > * { grid-area: 1 / 1; transition: opacity .22s ease var(--d, 0ms), transform .3s ease var(--d, 0ms); }
.hk5 .a-sw > :last-child { opacity: 0; transform: translateY(.35em); }
.hk5 .is-play .a-sw > :first-child { opacity: 0; transform: translateY(-.35em); }
.hk5 .is-play .a-sw > :last-child { opacity: 1; transform: none; }
.hk5 .a-type { display: inline-block; clip-path: inset(-.2em 100% -.35em 0); transition: clip-path var(--t, .8s) steps(var(--n, 12)) var(--d, 0ms); }
.hk5 .is-play .a-type { clip-path: inset(-.2em -.3em -.35em 0); }
.hk5 .a-grow { transform: scaleY(0); transform-origin: 50% 100%; transition: transform .55s cubic-bezier(.22, .8, .24, 1) var(--d, 0ms); }
.hk5 .is-play .a-grow { transform: none; }
.hk5 .a-growx { transform: scaleX(var(--from, 0)); transform-origin: 0 50%; transition: transform var(--t, .8s) cubic-bezier(.4, 0, .2, 1) var(--d, 0ms); }
.hk5 .is-play .a-growx { transform: none; }
.hk5 .c-btn.a-lit { transition: background-color .35s ease var(--d, 0ms), border-color .35s ease var(--d, 0ms), color .35s ease var(--d, 0ms), box-shadow .35s ease var(--d, 0ms); }
.hk5 .is-play .a-press { animation: hk5-press .42s ease var(--d, 0ms) 1 both; }
@keyframes hk5-press { 45% { transform: translateY(2px); box-shadow: 0 0 0 transparent; } }
.hk5 .a-stamp { opacity: 0; transform: scale(1.5) rotate(-6deg); transition: opacity .2s ease var(--d, 0ms), transform .45s cubic-bezier(.3, 1.6, .5, 1) var(--d, 0ms); }
.hk5 .is-play .a-stamp { opacity: 1; transform: none; }
.hk5 .is-play .a-pulse { animation: hk5-pulse .8s ease var(--d, 0ms) 1; }
@keyframes hk5-pulse { 45% { transform: scale(1.16); } }
.hk5 .a-move { transition: transform .6s cubic-bezier(.22, .8, .24, 1) var(--d, 0ms); }
.hk5 .is-play .a-move { transform: translateY(var(--dy, 0)); }
.hk5 .a-out { transition: opacity .3s ease var(--d, 0ms), transform .45s ease var(--d, 0ms); }
.hk5 .is-play .a-out { opacity: 0; transform: scale(.94); }
.hk5 .a-open { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s cubic-bezier(.22, .8, .24, 1) var(--d, 0ms); }
.hk5 .a-open > * { overflow: hidden; min-height: 0; }
.hk5 .is-play .a-open { grid-template-rows: 1fr; }
.hk5 .no-t, .hk5 .no-t * { transition: none !important; animation: none !important; }
@media (prefers-reduced-motion: reduce) { .hk5 .hk5-card, .hk5 .hk5-card *, .hk5 .done * { transition: none !important; animation: none !important; } }

/* card-specific */

.hk5 .k-call .c-win { flex: 1; min-height: 0; display: flex; flex-direction: column; border-radius: .9em; overflow: hidden; background: color-mix(in srgb, var(--fill) 70%, var(--surface)); border: 1px solid var(--line); }
.hk5 .k-call .c-bar { display: flex; align-items: center; gap: .35em; padding: .5em .7em; font-size: .86em; color: var(--muted); border-bottom: 1px solid var(--line); }
.hk5 .k-call .c-bar i { width: .55em; height: .55em; border-radius: 50%; background: var(--key-line); }
.hk5 .k-call .c-bar span { margin-left: .5em; }
.hk5 .k-call .c-stage { position: relative; flex: 1; min-height: 0; }
.hk5 .k-call .c-tiles { position: absolute; inset: .55em; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: .5em; }
.hk5 .k-call .c-tile { position: relative; border-radius: .6em; background: color-mix(in srgb, var(--fill) 60%, var(--ground)); overflow: hidden; }
.hk5 .k-call .c-tile img { position: absolute; left: 50%; top: 10%; width: 120%; max-width: none; transform: translateX(-50%); }
.hk5 .k-call .c-ended { position: absolute; inset: 0; display: grid; place-items: center; font: 600 1.05em/1 var(--font-sans); color: var(--muted); }
.hk5 .k-call .c-ctl { display: flex; justify-content: center; gap: .5em; padding: .45em 0 .6em; }
.hk5 .k-call .c-ctl i { width: 1.7em; height: 1.7em; border-radius: 50%; background: color-mix(in srgb, var(--key-line) 70%, var(--surface)); }

.hk5 .k-ranked .c-rank { display: grid; grid-template-columns: 1.4em 1fr; column-gap: .6em; }
.hk5 .k-ranked .c-nums { display: flex; flex-direction: column; gap: .5em; }
.hk5 .k-ranked .c-nums span { height: 2.75em; display: flex; align-items: center; font: 800 1.05em/1 var(--font-head); color: var(--muted); }
.hk5 .k-ranked .c-li { position: relative; padding: 0 .7em; border-radius: .8em; background: color-mix(in srgb, var(--fill) 45%, var(--surface)); }

.hk5 .k-bars .c-chart { position: relative; flex: 1; display: flex; align-items: flex-end; gap: .4em; padding-top: 1.6em; min-height: 4em; border-bottom: 1px solid var(--line); }
.hk5 .k-bars .c-chart > span { position: relative; flex: 1; border-radius: .3em .3em 0 0; background: color-mix(in srgb, var(--brand) 26%, var(--surface)); }
.hk5 .k-bars .c-chart > span.top { background: var(--brand); }
.hk5 .k-bars .c-tip { position: absolute; bottom: calc(100% + .35em); left: 50%; transform: translateX(-50%); white-space: nowrap; font: 600 .86em/1 var(--font-sans); color: var(--brand-ink); }
.hk5 .k-bars .c-tip.a-in { transform: translate(-50%, .5em); }
.hk5 .k-bars.is-play .c-tip.a-in { transform: translate(-50%, 0); }

.hk5 .k-video .c-frame { position: relative; flex: none; aspect-ratio: 16 / 10; border-radius: .8em; overflow: hidden; background: #1d1c1a; display: grid; place-items: center; }
.hk5 .k-video .c-frame .c-slide { position: absolute; inset: 0; aspect-ratio: auto; border: 0; border-radius: 0; opacity: .35; }
.hk5 .k-video .c-play { position: relative; width: 3.3em; height: 3.3em; border-radius: 50%; background: rgba(255, 255, 255, .92); color: #161513; display: grid; place-items: center; }
.hk5 .k-video .c-play .c-ic { width: 1.4em; height: 1.4em; }
.hk5 .k-video .c-track { position: absolute; left: 0; right: 0; bottom: 0; height: .3em; background: rgba(255, 255, 255, .2); }
.hk5 .k-video .c-track i { display: block; height: 100%; width: 100%; background: #ff3b30; }
.hk5 .k-video .c-yt { position: absolute; right: .7em; top: .6em; display: flex; align-items: center; gap: .35em; color: #e9e5dc; font: 400 .7em/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }

.hk5 .k-viewer .c-pages { position: relative; flex: 1; min-height: 6em; display: grid; }
.hk5 .k-viewer .c-pages > * { grid-area: 1 / 1; aspect-ratio: auto; height: 100%; }
.hk5 .k-viewer .c-faces { display: flex; gap: .6em; }


.hk5 .k-week .c-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: .35em; text-align: center; }
.hk5 .k-week .c-day { position: relative; padding: .45em 0 .75em; border-radius: .7em; background: color-mix(in srgb, var(--fill) 45%, var(--surface)); }
.hk5 .k-week .c-day.on { background: color-mix(in srgb, var(--brand) 10%, var(--surface)); }
.hk5 .k-week .c-day small { display: block; font: 400 .66em/1.4 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.hk5 .k-week .c-day b { font: 800 1.05em/1.2 var(--font-head); }
.hk5 .k-week .c-dot { position: absolute; left: 50%; bottom: .3em; width: .42em; height: .42em; margin-left: -.21em; border-radius: 50%; background: var(--brand); }

.hk5 .k-batch .c-teams { display: grid; grid-template-columns: 1fr 1fr; gap: .9em .6em; }
.hk5 .k-batch .c-team { display: flex; align-items: center; gap: .55em; color: var(--ink-2); }
.hk5 .k-batch .c-team .c-logo { width: 2.3em; height: 2.3em; }

.hk5 .k-door .c-toast { align-self: center; }
.hk5 .k-door .c-toast > span { display: inline-flex; align-items: center; gap: .5em; padding: .6em 1em; border-radius: .9em; background: var(--ink); color: var(--ground); font-weight: 600; white-space: nowrap; box-shadow: 0 .8em 1.6em -1em rgba(0, 0, 0, .5); }
.hk5 .k-door .c-toast .c-ic { color: var(--success); }

.hk5 .k-header .c-team { display: flex; gap: .35em; }
.hk5 .k-header .c-team .c-ava { width: 2.3em; height: 2.3em; }

.hk5 .k-adddeck .c-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: .45em; }
.hk5 .k-adddeck .c-thumbs .c-slide { flex: 1; width: auto; padding: .3em .35em; border-radius: .4em; }
.hk5 .k-adddeck .c-thumbs .c-slide i { display: block; height: .3em; width: 70%; border-radius: .2em; background: color-mix(in srgb, var(--tone) 55%, var(--surface)); }

/* Get started: the form is the card; on success the invite email drops in */
.hk5-gs .notify .hk5-formcard { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px; border-radius: 22px;
  background: var(--surface); border: 1px solid var(--key-line); box-shadow: 0 2px 0 var(--key-line), 0 22px 44px -34px rgba(22, 21, 19, .35); }
.hk5-gs .notify .row button { padding: 0 16px; }
.hk5-gs .notify .row { display: flex; flex-direction: column; gap: 8px; }
.hk5-gs .notify .row button { width: 100%; }
.hk5-gs .notify input[type=email] { flex: none; }
.hk5-gs .notify input[type=email] { background: color-mix(in srgb, var(--ground) 60%, var(--surface)); }
.hk5-gs .notify .consent a { color: inherit; }
.hk5-gs .notify .done { display: flex; flex-direction: column; align-items: stretch; gap: 10px; padding: 16px 18px; border-radius: 22px; border: 1px solid var(--key-line);
  box-shadow: 0 2px 0 var(--key-line); background: var(--surface); container-type: inline-size; }
.hk5-gs .notify .done > div:first-child { font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.hk5-gs .notify .done > div:first-child b { color: var(--ink); }
.hk5-gs .hk5-mail { display: flex; flex-direction: column; gap: .7em; padding: 1em 1.15em; border-radius: 1.1em; font: 400 3.1cqi/1.4 var(--font-sans); color: var(--ink);
  background: color-mix(in srgb, var(--ground) 55%, var(--surface)); border: 1px solid var(--key-line); box-shadow: 0 2px 0 var(--key-line); }
.hk5-gs .hk5-mail .c-mailtop { display: flex; align-items: center; gap: .6em; }
@media (max-width: 760px) {
  .hk5 .hk5-card .c-meta, .hk5 .hk5-card .c-num { font-size: 1em; }
  .hk5 .hk5-card .c-label { font-size: .82em; }
  .hk5-gs .notify .row { flex-direction: column; }
  .hk5-gs .notify input[type=email] { flex: none; }
  .hk5-gs .notify .hk5-formcard { padding: 18px; }
}

.hk5 .k-guests .c-li { height: 3em; }
.hk5 .k-verified .c-cover { height: 4.2em; }
.hk5 .k-verified .c-me { position: relative; z-index: 1; margin-top: -2.2em; align-items: flex-end; gap: .9em; }
.hk5 .k-closing .c-h { font-size: 1.7em; }
