/* Self-hosted Google Fonts (SIL Open Font License). Subsets: latin, latin-ext. */
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/caveat-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/caveat-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/caveat-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/caveat-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Luckiest Guy';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/luckiest-guy-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Luckiest Guy';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/luckiest-guy-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Patrick Hand';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/patrick-hand-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Patrick Hand';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/patrick-hand-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

body { margin: 0; }

  :root {
    --bg: #211A1C;
    --surface: #2D2427;
    --surface-2: #372C30;
    --line: #4A3C40;
    --text: #F6EEEF;
    --muted: #B9A8AC;
    --accent: #E4787A;
    --peel: #F5A524;
    color-scheme: dark;
  }
  * { box-sizing: border-box; }
  [hidden] { display: none !important; }
  html, body { background: var(--bg); }
  .site-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; border-top: 1px solid var(--line); padding-top: 14px; margin-top: 18px; color: var(--muted); font-size: 15px; }
  .site-foot nav { display: flex; gap: 16px; }
  .site-foot a { color: var(--muted); text-underline-offset: 3px; }
  .site-foot a:hover { color: var(--text); }
  body {
    color: var(--text);
    font-family: "Patrick Hand", ui-rounded, "Segoe UI", system-ui, sans-serif;
    font-size: 18px;
    line-height: 1.4;
    padding-block: 24px 56px;
    padding-inline: 16px;
  }
  .page { max-width: 1340px; margin: 0 auto; display: grid; gap: 18px; }
  .masthead { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 4px 20px; }
  .logo {
    margin: 0;
    font-family: "Luckiest Guy", "Arial Black", Impact, sans-serif;
    font-weight: 400;
    font-size: clamp(26px, 4vw, 38px);
    letter-spacing: .03em;
    color: var(--accent);
    text-shadow: 3px 3px 0 #7E3A40;
  }
  .masthead p { margin: 0; color: var(--muted); }
  .logo-n { color: var(--peel); text-shadow: 3px 3px 0 #8A5A10; }

  .app { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 24px; align-items: start; }
  .side { position: sticky; top: calc(16px + env(safe-area-inset-top, 0px)); display: grid; gap: 10px; }
  .search { position: relative; }
  .search svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); fill: var(--muted); pointer-events: none; }
  #q {
    width: 100%; height: 50px; border-radius: 14px; border: 1.5px solid var(--line);
    background: var(--surface); color: var(--text); font: inherit; font-size: 19px; padding: 0 14px 0 42px;
  }
  #q::placeholder { color: #8D7C80; }
  #q:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(228, 120, 122, .25); }
  .filters { display: flex; flex-wrap: wrap; gap: 6px; }
  .filter {
    border: 1px solid var(--line); background: transparent; color: var(--muted); border-radius: 999px;
    padding: 1px 10px 2px; font: inherit; font-size: 15px; cursor: pointer;
  }
  .filter:hover { color: var(--text); }
  .filter[aria-pressed="true"] { background: var(--peel); border-color: var(--peel); color: #2A1D20; }
  .hint { font-size: 15px; color: var(--muted); min-height: 1.4em; }
  .hint kbd { font-family: ui-monospace, Consolas, monospace; font-size: 12px; border: 1px solid var(--line); border-radius: 4px; padding: 0 4px; }

  .results { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; max-height: calc(100vh - 280px); overflow-y: auto; }
  .item {
    width: 100%; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 12px; align-items: center;
    padding: 5px 10px 5px 5px; border-radius: 12px; border: 1px solid transparent; background: transparent;
    color: var(--text); font: inherit; text-align: left; cursor: pointer;
  }
  .item:hover { background: var(--surface); }
  .item.top { border-color: var(--line); }
  .item[aria-current="true"] { background: var(--surface-2); border-color: var(--accent); }
  .item canvas { width: 52px; height: 58px; border-radius: 8px; background: #fff; display: block; }
  .item .nm { font-family: "Luckiest Guy", "Arial Black", sans-serif; font-size: 16px; letter-spacing: .03em; line-height: 1.15; }
  .item .mt { display: block; font-size: 14px; color: var(--muted); line-height: 1.2; }
  .item .why { display: block; font-size: 13px; color: var(--peel); line-height: 1.2; }
  .empty { color: var(--muted); font-size: 16px; margin: 0; padding: 8px 4px; }

  .main { display: grid; gap: 12px; min-width: 0; }
  .now { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
  .now h1, .now h2 { margin: 0; font-family: "Luckiest Guy", "Arial Black", sans-serif; font-weight: 400; font-size: 26px; letter-spacing: .03em; }
  .badge { font-size: 15px; color: #2A1D20; background: var(--peel); border-radius: 999px; padding: 1px 10px; }
  .badge.soft { background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); }
  .stage { border-radius: 16px; overflow: hidden; background: #FFFFFF; box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .7); }
  #stage { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 16 / 9; cursor: pointer; }
  .bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
  .btn {
    appearance: none; border: 1px solid var(--line); background: var(--surface); color: var(--text);
    height: 40px; min-width: 40px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center;
    gap: 8px; padding: 0 12px; font: inherit; cursor: pointer;
  }
  .btn:hover { border-color: var(--accent); }
  .btn:disabled { opacity: .6; cursor: default; }
  .btn svg { width: 18px; height: 18px; fill: currentColor; }
  .btn:focus-visible, .chip:focus-visible, .item:focus-visible, .filter:focus-visible, #scrub:focus-visible { outline: 2px solid var(--peel); outline-offset: 2px; }
  .time { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 14px; font-variant-numeric: tabular-nums; color: var(--muted); min-width: 92px; }
  #scrub { flex: 1 1 220px; min-width: 0; accent-color: var(--accent); height: 24px; }
  .chips { display: flex; flex-wrap: wrap; gap: 6px; }
  .chip {
    border: 1px solid var(--line); background: transparent; color: var(--muted); border-radius: 999px;
    padding: 2px 11px 3px; font: inherit; font-size: 15px; cursor: pointer; display: inline-flex; align-items: baseline; gap: 6px;
  }
  .chip small { font-family: ui-monospace, Consolas, monospace; font-size: 11px; opacity: .75; }
  .chip:hover { color: var(--text); border-color: var(--muted); }
  .chip[aria-current="step"] { background: var(--accent); border-color: var(--accent); color: #2A1D20; }

  .recipe { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 20px 40px; border-top: 1px solid var(--line); padding-top: 18px; margin-top: 6px; }
  .recipe h3 { margin: 0 0 8px; font-family: "Luckiest Guy", "Arial Black", sans-serif; font-weight: 400; font-size: 17px; letter-spacing: .06em; color: var(--muted); }
  .recipe ul, .recipe ol { margin: 0; padding: 0; }
  .recipe ul { list-style: none; display: grid; gap: 4px; }
  .recipe ul li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed var(--line); padding-bottom: 4px; }
  .recipe ul li span:last-child { color: var(--muted); white-space: nowrap; text-align: right; }
  .recipe ul li small { color: #8D7C80; font-size: 14px; margin-left: 6px; }
  .recipe ol { padding-left: 1.4em; display: grid; gap: 4px; }
  .recipe ol li::marker { color: var(--accent); }
  .recipe dl { display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; margin: 14px 0 0; font-size: 16px; }
  .recipe dt { color: var(--muted); }
  .recipe dd { margin: 0; }
  a.item { text-decoration: none; }
  .logo a { color: inherit; text-decoration: none; }
  .related { border-top: 1px solid var(--line); padding-top: 14px; }
  .related h3, .az h2 { margin: 0 0 10px; font-family: "Luckiest Guy", "Arial Black", sans-serif; font-weight: 400; font-size: 17px; letter-spacing: .06em; color: var(--muted); }
  .related ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
  .related a { display: inline-block; border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px 4px; color: var(--text); text-decoration: none; font-size: 16px; }
  .related a:hover { border-color: var(--accent); }
  .az { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 8px; }
  .az ul { list-style: none; margin: 0; padding: 0; columns: 190px; column-gap: 24px; font-size: 15px; }
  .az li { break-inside: avoid; padding: 1px 0; }
  .az a { color: var(--muted); text-decoration: none; }
  .az a:hover { color: var(--text); text-decoration: underline; }
  .related a:focus-visible, .az a:focus-visible, .logo a:focus-visible { outline: 2px solid var(--peel); outline-offset: 2px; }
  .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

  .mast-right { display: flex; align-items: center; gap: 10px 16px; flex-wrap: wrap; }
  .region { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: var(--surface); }
  .region button {
    appearance: none; border: 0; background: transparent; color: var(--muted); font: inherit; font-size: 15px;
    border-radius: 999px; padding: 4px 12px; cursor: pointer; display: inline-flex; align-items: baseline; gap: 6px;
  }
  .region button b { font-family: "Luckiest Guy", "Arial Black", sans-serif; font-weight: 400; font-size: 15px; letter-spacing: .04em; }
  .region button:hover { color: var(--text); }
  .region button[aria-pressed="true"] { background: var(--accent); color: #2A1D20; }
  .region button:focus-visible { outline: 2px solid var(--peel); outline-offset: 2px; }

  @media (max-width: 900px) {
    .app { grid-template-columns: 1fr; }
    .side { position: static; }
    .results { display: flex; overflow-x: auto; overflow-y: hidden; max-height: none; padding-bottom: 6px; gap: 8px; }
    .results li { flex: 0 0 auto; }
    .item { width: 118px; grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 6px; padding: 8px; border-color: var(--line); }
    .item canvas { width: 80px; height: 88px; }
    .item .why { display: none; }
  }
  @media (max-width: 640px) { .recipe { grid-template-columns: 1fr; } }
