/* RoomMC 共通の追加部品（2026-11-21）：テーマ切り替え・通知ベル・トップページのライブ情報。全公開ページで読み込む。 */
/* テーマ切り替えボタン（ヘッダー） */
.rm-theme-toggle{display:inline-grid;place-items:center;width:36px;height:36px;border:0;border-radius:999px;background:transparent;color:var(--ink,#111418);cursor:pointer}
.rm-theme-toggle:hover{background:var(--soft,#f2f4f6)}
.rm-theme-toggle svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.rm-theme-toggle .rm-moon{display:none}
html[data-theme="dark"] .rm-theme-toggle .rm-sun{display:none}
html[data-theme="dark"] .rm-theme-toggle .rm-moon{display:block}

/* 通知ベル */
.rm-bell-wrap{position:relative;display:inline-flex}
.rm-bell{position:relative;display:inline-grid;place-items:center;width:36px;height:36px;border:0;border-radius:999px;background:transparent;color:var(--ink,#111418);cursor:pointer}
.rm-bell:hover{background:var(--soft,#f2f4f6)}
.rm-bell svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.rm-bell-badge{position:absolute;top:3px;right:2px;min-width:16px;height:16px;padding:0 4px;border-radius:999px;background:#d64545;color:#fff;font-size:10px;font-weight:700;line-height:16px;text-align:center}
.rm-bell-panel{position:absolute;top:calc(100% + 8px);right:0;z-index:60;width:min(340px,calc(100vw - 24px));background:var(--bg,#fff);border:1px solid var(--line,#e6e8eb);border-radius:12px;box-shadow:0 12px 32px rgba(0,0,0,.14);overflow:hidden}
.rm-bell-panel[hidden]{display:none}
.rm-bell-head{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;border-bottom:1px solid var(--line,#e6e8eb);font-size:14px}
.rm-bell-clear{border:0;background:none;color:var(--sub,#5b636d);font-size:12px;cursor:pointer}
.rm-bell-clear:hover{color:var(--ink,#111418)}
.rm-bell-list{max-height:360px;overflow:auto}
.rm-bell-item{display:flex;flex-direction:column;gap:2px;padding:11px 14px;border-bottom:1px solid var(--line,#e6e8eb);color:var(--ink,#111418);text-decoration:none;font-size:13.5px;line-height:1.5}
.rm-bell-item:last-child{border-bottom:0}
.rm-bell-item:hover{background:var(--soft,#f2f4f6)}
.rm-bell-item.is-new span::before{content:"";display:inline-block;width:7px;height:7px;margin-right:7px;border-radius:50%;background:var(--accent,#1f6f5c);vertical-align:1px}
.rm-bell-item time{color:var(--mute,#8b939c);font-size:11.5px}
.rm-bell-empty{margin:0;padding:22px 14px;color:var(--sub,#5b636d);font-size:13px;text-align:center}
.header-inner .rm-theme-toggle,.header-inner .rm-bell-wrap{margin-left:4px;flex:0 0 auto}
.nav>.rm-theme-toggle,.nav>.rm-bell-wrap{margin-left:-8px}
