/* subbrand-banner.css — maintained styles; declaration order preserves the existing cascade. */
.footer-subbrand-trigger { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 76px; height: 22px; padding: 3px 0; border: 0; border-radius: 8px; background: transparent; color: inherit; cursor: pointer; transition: opacity .2s,background .2s; }
.brand-footer .footer-subbrands .footer-subbrand-trigger img { display: block; width: 100%; max-width: none; height: 14px; object-fit: contain; object-position: center; }
.footer-subbrand-trigger:hover,.footer-subbrand-trigger.is-banner-active { background: #202020; }
.footer-subbrand-trigger:focus-visible { outline: 1px solid #aaa; outline-offset: 4px; }
.subbrand-banner { position: fixed; z-index: 65; box-sizing: border-box; display: flex; justify-content: space-between; gap: 36px; min-height: 178px; padding: 28px 26px 22px; background: #202020; color: #999; border-radius: 12px; opacity: 0; visibility: hidden; transform: translateY(10px); pointer-events: none; transition: opacity .2s ease,transform .3s cubic-bezier(.22,1,.36,1),visibility .2s; }
.subbrand-banner.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.subbrand-banner::after { content: ''; position: absolute; left: var(--subbrand-tab-x,60%); bottom: -22px; width: 108px; height: 26px; border-radius: 0 0 16px 16px; background: #202020; }
.subbrand-banner-copy { min-width: 0; max-width: 570px; }
.subbrand-banner-logo { display: block; width: auto; height: 22px; object-fit: contain; object-position: left center; }
.subbrand-banner-copy p { font: 400 14px/1.85 Arial,'Microsoft YaHei',sans-serif; margin: 20px 0 0; color: #999; }
.subbrand-banner figure { margin: 0; flex: none; text-align: center; }
.subbrand-banner-qr { display: block; width: 110px; height: 110px; }
.subbrand-banner figcaption { margin-top: 7px; font-size: 11px; line-height: 1.5; color: #888; }
.subbrand-banner figure[hidden] { display: none; }
.contact-subbrands .footer-subbrand-trigger { width: 90px; }
.contact-subbrands .footer-subbrand-trigger img { width: 100%; height: 18px; object-fit: contain; }
.brand-footer .footer-qrs figure { display: flex; flex-direction: column; align-items: center; }
.brand-footer .footer-qrs figcaption { align-self: center; text-align: center; width: 100%; }
.brand-footer .footer-qrs img { margin-inline: auto; }
@media(max-width:600px) {
  .footer-subbrand-trigger { width: 80px; height: 28px; }
  .brand-footer .footer-subbrands .footer-subbrand-trigger img { height: 16px; }
  .subbrand-banner { padding: 20px; gap: 20px; min-height: 0; }
  .subbrand-banner-copy p { font-size: 12px; line-height: 1.75; margin-top: 15px; }
  .subbrand-banner-logo { height: 19px; }
  .subbrand-banner-qr { width: 80px; height: 80px; }
  .subbrand-banner figcaption { font-size: 10px; }
  .subbrand-banner::after { display: none; }
}
@media(max-width:420px) {
  .subbrand-banner:not(.is-dawn) { flex-direction: column; gap: 16px; }
  .subbrand-banner figure { display: flex; align-items: center; gap: 12px; text-align: left; }
  .subbrand-banner figcaption { max-width: none; }
}
@media(prefers-reduced-motion:reduce) {
  .subbrand-banner,.footer-subbrand-trigger { transition: none; }
}
@media(min-width:601px) {
  .subbrand-banner { min-height: calc(178px * var(--banner-scale,1)); padding: calc(28px * var(--banner-scale,1)) calc(26px * var(--banner-scale,1)) calc(20px * var(--banner-scale,1)); gap: calc(36px * var(--banner-scale,1)); border-radius: calc(12px * var(--banner-scale,1)); }
  .subbrand-banner-copy { max-width: calc(550px * var(--banner-scale,1)); }
  .subbrand-banner-logo { height: calc(22px * var(--banner-scale,1)); }
  .subbrand-banner-copy p { font-size: calc(14px * var(--banner-scale,1)); line-height: 1.85; margin-top: calc(20px * var(--banner-scale,1)); }
  .subbrand-banner-qr { width: calc(110px * var(--banner-scale,1)); height: calc(110px * var(--banner-scale,1)); }
  .subbrand-banner figcaption { font-size: calc(11px * var(--banner-scale,1)); margin-top: calc(7px * var(--banner-scale,1)); }
  .subbrand-banner::after { width: var(--subbrand-tab-width,98px); height: var(--subbrand-tab-height,26px); bottom: calc(-1 * var(--subbrand-tab-height,26px) + 1px); border-radius: 0 0 calc(16px * var(--banner-scale,1)) calc(16px * var(--banner-scale,1)); }
}
.subbrand-banner figcaption { display: flex; align-items: center; justify-content: space-between; gap: 8px; white-space: nowrap; }
.subbrand-banner figcaption svg { width: 1.4em; height: 1.1em; flex: none; }
.subbrand-banner figcaption span { display: block; }
@media(max-width:600px) {
  .subbrand-banner figcaption { white-space: normal; }
  .subbrand-banner figcaption svg { display: none; }
}
.subbrand-banner::after { display: none; }
.subbrand-banner-tab { position: absolute; left: var(--subbrand-tab-x,60%); width: var(--subbrand-tab-width,98px); height: var(--subbrand-tab-height,26px); bottom: calc(-1 * var(--subbrand-tab-height,26px) + 1px); display: flex; align-items: center; justify-content: center; background: #202020; border-radius: 0 0 16px 16px; }
.subbrand-banner-tab img { display: block; object-fit: contain; max-width: calc(100% - 16px); }
@media(max-width:600px) {

}
.subbrand-banner-tab { transition: left .36s cubic-bezier(.22,1,.36,1),width .36s cubic-bezier(.22,1,.36,1); }
.subbrand-banner-logo { max-width: 300px; object-fit: contain; object-position: left center; }
@media(min-width:601px) {
  .subbrand-banner-logo { max-width: calc(300px * var(--banner-scale,1)); }
}
@media(max-width:600px) {
  .subbrand-banner-logo { max-width: min(275px,100%); }
}
@media(prefers-reduced-motion:reduce) {
  .subbrand-banner-tab { transition: none; }
}
.subbrand-logo-window { width: 300px; max-width: 100%; height: 22px; overflow: hidden; position: relative; }
.subbrand-logo-window>.subbrand-banner-logo { height: 100%; max-width: 100%; }
.subbrand-logo-window>.subbrand-banner-logo[hidden],.subbrand-logo-track[hidden] { display: none; }
.subbrand-logo-track { display: flex; flex-direction: column; width: 100%; height: 400%; animation: subbrand-logo-rise 6.6s linear infinite; }
.subbrand-logo-track>img { display: block; flex: none; width: 100%; height: 25%; object-fit: contain; object-position: left center; }
@keyframes subbrand-logo-rise {
  0%,22.727273% { transform: translateY(0); animation-timing-function: cubic-bezier(.4,0,.2,1); }
  33.333333%,56.060606% { transform: translateY(-25%); animation-timing-function: cubic-bezier(.4,0,.2,1); }
  66.666667%,89.393939% { transform: translateY(-50%); animation-timing-function: cubic-bezier(.4,0,.2,1); }
  100% { transform: translateY(-75%); }
}
@media(min-width:601px) {
  .subbrand-logo-window { width: calc(300px * var(--banner-scale,1)); height: calc(22px * var(--banner-scale,1)); }
}
@media(max-width:600px) {
  .subbrand-logo-window { height: 19px; width: 275px; }
}
@media(prefers-reduced-motion:reduce) {
  .subbrand-logo-track { animation: none; }
}
@media(max-width:600px) {
  .subbrand-banner { border-radius: 0; box-sizing: border-box; overflow: hidden; justify-content: flex-start; padding: 28px 6%; background: #202020; }
  .subbrand-banner.is-dawn { flex-direction: column; }
  .subbrand-banner-tab { display: none; }
}
@media(max-width:600px) {
  .subbrand-banner,.subbrand-banner:not(.is-dawn) { flex-direction: column; gap: 18px; padding-bottom: 16px; }
  .subbrand-banner figure { display: flex; align-items: flex-end; gap: 12px; text-align: left; }
  .subbrand-banner figcaption { margin: 0; max-width: none; line-height: 1.2; justify-content: flex-start; white-space: nowrap; }
}
@media(max-width:600px) {
  .subbrand-banner,.subbrand-banner:not(.is-dawn) { justify-content: flex-start; }
  .subbrand-banner figure { margin-top: auto; }
  .subbrand-banner.is-dawn .subbrand-banner-copy { margin-bottom: auto; }
}
@media(max-width:600px) {
  .footer-subbrand-trigger,.footer-subbrand-trigger.is-banner-active,.subbrand-banner-tab,.subbrand-banner::after { border-radius: 0; }
}
