/* 品牌资料页复用官网 18 / 16 / 14 字号层级，主体按内容自然增高。 */
.brand-resources { --br-line: var(--line); --br-paper: var(--cream); --br-body: var(--text-body); background: white; }
.brand-resources .container { max-width: 1240px; }
.brand-resources .br-section { scroll-margin-top: 68px; }
.brand-resources .icon { width: 18px; height: 18px; flex-shrink: 0; }
.brand-resources .br-download-icon { transform: rotate(180deg); }
.brand-resources p { font-size: var(--br-body); line-height: 1.8; }
.brand-resources h2 { font-size: clamp(30px,3.4vw,44px); font-weight: 600; }
.brand-resources h3 { font-size: 23px; font-weight: 550; }
.brand-resources a:hover { text-decoration: underline; text-underline-offset: 5px; }
.brand-resources .button:hover { text-decoration: none; }
.br-text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--green); font-size: var(--text-small); }
.brand-resources .br-caption { font-size: var(--text-caption); }
.br-small-label { font-size: var(--text-caption); color: var(--muted); }

/* 独立品牌画面，中心标志与中文标题构成整体。 */
.br-hero { background: var(--br-paper); }
.br-hero-inner { display: flex; flex-direction: column; align-items: center; padding-block: 28px 64px; text-align: center; }
.br-hero-art { margin: 0; width: min(420px,100%); }
.br-hero-art video { display: block; width: 100%; height: 350px; object-fit: contain; }
.br-hero-copy h1 { color: var(--green); font-size: clamp(38px,4.8vw,62px); font-weight: 550; letter-spacing: -.035em; line-height: 1.32; }
.br-hero-copy > p { font-size: 20px; line-height: 1.9; margin-top: 20px; }

.br-jump { position: sticky; top: var(--site-header-height); z-index: 15; background: #fffffff5; backdrop-filter: blur(12px); border-bottom: 1px solid var(--br-line); }
.br-jump-links { display: flex; justify-content: center; gap: 48px; overflow-x: auto; scrollbar-width: none; }
.br-jump-links::-webkit-scrollbar { display: none; }
.br-jump a { flex-shrink: 0; white-space: nowrap; font-size: var(--text-small); padding-block: 20px; border-bottom: 2px solid transparent; }
.br-jump a:hover, .br-jump a[aria-current="location"] { color: var(--green); border-bottom-color: var(--green); text-decoration: none; }
.br-section { padding-block: 80px; }
.br-section-head { display: flex; justify-content: space-between; align-items: end; gap: 48px; margin-bottom: 36px; }
.br-section-head > p { max-width: 29em; }

.br-library-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 24px; border-bottom: 1px solid var(--br-line); padding-bottom: 18px; margin-bottom: 28px; }
.br-library-toolbar > span { font-size: var(--text-caption); color: var(--muted); }
.br-filters { display: flex; gap: 28px; }
.br-filters button { background: none; border: 0; border-bottom: 2px solid transparent; color: var(--muted); padding: 8px 0; font-size: var(--text-small); }
.br-filters button[aria-pressed="true"] { color: var(--green); border-bottom-color: var(--green); }
.br-logo-grid { display: grid; grid-template-columns: 1.05fr 1fr; column-gap: 36px; }
.br-logo-card { display: grid; grid-template-columns: 120px minmax(0,1fr); gap: 24px; align-items: center; min-width: 0; border-bottom: 1px solid var(--br-line); padding-block: 24px; }
.br-logo-stage { display: flex; justify-content: center; align-items: center; min-width: 0; height: 140px; background: #f2f4ef; padding: 20px; border-radius: 4px; }
.br-logo-stage.is-dark { background: var(--green); }
.br-logo-stage img { width: 100%; height: 100%; object-fit: contain; }
.br-kind-icon img { max-width: 90px; }
.br-kind-vertical img { max-width: 90px; }
.br-kind-course-column img { max-width: 45px; }
.br-logo-detail { min-width: 0; }
.br-logo-detail > p { margin-top: 8px; }
.br-logo-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 18px; margin-top: 20px; }
.br-logo-tools > label { width: 136px; }
.br-logo-tools > div { display: flex; flex-wrap: wrap; gap: 16px; }
.br-logo-tools a, .br-application-copy > a, .br-download-row a { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; color: var(--green); font-size: var(--text-small); white-space: nowrap; }
.br-logo-tools .icon { width: 16px; height: 16px; }
.br-logo-card[data-brand-kind="horizontal"], .br-logo-card[data-brand-kind="course-horizontal"] { grid-row: span 3; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 0; border: 0; }
.br-logo-card[data-brand-kind="horizontal"] .br-logo-stage, .br-logo-card[data-brand-kind="course-horizontal"] .br-logo-stage { flex: 1; min-height: 330px; padding: 56px; }
.br-logo-card[data-brand-kind="horizontal"] .br-logo-detail, .br-logo-card[data-brand-kind="course-horizontal"] .br-logo-detail { padding-top: 26px; }
.br-library-footer { margin-top: 28px; }
.brand-resources .br-library-footer p { font-size: var(--text-small); }

/* 原生选择交互，统一箭头与内部焦点提示，不出现额外的外层描边。 */
.br-select { display: block; position: relative; min-width: 0; }
.br-select select { display: block; width: 100%; appearance: none; -webkit-appearance: none; background: white; color: var(--ink); border: 1px solid #cad6cd; border-radius: 6px; font-size: var(--text-small); min-height: 46px; padding: 9px 34px 9px 12px; cursor: pointer; }
.br-select > .br-select-arrow { position: absolute; right: 12px; top: 50%; width: 14px; height: 14px; transform: translateY(-50%) rotate(90deg); pointer-events: none; color: #64796c; }
.br-select select:hover { border-color: #789a88; }
.brand-resources .br-select select:focus { outline: none; border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); }
.brand-resources .br-select select:focus-visible { outline: none; border-color: var(--green); box-shadow: inset 0 0 0 2px var(--green); }

#brand-applications { padding-top: 0; padding-bottom: 0; }
#brand-applications .br-section-head { border-top: 1px solid var(--br-line); padding-top: 56px; }
.br-application-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px; }
.br-application { min-width: 0; }
.br-application-art { display: flex; justify-content: center; align-items: center; height: 215px; background: #edf1ec; border-radius: 4px; }
.br-application-course { background: var(--green); padding: 28px; }
.br-application-course img { width: 100%; height: auto; }
.br-application-avatar { gap: 20px; }
.br-application-avatar img { width: 96px; height: 96px; border-radius: 19px; }
.br-application-avatar img:last-child { border-radius: 50%; }
.br-application-document { padding: 30px; background: #eeeae2; }
.br-application-document img { width: 100%; height: auto; background: white; }
.br-application-copy { padding-top: 22px; }
.br-application-copy p { margin: 10px 0 14px; }
.br-application-copy > a { margin-right: 12px; }
.br-motion-section { padding-block: 56px 80px; }
.br-motion-section .br-section-head { border-top: 1px solid var(--br-line); padding-top: 42px; }
.br-motion-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 36px; }
.br-motion-card { display: grid; grid-template-columns: 180px minmax(0,1fr); align-items: center; gap: 26px; }
.br-motion-card > video { display: block; width: 180px; height: 180px; object-fit: contain; background: var(--br-paper); border-radius: 4px; }
.brand-resources .br-motion-card p { font-size: var(--text-small); margin-top: 10px; }
.br-download-row { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 16px; }
.br-motion-note { margin-top: 28px; }

.br-color-section { background: var(--br-paper); }
.br-palette { display: grid; grid-template-columns: 1.6fr repeat(4,1fr); min-height: 245px; overflow: hidden; border-radius: 4px; }
.br-swatch { display: flex; flex-direction: column; justify-content: space-between; align-items: start; text-align: left; border: 0; border-radius: 0; padding: 24px; font-size: 23px; }
.br-swatch > span:last-child { font-size: var(--text-small); }
.br-swatch small { display: block; font-size: var(--text-caption); margin-top: 8px; opacity: .85; }
.br-swatch:focus-visible { outline-offset: -5px; }
.br-green { color: white; background: var(--green); }
.br-sage { color: #193f38; background: var(--light-green); }
.br-gold { color: #4e412b; background: var(--gold); }
.br-ink { color: white; background: var(--ink); }
.br-ivory { color: var(--ink); background: var(--cream); }
.br-type { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-top: 44px; padding-top: 44px; border-top: 1px solid #d3d8d0; }
.brand-resources .br-type-sample { color: var(--green); font-size: 42px; font-weight: 450; line-height: 1.5; margin-top: 20px; }
.br-type-sample span { display: block; font-size: var(--text-small); letter-spacing: .07em; margin-top: 12px; }
.br-type h3 { margin-bottom: 18px; }
.br-type .br-caption { margin-top: 18px; }

.br-composer { display: grid; grid-template-columns: minmax(0,1fr) 380px; border: 1px solid var(--br-line); border-radius: 6px; overflow: hidden; background: white; }
.br-compose-form { grid-column: 2; grid-row: 1; background: white; padding: 28px; border-left: 1px solid var(--br-line); }
.br-compose-form label { display: block; font-size: var(--text-small); margin-bottom: 8px; }
.br-compose-form > .br-select, .br-compose-form > input { margin-bottom: 20px; }
.br-compose-form input[type="number"] { width: 100%; background: white; border: 1px solid #cad6cd; border-radius: 6px; padding: 9px 12px; font-size: var(--text-small); min-height: 46px; color: var(--ink); }
.br-field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.br-field-pair > div { min-width: 0; }
.br-compose-form input[type="range"] { width: 100%; accent-color: var(--green); }
.br-compose-form output { float: right; }
.br-presets { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; }
.br-presets button { background: #f6f7f3; border: 1px solid var(--br-line); border-radius: 4px; min-height: 36px; padding: 5px 10px; font-size: var(--text-small); }
.br-presets button:hover { border-color: var(--green); }
.br-export-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.br-export-actions button { min-width: 0; min-height: 50px; padding: 10px; font-size: var(--text-small); justify-content: center; }
.br-outline-button { background: white; border: 1px solid var(--green); color: var(--green); border-radius: 6px; }
.br-reset { display: block; margin: 16px auto 0; min-height: 36px; border: 0; background: none; color: var(--muted); font-size: var(--text-small); }
.br-compose-preview { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; justify-content: center; padding: 30px; background: #edf0ea; min-width: 0; }
.br-preview-heading { display: flex; justify-content: space-between; gap: 16px; color: #58715f; font-size: var(--text-caption); padding-bottom: 24px; }
.br-compose-stage { display: flex; align-items: center; justify-content: center; height: 330px; padding: 28px; background: #f8f9f5; }
.br-compose-stage.is-dark { background: #33443e; }
.br-compose-stage img { display: block; object-fit: contain; width: 100%; height: 100%; }
.br-compose-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: var(--text-caption); margin-top: 22px; color: #486757; }
.brand-resources .br-compose-preview > p { font-size: var(--text-caption); margin-top: 16px; }
.brand-resources .br-form-warning { font-size: var(--text-caption); color: #8b4823; background: #fff3e8; padding: 12px; border-radius: 4px; }
.br-export-status { min-height: 28px; font-size: var(--text-small); color: var(--green); padding-top: 14px; }
.br-export-actions button:disabled { cursor: wait; opacity: .6; }
.br-notice { padding: 24px; border: 1px solid var(--br-line); background: white; }
#br-download-result { overflow-wrap: anywhere; font-size: var(--text-small); }

.br-guideline-section { background: var(--br-paper); }
.br-rules { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 56px; }
.br-rules article { display: grid; grid-template-columns: 28px 1fr; column-gap: 18px; border-top: 1px solid #d5dcd3; padding-top: 28px; }
.br-rules article > span { color: #617d6e; font-size: var(--text-caption); padding-top: 5px; }
.br-rules h3 { margin-bottom: 14px; }
.br-rules p { grid-column: 2; }
.brand-resources .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 1150px) {
  .br-section-head { gap: 32px; }
  .br-jump-links { gap: 36px; }
  .br-logo-grid { column-gap: 28px; }
  .br-logo-card { grid-template-columns: 100px minmax(0,1fr); gap: 20px; }
  .br-application-grid { gap: 24px; }
  .br-application-avatar { gap: 15px; }
  .br-application-avatar img { width: 78px; height: 78px; }
  .br-motion-card { grid-template-columns: 135px minmax(0,1fr); gap: 24px; }
  .br-motion-card > video { width: 135px; height: 135px; }
  .br-palette { grid-template-columns: repeat(5,1fr); }
  .br-swatch { padding: 20px 16px; }
}
@media (max-width: 1000px) {
  .br-logo-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .br-logo-card, .br-logo-card[data-brand-kind="horizontal"], .br-logo-card[data-brand-kind="course-horizontal"] { display: flex; flex-direction: column; align-items: stretch; gap: 0; grid-row: auto; padding: 0; border: 0; }
  .br-logo-stage, .br-logo-card[data-brand-kind="horizontal"] .br-logo-stage, .br-logo-card[data-brand-kind="course-horizontal"] .br-logo-stage { flex: auto; min-height: 200px; height: 200px; padding: 32px; }
  .br-kind-icon img, .br-kind-vertical img { max-width: 110px; }
  .br-kind-course-column img { max-width: 55px; }
  .br-logo-detail, .br-logo-card[data-brand-kind="horizontal"] .br-logo-detail, .br-logo-card[data-brand-kind="course-horizontal"] .br-logo-detail { padding-top: 22px; }
  .br-application-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .br-application-wide { grid-column: 1/-1; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 32px; }
  .br-application-wide .br-application-copy { padding: 0; }
  .br-type { gap: 36px; }
  .brand-resources .br-type-sample { font-size: 34px; }
  .br-composer { grid-template-columns: minmax(0,1fr) 340px; }
  .br-compose-form { padding: 24px; }
  .br-compose-preview { padding: 24px; }
  .br-compose-stage { padding: 18px; }
}
@media (max-width: 760px) {
  .brand-resources .container { width: calc(100% - 40px); }
  .brand-resources .br-section { scroll-margin-top: 75px; }
  .br-hero-inner { padding-block: 24px 48px; }
  .br-hero-art { width: min(330px,100%); }
  .br-hero-art video { height: 280px; }
  .br-hero-copy h1 { font-size: clamp(34px,8vw,42px); }
  .br-hero-copy > p { font-size: 18px; margin-top: 18px; }
  .br-jump-links { justify-content: flex-start; gap: 26px; }
  .br-jump a { padding-block: 16px; }
  .br-section { padding-block: 56px; }
  .br-section-head { display: block; margin-bottom: 30px; }
  .brand-resources h2 { font-size: 30px; }
  .brand-resources h3 { font-size: 22px; }
  .br-section-head > p { margin-top: 18px; }
  .br-section-head > p br { display: none; }
  .br-library-toolbar { align-items: start; flex-direction: column; gap: 12px; }
  .br-logo-grid { gap: 32px 24px; }
  #brand-applications .br-section-head { padding-top: 42px; }
  .br-motion-grid { grid-template-columns: 1fr; gap: 32px; }
  .br-motion-card { grid-template-columns: 145px minmax(0,1fr); gap: 22px; }
  .br-motion-card > video { width: 145px; height: 145px; }
  .br-motion-section { padding-block: 42px 56px; }
  .br-motion-section .br-section-head { padding-top: 32px; }
  .br-palette { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .br-swatch { min-height: 180px; padding: 22px; }
  .br-swatch:first-child { grid-column: 1/-1; min-height: 185px; }
  .br-type { grid-template-columns: 1fr; gap: 32px; padding-top: 32px; margin-top: 32px; }
  .br-composer { grid-template-columns: 1fr; }
  .br-compose-preview { grid-column: 1; grid-row: 1; padding: 22px; }
  .br-compose-form { grid-column: 1; grid-row: 2; border-left: 0; border-top: 1px solid var(--br-line); padding: 24px; }
  .br-preview-heading { padding-bottom: 18px; }
  .br-compose-stage { height: 230px; }
  .br-rules { grid-template-columns: 1fr; gap: 28px; }
  .br-rules article { padding-top: 24px; column-gap: 14px; }
}
@media (max-width: 600px) {
  .brand-resources { --br-body: var(--text-small); }
  .br-logo-grid { grid-template-columns: 1fr; }
  .br-application-grid, .br-application-wide { display: block; }
  .br-application + .br-application { margin-top: 36px; }
  .br-application-wide .br-application-copy { padding-top: 22px; }
  .br-application-art { height: 215px; }
  .br-application-avatar img { width: 100px; height: 100px; }
  .br-motion-card { grid-template-columns: 1fr; gap: 22px; }
  .br-motion-card > video { width: 100%; height: 245px; }
  .br-download-row { gap: 10px 24px; }
}
@media (max-width: 360px) {
  .brand-resources .container { width: calc(100% - 32px); }
  .br-hero-art video { height: 250px; }
  .br-hero-copy h1 { font-size: 34px; }
  .br-logo-tools { align-items: start; }
  .br-logo-tools > label { width: 128px; }
  .br-logo-tools > div { gap: 14px; }
  .br-compose-form, .br-compose-preview { padding: 18px; }
  .br-field-pair { gap: 10px; }
  .br-select select { padding-inline: 10px 26px; }
  .br-select > .br-select-arrow { right: 8px; }
  .br-export-actions { gap: 8px; }
  .br-export-actions button { padding-inline: 6px; }
}
