/* Frozen brand; only navigation, page ownership and the requested bell. */
html[data-surface="consumer"], html[data-surface="consumer"] body { min-width: 0; }
html[data-surface="consumer"] .product-header .tabs,
.brandbar-tabs { justify-content: center; }
.brandbar-tab { text-decoration: none; }
.ganji-consumer-page .brandbar-inner { min-height: 44px; }
.ganji-consumer-page .brandbar { max-width: 1140px; }
html.in-mini-program .ganji-consumer-page .brandbar { width: calc(100% - 28px); margin: 12px auto; }
html[data-surface="consumer"] .two-col { display: block; }
.consumer-message-bell { display: none; }
html[data-surface="consumer"] .consumer-message-bell {
  position: relative; display: grid; flex: none; width: 44px; height: 44px;
  margin-left: auto; place-items: center; border: 1px solid rgba(255,255,255,.42);
  border-radius: 50%; color: #fff; background: rgba(255,255,255,.12); text-decoration: none;
}
.consumer-message-bell svg { width: 23px; height: 23px; }
.consumer-message-bell:hover { background: rgba(255,255,255,.24); }
.consumer-message-bell:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.consumer-message-count { position: absolute; top: -3px; right: -3px; min-width: 17px; height: 17px; padding: 0 3px; border: 1px solid #fff; border-radius: 9px; background: #A7351B; color: #fff; font-size: 10px; font-weight: 700; line-height: 15px; text-align: center; }
.consumer-message-count[hidden] { display: none; }
html[data-surface="consumer"] .consumer-account-bar:not([hidden]) { margin-left: 0; }
html[data-surface="consumer"] .brand-copy { flex: 1; min-width: 0; }
html[data-surface="consumer"] .brand-name { white-space: nowrap; }
html[data-surface="consumer"] .brand-sub { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.consumer-navigation,
html[data-surface="consumer"] .mobile-tabbar.consumer-navigation {
  position: fixed; z-index: 90; left: 0; right: 0; bottom: 0;
  display: grid; grid-template-columns: repeat(4,minmax(0,1fr));
  min-height: 62px; padding: 6px 8px max(6px,env(safe-area-inset-bottom));
  border-top: 1px solid #F3E4D8; background: rgba(255,255,255,.98);
  box-shadow: 0 -7px 22px rgba(96,54,28,.09);
}
.consumer-navigation a,
html[data-surface="consumer"] .mobile-tabbar.consumer-navigation a {
  display: flex; flex-direction: column; min-width: 0; min-height: 48px;
  align-items: center; justify-content: center; gap: 4px; border: 0;
  color: #8C786B; background: transparent; font-size: 10px; text-decoration: none;
}
.consumer-navigation a span,
html[data-surface="consumer"] .mobile-tabbar.consumer-navigation a span {
  display: grid; width: 32px; height: 27px; place-items: center; border-radius: 8px;
}
.consumer-navigation svg { display: block; width: 22px; height: 22px; }
.consumer-navigation a[aria-current="page"],
html[data-surface="consumer"] .mobile-tabbar.consumer-navigation a[aria-current="page"] { color: #F04E1F; }
.consumer-navigation a[aria-current="page"] span { background: #FFF1E8; }
.consumer-navigation a:focus-visible { outline: 2px solid #F04E1F; outline-offset: -2px; border-radius: 8px; }
.consumer-navigation a:hover { color: #F04E1F; }
html[data-surface="merchant"] .consumer-navigation,
html[data-surface="ops"] .consumer-navigation { display: none !important; }
.consumer-return { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; margin-bottom: 8px; color: #F04E1F; font-size: 13px; font-weight: 700; text-decoration: none; }
.consumer-return svg { width: 17px; height: 17px; }
.fair-calendar-card { margin-top: 14px; padding: 18px; border: 1px solid #F3E4D8; border-radius: 14px; background: #fff; box-shadow: 0 2px 10px rgba(180,90,30,.08); }
.fair-calendar-card h2 { font-size: 19px; }
.fair-calendar-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 22px; }
.fair-calendar-row { display: flex; align-items: center; gap: 12px; padding: 15px 0; border-top: 1px dashed #F3E4D8; }
.fair-calendar-copy { display: grid; min-width: 0; flex: 1; gap: 5px; }
.fair-calendar-copy b { font-size: 15px; }
.fair-calendar-copy span { color: #7A6A5F; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.fair-subscribe { flex: none; min-height: 44px; padding: 0 10px; border: 1px solid #E8D5C5; border-radius: 10px; color: #7A5140; background: #fff; font-size: 12px; font-weight: 700; cursor: pointer; }
.fair-subscribe[aria-pressed="true"] { border-color: #A7DFC6; background: #E7F6EF; color: #1E7A52; }
.fair-subscribe:disabled { cursor: wait; opacity: .7; }
.fair-status { font-size: 12px; line-height: 1.6; color: #7A6A5F; }
.record-entry { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 62px; padding: 14px 16px; border-top: 1px solid #F3E4D8; color: #2D2320; text-decoration: none; }
.record-entry b { font-size: 14px; }
.record-entry span { color: #F04E1F; font-size: 12px; }
.member-symbol { display: grid; width: 48px; height: 48px; flex: none; place-items: center; border-radius: 14px; background: #FFF1E8; color: #F04E1F; }
.member-symbol svg { width: 25px; height: 25px; }
.member-section-head h2 { font-size: 16px; }
.member-card[id] { scroll-margin-top: 95px; }
.member-stat-grid a { display: grid; gap: 3px; padding: 13px 10px; color: inherit; text-align: center; text-decoration: none; }
.member-stat-grid a+a { border-left: 1px solid #F3E4D8; }
.member-error { padding: 24px 20px; }
.member-card.member-empty { padding: 18px 16px; }
.member-error h1 { margin-top: 0; font-size: 20px; }
.member-error p { color: #7A6A5F; font-size: 13px; line-height: 1.6; }
.member-error button { min-height: 44px; }
.code-filter { display: flex; gap: 8px; padding: 0 16px 16px; }
.code-filter button { flex: 1; min-height: 44px; padding: 8px; border: 1px solid #E8D5C5; border-radius: 10px; background: #fff; color: #7A6A5F; font: inherit; font-size: 13px; cursor: pointer; }
.code-filter button[aria-pressed="true"] { border-color: #FFD6BD; background: #FFF1E8; color: #F04E1F; font-weight: 700; }
.visit-code-card { margin-bottom: 12px; padding: 16px; }
.visit-code-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.visit-code-head h2 { margin: 0; font-size: 16px; overflow-wrap: anywhere; }
.visit-code-head .badge { flex: none; padding: 4px 7px; border-radius: 7px; font-size: 11px; }
.visit-code-card p { margin: 8px 0; color: #7A6A5F; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.visit-code-number { margin: 12px 0; color: #F04E1F; font-size: 30px; font-weight: 800; font-family: ui-monospace,Consolas,monospace; letter-spacing: 6px; }
.visit-code-meta { padding-top: 10px; border-top: 1px dashed #F3E4D8; }
.visit-code-meta p { margin: 4px 0; font-size: 12px; }
.visit-code-help { margin: 0 16px 16px; color: #7A6A5F; font-size: 12px; line-height: 1.6; }
.member-login .row-link { display: block; margin-top: 16px; min-height: 30px; }
.fair-calendar-card a:focus-visible, .member-card a:focus-visible, .code-filter button:focus-visible { outline: 2px solid #F04E1F; outline-offset: 3px; }
@media (min-width: 681px) {
  .consumer-navigation, html[data-surface="consumer"] .mobile-tabbar.consumer-navigation { max-width: 560px; margin: auto; border: 1px solid #F3E4D8; border-bottom: 0; border-radius: 14px 14px 0 0; }
  html[data-surface="consumer"] #app { padding-bottom: 88px; }
}
body.ganji-consumer-page { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
@media (max-width: 720px) {
  .ganji-consumer-page .brandbar { padding: 12px 14px 14px; }
  .ganji-consumer-page .brand { gap: 10px; }
  .ganji-consumer-page .brand img { width: 40px; height: 40px; border-radius: 12px; }
  .ganji-consumer-page .brand strong { font-size: 18px; letter-spacing: .5px; }
  .ganji-consumer-page .brand small { font-size: 10px; }
  .ganji-consumer-page .brandbar-tab { min-height: 36px; padding: 8px 13px; }
  .fair-calendar-list { grid-template-columns: minmax(0,1fr); }
  .fair-calendar-card { padding: 16px; }
  .fair-calendar-card h2 { font-size: 17px; }
}
@media (max-width: 360px) {
  html[data-surface="consumer"].consumer-account-active .brand-row { gap: 6px; }
  html[data-surface="consumer"].consumer-account-active .brand-name { font-size: 14px; letter-spacing: 0; }
  html[data-surface="consumer"].consumer-account-active .brand-sub { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) { .member-loading span { animation: none; } }
