/* Mobile first: the tap is a full-width vertical page, including tablets. */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;scrollbar-gutter:auto}
body{width:100%;min-width:0;margin:0;background:#fff;font-size:18px;overflow-wrap:break-word}
.header{width:100%;height:108px;padding:16px max(20px,calc((100% - 680px)/2));gap:18px}
.header .venue-brand>span,.header .technology-brand>span{font-size:13px;line-height:1.3;color:#c4c4b9}
.header .venue-brand img{width:clamp(140px,42vw,190px);height:44px;max-width:100%}
.header .technology-brand img{width:clamp(96px,28vw,130px);height:44px;max-width:100%}
.venue-brand,.technology-brand{min-width:0;gap:7px}
.tap-page{display:flex;flex-direction:column;grid-template-columns:none;width:100%;max-width:720px;margin:0 auto;border-radius:0;box-shadow:none;overflow:hidden}
.beer-visual{width:100%;height:250px;min-height:0;flex:none;grid-row:auto}
.beer-visual>img{width:100%;height:100%;object-fit:cover;object-position:78% 49%}
.tap-badge{left:22px;top:22px;padding:10px 16px;font-size:22px;border-radius:7px}
.photo-caption{left:auto;right:20px;bottom:12px;font-size:12px;color:#fff}
.beer-information{width:100%;padding:27px 22px 0;min-width:0}
.availability{font-size:15px;gap:8px;line-height:1.4}
.availability>span{width:8px;height:8px;flex:none}
.availability small{font-size:14px;color:#68685c;line-height:1.4;text-align:right}
.brewery{font-size:16px;color:#68685c;margin:24px 0 9px}
h1{font-size:42px;line-height:1.12;max-width:100%;letter-spacing:-.035em}
.description{font-size:18px;line-height:1.65;color:#555548;margin:18px 0 26px;max-width:none}
.facts{gap:12px;padding-bottom:24px;grid-template-columns:1.2fr 1fr 1fr}
.facts dt{font-size:14px;color:#65655a;margin-bottom:7px}
.facts dd{font-size:18px;line-height:1.4}
.price-row{padding-top:24px}
.price-label{font-size:15px;color:#66665a}
.price-row strong{font-size:36px}
.price-row p>span{font-size:17px;color:#66665a}
.price-row svg{width:40px;height:40px}
.portions{font-size:16px;gap:14px;margin-top:21px;padding:17px 0;flex-direction:column}
.portions>span{width:100%;gap:16px}
.portions>span+span{border:0;padding:0}
.portions strong{font-size:17px;font-weight:600;color:#36362f}
.serving-note{font-size:15px;line-height:1.5;color:#66665a;margin-top:14px}
.actions-area{width:100%;align-self:stretch;padding:26px 22px 19px}
.actions{display:flex;flex-direction:column;gap:12px}
.button{font-size:18px;min-height:60px;padding:17px 20px;white-space:normal;line-height:1.35}
.actions>.button{width:100%;flex:none}
.button svg{width:24px;height:24px;flex:none}
.open-tap-button{margin-bottom:12px}
.demo-note{font-size:14px;line-height:1.5;color:#6e6e62;margin-top:19px}
footer{font-size:14px;line-height:1.5;color:#6e6e62;padding:0 22px calc(24px + env(safe-area-inset-bottom));max-width:720px;margin:auto}
dialog{width:calc(100% - 24px);max-width:480px;max-height:calc(100svh - 24px);margin:auto;overflow:auto;border-radius:16px;font-size:17px}
.dialog-content{padding:43px 24px 25px}
.close{font-size:32px;padding:8px 12px;min-width:48px;min-height:48px;top:5px;right:5px}
.modal-eyebrow{font-size:14px;line-height:1.5;margin-right:24px;color:#646456;margin-bottom:12px}
h2{font-size:34px;line-height:1.15;letter-spacing:-.035em}
.balance-panel{padding:22px;margin-top:26px}
.balance-panel>span{font-size:16px;color:#646456}
.balance-panel>strong{font-size:46px}
.balance-panel>p{font-size:16px;line-height:1.55;color:#646456}
.dialog-note,#tap-dialog .dialog-note{font-size:14px;line-height:1.6;color:#676759;margin:18px 0}
summary{font-size:17px;padding:8px 0}
#history-list li{font-size:15px;line-height:1.5;gap:12px}
#history-list small{font-size:13px;line-height:1.5}
.amounts{grid-template-columns:1fr 1fr;gap:12px}
.amounts span{font-size:18px;padding:15px 6px}
legend{font-size:17px;color:#555548;line-height:1.5;margin-bottom:15px}
.payment-method{padding:16px;gap:13px}
.payment-method strong{font-size:18px}
.payment-method div>span{font-size:15px;line-height:1.45}
.recharge-total{font-size:17px;padding:24px 0}
.recharge-total strong{font-size:22px}
.recharge-total+.button{font-size:17px}
#recharge-success h3,#tap-ready h3,#tap-done h3{font-size:27px;line-height:1.2}
#success-amount,#tap-ready>p,#tap-done>p{font-size:17px;line-height:1.55;color:#626254}
.success-balance span{font-size:16px;color:#666658}
.success-balance strong{font-size:40px}
.text-button{font-size:16px;min-height:48px;line-height:1.45}
.tap-dialog-intro{font-size:18px;color:#555548;line-height:1.6;margin-top:23px}
.tap-summary p{font-size:16px;line-height:1.5;gap:15px;margin:18px 0}
.tap-summary p>strong{text-align:right}
.error{font-size:16px;line-height:1.5}
.pour-meter{padding:22px}
.pour-meter>span{font-size:16px;color:#646456}
.pour-meter>strong{font-size:48px;margin:10px 0 20px}
.pour-meter small{font-size:23px}
.pour-meter>div{font-size:16px;padding:12px 0}
@media(max-width:359px){.header{padding-left:16px;padding-right:16px;gap:12px}.header .venue-brand img{width:140px}.header .technology-brand img{width:96px}.beer-information{padding-left:18px;padding-right:18px}.actions-area{padding-left:18px;padding-right:18px}.availability small{font-size:13px}.facts dd{font-size:16px}.dialog-content{padding-left:20px;padding-right:20px}}
