/* Shared visual polish for inner pages: consistent DateAThai branding, focus states and surfaces. */
:root{--teal:#c52e76;--teal2:#9f225f;--coral:#ee5c91;--line:#efdde7;--soft:#fff5f9;--shadow:0 12px 34px rgba(55,17,47,.08);--radius:16px}
body:not(.home-final){background:#fff9fb;color:#211a32}
body:not(.home-final) .site-header{background:rgba(255,250,252,.96);border-bottom-color:#f0dfe8;box-shadow:0 4px 18px rgba(53,18,47,.035)}
body:not(.home-final) .brand{color:#d92f79}
body:not(.home-final) .brand-mark{background:linear-gradient(145deg,#d92f79,#f05a97)}
body:not(.home-final) .btn{background:linear-gradient(100deg,#762c81,#e83d83);border-radius:10px;box-shadow:0 5px 15px rgba(202,43,115,.12)}
body:not(.home-final) .btn:hover{background:linear-gradient(100deg,#65236f,#d52e73)}
body:not(.home-final) .btn-light{background:#fff0f6;color:#b62a70;border:1px solid #f0d0df;box-shadow:none}
body:not(.home-final) .panel,body:not(.home-final) .plan,body:not(.home-final) .filters,body:not(.home-final) .auth-card{border-color:#f0e0e9;box-shadow:0 8px 28px rgba(55,17,47,.045)}
body:not(.home-final) input:focus,body:not(.home-final) select:focus,body:not(.home-final) textarea:focus{border-color:#d94b8b;outline:3px solid rgba(217,47,121,.12)}
body:not(.home-final) a:focus-visible,body:not(.home-final) button:focus-visible{outline:3px solid #e76aa2;outline-offset:3px}
body:not(.home-final) .page-title h1{letter-spacing:-.04em}
@media(max-width:700px){body:not(.home-final) .site-header{height:auto;min-height:64px;flex-wrap:wrap;gap:12px;padding:12px 16px}body:not(.home-final) .main-nav{flex-wrap:wrap;gap:12px}body:not(.home-final) .header-actions{flex-wrap:wrap}}
body:not(.home-final) .logo-brand img{width:178px;height:auto;max-height:44px;object-fit:contain}
body:not(.home-final) .site-header .brand.logo-brand{display:flex;align-items:center;flex:0 0 auto}
@media(max-width:700px){body:not(.home-final) .logo-brand img{width:155px;max-height:40px}}

.profile-member-id{font-size:.82rem;color:#75566a;margin:.25rem 0 .6rem}.profile-member-actions{display:flex;flex-wrap:wrap;gap:8px}.profile-qr-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:8px}.profile-qr-actions .btn{font-size:.82rem;padding:8px 12px}

.profile-member-barcode{display:block;width:min(100%,260px);height:56px;fill:#251c2b;background:#fff;margin:4px 0 12px;padding:3px;border:1px solid #f0dce6;border-radius:5px}

/* Shared header alignment */
body:not(.home-final) .site-header{width:100%;box-sizing:border-box;padding-left:clamp(22px,2.3vw,38px);padding-right:clamp(22px,2.3vw,38px);gap:clamp(12px,1.25vw,22px)}
body:not(.home-final) .site-header .brand.logo-brand{width:155px;flex:0 0 155px;margin-right:clamp(8px,1vw,18px)}
body:not(.home-final) .site-header .brand.logo-brand img{width:155px;max-height:42px;object-position:left center}
body:not(.home-final) .site-header .main-nav{display:flex;align-items:center;gap:7px;flex:0 1 auto;margin-right:auto}
body:not(.home-final) .site-header .main-nav a{white-space:nowrap}
body:not(.home-final) .site-header .header-actions{margin-left:auto}
@media(max-width:900px){body:not(.home-final) .site-header .brand.logo-brand{width:145px;flex-basis:145px;margin-right:0}body:not(.home-final) .site-header .main-nav{order:5;flex:1 0 100%;margin:0}}

/* DateAThai master logo: consistent header footprint across every page */
.logo-brand > img{display:block;width:158px;height:46px;max-height:46px;object-fit:contain;object-position:left center}

.unread-count-badge{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;margin-left:4px;border-radius:99px;background:#e92983;color:#fff;font-size:10px;font-weight:800;line-height:18px;vertical-align:middle}.member-online-badge{position:absolute;left:12px;bottom:12px;background:#0b8c73;color:white;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:750;box-shadow:0 2px 8px #0002}.member-card-photo-link{position:relative}

.announcement-panel{background:#fff;border:1px solid #f0dce6;border-radius:16px;padding:16px 18px;margin:0 0 16px;box-shadow:0 8px 24px #7d23400a}.announcement-panel h2{font-size:17px;margin:0 0 12px;color:#30233a}.announcement-item{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 0;border-top:1px solid #f4e6ed}.announcement-item p{margin:5px 0;color:#6f7488}.announcement-item small{color:#8990a1}.announcement-item .btn{white-space:nowrap}@media(max-width:560px){.announcement-item{align-items:flex-start;flex-direction:column}}

.member-online-badge.offline{background:#788293}
