/* PROVAI 0.10.156: authoritative theme-scale controls, loaded AFTER theme CSS. */
html.pv156-controls-active body.app-body.pv152-ready .screen #card.pv152-card .pv152-footer .controls .pv-control-unit > button,
html.pv156-controls-active body.app-body.pv152-ready .screen #nextCard.pv152-card .pv152-footer .controls .pv-control-unit > button {
  width:min(var(--pv156-unit-size, 54px),calc(100% - 2px),17dvh)!important;
  height:auto!important;
  max-width:calc(100% - 3px)!important;max-height:none!important;min-width:0!important;min-height:0!important;
  box-sizing:border-box!important;aspect-ratio:1!important;flex:none!important;
  font-size:clamp(16px,calc(var(--pv156-unit-size,54px) * .46),46px)!important;
  transition:transform .12s ease, opacity .12s ease!important;
}
html.pv156-controls-active body.app-body.pv152-ready .screen .pv152-card .pv152-footer .controls .pv-control-unit:nth-child(1)>button,
html.pv156-controls-active body.app-body.pv152-ready .screen .pv152-card .pv152-footer .controls .pv-control-unit:nth-child(5)>button {--pv156-unit-size:var(--pv156-small-size,46px)}
html.pv156-controls-active body.app-body.pv152-ready .screen .pv152-card .pv152-footer .controls .pv-control-unit:nth-child(2)>button,
html.pv156-controls-active body.app-body.pv152-ready .screen .pv152-card .pv152-footer .controls .pv-control-unit:nth-child(4)>button {--pv156-unit-size:var(--pv156-main-size,66px)}
html.pv156-controls-active body.app-body.pv152-ready .screen .pv152-card .pv152-footer .controls .pv-control-unit:nth-child(3)>button {--pv156-unit-size:var(--pv156-super-size,76px)}
html.pv156-controls-active body.app-body.pv152-ready .screen #card.pv152-card .pv152-footer .controls .pv-control-caption,
html.pv156-controls-active body.app-body.pv152-ready .screen #nextCard.pv152-card .pv152-footer .controls .pv-control-caption {font-size:var(--pv156-label-size,12px)!important;max-height:none!important;line-height:1.12!important;font-family:var(--pv156-label-family,system-ui,sans-serif)!important;overflow-wrap:anywhere!important;white-space:normal!important;}
html.pv156-controls-active.pv156-labels-all body.app-body.pv152-ready .screen .pv152-card .pv152-footer .controls .pv-control-unit .pv-control-caption:not([hidden]){display:block!important;}
html.pv156-controls-active.pv156-labels-none body.app-body.pv152-ready .screen .pv152-card .pv152-footer .controls .pv-control-unit .pv-control-caption {display:none!important;}
html.pv156-controls-active body.app-body.pv152-ready .screen .pv152-card .pv152-footer {gap:var(--pv156-surprise-gap,5px)!important;}
html.pv156-controls-active body.app-body.pv152-ready .screen #card.pv152-card .pv152-surprise-row button.surprise,
html.pv156-controls-active body.app-body.pv152-ready .screen #nextCard.pv152-card .pv152-surprise-row button.surprise{
 font-size:var(--pv156-surprise-size,16px)!important;max-height:none!important;height:auto!important;
 line-height:1.16!important;white-space:normal!important;max-width:calc(100% - 18px)!important;
 font-family:var(--pv156-surprise-family,system-ui,sans-serif)!important;
}
/* Only after explicit save should we override the theme's carefully designed text. */
html.pv156-typography-active body.app-body.pv152-ready .screen #card.pv152-card .food-info [data-pv-text="food_name"],
html.pv156-typography-active body.app-body.pv152-ready .screen #nextCard.pv152-card .food-info [data-pv-text="food_name"] {
 font-family:var(--pv156-font-food_name,Georgia,serif)!important;font-size:var(--pv156-size-food_name,30px)!important;color:var(--pv156-color-food_name,#fff)!important;-webkit-text-fill-color:var(--pv156-color-food_name,#fff)!important;
 line-height:1.07!important;overflow-wrap:break-word!important;
}
html.pv156-typography-active body.app-body.pv152-ready .screen .pv152-card .food-info [data-pv-text="store_name"]{font-family:var(--pv156-font-store_name,inherit)!important;font-size:var(--pv156-size-store_name,16px)!important;color:var(--pv156-color-store_name,#fff)!important;-webkit-text-fill-color:var(--pv156-color-store_name,#fff)!important;}
html.pv156-typography-active body.app-body.pv152-ready .screen .pv152-card .food-info [data-pv-text="description"]{font-family:var(--pv156-font-description,inherit)!important;font-size:var(--pv156-size-description,14px)!important;color:var(--pv156-color-description,#fff)!important;-webkit-text-fill-color:var(--pv156-color-description,#fff)!important;line-height:1.25!important;}
html.pv156-typography-active body.app-body.pv152-ready .screen .pv152-card .food-info [data-pv-text="ingredients"]{font-family:var(--pv156-font-ingredients,inherit)!important;font-size:var(--pv156-size-ingredients,13px)!important;color:var(--pv156-color-ingredients,#fff)!important;}
html.pv156-typography-active body.app-body.pv152-ready .screen .pv152-card .food-info [data-pv-text="rating"],
html.pv156-typography-active body.app-body.pv152-ready .screen .pv152-card .food-info [data-pv-text="rating"] a {font-family:var(--pv156-font-rating,inherit)!important;font-size:var(--pv156-size-rating,13px)!important;color:var(--pv156-color-rating,#FACC15)!important;-webkit-text-fill-color:var(--pv156-color-rating,#FACC15)!important;}
html.pv156-typography-active body.app-body.pv152-ready .screen .pv152-card .food-info .pv152-area{font-family:var(--pv156-font-location,inherit)!important;font-size:var(--pv156-size-location,13px)!important;color:var(--pv156-color-location,#fff)!important;}
html.pv156-typography-active body.app-body.pv152-ready .screen .pv152-card .food-info [data-pv-text="more"]{font-family:var(--pv156-font-more,inherit)!important;font-size:var(--pv156-size-more,12px)!important;color:var(--pv156-color-more,#fff)!important;}
html.pv156-typography-active body.app-body.pv152-ready .screen .pv152-card .food-info [data-pv-text="distance"]{font-family:var(--pv156-font-distance,inherit)!important;font-size:var(--pv156-size-distance,12px)!important;color:var(--pv156-color-distance,#fff)!important;}
/* Cinema typography must win over both its original theme and the 154 poster sizing. */
html.pv156-typography-active body.app-body.pv152-ready.pv152-mode-cinema .screen #card.pv152-card.pv154-cinema .food-info .pv154-slot [data-pv-text="food_name"],
html.pv156-typography-active body.app-body.pv152-ready.pv152-mode-cinema .screen #nextCard.pv152-card.pv154-cinema .food-info .pv154-slot [data-pv-text="food_name"]{font-family:var(--pv156-font-food_name,system-ui,sans-serif)!important;font-size:var(--pv156-size-food_name,38px)!important;}
/* Featured settings. Honor saved offsets for non-Cinema themes and badge layout for Cinema. */
html.pv156-featured-off body.app-body.pv152-ready .screen #card.pv152-card .pv-featured-corner,
html.pv156-featured-off body.app-body.pv152-ready .screen #nextCard.pv152-card .pv-featured-corner{display:none!important;}
html.pv156-typography-active body.app-body.pv152-ready .screen .pv152-card .pv-featured-corner{
 background:var(--pv156-featured-bg,#F7CA52)!important;color:var(--pv156-featured-color,#50340A)!important;
 border-radius:var(--pv156-featured-radius,30px)!important;padding-inline:var(--pv156-featured-pad,12px)!important;
 font-size:var(--pv156-featured-font,11px)!important;font-family:var(--pv156-featured-family,system-ui,sans-serif)!important;
}
html.pv156-typography-active body.app-body.pv152-ready .screen .pv152-card .pv-featured-corner strong,
html.pv156-typography-active body.app-body.pv152-ready .screen .pv152-card .pv-featured-corner span{color:var(--pv156-featured-color,#50340A)!important;font-size:var(--pv156-featured-font,11px)!important;font-family:var(--pv156-featured-family,system-ui,sans-serif)!important;-webkit-text-fill-color:var(--pv156-featured-color,#50340A)!important;}
html.pv156-typography-active body.app-body.pv152-ready .screen #card.pv152-card.featured-card::after,
html.pv156-typography-active body.app-body.pv152-ready .screen #nextCard.pv152-card.featured-card::after{box-shadow:inset 0 0 0 var(--pv156-featured-border,5px) var(--pv156-featured-border-color,#EFC35C)!important;}
html.pv156-typography-active body.app-body.pv152-ready .screen .pv152-card:not(.pv154-cinema) .pv152-photo-stage > .pv-featured-corner{
 top:var(--pv156-featured-top,14px)!important;transform:none!important;
}
html.pv156-typography-active.pv156-featured-left body.app-body.pv152-ready .screen .pv152-card:not(.pv154-cinema) .pv152-photo-stage > .pv-featured-corner{left:var(--pv156-featured-side,12px)!important;right:auto!important;}
html.pv156-typography-active.pv156-featured-right body.app-body.pv152-ready .screen .pv152-card:not(.pv154-cinema) .pv152-photo-stage > .pv-featured-corner{left:auto!important;right:var(--pv156-featured-side,12px)!important;}
html.pv156-typography-active.pv156-featured-center body.app-body.pv152-ready .screen .pv152-card:not(.pv154-cinema) .pv152-photo-stage > .pv-featured-corner{left:50%!important;right:auto!important;transform:translateX(-50%)!important;}
/* Independent type sizes can grow, but the action row never leaves the viewport. */
html.pv156-controls-active body.app-body.pv152-ready .screen .pv152-card .pv152-footer{min-width:0!important;}
@media(max-width:350px){
 html.pv156-controls-active body.app-body.pv152-ready .screen .pv152-card .pv152-footer{padding-inline:5px!important}
 html.pv156-controls-active body.app-body.pv152-ready .screen .pv152-card .pv152-footer .controls{gap:0!important}
}

/* Counter font and size: configured in the indicator module. */
html.pv156-typography-active body.app-body.pv152-ready .screen #card.pv152-card .pv152-counter,
html.pv156-typography-active body.app-body.pv152-ready .screen #nextCard.pv152-card .pv152-counter{
 font-family:var(--pv156-font-counter,system-ui,sans-serif)!important;
 font-size:var(--pv156-size-counter,11px)!important;
 color:var(--pv156-color-counter,#FFFFFF)!important;
 -webkit-text-fill-color:var(--pv156-color-counter,#FFFFFF)!important;
}

/* Proportional grid tracks: different requested diameters stay different.
   Tracks shrink together only when the screen is too narrow. */
html.pv156-controls-active body.app-body.pv152-ready .screen #card.pv152-card .pv152-footer .controls,
html.pv156-controls-active body.app-body.pv152-ready .screen #nextCard.pv152-card .pv152-footer .controls {
 grid-template-columns:minmax(0,var(--pv156-small-track,46fr)) minmax(0,var(--pv156-main-track,66fr)) minmax(0,var(--pv156-super-track,76fr)) minmax(0,var(--pv156-main-track,66fr)) minmax(0,var(--pv156-small-track,46fr))!important;
 gap:2px!important;align-items:start!important;
}
