/* Marker (public/js/marker.js): the one-time question, the Home chip, and signing cards in the live fourball. */

/* Ask once. */
.mk-ask h2 { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.15; margin: 6px 0 10px; font-variation-settings: "opsz" 144; }
.mk-p { margin: 0 0 12px; font-size: 16px; line-height: 1.45; }
.mk-what { margin: 0 0 16px; font-size: 15px; }
.mk-what summary { cursor: pointer; font-weight: 650; min-height: 44px; display: flex; align-items: center; }
.mk-what p { margin: 0; line-height: 1.45; opacity: .85; }
.mk-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* Home chip: one line, brass outline, opens Marker. */
.mk-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 12px; padding: 0 16px 0 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(201, 161, 74, .6); color: #fff; font: 600 15px/1 var(--sans); -webkit-tap-highlight-color: transparent; }
.mk-chip:active { transform: scale(.98); }
.mk-dot { width: 10px; height: 10px; border-radius: 3px; background: #F2C230; transform: rotate(8deg); }
.mk-name { font-weight: 700; }
.mk-sep { opacity: .55; }
.mk-bal { font-size: 17px; color: #F0D594; }

/* Live fourball: sign cards. */
.sg-me { margin: 0 0 12px; padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); font-size: 16px; }
.sg-me.ok { border-color: rgba(93, 187, 132, .6); }
.sg-item { padding: 14px 0; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.sg-name { margin: 0; font-size: 17px; }
.sg-done { font-size: 14px; color: var(--good); font-weight: 600; }
.sg-card { display: grid; gap: 6px; }
.sg-row { display: grid; grid-template-columns: repeat(9, 1fr); gap: 4px; }
.sg-h { display: grid; justify-items: center; gap: 2px; padding: 6px 0; border-radius: 8px; background: var(--surface); }
.sg-h i { font-style: normal; font-size: 13px; color: var(--quiet); }
.sg-h b { font-size: 20px; line-height: 1; }
.sg-h.under b { color: #7FB8FF; } .sg-h.over b { color: #F0A57A; }
.sg-tot { margin: 2px 0 0; text-align: right; font-size: 15px; color: var(--quiet); }
.sg-tot b { color: var(--ink); font-size: 20px; margin-left: 6px; }
.sg-btn { min-height: 48px; }

/* Marker card on Home (Luke, 2026-10-12): Marker's own mark and a warm yellow, as a partner, in the app's dusk language. */
.mk-card { position: relative; display: grid; gap: 12px; padding: 16px; border-radius: 18px; color: #fff; background: linear-gradient(160deg, rgba(243, 222, 110, .14), rgba(255, 255, 255, .05) 55%), #13331F; box-shadow: inset 0 0 0 1px rgba(243, 222, 110, .38), 0 12px 26px rgba(4, 28, 12, .3); clip-path: inset(0 round 18px); }
.mk-top { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; }
.mk-mark { width: 44px; height: 44px; border-radius: 11px; box-shadow: 0 2px 8px rgba(0, 0, 0, .35); }
.mk-body h2 { margin: 0; font-size: 15px; font-weight: 700; color: #fff; letter-spacing: 0; text-transform: none; }
.mk-sub { margin: 1px 0 0; font-size: 12.5px; color: rgba(255, 255, 255, .7); }
.mk-bal { font-family: var(--serif); font-size: 32px; line-height: 1; letter-spacing: -.01em; color: #F3DE6E; font-variation-settings: "opsz" 144; }
.mk-streak { display: grid; gap: 5px; }
.mk-bar { display: block; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.mk-bar i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, #F3DE6E, #F2C230); }
.mk-sl, .mk-draw { font-size: 12.5px; color: rgba(255, 255, 255, .78); }
.mk-draw { display: inline-flex; align-items: center; gap: 6px; }
.mk-draw::before { content: ''; width: 8px; height: 8px; border-radius: 2px; background: #A8221B; transform: rotate(8deg); }
.mk-btns2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mk-btn { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid transparent; font: 700 15px/1 var(--sans, system-ui); cursor: pointer; transition: transform 150ms ease-out; -webkit-tap-highlight-color: transparent; }
.mk-btn:active { transform: scale(.97); }
.mk-btn:disabled { opacity: .6; }
.mk-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.mk-btn.gold { background: #F3DE6E; color: #1D1B12; }
.mk-btn.ghost { background: transparent; color: #F3DE6E; border-color: rgba(243, 222, 110, .6); }
.mk-invite { grid-template-columns: auto 1fr; align-items: center; }
.mk-invite .mk-body p { margin: 4px 0 0; font-size: 13px; line-height: 1.4; color: rgba(255, 255, 255, .8); }
.mk-invite .mk-btn { grid-column: 1 / -1; }
.mk-invite { align-items: start; } .mk-invite .mk-body h2 { margin-top: 2px; }

/* Folding Marker card (Luke, 2026-10-12): folded = mark, name, points over rand, a chevron; open = streak, draw, buttons. */
.mk-card { gap: 0; padding: 12px 14px; }
.mk-fold { width: 100%; grid-template-columns: auto 1fr auto auto; gap: 12px; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.mk-fold:focus-visible { outline: 2px solid #F3DE6E; outline-offset: 4px; border-radius: 10px; }
.mk-fold .mk-mark { width: 38px; height: 38px; border-radius: 10px; }
.mk-h { display: block; font-size: 15px; font-weight: 700; }
.mk-sub { display: block; }
.mk-sum { display: grid; justify-items: end; gap: 2px; }
.mk-pts { font-size: 12px; font-weight: 700; letter-spacing: .02em; color: rgba(255, 255, 255, .78); font-family: var(--sans, system-ui); }
.mk-bal { font-size: 26px; }
.mk-chev { width: 18px; height: 18px; color: rgba(243, 222, 110, .85); transition: transform 200ms cubic-bezier(.2, .8, .2, 1); }
.mk-card.open .mk-chev { transform: rotate(180deg); }
.mk-more { display: grid; gap: 12px; padding-top: 14px; animation: mk-in 220ms cubic-bezier(.2, .8, .2, 1); }
.mk-more[hidden] { display: none; }
@keyframes mk-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .mk-more { animation: none; } .mk-chev { transition: none; } }

/* "How it works": a quiet text link on the open card, and the sheet it opens. */
.mk-how-link { justify-self: center; grid-column: 1 / -1; padding: 4px 8px; border: 0; background: none; color: rgba(243, 222, 110, .9); font: 600 13px/1.2 var(--sans, system-ui); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(243, 222, 110, .45); cursor: pointer; }
.mk-how-link:focus-visible { outline: 2px solid #F3DE6E; outline-offset: 2px; border-radius: 6px; }
.mk-how { max-height: 88svh; overflow: auto; }
.mk-how-head { display: flex; align-items: center; gap: 12px; margin: 4px 0 14px; }
.mk-how-head .mk-mark { width: 40px; height: 40px; border-radius: 10px; }
.mk-how-head h2 { margin: 0; font-size: 20px; }
.mk-steps { list-style: none; counter-reset: mk; margin: 0 0 14px; padding: 0; display: grid; gap: 14px; }
.mk-steps li { counter-increment: mk; display: grid; grid-template-columns: 30px 1fr; column-gap: 12px; row-gap: 2px; }
.mk-steps li::before { content: counter(mk); grid-row: 1 / span 2; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #F3DE6E; color: #1D1B12; font: 800 14px/1 var(--sans, system-ui); }
.mk-steps b { font-size: 15px; line-height: 1.3; }
.mk-steps span { font-size: 14px; line-height: 1.45; color: var(--ink-2, #33473B); }
.mk-how-btns { display: grid; gap: 10px; margin-top: 16px; }
.mk-how .mk-steps span { color: rgba(255, 255, 255, .8); } .mk-how .mk-steps b { color: #fff; } .mk-how .mk-what summary { color: #F3DE6E; }

/* Marker in real gold (Luke, 2026-10-12: "I want real gold… the writing almost etched into the gold, just blackened").
   The card is a photo of a real gold bar's polished face (img/marker-gold.webp, tools/make_gold.py, public domain), with a gloss
   band that slides with the phone's tilt (--tlx from Home's parallax) and a short glint every few seconds. No glow, no pulse.
   Lettering is blackened and engraved: dark fill, a dark lip above and a bright lip below, like a cut in the metal. */
.home .mk-card { --ink: #160E02; color: var(--ink); border-radius: 20px; clip-path: inset(0 round 20px);
  background:
    linear-gradient(112deg, transparent calc(26% + var(--tlx, 0) * 22%), rgba(255, 250, 225, .38) calc(40% + var(--tlx, 0) * 22%), transparent calc(54% + var(--tlx, 0) * 22%)),
    radial-gradient(130% 120% at 30% 0%, rgba(255, 245, 200, .18), transparent 60%),
    url(/img/marker-gold.webp) 50% 50% / cover, #D9A93A;
  box-shadow: inset 0 1.5px 0 rgba(255, 248, 210, .8), inset 0 -2px 0 rgba(100, 62, 6, .5), inset 0 0 0 1px rgba(110, 72, 8, .6), 0 14px 28px rgba(4, 28, 12, .42); }
.home .mk-card::after { content: ''; position: absolute; inset: -20% -60%; pointer-events: none; transform: translateX(-70%) rotate(18deg);
  background: linear-gradient(90deg, transparent 46%, rgba(255, 255, 245, .75) 50%, transparent 54%); mix-blend-mode: soft-light; animation: mk-glint 7s cubic-bezier(.4, 0, .2, 1) 1.2s infinite; }
@keyframes mk-glint { 0% { transform: translateX(-70%) rotate(18deg); } 14%, 100% { transform: translateX(70%) rotate(18deg); } }
.home .mk-card { --etch: 0 -1px 0 rgba(60, 35, 0, .55), 0 1px 0 rgba(255, 240, 190, .75); }
.home .mk-card :is(h2, .mk-h) { color: var(--ink); font-family: var(--serif); font-weight: 600; font-size: 21px; line-height: 1.1; letter-spacing: -.005em; text-shadow: var(--etch); }
.home .mk-card .mk-sub { color: rgba(22, 14, 2, .82); text-shadow: var(--etch); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-top: 3px; }
.home .mk-card .mk-mark { box-shadow: 0 0 0 1.5px rgba(90, 60, 5, .55), 0 3px 8px rgba(80, 50, 0, .35); }
.home .mk-card .mk-bal { color: var(--ink); text-shadow: var(--etch); }
.home .mk-card :is(.mk-pts, .mk-sl, .mk-draw) { color: rgba(22, 14, 2, .9); text-shadow: 0 1px 0 rgba(255, 240, 190, .55); }
.home .mk-card .mk-chev { color: var(--ink); }
.home .mk-card .mk-bar { background: rgba(60, 38, 0, .2); box-shadow: inset 0 1px 1px rgba(60, 38, 0, .3); }
.home .mk-card .mk-bar i { background: linear-gradient(90deg, #3A2706, #1E1402); }
.home .mk-card .mk-btn.gold { background: linear-gradient(#241A08, #120C02); color: #F3D27A; box-shadow: inset 0 1px 0 rgba(255, 230, 160, .18), 0 1px 0 rgba(255, 240, 190, .6), 0 -1px 0 rgba(60, 35, 0, .5); }
.home .mk-card .mk-btn.ghost { color: var(--ink); border-color: rgba(43, 29, 4, .55); }
.home .mk-card .mk-btn:focus-visible, .home .mk-card .mk-fold:focus-visible, .home .mk-card .mk-how-link:focus-visible { outline-color: var(--ink); }
.home .mk-card .mk-how-link { color: var(--ink); text-decoration-color: rgba(22, 14, 2, .5); text-shadow: 0 1px 0 rgba(255, 240, 190, .55); }
/* Invite layout: name row on top, words across the full width, then the two actions side by side (they were stacked and crowded). */
.home .mk-invite { display: grid; grid-template-columns: 1fr; gap: 12px; padding: 18px; }
.home .mk-invite .mk-top { display: flex; align-items: center; gap: 12px; }
.home .mk-invite .mk-mark { width: 46px; height: 46px; border-radius: 12px; }
.home .mk-invite h2 { margin: 0; }
.home .mk-p2 { margin: 0; font-size: 14.5px; line-height: 1.45; font-weight: 500; color: rgba(22, 14, 2, .92); text-shadow: 0 1px 0 rgba(255, 240, 190, .55); }
.home .mk-acts { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 2px; }
.home .mk-acts .mk-btn { flex: 0 1 auto; min-width: 150px; }
@media (prefers-reduced-motion: reduce) { .home .mk-card::after { animation: none; display: none; } }
.home .mk-card .mk-h { font-size: 18px; white-space: nowrap; }
@media (max-width: 380px) { .home .mk-card .mk-h { font-size: 16px; } .home .mk-card .mk-bal { font-size: 22px; } .home .mk-card .mk-fold { gap: 10px; } .home .mk-card .mk-sub { letter-spacing: .1em; } }

/* Aztec treasure plaque (Luke, 2026-10-12: "this kind of Aztec gold… myth, mystery, exploration"; round 2: "real symbols…
   more of the gold aspect than the faded writing"). His ornate gold scrollwork (img/marker-scroll.webp, brightened; supplied by
   Luke — licence unknown, demo-only until replaced) is the frame. The panel is polished real gold with a fine monogram of seven Aztec
   signs (img/marker-glyphs.svg, tools/make_marker_glyphs.py: sun, movement, jade, stepped spiral, wind jewel, flower, flint)
   raised in the metal, like a luxury monogram — prestigious, not jungle. A stepped-fret band (xicalcoliuhqui), raised gold not ink, runs along the panel's top and bottom.
   Only the words are blackened. */
.home .mk-card { border: 14px solid transparent; border-radius: 22px; clip-path: inset(0 round 22px);
  background:
    linear-gradient(112deg, transparent calc(26% + var(--tlx, 0) * 22%), rgba(255, 252, 230, .42) calc(40% + var(--tlx, 0) * 22%), transparent calc(54% + var(--tlx, 0) * 22%)),
    linear-gradient(170deg, rgba(255, 250, 215, .5) 0%, rgba(255, 250, 215, 0) 28%, rgba(120, 70, 0, .16) 62%, rgba(255, 236, 170, .3) 100%) padding-box,
    url(/img/marker-emboss.webp) 0 0 / 210px auto repeat padding-box,   /* our marks embossed in gold, same as the Marker app (marker-rewards brand/print/make_emboss.py) */
    url(/img/marker-scroll.webp) 50% 50% / 210px auto border-box, #C99A3A border-box;
  box-shadow: inset 0 0 0 1px rgba(70, 42, 0, .7), inset 0 2px 5px rgba(80, 48, 0, .45), 0 0 0 1px rgba(90, 58, 8, .7), 0 14px 28px rgba(4, 28, 12, .42); }
.home .mk-card::before { content: ''; position: absolute; left: 8px; right: 8px; top: 5px; bottom: 5px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='12' viewBox='0 0 24 12'%3E%3Cg fill='none' stroke-width='1.4' stroke-linecap='square'%3E%3Cpath d='M0 11.3H24M2 11.3V8H6V4.6H10V1.2H21V8.4H14.2V5H17.4' stroke='%23FFF2C0' stroke-opacity='.9' transform='translate(.7 .7)'/%3E%3Cpath d='M0 11.3H24M2 11.3V8H6V4.6H10V1.2H21V8.4H14.2V5H17.4' stroke='%234A2C00' stroke-opacity='.85'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 24px 12px round no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='12' viewBox='0 0 24 12'%3E%3Cg transform='matrix(1 0 0 -1 0 12)' fill='none' stroke-width='1.4' stroke-linecap='square'%3E%3Cpath d='M0 11.3H24M2 11.3V8H6V4.6H10V1.2H21V8.4H14.2V5H17.4' stroke='%23FFF2C0' stroke-opacity='.9' transform='translate(.7 .7)'/%3E%3Cpath d='M0 11.3H24M2 11.3V8H6V4.6H10V1.2H21V8.4H14.2V5H17.4' stroke='%234A2C00' stroke-opacity='.85'/%3E%3C/g%3E%3C/svg%3E") 0 100% / 24px 12px round no-repeat; }
.home .mk-invite { padding: 24px 16px 22px; }
.home .mk-card:not(.mk-invite) { padding: 21px 13px; }
/* Sparkle: three tiny four-point stars that catch the light in turn, a few seconds apart. */
.home .mk-spark { position: absolute; z-index: 2; width: 12px; height: 12px; pointer-events: none; opacity: 0; transform: scale(.2);
  background: radial-gradient(circle, #fff 0 1.2px, transparent 2px), linear-gradient(#fff, #fff) 50% 50% / 1.4px 100% no-repeat, linear-gradient(#fff, #fff) 50% 50% / 100% 1.4px no-repeat;
  -webkit-mask: radial-gradient(circle, #000 25%, transparent 70%); mask: radial-gradient(circle, #000 25%, transparent 70%); animation: mk-twinkle 6.5s ease-in-out infinite; }
.home .mk-spark:nth-of-type(1) { left: -9px; top: -9px; animation-delay: 1.4s; }
.home .mk-spark:nth-of-type(2) { right: 18%; top: -10px; animation-delay: 3.6s; }
.home .mk-spark:nth-of-type(3) { left: 46%; bottom: -10px; animation-delay: 5.4s; }
@keyframes mk-twinkle { 0%, 84%, 100% { opacity: 0; transform: scale(.2) rotate(0deg); } 90% { opacity: 1; transform: scale(1.15) rotate(45deg); } }
@media (prefers-reduced-motion: reduce) { .home .mk-spark { display: none; } }

/* The Vault (Luke, 13 Oct 2026), matching the Marker app: the words sit on a smooth polished gold plate inside the
   embossed frame (writing over the raised marks looked fake), and the rand value is a lit digital display set into the
   gold (DSEG7, SIL OFL, public/fonts/). */
@font-face { font-family: "Marker LED"; src: url(/fonts/DSEG7Classic-Bold.woff2) format("woff2"); font-display: swap;
  unicode-range: U+0020, U+002C-002E, U+0030-003A; }
.home .mk-card { padding-top: 30px !important; padding-bottom: 30px !important; }
.home .mk-card:not(.mk-invite) { padding-left: 22px !important; padding-right: 22px !important; }
.home .mk-plate { position: absolute; inset: 20px 12px; z-index: 0; border-radius: 10px; pointer-events: none;
  background:
    linear-gradient(112deg, rgba(255, 252, 230, 0) 30%, rgba(255, 252, 230, .35) 45%, rgba(255, 252, 230, 0) 60%),
    linear-gradient(165deg, #F7DB86 0%, #E4B54C 30%, #F2CF74 52%, #D3A03A 78%, #E8C064 100%);
  box-shadow: inset 0 2px 4px rgba(90, 55, 0, .45), inset 0 -1px 0 rgba(255, 244, 200, .7), 0 1px 0 rgba(255, 244, 200, .55); }
.home .mk-card > :not(.mk-plate):not(.mk-spark) { position: relative; z-index: 1; }
.home .mk-card .mk-led { font-family: "Marker LED", var(--serif) !important; font-weight: 700; letter-spacing: .04em; font-size: 20px !important;
  color: #FFB02E !important; text-shadow: 0 0 6px rgba(255, 150, 30, .55), 0 0 1px #FFB02E !important;
  background: #0D0A04; border-radius: 7px; padding: 5px 8px 4px; line-height: 1;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, .8), 0 0 0 1.5px rgba(0, 0, 0, .55), 0 1px 0 rgba(255, 240, 190, .5); }
.home .mk-card .mk-pts { font-size: 11px; letter-spacing: .04em; white-space: nowrap; }
.home .mk-card .mk-sub { white-space: nowrap; }
.home .mk-card .mk-pts { display: inline-flex; align-items: center; gap: 5px; }
.home .mk-card .mk-led-sm { font-size: 12px !important; padding: 3px 5px 2px; border-radius: 5px; }
@media (max-width: 380px) {
  .home .mk-card .mk-h { font-size: 16px; }
  .home .mk-card .mk-led:not(.mk-led-sm) { font-size: 16px !important; padding: 4px 6px 3px; }
  .home .mk-card .mk-fold { gap: 8px; }
  .home .mk-card .mk-fold .mk-mark { width: 32px; height: 32px; }
}
/* the folded wallet line has to fit a 340 px phone with a four-figure rand balance */
.home .mk-card:not(.mk-invite) { padding-left: 16px !important; padding-right: 16px !important; }
.home .mk-card .mk-fold { gap: 8px; }
.home .mk-card .mk-fold .mk-mark { width: 34px; height: 34px; }
.home .mk-card .mk-h { font-size: 18px; white-space: nowrap; }
.home .mk-card .mk-led:not(.mk-led-sm) { font-size: 17px !important; padding: 4px 7px 3px; }
.home .mk-card .mk-sum { gap: 4px; }
@media (max-width: 380px) { .home .mk-card .mk-h { font-size: 16px; } .home .mk-card .mk-led:not(.mk-led-sm) { font-size: 15px !important; } }
.home .mk-card .mk-led { white-space: nowrap; }
@media (max-width: 380px) { .home .mk-card .mk-sub { font-size: 9.5px; letter-spacing: .1em; } .home .mk-card .mk-fold { gap: 6px; } .home .mk-card .mk-fold .mk-mark { width: 30px; height: 30px; } }
@media (max-width: 350px) { .home .mk-card .mk-h { font-size: 14px; } .home .mk-card .mk-led:not(.mk-led-sm) { font-size: 13px !important; } .home .mk-card:not(.mk-invite) { padding-left: 12px !important; padding-right: 12px !important; } }

/* "How it works" (Luke, 13 Oct 2026: "copy that feel and style over"): the sheet is the same gold plaque as the card —
   our embossed gold as the frame, a smooth polished plate under the words, the stepped-fret bands, digital step numbers
   and the rate in lit displays. Name: Marker first, The Vault beside it. */
.sheet.mk-how { background: url(/img/marker-emboss.webp) 0 0 / 210px auto repeat, #D6A83E; color: #160E02; padding: 10px 12px calc(16px + var(--sab, 0px));
  box-shadow: inset 0 1.5px 0 rgba(255, 248, 210, .85), 0 -10px 30px rgba(0, 0, 0, .45); }
.sheet.mk-how .handle { background: rgba(22, 14, 2, .4); }
.mk-how-plate { position: relative; padding: 34px 18px 28px; border-radius: 14px;
  background: linear-gradient(112deg, rgba(255, 252, 230, 0) 30%, rgba(255, 252, 230, .35) 45%, rgba(255, 252, 230, 0) 60%),
    linear-gradient(165deg, #F7DB86 0%, #E4B54C 30%, #F2CF74 52%, #D3A03A 78%, #E8C064 100%);
  box-shadow: inset 0 2px 5px rgba(90, 55, 0, .45), inset 0 -1px 0 rgba(255, 244, 200, .7), 0 1px 0 rgba(255, 244, 200, .55); }
.mk-how-plate::before { content: ""; position: absolute; left: 10px; right: 10px; top: 8px; bottom: 8px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='12' viewBox='0 0 24 12'%3E%3Cg fill='none' stroke-width='1.4' stroke-linecap='square'%3E%3Cpath d='M0 11.3H24M2 11.3V8H6V4.6H10V1.2H21V8.4H14.2V5H17.4' stroke='%23FFF2C0' stroke-opacity='.9' transform='translate(.7 .7)'/%3E%3Cpath d='M0 11.3H24M2 11.3V8H6V4.6H10V1.2H21V8.4H14.2V5H17.4' stroke='%234A2C00' stroke-opacity='.85'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 24px 12px round no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='12' viewBox='0 0 24 12'%3E%3Cg transform='matrix(1 0 0 -1 0 12)' fill='none' stroke-width='1.4' stroke-linecap='square'%3E%3Cpath d='M0 11.3H24M2 11.3V8H6V4.6H10V1.2H21V8.4H14.2V5H17.4' stroke='%23FFF2C0' stroke-opacity='.9' transform='translate(.7 .7)'/%3E%3Cpath d='M0 11.3H24M2 11.3V8H6V4.6H10V1.2H21V8.4H14.2V5H17.4' stroke='%234A2C00' stroke-opacity='.85'/%3E%3C/g%3E%3C/svg%3E") 0 100% / 24px 12px round no-repeat; }
.mk-how-plate :is(h2, b, strong, summary) { color: #160E02 !important; }
.mk-how-plate :is(p, span) { color: rgba(22, 14, 2, .86) !important; }
.mk-how .mk-how-head { gap: 14px; margin: 4px 0 16px; }
.mk-how .mk-how-head .mk-mark { width: 48px; height: 48px; border-radius: 12px; box-shadow: 0 0 0 1.5px rgba(90, 60, 5, .55), 0 3px 8px rgba(80, 50, 0, .35); }
.mk-how .mk-how-head h2 { margin: 0; font: 600 30px/1 var(--serif); letter-spacing: -.005em; text-shadow: 0 -1px 0 rgba(60, 35, 0, .45), 0 1px 0 rgba(255, 240, 190, .75); }
.mk-how-sub { display: block; margin-top: 5px; font: 700 11px/1 var(--sans, system-ui); letter-spacing: .2em; text-transform: uppercase; }
.mk-how-rate { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 0 0 18px; font: 700 12px var(--sans, system-ui); letter-spacing: .1em; text-transform: uppercase; }
.mk-how-rate i { font-style: normal; font-size: 18px; color: #160E02; }
.mk-led { font-family: "Marker LED", var(--serif) !important; font-weight: 700; letter-spacing: .04em; color: #FFB02E !important;
  text-shadow: 0 0 6px rgba(255, 150, 30, .55), 0 0 1px #FFB02E !important; background: #0D0A04; border-radius: 7px; padding: 5px 9px 4px; line-height: 1; white-space: nowrap;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, .8), 0 0 0 1.5px rgba(0, 0, 0, .55), 0 1px 0 rgba(255, 240, 190, .5); }
.mk-how-rate .mk-led { font-size: 20px; }
.mk-how .mk-steps { gap: 16px; }
.mk-how .mk-steps li { grid-template-columns: 38px 1fr; }
.mk-how .mk-steps li::before { width: 34px; height: 34px; border-radius: 8px; background: #0D0A04; color: #FFB02E;
  font: 700 17px/1 "Marker LED", var(--serif); text-shadow: 0 0 6px rgba(255, 150, 30, .55);
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, .8), 0 0 0 1.5px rgba(0, 0, 0, .55), 0 1px 0 rgba(255, 240, 190, .5); }
.mk-how .mk-steps b { font-size: 16px; }
.mk-how .mk-what { border-top: 1px solid rgba(22, 14, 2, .25); padding-top: 4px; }
.mk-how .mk-how-btns .btn { border: 0; }
.mk-how .mk-how-btns .btn.primary { background: linear-gradient(#241A08, #120C02); color: #F3D27A; box-shadow: inset 0 1px 0 rgba(255, 230, 160, .18), 0 1px 0 rgba(255, 240, 190, .6); }
.mk-how .mk-how-btns .btn:not(.primary) { background: transparent; color: #160E02; box-shadow: inset 0 0 0 1.5px rgba(22, 14, 2, .55); }
.sheet.show.mk-how { background: url(/img/marker-emboss.webp) 0 0 / 210px auto repeat, #D6A83E !important; border: 0 !important; }
.mk-how-plate .mk-led, .mk-how-plate b.mk-led { color: #FFB02E !important; text-shadow: 0 0 6px rgba(255, 150, 30, .55), 0 0 1px #FFB02E !important; }
.mk-how .mk-how-btns .btn.primary { background: linear-gradient(#241A08, #120C02) !important; color: #F3D27A !important; border: 0 !important; }
.mk-how .mk-how-btns .btn:not(.primary) { background: transparent !important; color: #160E02 !important; border: 0 !important; }

/* Marker, big, with "The Vault" signed small just above it (Luke, 13 Oct 2026). Handwriting: see the Allura rule below, SIL OFL,
   self-hosted in public/fonts/. */

.mk-name { display: grid; justify-items: start; line-height: 1; }
.mk-sig { font: 400 21px/0.7 "Vault Hand", cursive; color: #2A1A03; transform: rotate(-5deg); transform-origin: left bottom;
  margin: 0 0 1px 6px; white-space: nowrap; text-shadow: 0 1px 0 rgba(255, 240, 190, .5); }
.home .mk-card .mk-h { font-size: 26px; line-height: 1; }
.home .mk-invite h2 { font-size: 30px !important; }
.mk-how .mk-how-head h2 { font-size: 34px; }
.mk-how .mk-sig { font-size: 24px; }
@media (max-width: 380px) { .home .mk-card .mk-h { font-size: 22px; } .mk-sig { font-size: 18px; } }
/* the signature starts above the "er" of Marker (Luke) */
.mk-name { display: inline-grid; position: relative; padding-top: 14px; }
.mk-name .mk-sig { position: absolute; left: 60%; bottom: calc(100% - 16px); margin: 0; }
.home .mk-invite .mk-name { padding-top: 16px; }
.mk-how .mk-name { padding-top: 16px; }
.mk-how .mk-name { padding-top: 22px; }
/* signature (Luke picked option 4, "neat but still a bit spontaneous"): Dancing Script, SIL OFL, public/fonts/.
   It starts over the "e" of Marker (72% across the word, measured). */
@font-face { font-family: "Vault Hand"; src: url(/fonts/dancing-script-latin-400.woff2) format("woff2"); font-display: swap; }
.mk-sig { font: 400 19px/0.85 "Vault Hand", cursive; transform: rotate(-4deg); }
.mk-name .mk-sig { left: 72%; }
.mk-how .mk-sig { font-size: 22px; }
@media (max-width: 380px) { .mk-sig { font-size: 16px; } }
.home .mk-card:not(.mk-invite) .mk-sig { font-size: 16px; }
.home .mk-card:not(.mk-invite) .mk-sum { padding-top: 6px; }
@media (max-width: 380px) { .home .mk-card:not(.mk-invite) .mk-sig { font-size: 13.5px; } }
