/* House layer, step one: Shop, Pairing, Recognition. Nothing else.
   Every rule either styles a node added by house-layer.js (class hl-*, only ever present on these
   three tabs) or is scoped with body[data-view="pairing"]. House palette only. */
:root{
  --hl-cream:#ECE6D6; --hl-ink:#1A2117; --hl-gold:#D7B358; --hl-green:#A9BE3F; --hl-blue:#6C98D4;
  --hl-meta:"Hanken Grotesk",system-ui,sans-serif;
}
[data-hl] svg{display:block;width:100%;height:100%;overflow:visible}
.hl-acc-green{--hl-acc:var(--hl-green)} .hl-acc-gold{--hl-acc:var(--hl-gold)} .hl-acc-blue{--hl-acc:var(--hl-blue)}
.hl-on-light.hl-acc-green{--hl-acc:#93AB27} .hl-on-light.hl-acc-gold{--hl-acc:#C99F38} .hl-on-light.hl-acc-blue{--hl-acc:#2F5FA8}

/* the one tiny edge label (Recognition, tablet and desktop only) */
.hl-tag{font:600 10px/1.2 var(--hl-meta);letter-spacing:.22em;text-transform:uppercase;color:var(--hl-gold);white-space:nowrap}
.hl-tag[data-t]::before{content:attr(data-t)}
:lang(ja) .hl-tag,:lang(zh) .hl-tag,:lang(ar) .hl-tag,:lang(hi) .hl-tag{letter-spacing:.08em;font-size:11px}

/* the tab emblem (absolute, takes no layout space) */
.hl-mark{position:absolute;z-index:2;pointer-events:none;color:var(--hl-cream);--acc:var(--hl-acc);--sw:2.4;--swf:1.05;
  opacity:0;transform:translateY(12px) scale(.93);transition:opacity .9s ease,transform 1.2s cubic-bezier(.2,.7,.2,1)}
.hl-mark.is-in{opacity:1;transform:none}
.hl-mark.hl-on-light{color:var(--hl-ink);--sw:3.1;--swf:1.35}
.hl-mark.hl-small{--sw:3.4;--swf:1.4}
.hl-mark__art{display:block;width:100%;height:100%;transform:rotate(var(--hl-r,0deg));will-change:transform}
.hl-headrule{position:absolute;z-index:2;height:0;pointer-events:none}
.hl-headrule i{display:block;height:1px;background:linear-gradient(90deg,rgba(215,179,88,0),rgba(215,179,88,.55) 18%,rgba(215,179,88,.55))}
.hl-headrule b{position:absolute;right:0;bottom:9px}
.hl-headrule.hl-rtl i{background:linear-gradient(270deg,rgba(215,179,88,0),rgba(215,179,88,.55) 18%,rgba(215,179,88,.55))}
.hl-headrule.hl-rtl b{right:auto;left:0}

/* pairing, open recipe: one hairline after each of the two labels (Ingredients, Method). No size changes. */
body[data-view="pairing"] .dish-recipe .dish-h4{display:flex;align-items:center;gap:14px}
body[data-view="pairing"] .dish-recipe .dish-h4::after{content:"";flex:1 1 auto;height:1px;background:currentColor;opacity:.45}

@media (prefers-reduced-motion:reduce){
  .hl-mark{opacity:1;transform:none;transition:none}
  .hl-mark__art{transform:none}
}
