.bf-offers-trigger{position:fixed;right:20px;bottom:calc(100px + env(safe-area-inset-bottom,0px));z-index:900;display:flex;align-items:center;gap:8px;padding:13px 18px;border:0;border-radius:999px;background:#ad1717;color:#fff;font:700 15px/1.2 Arial,sans-serif;box-shadow:0 4px 16px #0004;cursor:pointer}.bf-offers-trigger:hover{background:#c51d1d}.bf-offers-trigger:focus-visible,.bf-offers-close:focus-visible,.bf-offers-coupon-card:focus-visible{outline:3px solid #f1c16d;outline-offset:3px}.bf-offers-chevron{font-size:18px;line-height:10px}.bf-offers-dialog{position:fixed;inset:0 0 0 auto;margin:0;width:min(520px,100%);max-width:100%;height:100%;max-height:100%;padding:0;border:0;background:#000005;color:#fff;overflow:auto;overscroll-behavior:contain;box-sizing:border-box}.bf-offers-dialog::backdrop{background:rgba(0,0,0,.6)}.bf-offers-dialog:not([open]){display:none}.bf-offers-header{position:sticky;top:0;z-index:3;display:flex;align-items:center;justify-content:space-between;padding:18px 20px;background:#1d0b0b;border-bottom:1px solid #491e19}.bf-offers-header h2{margin:0;color:#fff;font:700 20px/1.2 Arial,sans-serif}.bf-offers-close{width:40px;height:40px;border:0;background:transparent;color:#fff;font-size:22px;cursor:pointer}.bf-offers-content{padding:0 20px 28px}.bf-offers-section{padding:24px 0;border-bottom:1px solid #491e19;text-align:center}.bf-offers-section h3{margin:0;color:#fff;font:italic 700 22px/1.2 Arial,sans-serif}.bf-offers-section>p{margin:8px 0 18px;color:#d7caca;font:14px/1.3 Arial,sans-serif}.bf-offers-gift-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.bf-offers-gift-card{position:relative;min-width:0;padding:10px 8px 14px;border:1px solid #542828;border-radius:10px;background:#281313}.bf-offers-gift-card img{display:block;width:100%;height:auto;border-radius:8px}.bf-offers-gift-card strong,.bf-offers-gift-card small{display:block}.bf-offers-gift-card strong{margin-top:8px;font-size:18px}.bf-offers-gift-card small{margin-top:4px;color:#f0bd5b}.bf-offers-gift-card button{width:100%;margin-top:8px;padding:8px;border:0;border-radius:5px;background:#f50912;color:#fff;font-weight:700;cursor:pointer}.bf-offers-coupon-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.bf-offers-coupon-card{padding:14px 6px;border:1px solid #6b2222;border-radius:6px;background:#2a1616;color:#fff;cursor:pointer}.bf-offers-coupon-card span,.bf-offers-coupon-card strong,.bf-offers-coupon-card small{display:block}.bf-offers-coupon-card span{font-size:12px}.bf-offers-coupon-card strong{margin:8px 0;font-size:22px}.bf-offers-coupon-card small{padding:5px;background:#ed010b;font-size:11px}.bf-offers-feedback{position:sticky;bottom:12px;width:max-content;max-width:90%;margin:auto;border-radius:6px;background:#f1c16d;color:#111;font-weight:700;text-align:center}.bf-offers-feedback:not(:empty){padding:10px 16px}@media(max-width:768px){.bf-offers-trigger{right:12px;bottom:calc(110px + env(safe-area-inset-bottom,0px));padding:12px 15px;font-size:14px}.bf-offers-dialog{inset:auto 0 0;width:100%;height:auto;max-height:85vh;max-height:85dvh;border-radius:18px 18px 0 0;padding-bottom:env(safe-area-inset-bottom,0px)}.bf-offers-content{padding:0 16px 24px}.bf-offers-gift-list{grid-template-columns:1fr}.bf-offers-header{padding:12px 16px}.bf-offers-section{padding:20px 0}}
.bf-offers-dialog .bf-gift-card-module{width:100%;max-width:100%;padding:24px 0;background:transparent}.bf-offers-dialog .bf-gift-card-title{font-size:22px}.bf-offers-dialog .bf-gift-card-subtitle{margin:8px 0 18px;font-size:14px}.bf-offers-dialog .bf-gift-card-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.bf-offers-dialog .bf-gift-card-item{padding:10px 8px 14px}.bf-offers-dialog .bf-gift-card-title-text{min-height:0;font-size:24px}.bf-offers-dialog .bf-gift-card-best{font-size:10px;padding:4px 8px}@media(max-width:768px){.bf-offers-dialog .bf-gift-card-list{grid-template-columns:1fr}.bf-offers-dialog .bf-gift-card-module{padding:20px 0}}
.bf-offers-entry{position:fixed;right:0;top:50%;z-index:900;transform:translateY(-50%);transition:opacity .2s ease,visibility .2s ease}.bf-offers-entry.is-scroll-hidden{visibility:hidden;opacity:0;pointer-events:none}.bf-offers-entry[hidden]{display:none}.bf-offers-entry .bf-offers-trigger{position:static;display:block;padding:14px 9px 14px 7px;border-radius:10px 0 0 10px;background:linear-gradient(180deg,#ed010b 0%,#7a0106 100%);box-shadow:-2px 0 10px rgba(0,0,0,.25);writing-mode:vertical-rl;text-transform:uppercase;letter-spacing:2px;white-space:nowrap;font-size:16px;line-height:1}.bf-offers-entry .bf-offers-trigger:hover{filter:brightness(1.15)}.bf-offers-entry-close{position:absolute;top:-7px;left:-7px;width:18px;height:18px;padding:0;border:0;border-radius:50%;background:#333;color:#fff;font:12px/18px Arial,sans-serif;cursor:pointer}.bf-offers-entry-close:focus-visible{outline:3px solid #f1c16d;outline-offset:3px}@media(max-width:768px){.bf-offers-entry .bf-offers-trigger{padding:12px 7px 12px 5px;border-radius:8px 0 0 8px;font-size:11px;letter-spacing:1px}.bf-offers-entry-close{width:16px;height:16px;line-height:16px}}

/* 活动页沿用横向悬浮入口，其他页面保留竖向入口。 */
.bf-offers-entry-horizontal{top:auto;right:20px;bottom:calc(100px + env(safe-area-inset-bottom,0px));transform:none}
.bf-offers-entry-horizontal .bf-offers-trigger{display:flex;align-items:center;gap:8px;padding:13px 18px;border-radius:999px;background:#ad1717;box-shadow:0 4px 16px #0004;writing-mode:horizontal-tb;text-transform:none;letter-spacing:normal;font-size:15px;line-height:1.2}
@media(max-width:768px){.bf-offers-entry-horizontal{right:12px;bottom:calc(110px + env(safe-area-inset-bottom,0px))}.bf-offers-entry-horizontal.is-scroll-hidden{visibility:visible;opacity:1;pointer-events:auto}.bf-offers-entry-horizontal .bf-offers-trigger{padding:12px 15px;font-size:14px}}
