/* 2026-10-10 • Approved category palette for installed Benefit Map only.
   Policy: tropical mint; domestic: ocean pop; overseas: sunset trip;
   festivals: festival purple. Keep default website and all map SDKs untouched. */
@media (max-width: 760px) {
  html.bc-installed-app[data-bm-theme="policy"] {
    --bm-accent:#00A89E; --bm-main:#007F79; --bm-deep:#006F68;
    --bm-pale:#E8F9F7; --bm-line:#99E4DA; --bm-ink:#102D37;
    --bm-pop:#FFD058;
  }
  html.bc-installed-app[data-bm-theme="domestic"] {
    --bm-accent:#0864DE; --bm-main:#0864DE; --bm-deep:#07398F;
    --bm-pale:#E8F4FF; --bm-line:#A4CFFF; --bm-ink:#132B53;
    --bm-pop:#FFD058;
  }
  html.bc-installed-app[data-bm-theme="overseas"] {
    --bm-accent:#FF6B6B; --bm-main:#B52B48; --bm-deep:#A21C3D;
    --bm-pale:#FFF0ED; --bm-line:#FFC1B7; --bm-ink:#45233A;
    --bm-pop:#FFD166;
  }
  html.bc-installed-app[data-bm-theme="festival"] {
    --bm-accent:#8B5CF6; --bm-main:#7838C8; --bm-deep:#5426A0;
    --bm-pale:#F4EAFF; --bm-line:#D7B9FF; --bm-ink:#32224C;
    --bm-pop:#FBC02D; --bm-secondary:#EC4899;
  }
  html.bc-installed-app[data-bm-theme="home"] {
    --bm-accent:#0864DE; --bm-main:#0864DE; --bm-deep:#07398F;
    --bm-pale:#E8F4FF; --bm-line:#A4CFFF; --bm-ink:#132B53;
    --bm-pop:#FFD058;
  }

  /* Scoped to the installed Android/PWA app; the standard site is unchanged. */
  html.bc-installed-app[data-bm-theme] body {
    background:linear-gradient(180deg,#F6FBFF 0%,#FFFFFF 40%,var(--bm-pale) 130%)!important;
    color:var(--bm-ink)!important;
  }
  html.bc-installed-app[data-bm-theme] body .bc-header {
    background:linear-gradient(110deg,var(--bm-deep),var(--bm-main))!important;
    border-bottom:2px solid var(--bm-accent)!important;
    box-shadow:0 8px 22px rgba(18,36,70,.16)!important;
    color:#FFFFFF!important;
  }
  html.bc-installed-app[data-bm-theme] body .bc-header .bc-brand,
  html.bc-installed-app[data-bm-theme] body .bc-header .bc-subnav>a,
  html.bc-installed-app[data-bm-theme] body .bc-header .bc-subnav .nav-world,
  html.bc-installed-app[data-bm-theme] body .bc-header .bc-brand small {
    color:#FFFFFF!important;
  }
  html.bc-installed-app[data-bm-theme] body .bc-header .bc-subnav>a {
    background:rgba(255,255,255,.12)!important;
    border-color:rgba(255,255,255,.16)!important;
    border-radius:12px;
  }
  html.bc-installed-app[data-bm-theme] body .bc-header .bc-subnav>a[aria-current="page"],
  html.bc-installed-app[data-bm-theme] body .bc-header .bc-subnav>a:hover {
    background:#FFFFFF!important;
    color:var(--bm-deep)!important;
  }
  html.bc-installed-app[data-bm-theme] body .bc-header .bc-nav-language {
    background:#FFFFFF!important;
    color:var(--bm-deep)!important;
  }
  html.bc-installed-app[data-bm-theme] body :is(button,a,input,select,summary):focus-visible {
    outline:3px solid var(--bm-pop)!important;
    outline-offset:3px!important;
  }

  /* A four-color section preview on the app homepage. Keep existing links. */
  html.bc-installed-app body.concierge-home .bc-hero {
    background:linear-gradient(125deg,#07398F 0%,#0864DE 66%,#008C98 100%)!important;
    border-color:#0864DE!important;
    box-shadow:0 15px 35px rgba(8,100,222,.23)!important;
    color:#FFFFFF!important;
  }
  html.bc-installed-app body.concierge-home .bc-hero :is(h1,h2,h1 span,h2 span),
  html.bc-installed-app body.concierge-home .bc-hero .bc-intro {
    color:#FFFFFF!important;
    text-shadow:none!important;
  }
  html.bc-installed-app body.concierge-home .bc-hero #concierge-form {
    background:#FFFFFF!important;
  }
  html.bc-installed-app body.concierge-home .bc-hero .bc-send {
    background:#FFD058!important;
    color:#142B4F!important;
    border-color:#FFD058!important;
  }
  html.bc-installed-app body.concierge-home .quick a.card[href^="/policies/"],
  html.bc-installed-app body.mobile-lite-home .mh-grid a[href^="/policies/"] {
    background:linear-gradient(135deg,#E8F9F7,#FFFFFF)!important;
    border:1px solid #99E4DA!important;
    border-top:4px solid #00A89E!important;
    color:#103C3C!important;
  }
  html.bc-installed-app body.concierge-home .quick a.card[href^="/travel/"],
  html.bc-installed-app body.mobile-lite-home .mh-grid a[href^="/travel/"] {
    background:linear-gradient(135deg,#E8F4FF,#FFFFFF)!important;
    border:1px solid #A4CFFF!important;
    border-top:4px solid #0864DE!important;
    color:#132B53!important;
  }
  html.bc-installed-app body.concierge-home .quick a.card[href^="/world-travel/"],
  html.bc-installed-app body.mobile-lite-home .mh-grid a[href^="/overseas-travel/"],
  html.bc-installed-app body.mobile-lite-home .mh-grid a[href^="/world-travel/"] {
    background:linear-gradient(135deg,#FFF0ED,#FFFFFF)!important;
    border:1px solid #FFC1B7!important;
    border-top:4px solid #FF6B6B!important;
    color:#49223A!important;
  }
  html.bc-installed-app body.mobile-lite-home .mh-grid a[href^="/festivals/"],
  html.bc-installed-app body.concierge-home .quick a.card[href^="/festivals/"] {
    background:linear-gradient(135deg,#F4EAFF,#FFFFFF)!important;
    border:1px solid #D7B9FF!important;
    border-top:4px solid #8B5CF6!important;
    color:#32224C!important;
  }
  html.bc-installed-app body.concierge-home .quick a.card :is(h3,p),
  html.bc-installed-app body.mobile-lite-home .mh-grid a :is(strong,small) {
    color:inherit!important;
    text-shadow:none!important;
  }
  html.bc-installed-app body.concierge-home .bc-live-column:nth-child(2) {
    border-top:4px solid #8B5CF6!important;
  }

  /* Government policies • tropical mint */
  html.bc-installed-app[data-bm-theme="policy"] body :is(.hero,.local-hero) {
    background:linear-gradient(120deg,#006F68 0%,#007F79 70%,#009B92 100%)!important;
    color:#FFFFFF!important;
    border-color:#00A89E!important;
  }
  html.bc-installed-app[data-bm-theme="policy"] body :is(.hero,.local-hero) :is(h1,h2),
  html.bc-installed-app[data-bm-theme="policy"] body :is(.hero,.local-hero)>div>p,
  html.bc-installed-app[data-bm-theme="policy"] body .hero .hero-inner>p {
    color:#FFFFFF!important;
  }
  html.bc-installed-app[data-bm-theme="policy"] body .hero .mode-card:not(.active),
  html.bc-installed-app[data-bm-theme="policy"] body .hero .policy-mode-card:not(.active) {
    border-color:#FFFFFF90!important;
    background:#FFFFFF20!important;
    color:#FFFFFF!important;
  }
  html.bc-installed-app[data-bm-theme="policy"] body :is(.mode-card,.policy-mode-card).active {
    background:#FFFFFF!important;
    border-color:#FFFFFF!important;
    color:#006F68!important;
  }
  html.bc-installed-app[data-bm-theme="policy"] body :is(.mode-card,.policy-mode-card).active :is(strong,small,span) {
    color:#006F68!important;
  }
  html.bc-installed-app[data-bm-theme="policy"] body :is(.search-button,.detail-link,.search-submit,.region-card.ready) {
    background:#007F79!important;
    border-color:#007F79!important;
    color:#FFFFFF!important;
  }
  html.bc-installed-app[data-bm-theme="policy"] body :is(.policy-card,.region-card,.search-panel,.card) {
    border-color:#99E4DA!important;
  }
  html.bc-installed-app[data-bm-theme="policy"] body .hero-badge,
  html.bc-installed-app[data-bm-theme="policy"] body .policy-mode-icon {
    background:#E8F9F7!important;
    color:#006F68!important;
  }

  /* Domestic trips • ocean pop. Never touch NAVER map canvas or controls. */
  html.bc-installed-app[data-bm-theme="domestic"] body.secretary-page .tn-hero,
  html.bc-installed-app[data-bm-theme="domestic"] body.travel-map-page .tm-heading {
    background:linear-gradient(125deg,#07398F 0%,#0864DE 70%,#008C98 120%)!important;
    border-color:#0864DE!important;
    color:#FFFFFF!important;
    box-shadow:0 10px 26px rgba(8,100,222,.20)!important;
  }
  html.bc-installed-app[data-bm-theme="domestic"] body.secretary-page .tn-hero :is(h1,p,.tn-eyebrow),
  html.bc-installed-app[data-bm-theme="domestic"] body.travel-map-page .tm-heading :is(h1,p,.tm-eyebrow) {
    color:#FFFFFF!important;
  }
  html.bc-installed-app[data-bm-theme="domestic"] body.secretary-page .tn-hero .tn-primary {
    background:#FFFFFF!important;
    border-color:#FFFFFF!important;
    color:#07398F!important;
  }
  html.bc-installed-app[data-bm-theme="domestic"] body.secretary-page :is(.tn-discover,.tn-region-explore,.tn-place-card,.tn-search) {
    border-color:#A4CFFF!important;
  }
  html.bc-installed-app[data-bm-theme="domestic"] body.secretary-page :is(.tn-featured-controls button,.tn-region-arrows button,.tn-fields>.tn-primary) {
    background:#0864DE!important;
    border-color:#0864DE!important;
    color:#FFFFFF!important;
  }
  html.bc-installed-app[data-bm-theme="domestic"] body.secretary-page .tn-national-list a.is-active,
  html.bc-installed-app[data-bm-theme="domestic"] body.secretary-page .tn-districts a.is-active {
    background:#07398F!important;
    color:#FFFFFF!important;
    border-color:#07398F!important;
  }
  html.bc-installed-app[data-bm-theme="domestic"] body.travel-map-page .tm-naver-launch-main {
    background:#0864DE!important;
    color:#FFFFFF!important;
    border-color:#0864DE!important;
  }
  html.bc-installed-app[data-bm-theme="domestic"] body.travel-detail-page .hero {
    background:#FFFFFF!important;
    border:2px solid #A4CFFF!important;
  }
  html.bc-installed-app[data-bm-theme="domestic"] body.travel-detail-page .hero-body {
    background:linear-gradient(145deg,#E8F4FF,#FFFFFF)!important;
    color:#132B53!important;
  }
  html.bc-installed-app[data-bm-theme="domestic"] body.travel-detail-page .hero-body h1 {
    color:#132B53!important;
  }

  /* World trips • sunset coral; Google map content is unchanged. */
  html.bc-installed-app[data-bm-theme="overseas"] body.overseas-page .overseas-hero,
  html.bc-installed-app[data-bm-theme="overseas"] body.overseas-detail-page .hero {
    background:linear-gradient(115deg,#A21C3D,#B52B48 65%,#D63D55)!important;
    border-color:#FF6B6B!important;
    color:#FFFFFF!important;
  }
  html.bc-installed-app[data-bm-theme="overseas"] body.overseas-page .overseas-hero>h1,
  html.bc-installed-app[data-bm-theme="overseas"] body.overseas-page .overseas-hero>p,
  html.bc-installed-app[data-bm-theme="overseas"] body.overseas-page .overseas-hero>.eyebrow,
  html.bc-installed-app[data-bm-theme="overseas"] body.overseas-detail-page .hero :is(h1,p,.back) {
    color:#FFFFFF!important;
  }
  html.bc-installed-app[data-bm-theme="overseas"] body.world-travel-page .wt-copy {
    background:linear-gradient(145deg,#A21C3D,#B52B48 75%,#D63D55)!important;
    color:#FFFFFF!important;
  }
  html.bc-installed-app[data-bm-theme="overseas"] body.world-travel-page .wt-copy :is(h1,p,.wt-kicker) {
    color:#FFFFFF!important;
  }
  html.bc-installed-app[data-bm-theme="overseas"] body.world-travel-page .wt-cta a.primary {
    background:#FFFFFF!important;
    border-color:#FFFFFF!important;
    color:#A21C3D!important;
  }
  html.bc-installed-app[data-bm-theme="overseas"] body.world-travel-page .wt-cta a:not(.primary) {
    background:#FFF0ED!important;
    color:#A21C3D!important;
  }
  html.bc-installed-app[data-bm-theme="overseas"] body.world-travel-page :is(.wt-category,.wt-city,.wt-place,.wt-panel) {
    border-color:#FFC1B7!important;
  }
  html.bc-installed-app[data-bm-theme="overseas"] body.world-travel-page .we-entry {
    border-color:#FFC1B7!important;
  }
  html.bc-installed-app[data-bm-theme="overseas"] body.overseas-page :is(.overseas-explorer,.country-region-group,.place-card) {
    border-color:#FFC1B7!important;
  }
  html.bc-installed-app[data-bm-theme="overseas"] body.overseas-detail-page :is(.info-actions .info-map,.actions .nav,.departure a,.region-guide-actions a:first-child) {
    background:#B52B48!important;
    border-color:#B52B48!important;
    color:#FFFFFF!important;
  }

  /* Local festivals • festival purple with pink and sunshine accent. */
  html.bc-installed-app[data-bm-theme="festival"] body .hero {
    background:linear-gradient(115deg,#5426A0 0%,#7838C8 72%,#8B5CF6 115%)!important;
    color:#FFFFFF!important;
    border-color:#8B5CF6!important;
  }
  html.bc-installed-app[data-bm-theme="festival"] body .hero :is(h1,p,.hero-description) {
    color:#FFFFFF!important;
  }
  html.bc-installed-app[data-bm-theme="festival"] body .hero .badge {
    background:#FFD058!important;
    border-color:#FFD058!important;
    color:#32224C!important;
  }
  html.bc-installed-app[data-bm-theme="festival"] body :is(.bm-filter-submit,.festival-actions a.primary,.festival-carousel-controls button) {
    background:#7838C8!important;
    border-color:#7838C8!important;
    color:#FFFFFF!important;
  }
  html.bc-installed-app[data-bm-theme="festival"] body :is(.bm-festival-card,.bm-filter-shell,.panel,.festival-quick-info) {
    border-color:#D7B9FF!important;
  }
  html.bc-installed-app[data-bm-theme="festival"] body .bm-festival-card {
    border-top:4px solid var(--bm-secondary)!important;
  }
  html.bc-installed-app[data-bm-theme="festival"] body :is(.bm-card-title,.section-head h2) {
    color:#5426A0!important;
  }
  html.bc-installed-app[data-bm-theme="festival"] body :is(.bm-tag.free,.bm-status) {
    background:#F4EAFF!important;
    color:#5426A0!important;
  }

  @media (prefers-reduced-motion:reduce) {
    html.bc-installed-app[data-bm-theme] body .bc-header,
    html.bc-installed-app[data-bm-theme] body .hero {
      scroll-behavior:auto;
    }
  }
}


/* 2026-10-10 installed-app screenshot follow-up: compact reading and usable controls.
   Public browser pages, Google/NAVER maps, and stored travel content are untouched. */
@media (max-width:720px) {
  /* Keep the language selector in sight rather than off the right of a scrolling nav. */
  html.bc-installed-app body .bc-header {
    position:relative!important;
    overflow:visible!important;
    isolation:isolate;
  }
  html.bc-installed-app body .bc-header .bc-brand {
    max-width:calc(100% - 118px)!important;
    min-width:0!important;
    overflow:hidden;
    white-space:nowrap;
    text-overflow:ellipsis;
  }
  html.bc-installed-app body .bc-header .bc-subnav {
    position:static!important;
    min-width:0!important;
    max-width:100%!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
  }
  html.bc-installed-app body .bc-header .bc-language-menu {
    position:absolute!important;
    top:9px!important;
    right:9px!important;
    left:auto!important;
    bottom:auto!important;
    margin:0!important;
    z-index:1200!important;
  }
  html.bc-installed-app body .bc-header .bc-language-menu > summary {
    display:flex!important;
    max-width:112px!important;
    min-height:40px!important;
    padding:6px 9px!important;
    font-size:12px!important;
  }
  html.bc-installed-app body .bc-header .bc-language-options {
    position:fixed!important;
    top:57px!important;
    right:9px!important;
    left:auto!important;
    bottom:auto!important;
    width:min(310px,calc(100vw - 18px))!important;
    max-width:calc(100vw - 18px)!important;
    max-height:65dvh!important;
    overflow-y:auto!important;
    z-index:1201!important;
  }
  html.bc-installed-app body.overseas-page > .bc-header {
    padding-left:10px!important;
    padding-right:10px!important;
  }
  html.bc-installed-app body.overseas-page > .bc-header .bc-subnav {
    width:100%!important;
    margin-left:0!important;
  }

  /* On benefits/festivals, the separate travel-navigation hub wastes a screen. */
  html.bc-installed-app[data-bm-theme="festival"] body > .travel-nav-hub,
  html.bc-installed-app[data-bm-theme="policy"] body > .travel-nav-hub {
    display:none!important;
  }

  /* Staff button stays accessible but no longer blocks the mobile header. */
  html.bc-installed-app body > a[aria-label="AI 직원 근무 현황 열기"] {
    position:fixed!important;
    top:auto!important;
    bottom:calc(80px + env(safe-area-inset-bottom))!important;
    right:9px!important;
    left:auto!important;
    display:inline-flex!important;
    align-items:center;
    justify-content:center;
    min-height:40px!important;
    padding:7px 10px!important;
    font-size:11px!important;
    white-space:nowrap!important;
    z-index:10020!important;
  }

  /* Distinct, small bottom-corner tools. They remain clickable. */
  html.bc-installed-app body .travel-menu-translate-fab {
    position:fixed!important;
    top:auto!important;
    left:8px!important;
    right:auto!important;
    bottom:calc(12px + env(safe-area-inset-bottom))!important;
    width:44px!important;
    height:44px!important;
    min-width:44px!important;
    min-height:44px!important;
    padding:4px!important;
    transform:none!important;
    z-index:10022!important;
  }
  html.bc-installed-app body .tc-launch-avatar {
    width:44px!important;
    height:44px!important;
  }
  html.bc-installed-app body .tc-launch-avatar img {
    width:42px!important;
    height:42px!important;
  }

  /* Previously blue-on-blue privacy text was unreadable on the new home hero. */
  html.bc-installed-app body.concierge-home .bc-hero .bc-ai-consent,
  html.bc-installed-app body.concierge-home .bc-hero .bc-ai-consent :is(strong,small,span),
  html.bc-installed-app body.concierge-home .bc-hero .bc-ai-details > summary {
    color:#FFFFFF!important;
    opacity:1!important;
    text-shadow:0 1px 2px rgba(1,28,73,.38)!important;
  }
  html.bc-installed-app body.concierge-home .bc-hero .bc-ai-consent small {
    color:#EAF6FF!important;
  }
  html.bc-installed-app body.concierge-home .bc-hero .bc-ai-details[open] > div {
    background:#FFFFFF!important;
    color:#25364A!important;
    border-radius:10px!important;
    padding:12px!important;
    text-shadow:none!important;
  }
  html.bc-installed-app body.concierge-home .bc-hero .bc-ai-details[open] > div a {
    color:#064AA9!important;
  }
  /* The old desktop grid was clipped on 320-360px PWA screens. */
  html.bc-installed-app body.concierge-home :is(.bc-guides,.bc-live-grid) {
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    width:100%!important;
    max-width:100%!important;
    gap:10px!important;
  }
  html.bc-installed-app body.concierge-home :is(.bc-guide,.bc-live-column,.bc-trust) {
    min-width:0!important;
    max-width:100%!important;
    overflow-wrap:anywhere;
  }
  html.bc-installed-app body.concierge-home .bc-guide {
    min-height:0!important;
    padding:17px!important;
  }
  html.bc-installed-app body.concierge-home .bc-guide h3 {
    font-size:20px!important;
    margin:10px 0 7px!important;
  }
  html.bc-installed-app body.concierge-home .bc-guide p {margin:0 0 10px!important}

  /* Use a compact festival hero and search on narrow app screens. */
  html.bc-installed-app[data-bm-theme="festival"] body .hero-inner {
    padding:20px 17px 19px!important;
  }
  html.bc-installed-app[data-bm-theme="festival"] body .hero h1 {
    font-size:27px!important;
    line-height:1.25!important;
  }
  html.bc-installed-app[data-bm-theme="festival"] body .hero p {
    margin-top:9px!important;
    font-size:13px!important;
    line-height:1.55!important;
  }
  html.bc-installed-app[data-bm-theme="festival"] body .container {
    padding-top:12px!important;
  }
  html.bc-installed-app[data-bm-theme="festival"] body .bm-filter-shell {
    margin:7px 0 15px!important;
    padding:12px 13px!important;
    border-radius:16px!important;
  }
  html.bc-installed-app[data-bm-theme="festival"] body .bm-filter-head {
    margin-bottom:11px!important;
    gap:8px!important;
  }
  html.bc-installed-app[data-bm-theme="festival"] body .bm-filter-head h2 {
    font-size:19px!important;
    line-height:1.35!important;
    overflow-wrap:anywhere;
  }
  html.bc-installed-app[data-bm-theme="festival"] body .bm-filter-head p {
    margin-top:5px!important;
    color:#495971!important;
    font-size:12px!important;
    line-height:1.55!important;
  }
  html.bc-installed-app[data-bm-theme="festival"] body .bm-filter-eyebrow {
    padding:4px 9px!important;
    margin-bottom:6px!important;
  }
  html.bc-installed-app[data-bm-theme="festival"] body .bm-filter-reset {
    margin-top:7px!important;
  }
  html.bc-installed-app[data-bm-theme="festival"] body .bm-filter-grid {
    gap:8px!important;
  }
  html.bc-installed-app[data-bm-theme="festival"] body .bm-filter-field > span {
    margin-bottom:4px!important;
  }
  html.bc-installed-app[data-bm-theme="festival"] body .bm-filter-field :is(input,select),
  html.bc-installed-app[data-bm-theme="festival"] body .bm-filter-submit {
    min-height:44px!important;
    height:44px!important;
  }
  html.bc-installed-app[data-bm-theme="festival"] body .bm-filter-field input::placeholder {
    color:#617085!important;
  }
  html.bc-installed-app[data-bm-theme="festival"] body .bm-filter-options {
    margin-top:11px!important;
    padding-top:10px!important;
    gap:8px!important;
  }
  html.bc-installed-app[data-bm-theme="festival"] body .bm-filter-chip span {
    min-height:36px!important;
  }

  /* Country selector and globe text should wrap rather than crop at the edge. */
  html.bc-installed-app[data-bm-theme="overseas"] body.world-travel-page .wt-head {
    display:block!important;
    min-width:0!important;
    max-width:100%!important;
  }
  html.bc-installed-app[data-bm-theme="overseas"] body.world-travel-page .wt-head :is(h2,p),
  html.bc-installed-app[data-bm-theme="overseas"] body.world-travel-page .we-copy > p {
    max-width:100%!important;
    min-width:0!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
    word-break:keep-all!important;
  }
  html.bc-installed-app[data-bm-theme="overseas"] body.overseas-page .country-region-group summary {
    line-height:1.4!important;
    overflow-wrap:anywhere!important;
    word-break:keep-all!important;
  }
}


/* Final on-device hit-test follow-up: fix the scroll-clipped language trigger. */
@media (max-width:720px) {
  html.bc-installed-app body .bc-header {
    z-index:1000!important;
  }
  html.bc-installed-app body .bc-header .bc-language-menu > summary {
    height:42px!important;
    min-height:42px!important;
    max-height:42px!important;
    white-space:nowrap!important;
    flex-wrap:nowrap!important;
  }
  html.bc-installed-app body.overseas-page > .bc-header .bc-subnav {
    box-sizing:border-box!important;
    flex:0 0 auto!important;
    width:calc(100vw - 40px)!important;
    max-width:calc(100vw - 40px)!important;
    min-width:0!important;
  }
  html.bc-installed-app body.overseas-page .bc-header .bc-language-options {
    top:64px!important;
  }
  /* The festival template has a redundant second brand bar below global navigation. */
  html.bc-installed-app[data-bm-theme="festival"] body > .topbar {
    display:none!important;
  }
  /* The hero already explains festivals; remove the repeated paragraph in the form. */
  html.bc-installed-app[data-bm-theme="festival"] body .bm-filter-head p {
    display:none!important;
  }
}

/* Festival detail: stacked labels prevent the old 82px label column
   from squeezing values inside two-column installed-app cards. */
@media (max-width:720px) {
  html.bc-installed-app[data-bm-theme="festival"] .festival-quick-info {
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
  }
  html.bc-installed-app[data-bm-theme="festival"] .festival-quick-info > div {
    display:block!important;
    min-width:0;
    padding:12px 14px!important;
  }
  html.bc-installed-app[data-bm-theme="festival"] .festival-quick-info > div:nth-child(-n+2) {
    grid-column:1 / -1;
  }
  html.bc-installed-app[data-bm-theme="festival"] .festival-quick-info > div > div {
    margin-bottom:5px!important;
  }
  html.bc-installed-app[data-bm-theme="festival"] .festival-quick-info > div > strong {
    display:block;
    min-width:0;
    max-width:100%;
    font-size:14px!important;
    line-height:1.55!important;
    word-break:keep-all;
    overflow-wrap:anywhere;
  }
}
