/* Optional brand layer. Does not replace feed, video, search, or dish behavior. */
html[data-mm-look="brand"]{
 --bg:#0c0c0c;--panel:#181818;--line:#3e3e3e;--text:#fff;
 --muted:#d0d0d0;--accent:#ff5154;--warm:#eee;
 --mm-brand-red:#c82530;--mm-brand-bright:#f03a40;--mm-brand-ink:#0c0c0c;
}
html[data-mm-look="brand"] :is(#hero h1,#feed h2,#dishTitle,.card-copy strong){
 font-family:Manrope,"DM Sans",system-ui,sans-serif;font-weight:800;letter-spacing:-.045em;
}
html[data-mm-look="brand"] :is(#hero h1,#hero h1 em,#hero .hero-sub,#hero .hero-credit small,#hero .hero-credit span){
 color:#fff;
}
html[data-mm-look="brand"] #hero h1{letter-spacing:-.055em}
html[data-mm-look="brand"] .explore-hero-home #hero .weekly-hero-media::after{
 background:linear-gradient(0deg,#0c0c0c 0%,#0c0c0c95 29%,#0c0c0c10 69%,transparent 80%),
            linear-gradient(90deg,#0c0c0ce6 0%,#0c0c0c62 45%,transparent 80%);
}
html[data-mm-look="brand"] .explore-hero-home #hero .solid,
html[data-mm-look="brand"] .dish-info .detail-actions .route.primary{
 background:var(--mm-brand-red);color:#fff;border-color:var(--mm-brand-red);box-shadow:none;border-radius:999px;
}
html[data-mm-look="brand"] .explore-hero-home #hero .solid:hover,
html[data-mm-look="brand"] .dish-info .detail-actions .route.primary:hover{background:#b02129;border-color:#e56b71}
html[data-mm-look="brand"] .mast>.mast-inner{background:#111111ed;border-color:#5a5a5a}
html[data-mm-look="brand"] .mast .mast-inner .identity{gap:.35rem;color:var(--mm-brand-bright)}
html[data-mm-look="brand"] .mast .mast-inner .identity>span{display:inline;font-size:1rem;letter-spacing:-.055em}
html[data-mm-look="brand"] .mast :is(#browseArea,#saved,#feedFilters){
 background:#1b1b1b;color:#fff;border:1px solid #686868;
}
html[data-mm-look="brand"] .mast #feedFilters[aria-expanded=true],
html[data-mm-look="brand"] .mast #saved[aria-pressed=true]{border-color:var(--mm-brand-bright)}
html[data-mm-look="brand"] .mast #query::placeholder{color:#e5e5e5}
html[data-mm-look="brand"] .mast #searchForm>svg{stroke:#e5e5e5}
html[data-mm-look="brand"] :is(#hero .hero-credit, #finderPanel:not([hidden]),dialog,#feed>.results){
 background-color:#181818;border-color:#555;
}
html[data-mm-look="brand"] #hero .hero-copy .eyebrow,
html[data-mm-look="brand"] .section-head .eyebrow{color:#ddd}
html[data-mm-look="brand"] .dish-card{border-color:#454545;background:#181818}
html[data-mm-look="brand"] .dish-card::after{background:linear-gradient(0deg,#0c0c0c 0%,#0c0c0cd9 27%,transparent 69%)}
html[data-mm-look="brand"] .card-copy :is(small,.result-card-meta){color:#e7e7e7}
html[data-mm-look="brand"] :is(.card-copy .cost,.dish-price:not(:empty)){
 display:inline-block;width:max-content;max-width:100%;padding:.16em .45em;
 border:1px solid #ffffff50;border-radius:.4rem;background:#101010;color:#fff;
 font-weight:800;font-variant-numeric:tabular-nums;line-height:1.18;
}
html[data-mm-look="brand"] .card-copy .cost{font-size:max(.86rem,1em);white-space:nowrap}
html[data-mm-look="brand"] .dish-price:not(:empty){font-size:clamp(1.1rem,4.5vw,1.55rem);overflow-wrap:anywhere}
html[data-mm-look="brand"] .dish-info .detail-actions .route:not(.primary):not(.route-unavailable),
html[data-mm-look="brand"] .dish-chips .call-chip:not(.call-unavailable){
 color:#f3f3f3;background:#232323;border-color:#737373;
}
html[data-mm-look="brand"] :is(button,a,input):focus-visible{outline-color:#fff}
@media(max-width:720px){
 html[data-mm-look="brand"] .mast>.mast-inner{
  display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;gap:6px;padding:7px 8px;border-radius:21px;
 }
 html[data-mm-look="brand"] .mast .mast-inner .identity{justify-self:start;min-width:0;margin:0}
 html[data-mm-look="brand"] .mast #searchForm{
  grid-column:1/-1;grid-row:2;width:100%;border:1px solid #555;border-radius:14px;padding:0 10px;min-height:42px;background:#202020;
 }
 html[data-mm-look="brand"] .mast #query{font-size:16px}
 html[data-mm-look="brand"] .explore-hero-home #hero:not([hidden]){
  padding-top:calc(154px + env(safe-area-inset-top,0px));
 }
 html[data-mm-look="brand"] .explore-hero-home #hero .weekly-hero-controls{
  top:calc(123px + env(safe-area-inset-top,0px));
 }
 html[data-mm-look="brand"] .explore-saved-hero #hero .weekly-hero-controls{
  top:calc(119px + env(safe-area-inset-top,0px));
 }
 html[data-mm-look="brand"] .explore-saved-hero .explore-content{
  padding-top:max(calc(182px + env(safe-area-inset-top,0px)),24svh);
 }
 html[data-mm-look="brand"] .explore-hero-home #hero .hero-copy h1{font-size:clamp(2.2rem,10vw,3.55rem);line-height:1.01;letter-spacing:-.06em}
 html[data-mm-look="brand"] .explore-hero-home #hero .hero-copy h1 em{display:inline}
 html[data-mm-look="brand"] .explore-hero-home #hero .weekly-hero-media::after{
  background:linear-gradient(0deg,#0c0c0c 0%,#0c0c0ce6 17%,#0c0c0c75 46%,transparent 76%);
 }
}
@media(min-width:380px) and (max-width:720px){
 html[data-mm-look="brand"] .mast #browseArea{width:auto;padding:0 8px;font-size:.74rem;gap:4px}
 html[data-mm-look="brand"] .mast #browseAreaLabel{position:static;width:auto;height:auto;clip-path:none;white-space:nowrap}
}
@media(max-width:340px){
 html[data-mm-look="brand"] .mast .mast-inner .identity>span{font-size:.89rem}
}

/* Brand-red prices; labels without a listed dollar amount stay neutral. */
html[data-mm-look="brand"] :is(.card-copy .cost,.dish-price)[data-listed-price]{
 background:#b51f32;color:#fff;border-color:#ed6370;border-radius:.42rem;
 font-weight:850;letter-spacing:-.015em;
}
html[data-mm-look="brand"] .card-copy .cost[data-listed-price]{font-size:max(.94rem,1em)}
html[data-mm-look="brand"] .dish-price[data-listed-price]{font-size:clamp(1.23rem,5.2vw,1.72rem);padding:.22em .5em}
html[data-mm-look="brand"] :is(#hero .hero-copy,.section-head) .eyebrow{color:#ff7882}
html[data-mm-look="brand"] :is(#feedFilters[aria-expanded="true"],#saved[aria-pressed="true"]){box-shadow:inset 0 0 0 1px #ef4b59}
@media(max-width:720px){
 html[data-mm-look="brand"] .explore-hero-home #hero:not([hidden]){padding-top:calc(192px + env(safe-area-inset-top,0px))}
 html[data-mm-look="brand"] .explore-hero-home #hero .weekly-hero-controls,
 html[data-mm-look="brand"] .explore-saved-hero #hero .weekly-hero-controls{top:calc(164px + env(safe-area-inset-top,0px))}
}

/* Dish detail: keep ordering primary and contact secondary. */
html[data-mm-look="brand"] #dishDialog .dish-price[data-listed-price]{
 background:none;color:#fff;border:0;padding:0;border-radius:0;
}
html[data-mm-look="brand"] :is(#hero .hero-copy,.section-head) .eyebrow{color:#ddd}
html[data-mm-look="brand"] .dish-info{display:flex;flex-direction:column}
html[data-mm-look="brand"] .dish-info>.dish-chips{margin-top:10px}
html[data-mm-look="brand"] .dish-info .detail-actions .primary-routes{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-auto-flow:row}
html[data-mm-look="brand"] .dish-info .detail-actions .route.menu-link{grid-column:auto}
html[data-mm-look="brand"] .dish-info .detail-actions .primary-routes.no-order>.menu-link{grid-column:1/-1}
html[data-mm-look="brand"] .dish-info .detail-actions .route[data-action="reserve"]{grid-column:1/-1}
.dish-order-choices{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:7px;border:1px solid #ffffff30;border-radius:16px;background:#1a181a}
.dish-order-choices[hidden]{display:none}
#dishOrderToggle{font-family:inherit;cursor:pointer}
#dishOrderToggle:focus-visible,.dish-call-icon:focus-visible{outline:2px solid #fff;outline-offset:2px}
html[data-mm-look="brand"] .dish-neighborhood:has(.dish-call-icon){display:flex;align-items:center;flex-wrap:wrap;column-gap:7px}
html[data-mm-look="brand"] .dish-neighborhood:has(.dish-call-icon) #dishLocate{margin-left:0}
.dish-info .dish-venue img{width:36px;height:36px}
.dish-call-icon{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;flex:none;color:#ffe8ea;border-radius:50%;text-decoration:none}
.dish-call-icon svg{width:27px;height:27px;padding:3px;box-sizing:border-box;border-radius:50%;background:#341f24;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round}
.dish-call-icon:hover svg{background:#65313c}

@media(max-width:350px){
 html[data-mm-look="brand"] .dish-info>.detail-actions{order:-1}
 html[data-mm-look="brand"] .dish-info>.dish-venue{order:-3}
 html[data-mm-look="brand"] .dish-info>.dish-title-row{order:-2}
}

/* Always mute autoplay. Place explicit sound alongside Play without crowding dish navigation. */
html[data-mm-look="brand"] .dish-media .media-foot>.dish-video-tools{display:flex;align-items:center;gap:5px;margin-left:auto;pointer-events:none}
html[data-mm-look="brand"] .dish-media .dish-video-tools>button{margin:0;pointer-events:auto}
html[data-mm-look="brand"] .dish-media .dish-video-tools>button:focus-visible{outline:2px solid #fff;outline-offset:2px}
@media(max-width:435px){
 html[data-mm-look="brand"] .dish-media:has(#toggleDishSound) .dish-sequence{bottom:65px}
}

/* Local context stays next to the restaurant identity and above the action buttons. */
html[data-mm-look="brand"] .dish-venue-copy{min-width:0}
html[data-mm-look="brand"] .dish-neighborhood{color:#dedede;font-size:.82rem;font-weight:500;line-height:1.35;margin-top:3px}
html[data-mm-look="brand"] #dishLocate{background:none;border:0;color:#dedede;font:inherit;text-decoration:underline;text-underline-offset:3px;margin-left:.55em;padding:4px 0;cursor:pointer}
html[data-mm-look="brand"] .dish-location-message{display:block;color:#ddd;font-size:.78rem;margin-top:4px}
html[data-mm-look="brand"] :is(.dish-location-message,#dishDistance,#dishLocate)[hidden]{display:none}
html[data-mm-look="brand"] .dish-info>.dish-hours{color:#dedede;font-size:.85rem;font-weight:700;margin:0 0 3px;text-decoration:underline;text-underline-offset:3px}
html[data-mm-look="brand"] .dish-info>.dish-hours.is-open{color:#b7e7af}
@media(max-width:350px){
 html[data-mm-look="brand"] .dish-info>.dish-venue{order:-4}
 html[data-mm-look="brand"] .dish-info>.dish-title-row{order:-3}
 html[data-mm-look="brand"] .dish-info>.dish-hours{order:-2}
}

/* Homepage: one headline accent, a neutral tagline, and a featured-dish star. */
html[data-mm-look="brand"] .explore-hero-home #hero h1 .hero-title-accent{color:var(--mm-brand-red)}
html[data-mm-look="brand"] .explore-hero-home #hero .hero-copy .eyebrow{color:#ddd}
.hero-week-label{display:flex;align-items:center;gap:.45em}
.hero-week-label svg{flex:none}

/* The weekly badge stands alone; the existing hero button opens the dish. */
html #hero .hero-credit.hero-credit--badge-only{
 padding:0;border:0;background:transparent;box-shadow:none;backdrop-filter:none;
}
#hero .hero-credit--badge-only .hero-week-label{margin:0}

/* Gold is reserved for the current Dish of the Week. */
html[data-mm-look="brand"] :is(#hero .hero-credit .hero-week-label,.weekly-dish-badge){
 width:max-content;max-width:100%;box-sizing:border-box;
 padding:.3em .6em;border:1px solid #8b6c31;border-radius:999px;
 background:#352914;color:#f5d178;font-size:.7rem;font-weight:750;
 line-height:1.15;letter-spacing:.035em;
}
.card-copy .weekly-dish-badge{margin:0 0 .35rem;white-space:nowrap}
#dishTitle .weekly-dish-badge{margin:.35rem 0 0}

/* Search suggestions are an overlay: opening them never moves the feed. */
.mast #searchForm{position:relative}
.mast .search-suggestions[hidden]{display:none}
.mast .search-suggestions{
 position:absolute;z-index:10;inset-inline:0;top:calc(100% + 7px);min-width:min(22rem,calc(100vw - 2rem));max-height:min(20rem,48dvh);overflow:auto;
 padding:5px;color:#f3f3f3;background:#181818;border:1px solid #626262;border-radius:14px;box-shadow:0 12px 30px #0009;overscroll-behavior:contain;
}
.mast .search-suggestion{display:flex;flex-direction:column;justify-content:center;gap:2px;min-height:48px;padding:6px 11px;border-radius:8px;cursor:pointer;overflow-wrap:anywhere}
.mast .search-suggestion+.search-suggestion{border-top:1px solid #ffffff17}
.mast .search-suggestion-name{font-size:.95rem;font-weight:750;line-height:1.15}
.mast .search-suggestion-type{font-size:.79rem;line-height:1.2;color:#ccc}
.mast .search-suggestion:last-child{color:#ffbfc1}
.mast .search-suggestion[aria-selected="true"]{background:#412025;outline:1px solid #f9a3a8;outline-offset:-1px}
@media(hover:hover){.mast .search-suggestion:hover{background:#382024}}
@media(max-width:720px){.mast .search-suggestions{min-width:0}}

/* Keep route-back and home distinct, with room for the media controls. */
.dish-media .dish-return-nav {
 position:absolute;z-index:2;top:max(12px,env(safe-area-inset-top));left:14px;right:64px;
 display:flex;align-items:center;flex-wrap:wrap;gap:6px;pointer-events:none;
}
.dish-media .dish-return-nav .back {
 position:static;box-sizing:border-box;min-height:44px;white-space:nowrap;pointer-events:auto;
}
.dish-media .dish-return-nav .dish-home { text-decoration:none; }
.dish-media .dish-return-nav .back:focus-visible { outline:2px solid #fff;outline-offset:2px; }
