﻿/* BNF mobile design system */
:root { color-scheme: light; font-family: "Segoe UI", Roboto, sans-serif; background: #f5f5f1; color: #202620; }
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
body { margin: 0; background: #f5f5f1; color: #202620; }
.shell { width: 100%; max-width: 600px; margin: auto; padding: calc(20px + env(safe-area-inset-top)) 22px calc(110px + env(safe-area-inset-bottom)); }
.app-header { display: flex; justify-content: space-between; align-items: center; height: 42px; }
.brand { color: #242a25; font-size: 28px; font-weight: 850; letter-spacing: -2px; }
.brand span { color: #a8792e; }
.header-badge { display: inline-flex; gap: 7px; align-items: center; padding: 8px 10px; border-radius: 20px; background: #e9ebe3; color: #667165; font-size: 11px; font-weight: 650; }
.header-badge span { width: 7px; height: 7px; background: #66846a; border-radius: 50%; }
.home-intro { position: relative; display: flex; justify-content: space-between; align-items: end; padding: 37px 0 24px; }
.home-kicker,.screen-kicker { margin: 0 0 10px; color: #8d744b; font-size: 12px; font-weight: 700; }
.home-intro h1 { margin: 0; font-size: clamp(31px, 8.5vw, 42px); line-height: 1.07; letter-spacing: -.045em; font-weight: 730; }
.home-intro p:not(.home-kicker) { margin: 12px 0 0; color: #7a8278; font-size: 13px; line-height: 1.5; }
.home-spark { color: #b79b69; font-size: 34px; padding-bottom: 6px; }
button { cursor: pointer; }
.digital-card { position: relative; display: flex; flex-direction: column; justify-content: space-between; width: 100%; min-height: 205px; overflow: hidden; text-align: left; padding: 22px; border: 0; border-radius: 19px; background: #28382e; color: #f8f5e8; box-shadow: 0 12px 24px rgba(39, 55, 45, .14); }
.digital-card:after { content: ""; position: absolute; width: 220px; height: 220px; right: -40px; top: -80px; border: 1px solid rgba(223, 207, 159, .22); border-radius: 50%; box-shadow: 0 0 0 26px rgba(223,207,159,.04), 0 0 0 52px rgba(223,207,159,.04); pointer-events: none; }
.card-top,.card-bottom { display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 1; }
.card-mark { font-size: 20px; letter-spacing: -1px; font-weight: 800; }.card-mark span { color: #ddc68f; }.card-chip { color: #ddc68f; font-size: 21px; }
.card-copy { display: block; position: relative; z-index: 1; margin-top: 23px; }.card-copy small { display: block; font-size: 9px; letter-spacing: .13em; color: #d0c19f; }.card-copy strong { display: block; margin-top: 8px; font-size: 24px; line-height: 1.1; font-weight: 650; letter-spacing: -.025em; }
.card-bottom { margin-top: 22px; color: #e4ddc8; font-size: 12px; }.card-arrow { font-size: 22px; }
.section-heading { margin: 31px 0 15px; }.section-heading h2 { margin: 0; font-size: 20px; letter-spacing: -.03em; }.section-heading p { margin: 5px 0 0; color: #848b81; font-size: 12px; }
.quick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }.quick-action { min-width: 0; position: relative; min-height: 141px; padding: 15px; border: 1px solid #e7e9e1; border-radius: 16px; background: #fff; text-align: left; color: #252c26; }.quick-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; font-size: 20px; }.icon-offers { background: #f4e9d1; color: #a4772e; }.icon-scan { background: #e3ece3; color: #56745e; }.quick-action strong,.quick-action small { display: block; }.quick-action strong { margin-top: 15px; font-size: 14px; }.quick-action small { margin-top: 5px; color: #889087; font-size: 11px; line-height: 1.3; }.quick-arrow { position: absolute; right: 15px; top: 16px; color: #a4aaa0; }
.home-profile { width: 100%; display: flex; align-items: center; gap: 13px; margin-top: 11px; padding: 14px; border: 1px solid #e7e9e1; border-radius: 16px; background: #fff; text-align: left; color: #252c26; }.profile-symbol { display: grid; place-items: center; flex: 0 0 40px; height: 40px; border-radius: 50%; background: #eee9dd; color: #a0793c; font-weight: 800; }.home-profile strong,.home-profile small { display: block; }.home-profile strong { font-size: 14px; }.home-profile small { margin-top: 5px; color: #889087; font-size: 11px; }.profile-chevron { margin-left: auto; color: #a7ada4; font-size: 25px; }
.app-nav { position: fixed; z-index: 10; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; background: rgba(255,255,253,.97); border-top: 1px solid #e7eae2; padding: 8px max(14px,calc((100vw - 600px)/2)) calc(8px + env(safe-area-inset-bottom)); box-shadow: 0 -4px 20px rgba(28,39,29,.04); }.app-nav button { flex: 1; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 3px; min-height: 48px; padding: 0; background: transparent; border: 0; color: #9aa29a; font-size: 10px; font-weight: 600; }.app-nav button[aria-current] { color: #55735c; }.nav-icon { display: grid; place-items: center; height: 25px; font-size: 23px; font-weight: 500; line-height: 1; }
.note { text-align: center; color: #a6aca2; font-size: 10px; margin: 26px 0 0; }
.promotions { border: 0; margin-top: 34px; padding: 0; }.promotions h2 { margin: 0 0 9px; color: #222b24; font-size: 28px; letter-spacing: -.04em; line-height: 1.15; }.promotions h3 { color: #28342c; font-size: 17px; }.screen-intro,.promotions p { color: #788278; font-size: 13px; line-height: 1.5; }.promotions label { display: block; margin: 17px 0 7px; color: #525e54; font-size: 12px; font-weight: 650; }.promotions input:not([type=checkbox]):not([type=file]),.promotions select,.promotions textarea { display: block; width: 100%; min-height: 48px; margin-top: 7px; padding: 12px 14px; border: 1px solid #dde2da; border-radius: 11px; background: #fff; color: #263028; font: inherit; font-size: 14px; }.promotions textarea { min-height: 100px; resize: vertical; }.promotions input[type=file] { display: block; width: 100%; margin-top: 8px; color: #69756b; font-size: 12px; }.promotions input[type=checkbox] { width: auto; accent-color: #45684e; }.promotions button:not(.promotion) { min-height: 46px; margin: 12px 6px 0 0; padding: 11px 17px; border: 0; border-radius: 11px; background: #2d4535; color: #fff; font: inherit; font-size: 13px; font-weight: 650; }.promotions button[data-open],#member-logout { background: #e7ece5!important; color: #3c5c44!important; }.promotions button:disabled { opacity: .5; }.promotions :focus-visible,.app-nav button:focus-visible,.home-screen button:focus-visible { outline: 3px solid #b18b4d; outline-offset: 2px; }
#member-message,#social-message,#company-message,#my-promo-message,#register-message,#reset-message,#overview-message,#scanner-config-status { min-height: 20px; }.profile-photo { margin: 22px 0; padding: 16px; background: #e9eee7; border-radius: 16px; }.profile-photo img { width: 78px; height: 78px; object-fit: cover; border: 3px solid #fff; border-radius: 50%; }.profile-photo label { margin-top: 10px; }.company-row,#social-rows > div { padding: 16px; margin: 12px 0; background: #fff; border: 1px solid #e7eae3; border-radius: 16px; }.company-row h3 { margin: 0 0 8px; }
#promotion-count { margin: 20px 0 10px; color: #8b958a; font-size: 12px; }#promotion-list { display: grid; gap: 10px; color: #7b857b; font-size: 13px; }.promotion { display: flex; align-items: center; gap: 13px; width: 100%; min-height: 94px; padding: 10px; border: 1px solid #e7eae3; border-radius: 15px; background: #fff; color: #263128; text-align: left; font: inherit; }.promotion-visual { display: grid; place-items: center; flex: 0 0 72px; height: 72px; overflow: hidden; border-radius: 10px; background: #eee9dc; color: #b28c4f; font-size: 26px; }.promotion-visual img { width: 100%; height: 100%; object-fit: cover; }.promotion-copy { min-width: 0; flex: 1; }.promotion-copy strong { display: block; margin-top: 5px; font-size: 14px; line-height: 1.3; }.promotion-copy small { display: block; margin-top: 5px; color: #8a938a; font-size: 11px; line-height: 1.3; }.promotion-tag { color: #9a7a45; font-size: 10px; font-weight: 700; }.promotion-arrow { color: #9da89e; font-size: 18px; }.promotions #detail-image { display: block; width: 100%; max-height: 300px; object-fit: cover; margin-top: 15px; border-radius: 16px; }#detail-description { white-space: pre-wrap; line-height: 1.6; }
@media (max-width: 350px) { .shell { padding-left: 16px; padding-right: 16px; }.quick-action { padding: 12px; }.home-intro h1 { font-size: 30px; } }
@media (prefers-reduced-motion: reduce) { *, *:before, *:after { scroll-behavior: auto!important; transition: none!important; animation: none!important; } }
/* BNF black and gold theme */
:root { color-scheme: dark; background: #10110f; color: #f2efe5; }
body { background: #10110f; color: #f2efe5; }
.brand { color: #f4f0e5; }.brand span { color: #d2b36c; }
.header-badge { background: #25251f; color: #c9bea2; }.header-badge span { background: #d1b36f; }
.home-kicker,.screen-kicker { color: #d0b372; }.home-intro p:not(.home-kicker),.section-heading p { color: #a8a69b; }.home-spark { color: #d2b36c; }
.digital-card { background: #29261c; color: #f8f3e6; border: 1px solid #62563a; box-shadow: 0 12px 28px rgba(0,0,0,.25); }.card-mark span,.card-chip { color: #e2c681; }.card-copy small { color: #d2bf94; }.card-bottom { color: #e9ddbd; }
.quick-action,.home-profile { background: #1c1d19; border-color: #303029; color: #f2efe5; }.quick-action small,.home-profile small { color: #aaa99e; }.quick-arrow,.profile-chevron { color: #c7a869; }.icon-offers,.icon-scan,.profile-symbol { background: #383123; color: #e0c27b; }
.app-nav { background: rgba(25,26,22,.98); border-top-color: #34332b; box-shadow: 0 -4px 20px rgba(0,0,0,.2); }.app-nav button { color: #99988c; }.app-nav button[aria-current] { color: #e1c47e; }.note { color: #8d8d81; }
.promotions h2,.promotions h3 { color: #f2efe5; }.screen-intro,.promotions p { color: #aaa99d; }.promotions label { color: #c5c0b0; }
.promotions input:not([type=checkbox]):not([type=file]),.promotions select,.promotions textarea { background: #1c1d19; border-color: #39382f; color: #f3efe5; }.promotions input::placeholder,.promotions textarea::placeholder { color: #929287; }.promotions input[type=file] { color: #b5ad98; }.promotions input[type=checkbox] { accent-color: #d2b36c; }
.promotions button:not(.promotion) { background: #d2b36c; color: #1b1912; }.promotions button[data-open],#member-logout { background: #292920!important; color: #ddc68f!important; }.promotions :focus-visible,.app-nav button:focus-visible,.home-screen button:focus-visible { outline-color: #e0c47d; }
.profile-photo { background: #22231d; }.profile-photo img { border-color: #8b7446; }.company-row,#social-rows > div { background: #1c1d19; border-color: #34342c; }
#promotion-count,#promotion-list { color: #aaa99d; }.promotion { background: #1c1d19; border-color: #34342c; color: #f1eee4; }.promotion-visual { background: #383123; color: #ddbe75; }.promotion-copy small { color: #aaa99d; }.promotion-tag { color: #d3b270; }.promotion-arrow { color: #d0b270; }
/* Compact member-first layout */
.home-intro { padding: 23px 0 18px; }.home-intro h1 { font-size: 27px; line-height: 1.12; }.home-intro p:not(.home-kicker) { margin-top: 7px; }.home-kicker { margin-bottom: 6px; }
.digital-card { min-height: 165px; padding: 18px; }.card-copy { margin-top: 17px; }.card-copy strong { max-width: 230px; font-size: 22px; overflow-wrap: anywhere; }.card-copy #home-card-position { display: block; margin-top: 6px; color: #e0d5b8; font-size: 12px; }.card-bottom { margin-top: 17px; }.section-heading { margin: 23px 0 12px; }.section-heading h2 { font-size: 17px; }
.quick-action { min-height: 112px; }.quick-action strong { margin-top: 10px; }.quick-icon { width: 34px; height: 34px; }.share-action { display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 45px; margin-bottom: 10px; padding: 10px 15px; border: 1px solid #8a754a; border-radius: 12px; color: #e9d099; background: #302b20; font: inherit; font-size: 13px; font-weight: 650; }
.filter-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }.filter-row > div { min-width: 0; }.filter-row label { margin-top: 12px; }.filter-row select { text-overflow: ellipsis; }
.profile-photo { display: flex; align-items: center; flex-direction: column; text-align: center; padding: 17px; }.avatar-wrap { display: grid; place-items: center; width: 76px; height: 76px; border: 2px solid #8b7446; border-radius: 50%; overflow: hidden; background: #3a3324; color: #e3c57e; font-size: 28px; font-weight: 700; }.avatar-wrap img { grid-area: 1 / 1; width: 100%; height: 100%; border: 0; margin: 0; }.avatar-fallback { grid-area: 1 / 1; }.profile-photo strong { margin-top: 10px; color: #f2efe5; font-size: 14px; }.profile-photo small { margin-top: 4px; color: #aaa99d; font-size: 11px; }.photo-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 7px; margin-top: 6px; }.promotions .photo-actions button { margin: 6px 0 0; min-height: 42px; padding: 9px 12px; font-size: 12px; }.promotions .photo-actions button:not(:first-child) { background: #36332a; color: #e0c993; }
.profile-group { padding: 16px; margin: 16px 0; border: 1px solid #34342c; border-radius: 15px; background: #1b1c18; }.profile-group legend { padding: 0 7px; color: #d7bc7d; font-size: 13px; font-weight: 700; }.profile-group label:first-of-type { margin-top: 3px; }.profile-group input:not([type=checkbox]),.profile-group textarea { background: #11120f!important; }.profile-save { position: sticky; z-index: 5; bottom: calc(68px + env(safe-area-inset-bottom)); padding: 9px; border: 1px solid #3b382b; border-radius: 14px; background: rgba(28,29,25,.97); }.promotions .profile-save button { width: 100%; margin: 0; }.profile-links { padding-top: 15px; }.profile-links h3 { margin-bottom: 5px; }.promotions .profile-links button { margin-top: 8px; }
.card-avatar { display: grid; place-items: center; width: 36px; height: 36px; overflow: hidden; border: 1px solid #a18a59; border-radius: 50%; background: #554936; color: #eddbad; font-size: 14px; font-weight: 700; }.card-avatar span,.card-avatar img { grid-area: 1 / 1; }.card-avatar img { width: 100%; height: 100%; object-fit: cover; }
.card-top,.card-bottom { width: 100%; }
/* Dark graphite surfaces with bright yellow actions. */
:root { color-scheme: dark; background: #181a20; color: #eaecef; }
body { background: #181a20; color: #eaecef; }
.brand { color: #f0b90b; letter-spacing: -1.5px; }.brand span { color: #f0b90b; }
.header-badge { background: #2b3139; color: #b7bdc6; }.header-badge span { background: #f0b90b; }
.home-kicker,.screen-kicker { color: #f0b90b; }.home-intro h1 { color: #eaecef; letter-spacing: -.025em; }.home-intro p:not(.home-kicker),.section-heading p { color: #a0a9b4; }
.digital-card { background: #242a32; color: #eaecef; border: 1px solid #353c46; border-radius: 12px; box-shadow: none; }.digital-card:after { display: none; }.card-mark,.card-mark span { color: #f0b90b; }.card-copy small { color: #a0a9b4; letter-spacing: .06em; }.card-copy strong { color: #eaecef; }.card-copy #home-card-position,.card-bottom { color: #b7bdc6; }.card-arrow { color: #f0b90b; }.card-avatar { background: #3b414a; border-color: #59616d; color: #f0b90b; }
.section-heading h2 { color: #eaecef; }.quick-grid { gap: 10px; }.quick-action,.home-profile { background: #242a32; border: 1px solid #2e3540; border-radius: 12px; color: #eaecef; }.quick-action small,.home-profile small { color: #a0a9b4; }.quick-arrow,.profile-chevron { color: #a0a9b4; }.icon-offers,.icon-scan,.profile-symbol { background: #393824; color: #f0b90b; border-radius: 10px; }.share-action { background: #f0b90b; color: #181a20; border: 0; border-radius: 8px; }
.app-nav { background: #181a20; border-top: 1px solid #2b3139; box-shadow: none; }.app-nav button { color: #a0a9b4; }.app-nav button[aria-current] { color: #f0b90b; }.note { color: #848e9c; }
.promotions h2,.promotions h3 { color: #eaecef; letter-spacing: -.02em; }.screen-intro,.promotions p { color: #a0a9b4; }.promotions label { color: #b7bdc6; }
.promotions input:not([type=checkbox]):not([type=file]),.promotions select,.promotions textarea { background: #2b3139; border-color: #2b3139; border-radius: 8px; color: #eaecef; }.promotions input::placeholder,.promotions textarea::placeholder { color: #848e9c; }.promotions input[type=file] { color: #b7bdc6; }.promotions input[type=checkbox] { accent-color: #f0b90b; }
.promotions button:not(.promotion),#member button:not([data-open]):not(#member-logout) { background: #f0b90b; color: #181a20; border-radius: 8px; }.promotions button[data-open],#member-logout { background: #2b3139!important; color: #eaecef!important; }.promotions :focus-visible,.app-nav button:focus-visible,.home-screen button:focus-visible { outline-color: #f0b90b; }
.profile-photo,.profile-group,.company-row,#social-rows > div { background: #242a32; border-color: #353c46; border-radius: 12px; }.profile-photo strong { color: #eaecef; }.profile-photo small { color: #a0a9b4; }.avatar-wrap { border-color: #f0b90b; background: #343a40; color: #f0b90b; }.profile-group legend { color: #f0b90b; }.profile-group input:not([type=checkbox]),.profile-group textarea { background: #181a20!important; }.profile-save { background: rgba(36,42,50,.98); border-color: #353c46; border-radius: 10px; }.promotions .photo-actions button:not(:first-child) { background: #353c46!important; color: #eaecef!important; }
#promotion-count,#promotion-list { color: #a0a9b4; }.promotion { background: #242a32; border-color: #2e3540; color: #eaecef; border-radius: 12px; }.promotion-visual { background: #393824; color: #f0b90b; border-radius: 8px; }.promotion-copy small { color: #a0a9b4; }.promotion-tag,.promotion-arrow { color: #f0b90b; }
