/* मौन पढाइ कुराकानी — 4.67. Side room over the silent-hour page and its dark focus screen. */
.shc{position:fixed;z-index:100001;right:max(16px,env(safe-area-inset-right,0px));bottom:calc(16px + env(safe-area-inset-bottom,0px));width:360px;max-width:calc(100vw - 32px);height:min(560px,calc(100vh - 120px));display:flex;flex-direction:column;background:#221a13;color:#f5ecd6;border:2px solid #120A08;border-radius:16px;box-shadow:4px 4px 0 #F7C600;overflow:hidden;font-size:15px;line-height:1.55}
.shc[hidden]{display:none}
.shc *{box-sizing:border-box}
.shc-head{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:12px 14px;border-bottom:1px solid #3a3025}
.shc-head b{font-size:1rem}
.shc-sub{display:block;font-size:.76rem;color:#b9ad96}
.shc-x{background:none;border:0;color:#b9ad96;font-size:1.4rem;line-height:1;cursor:pointer;padding:2px 6px}
.shc-body{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden}
.shc-rules{padding:14px;overflow-y:auto}
.shc-rules[hidden]{display:none}
.shc-intro{margin:0 0 10px;color:#e8dcc0}
.shc-rules ul{margin:0 0 12px;padding-left:18px;font-size:.9rem;display:flex;flex-direction:column;gap:4px}
.shc-agree{display:flex;gap:8px;align-items:center;font-weight:600;margin-bottom:10px;cursor:pointer}
.shc-agree input{width:18px;height:18px;accent-color:#F7C600}
.shc-go{border:2px solid #120A08;background:#F7C600;color:#120A08;font:inherit;font-weight:700;border-radius:99px;padding:8px 18px;cursor:pointer}
.shc-go[disabled]{opacity:.5;cursor:default}
.shc-err{color:#f3a08f;font-size:.85rem;margin:8px 0 0}
.shc-note{margin:8px 14px 0;padding:8px 10px;border-radius:10px;background:#3a3025;font-size:.85rem;color:#f5ecd6}
.shc-note[hidden]{display:none}
.shc-msgs{flex:1;min-height:0;overflow-y:auto;padding:12px 14px;display:flex;flex-direction:column;gap:10px}
.shc-msgs[hidden]{display:none}
.shc-m{max-width:88%;align-self:flex-start;display:flex;flex-direction:column}
.shc-m[hidden]{display:none}
.shc-m.me{align-self:flex-end;align-items:flex-end}
.shc-who{font-size:.74rem;font-weight:700;color:#b9ad96;display:flex;gap:6px;align-items:center}
.shc-who i{width:9px;height:9px;border-radius:50%;display:inline-block}
.shc-m p{margin:2px 0 0;background:#2c231a;border-radius:4px 12px 12px 12px;padding:6px 10px;overflow-wrap:anywhere;white-space:pre-wrap}
.shc-m.me p{background:#3d3218;border-radius:12px 4px 12px 12px}
.shc-tools{display:flex;gap:10px;margin-top:2px}
.shc-tools button{background:none;border:0;color:#8f846f;font:inherit;font-size:.72rem;padding:0;cursor:pointer;text-decoration:underline}
.shc-tools button:hover,.shc-tools button:focus-visible{color:#f5ecd6}
.shc-form{display:flex;gap:6px;padding:10px;border-top:1px solid #3a3025}
.shc-form[hidden]{display:none}
.shc-form input{flex:1;min-width:0;border:1px solid #3a3025;background:#120d09;color:#f5ecd6;border-radius:99px;padding:9px 13px;font:inherit;font-size:16px}
.shc-form button{border:0;background:#F7C600;color:#120A08;border-radius:99px;padding:0 14px;font:inherit;font-weight:700;cursor:pointer}
.shc-form button[disabled]{opacity:.6}
.shc-foot{margin:0;padding:0 14px 10px;font-size:.7rem;color:#8f846f}
.shc :focus-visible{outline:3px solid #F7C600;outline-offset:2px}
.wn-sh .shc-open.has-new{border-color:#F7C600;box-shadow:0 0 0 2px rgba(247,198,0,.35)}
.wn-sh .shc-open[disabled]{opacity:.75;cursor:default}
@media (max-width:560px){
  .shc{left:0;right:0;bottom:0;width:auto;max-width:none;height:78vh;border-radius:18px 18px 0 0;border-width:2px 0 0;box-shadow:0 -6px 24px rgba(0,0,0,.4);padding-bottom:env(safe-area-inset-bottom,0px)}
}
.wn-sh .shc-open[hidden]{display:none !important}
