/* BEZ HLASU 6.3.9 – community guidance; scoped, no interference with existing chats */
:root{--bh-community-accent:#D98EAE;--bh-community-green:#A8E6B8}
.bh-community-note,.bh-community-notice{box-sizing:border-box;color:#d9cbd2;font:400 13px/1.6 system-ui,-apple-system,Segoe UI,sans-serif;overflow-wrap:anywhere}
.bh-community-note{margin:12px 0 14px!important;padding:9px 12px!important;border-left:2px solid #9d5a76!important;background:rgba(97,45,66,.13)!important;border-radius:0 7px 7px 0!important;max-width:100%}
.bh-community-note a,.bh-community-notice a{color:#eeb3cc!important;text-decoration:underline;text-underline-offset:3px}
.bh-community-notice{position:relative;display:flex;flex-direction:column;gap:3px;margin:7px 0 15px;padding:12px 38px 12px 14px;background:#23121b;border:1px solid #5d3447;border-radius:12px;box-shadow:none}
.bh-community-notice strong{font-size:13px;color:#f4e3eb;letter-spacing:.01em}.bh-community-notice span{font-size:12.5px;color:#d2bdc8}
.bh-community-dismiss{position:absolute;top:7px;right:8px;border:0!important;background:transparent!important;color:#eac9d9!important;font:400 25px/1 sans-serif!important;min-width:30px;min-height:30px;padding:2px 5px!important;cursor:pointer;box-shadow:none!important}
.bh-community-notice[hidden]{display:none!important}
.bh-community-footer-link{display:inline-flex;margin:14px 8px;color:#d8a4bc;text-decoration:underline;font-size:12px}
.bh-community-register-note{color:#c5abb7;font-size:12px;line-height:1.55;margin:8px 0 10px}
.bh-community-registration-check a{color:inherit;text-decoration:underline}
.bh-community-home-link{position:fixed;left:50%;bottom:max(19px,env(safe-area-inset-bottom));transform:translateX(-50%);z-index:10;color:#e6b8ca;text-decoration:underline;font:500 11px/1.5 system-ui,sans-serif;letter-spacing:.1em;white-space:nowrap}
/* Public rules page: independent from authenticated layout */
body.bh-rules-page{margin:0;min-height:100vh;background:radial-gradient(circle at 50% -10%,#2d121e 0,#120a0f 35%,#090709 75%);color:#f5edf0;font:400 16px/1.7 system-ui,-apple-system,Segoe UI,sans-serif}
.bh-rules-page *, .bh-rules-page *::before,.bh-rules-page *::after{box-sizing:border-box}
.bh-rules-page a{color:#e7a6c0;text-underline-offset:4px}
.bh-rules-header{height:74px;display:flex;align-items:center;justify-content:space-between;max-width:920px;margin:auto;padding:12px 24px;border-bottom:1px solid rgba(213,146,175,.16)}
.bh-rules-brand{display:flex;align-items:center;gap:11px;color:#f5edf0!important;text-decoration:none;letter-spacing:.17em;font-size:14px;font-weight:700}.bh-rules-brand img{border-radius:8px}
.bh-rules-back{font-size:12px;text-decoration:none}
.bh-rules-wrap{max-width:800px;margin:0 auto;padding:36px 24px 70px}
.bh-rules-eyebrow{color:#d98eae;font-size:11px;font-weight:700;letter-spacing:.15em;margin:0 0 9px}
.bh-rules-page h1{font-size:clamp(29px,5vw,45px);line-height:1.15;letter-spacing:-.03em;margin:0 0 15px;font-weight:750}
.bh-rules-lead{font-size:17px;line-height:1.8;color:#d1bfc9;margin:0 0 25px;max-width:680px}
.bh-rules-index{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 26px}.bh-rules-index a{font-size:12px;text-decoration:none;color:#edd5df;border:1px solid #583448;background:#27151d;border-radius:40px;padding:7px 12px}
.bh-rules-section{padding:20px 0 22px;border-bottom:1px solid #402633;scroll-margin-top:20px}.bh-rules-section h2{font-size:19px;line-height:1.35;margin:0 0 12px;letter-spacing:-.01em;color:#f5e7ef}.bh-rules-section p{font-size:14.5px;line-height:1.85;color:#d4c1cb;margin:0 0 9px}.bh-rules-section strong{color:#f1dce6}
.bh-rules-crisis{display:flex;flex-direction:column;gap:8px;padding:15px 17px;border:1px solid #89515b;background:#28161b;border-radius:12px;color:#f1d9dd;font-size:14px}.bh-rules-crisis strong{color:#f2c4bd}
.bh-rules-closing{padding:32px 15px 6px;text-align:center;color:#ebaccc;font-weight:650;font-size:17px}.bh-rules-closing small{display:block;color:#c1a9b6;font-size:12px;font-weight:400;margin-top:6px}
.bh-rules-footer{max-width:800px;margin:auto;padding:16px 24px 32px;display:flex;flex-wrap:wrap;gap:12px 24px;align-items:center;color:#927d88;font-size:12px}.bh-rules-footer a{color:#b99baa}
@media(max-width:620px){.bh-rules-header{height:65px;padding:10px 16px}.bh-rules-brand{font-size:12px;letter-spacing:.12em}.bh-rules-wrap{padding:24px 17px 55px}.bh-rules-lead{font-size:15px}.bh-rules-section h2{font-size:18px}.bh-rules-section p{font-size:14px}.bh-community-note{font-size:12px!important}.bh-community-notice{margin:8px 0 12px;padding:10px 38px 10px 12px}.bh-community-home-link{bottom:max(12px,env(safe-area-inset-bottom))}}
@media(prefers-reduced-motion:reduce){.bh-community-notice{scroll-behavior:auto}}
