/* Shared brand navigation: normal links preserve URL attribution and browser history. */
.bm-brand-tabs{display:flex;align-items:stretch;justify-content:center;gap:4px;padding:5px;border:1px solid #c7b77c45;border-radius:13px;background:#0c3029;color:#d9e3d2;font-family:'Kanit',sans-serif}
.bm-brand-tabs a{display:flex;justify-content:center;align-items:center;flex:1;min-height:42px;min-width:0;border-radius:9px;padding:8px 13px;font-size:14px;font-weight:400;line-height:1.5;text-decoration:none;white-space:nowrap;transition:background .18s,color .18s}
.bm-brand-tabs a:hover{background:#ffffff0c}.bm-brand-tabs a[aria-current=page]{background:#ece1b8;color:#234835;font-weight:500}.bm-brand-tabs a:focus-visible{outline:2px solid #d4bc77;outline-offset:3px}
.bm-branch-tabs{position:sticky;top:0;z-index:80;max-width:540px;margin:0 auto;padding:9px 14px;background:#0b3025f5;backdrop-filter:blur(12px)}
.bm-brand-crumb{display:flex;align-items:center;gap:6px;margin:-2px 0 10px;color:#d7e4d6;font-size:11px;line-height:1.6}.bm-brand-crumb a{color:inherit;text-underline-offset:3px;min-height:30px;display:flex;align-items:center}
.bm-branch-menu{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;white-space:nowrap;padding:0 0 13px;margin:0;color:#d6e4d3}.bm-branch-menu::-webkit-scrollbar{display:none}.bm-branch-menu a,.bm-branch-menu button{display:inline-flex;align-items:center;justify-content:center;min-height:37px;padding:7px 12px;border:1px solid #d8e8d52c;border-radius:100px;background:#ffffff07;color:inherit;font:400 12px 'Kanit',sans-serif;text-decoration:none;flex-shrink:0}.bm-branch-menu a:hover,.bm-branch-menu button:hover{background:#ffffff12}.bm-branch-menu button[aria-expanded=true]{background:#d8e1c6;color:#173e31}.bm-page-links{display:flex;gap:12px;flex-wrap:wrap;margin-top:16px;font-size:12px}.bm-page-links a{text-underline-offset:4px}
.bm-branch-page #numberTool,.bm-branch-page #fortune,.bm-branch-page #homeFortunePanel{scroll-margin-top:80px}
@media(max-width:359px){.bm-branch-tabs{padding-inline:10px}.bm-brand-tabs a{font-size:13px;padding-inline:9px}.bm-branch-menu{gap:5px}.bm-branch-menu a,.bm-branch-menu button{padding-inline:10px;font-size:11px}}
