/* Smoke Source menu: clean white layout. System font, thin lines, no boxes. */
:root {
  --bg: #fff; --fg: #111; --muted: #6e6e73; --faint: #8e8e93; --line: #e8e8ea; --fill: #f2f2f4;
  --sab: env(safe-area-inset-bottom, 0px);
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--fg); font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-size: 16px; line-height: 1.45; -webkit-font-smoothing: antialiased; }
.wrap { max-width: 960px; margin: 0 auto; padding: 0 20px; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
.small { font-size: 13px; color: var(--muted); }
[hidden] { display: none !important; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border: 0; border-radius: 10px; background: var(--fill); color: var(--fg); font: inherit; font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer; }
.btn.solid { background: var(--fg); color: #fff; }
.btn:focus-visible, input:focus-visible, .cat:focus-visible, summary:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }

/* header */
.top { padding: 28px 0 22px; }
/* the logo file is white on transparent (made for a black page); invert it to black for the white page */
.logo, .gate-box img { filter: invert(1); }
.logo { width: 148px; height: auto; display: block; }
.head { margin-top: 18px; font-size: 28px; font-weight: 650; letter-spacing: -.02em; line-height: 1.15; }
.addr { margin-top: 6px; color: var(--muted); font-size: 15px; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }

/* search + categories */
.tools { position: sticky; top: 0; z-index: 5; background: rgba(255,255,255,.97); padding: 12px 0 10px; display: flex; flex-direction: column; gap: 10px; border-bottom: 1px solid var(--line); }
input[type=search] { width: 100%; font: inherit; font-size: 16px; color: var(--fg); background: var(--fill) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%238e8e93' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat 12px 50%; border: 0; border-radius: 10px; padding: 11px 14px 11px 38px; -webkit-appearance: none; appearance: none; }
input[type=search]::placeholder { color: var(--faint); }
.cats { display: flex; gap: 6px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.cats::-webkit-scrollbar { display: none; }
.cat { flex: none; border: 0; background: var(--fill); color: var(--fg); padding: 7px 14px; border-radius: 999px; font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; white-space: nowrap; }
.cat[aria-pressed="true"] { background: var(--fg); color: #fff; }
.tools .small { margin: 0; }

/* menu */
#menu { padding: 4px 0 40px; }
.sec { padding-top: 28px; scroll-margin-top: 140px; }
.sec h2 { font-size: 20px; font-weight: 650; letter-spacing: -.01em; display: flex; align-items: baseline; gap: 8px; padding-bottom: 4px; }
.sec h2 span { font-size: 15px; font-weight: 400; color: var(--faint); }
.grid { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: 40px; }
@media (min-width: 760px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.item { padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.item .row { display: flex; gap: 16px; align-items: baseline; }
.item .nm { flex: 1; font-weight: 500; overflow-wrap: anywhere; }
.item .pr { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.item .br { font-size: 14px; color: var(--muted); }
.item details { margin-top: 2px; }
.item summary { cursor: pointer; font-size: 14px; color: var(--muted); list-style: none; display: inline-block; }
.item summary::-webkit-details-marker { display: none; }
.item summary::after { content: " \203A"; display: inline-block; margin-left: 2px; transition: transform .15s; }
.item details[open] summary::after { transform: rotate(90deg); }
.item ul { list-style: none; margin: 6px 0 2px; padding: 0; display: flex; flex-direction: column; gap: 3px; font-size: 14px; color: var(--muted); }
.item li { display: flex; justify-content: space-between; gap: 12px; }
.item li span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.empty { color: var(--muted); padding: 36px 0; text-align: center; }

.foot { border-top: 1px solid var(--line); padding: 24px 0 calc(32px + var(--sab)); color: var(--muted); font-size: 14px; }
.foot p + p { margin-top: 6px; }

/* 21+ check */
.gate { position: fixed; inset: 0; z-index: 50; background: #fff; display: flex; align-items: center; justify-content: center; padding: 24px 20px; }
.gate-box { max-width: 360px; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.gate-box img { width: 148px; height: auto; margin-bottom: 10px; }
.gate-box h1 { font-size: 24px; font-weight: 650; letter-spacing: -.02em; }
.gate-box p { color: var(--muted); }
.gate-btns { display: flex; gap: 10px; width: 100%; margin-top: 8px; }
.gate-btns .btn { flex: 1; min-height: 48px; }

@media (max-width: 520px) {
  .logo { width: 128px; }
  .head { font-size: 26px; }
  .actions .btn { flex: 1; padding: 0 10px; }
}
