/* うつろ団地 — 見た目（接頭辞 rb-）。昔のツクール風の枠・暗い画面・鉛筆の手触り。2026-10-01 */
:root {
	--rb-bg: #050506;
	--rb-ink: #ece7dc;
	--rb-dim: #9d978b;
	--rb-frame: #b9b2a0;
	--rb-frame2: #5e584d;
	--rb-amber: #e7a94a;
	--rb-teal: #5f9690;
	--rb-win: rgba(9, 9, 13, .9);
	--rb-font: 'DotGothic16', 'MS Gothic', 'Osaka-Mono', monospace;
	--rb-hand: 'Zen Kurenaido', 'Hiragino Maru Gothic ProN', serif;
}
html, body.rbb { margin: 0; height: 100%; background: var(--rb-bg); color: var(--rb-ink); overflow: hidden; overscroll-behavior: none; }
body.rbb { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; touch-action: manipulation; font-family: var(--rb-font); -webkit-tap-highlight-color: transparent; }
.rb { position: fixed; inset: 0; display: flex; align-items: stretch; justify-content: center; background: var(--rb-bg); }
.rb button { font-family: var(--rb-font); color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.rb-boot { margin: auto; text-align: center; display: grid; gap: 10px; color: var(--rb-dim); font-family: var(--rb-font); }
.rb-boot b { font-family: var(--rb-hand); font-size: 34px; color: var(--rb-ink); letter-spacing: .2em; }

.rb-app { position: relative; width: 100%; height: 100%; height: 100dvh; display: flex; flex-direction: column; align-items: center; }
.rb-app.is-wide { flex-direction: row; justify-content: center; gap: 20px; }
.rb-stage { position: relative; overflow: hidden; background: #000; flex: none; }
.rb-app.is-wide .rb-stage { box-shadow: 0 0 0 2px var(--rb-frame2), 0 0 40px rgba(0, 0, 0, .8); }
.rb-cv { position: absolute; left: 0; top: 0; display: block; }
.rb-layer, .rb-hud { position: absolute; inset: 0; pointer-events: none; }
.rb-layer > *, .rb-hud > * { pointer-events: auto; }
.rb-hud > * { pointer-events: none; }

/* ---- 操作（十字キー・ボタン） ---- */
.rb-pad { width: 100%; flex: 1 1 auto; min-height: 140px; display: flex; align-items: center; justify-content: space-between; padding: 8px max(16px, env(safe-area-inset-right)) max(10px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); box-sizing: border-box;
	background: linear-gradient(#0b0b0e, #070708); border-top: 1px solid #1d1d22; }
.rb-app.is-title .rb-pad { display: none; }
.rb-app.is-wide .rb-pad { width: 300px; height: auto !important; flex: none; flex-direction: column; gap: 28px; border: 0; background: none; }
@media (pointer: fine) { .rb-app.is-wide .rb-pad { display: none; } }
.rb-dpad { position: relative; width: min(42vw, 22vh, 168px); aspect-ratio: 1; display: grid; grid-template: repeat(3, 1fr) / repeat(3, 1fr); touch-action: none; }
.rb-d { border: 0; background: #1b1b20; box-shadow: inset 0 0 0 2px #2c2c33, 0 2px 0 #000; position: relative; touch-action: none; }
.rb-d::after { content: ''; position: absolute; left: 50%; top: 50%; width: 0; height: 0; border: 8px solid transparent; transform: translate(-50%, -50%); }
.rb-d0 { grid-area: 1 / 2; border-radius: 8px 8px 0 0; } .rb-d0::after { border-bottom-color: #8d877c; margin-top: -4px; }
.rb-d3 { grid-area: 2 / 1; border-radius: 8px 0 0 8px; } .rb-d3::after { border-right-color: #8d877c; margin-left: -4px; }
.rb-d1 { grid-area: 2 / 3; border-radius: 0 8px 8px 0; } .rb-d1::after { border-left-color: #8d877c; margin-left: 4px; }
.rb-d2 { grid-area: 3 / 2; border-radius: 0 0 8px 8px; } .rb-d2::after { border-top-color: #8d877c; margin-top: 4px; }
.rb-dc { grid-area: 2 / 2; background: #1b1b20; }
.rb-d.is-down { background: #2c2a28; }
.rb-btns { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.rb-b { border: 0; border-radius: 50%; display: grid; place-items: center; touch-action: none; }
.rb-ba { width: min(24vw, 13vh, 88px); height: min(24vw, 13vh, 88px); background: radial-gradient(circle at 40% 35%, #3a3328, #1c1915); box-shadow: inset 0 0 0 2px #5e5240, 0 3px 0 #000; font-size: 14px; color: #e9d7b3; }
.rb-bm { width: min(18vw, 64px); height: 34px; border-radius: 17px; background: #18181c; box-shadow: inset 0 0 0 1px #34343c; font-size: 12px; color: var(--rb-dim); }
.rb-b:active { transform: translateY(2px); }

/* ---- 会話の窓（ツクール風の枠） ---- */
.rb-msg { position: absolute; left: 8px; right: 8px; bottom: 8px; display: none; }
.rb-msg.is-on { display: block; animation: rb-in .18s ease-out; }
.rb-win, .rb-panel, .rb-choice, .rb-dial, .rb-tmenu {
	background: var(--rb-win); border: 2px solid var(--rb-frame); border-radius: 4px;
	box-shadow: inset 0 0 0 2px #15151a, inset 0 0 0 3px var(--rb-frame2), 0 6px 24px rgba(0, 0, 0, .6);
}
.rb-win { position: relative; padding: 14px 16px 16px; min-height: 4.4em; }
.rb-name { position: absolute; top: -15px; left: 10px; padding: 2px 10px; font-weight: 400; font-size: 13px; background: #121216; border: 1px solid var(--rb-frame2); border-radius: 3px; color: #e9d7b3; }
.rb-text { margin: 0; font-size: clamp(14px, 4vw, 17px); line-height: 1.75; white-space: pre-wrap; word-break: break-all; min-height: 3.4em; }
.rb-next { position: absolute; right: 12px; bottom: 6px; width: 0; height: 0; border: 6px solid transparent; border-top-color: var(--rb-amber); opacity: 0; }
.rb-msg.is-done .rb-next { opacity: 1; animation: rb-blink 1s steps(2) infinite; }
.rb-face { position: absolute; left: -4px; bottom: calc(100% - 18px); height: min(46vh, 300px); max-height: 62%; max-width: 55%; object-fit: contain; object-position: bottom left; pointer-events: none; filter: drop-shadow(0 0 12px rgba(0, 0, 0, .8)); animation: rb-in .25s ease-out; }
.rb-stage .rb-face { max-height: none; height: calc(var(--t, 32px) * 6.2); }
.rb-msg.is-r .rb-face { left: auto; right: -4px; object-position: bottom right; }
.rb-msg.is-shiver .rb-face { animation: rb-shiver .12s linear 6; }

.rb-choice { position: absolute; right: 10px; bottom: 10px; min-width: min(64%, 300px); padding: 8px; display: grid; gap: 4px; animation: rb-in .15s ease-out; }
.rb-opt { text-align: left; border: 0; background: transparent; padding: 10px 12px 10px 28px; font-size: 16px; position: relative; border-radius: 3px; }
.rb-opt.is-on { background: rgba(231, 169, 74, .14); box-shadow: inset 0 0 0 1px rgba(231, 169, 74, .45); }
.rb-opt.is-on::before { content: ''; position: absolute; left: 10px; top: 50%; border: 6px solid transparent; border-left-color: var(--rb-amber); transform: translateY(-50%); }

.rb-dial { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 14px 16px; text-align: center; width: min(88%, 340px); }
.rb-dial-t { margin: 0 0 10px; color: var(--rb-dim); font-size: 13px; }
.rb-dials { display: flex; justify-content: center; gap: 8px; }
.rb-dg { display: grid; gap: 4px; justify-items: center; }
.rb-dg button { width: 52px; height: 40px; border: 0; background: #1c1c22; border-radius: 4px; font-size: 14px; color: var(--rb-dim); }
.rb-dg b { font-size: 30px; width: 52px; padding: 6px 0; background: #0d0d10; border: 1px solid #2b2b33; border-radius: 4px; }
.rb-dg.is-on b { border-color: var(--rb-amber); color: #f3dcb1; }
.rb-dial-b { display: flex; gap: 8px; justify-content: center; margin-top: 12px; }

.rb-b2 { display: block; width: 100%; margin: 8px 0 0; padding: 12px; border: 1px solid #5e5240; border-radius: 4px; background: #241f18; font-size: 15px; color: #f0dfbd; }
.rb-b2.is-sub { background: #141418; border-color: #2e2e36; color: var(--rb-dim); }
.rb-b2:disabled { opacity: .35; }
.rb-dial-b .rb-b2 { margin: 0; }

/* ---- パネル（メニュー・きろく・せってい） ---- */
.rb-panel { position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 60; width: min(92vw, 420px); max-height: 88vh; max-height: 88dvh; overflow: auto; padding: 14px 16px 16px; box-sizing: border-box; animation: rb-in .15s ease-out; -webkit-overflow-scrolling: touch; }
.rb-panel h3 { margin: 0 0 10px; font-weight: 400; font-size: 16px; color: #e9d7b3; }
.rb-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-bottom: 10px; }
.rb-tabs button { border: 1px solid #2e2e36; background: #121216; padding: 9px 0; font-size: 13px; border-radius: 3px; color: var(--rb-dim); }
.rb-tabs button.is-on { border-color: var(--rb-amber); color: #f3dcb1; background: #221c13; }
.rb-light { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--rb-dim); margin: 0 0 8px; }
.rb-light i { flex: 1; height: 6px; background: #1b1b20; border-radius: 3px; position: relative; overflow: hidden; }
.rb-light i::after { content: ''; position: absolute; inset: 0; width: calc(var(--v) * 100%); background: linear-gradient(90deg, #8a5a1c, var(--rb-amber)); }
.rb-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.rb-items button { width: 100%; display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto auto; column-gap: 10px; text-align: left; border: 1px solid #26262d; background: #0f0f13; padding: 8px; border-radius: 4px; }
.rb-items img, .rb-ic { grid-row: 1 / 3; width: 40px; height: 40px; object-fit: contain; }
.rb-ic { background: radial-gradient(circle, #3a3226 0 40%, transparent 42%); }
.rb-items b { font-weight: 400; font-size: 14px; }
.rb-items small { font-size: 12px; color: var(--rb-dim); line-height: 1.5; }
.rb-empty { color: var(--rb-dim); font-size: 13px; padding: 10px; }
.rb-note { font-size: 12px; color: var(--rb-dim); margin: 8px 0 0; line-height: 1.6; }
.rb-letter { background: #d9d2c0; color: #2a2620; padding: 14px 16px; border-radius: 2px; font-family: var(--rb-hand); font-size: 16px; line-height: 1.8; box-shadow: inset 0 0 30px rgba(90, 70, 40, .35); }
.rb-letter p { margin: 0 0 6px; }
.rb-letter-h { font-size: 13px; color: #6d6150; }
.rb-cfg { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 10px 0 0; }
.rb-cfg span { width: 100%; font-size: 13px; color: var(--rb-dim); }
.rb-cfg button { flex: 1; border: 1px solid #2e2e36; background: #121216; padding: 9px 0; font-size: 13px; border-radius: 3px; color: var(--rb-dim); }
.rb-cfg button.is-on { border-color: var(--rb-amber); color: #f3dcb1; background: #221c13; }
.rb-slot { display: grid; width: 100%; text-align: left; gap: 2px; margin: 0 0 6px; padding: 10px 12px; border: 1px solid #2e2e36; background: #101014; border-radius: 4px; }
.rb-slot b { font-weight: 400; font-size: 14px; }
.rb-slot span { font-size: 12px; color: var(--rb-dim); }
.rb-slot:disabled { opacity: .4; }
.rb-endrow { margin: 6px 0; font-size: 14px; }
.rb-endrow span { color: var(--rb-dim); }
.rb-confirm p { margin: 0 0 6px; font-size: 15px; line-height: 1.6; }

/* ---- 一枚絵・題・びっくり・お知らせ ---- */
.rb-cg { position: absolute; inset: 0; background: #000; opacity: 0; transition: opacity .5s; display: grid; place-items: center; z-index: 5; }
.rb-cg.is-on { opacity: 1; }
.rb-cg img { width: 100%; height: 100%; object-fit: contain; }
.rb-cg p { position: absolute; left: 0; right: 0; bottom: 18px; margin: 0; text-align: center; font-size: 15px; text-shadow: 0 0 8px #000, 0 0 2px #000; padding: 0 16px; }
.rb-tcard { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0, 0, 0, .45); opacity: 0; transition: opacity .6s; pointer-events: none !important; }
.rb-tcard.is-on { opacity: 1; }
.rb-tcard span { font-family: var(--rb-hand); font-size: clamp(22px, 7vw, 34px); letter-spacing: .3em; color: #e2dccd; text-shadow: 0 0 16px #000; border-top: 1px solid rgba(226, 220, 205, .3); border-bottom: 1px solid rgba(226, 220, 205, .3); padding: 10px 18px; }
.rb-scare { position: absolute; inset: 0; z-index: 6; background: #000; animation: rb-flick .09s steps(2) 5; pointer-events: none !important; }
.rb-scare img { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.3) brightness(.9); }
.rb-scare i { position: absolute; inset: 0; background: radial-gradient(ellipse 22% 30% at 50% 58%, #1a1612 0 60%, transparent 62%), radial-gradient(ellipse 4% 16% at 38% 30%, #1a1612 0 60%, transparent 62%), radial-gradient(ellipse 4% 18% at 46% 26%, #1a1612 0 60%, transparent 62%), radial-gradient(ellipse 4% 18% at 54% 26%, #1a1612 0 60%, transparent 62%), radial-gradient(ellipse 4% 16% at 62% 30%, #1a1612 0 60%, transparent 62%), radial-gradient(circle at 50% 55%, #a07a45, #3a2a18 60%); }
.rb-scare-kanri i { background: radial-gradient(ellipse 12% 40% at 50% 70%, #000 0 70%, transparent 72%), radial-gradient(ellipse 9% 8% at 50% 28%, #000 0 70%, transparent 72%), linear-gradient(#20242a, #070809); }
.rb-scare.is-out { opacity: 0; transition: opacity .45s; animation: none; }
.rb-toast { position: absolute; left: 50%; top: 40px; transform: translateX(-50%); background: rgba(10, 10, 14, .9); border: 1px solid var(--rb-frame2); padding: 6px 14px; border-radius: 3px; font-size: 13px; white-space: nowrap; animation: rb-pin .2s ease-out; z-index: 4; }
.rb-toast.is-out { opacity: 0; transition: opacity .5s; }
.rb-hud-light { position: absolute; left: 8px; top: 8px; display: flex; align-items: center; gap: 2px; font-size: 11px; color: var(--rb-dim); }
.rb-hud-light span { margin-right: 4px; }
.rb-hud-light i { width: 5px; height: 10px; background: #1d1d22; border-radius: 1px; }
.rb-hud-light i.is-on { background: var(--rb-amber); box-shadow: 0 0 4px rgba(231, 169, 74, .6); }

/* ---- タイトル ---- */
.rb-title { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding: 0 16px max(28px, env(safe-area-inset-bottom)); box-sizing: border-box; }
.rb-title-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .92; }
.rb-logo { position: relative; margin: 0; font-family: var(--rb-hand); font-weight: 400; font-size: clamp(44px, 15vw, 84px); letter-spacing: .32em; text-indent: .32em; color: #e6e0d2; text-shadow: 0 0 2px #000, 0 0 20px rgba(0, 0, 0, .9), 1px 1px 0 #2a2a2a; filter: url(#rb-rough); }
.rb-title .rb-logo { position: absolute; top: 7%; left: 50%; transform: translateX(-50%); writing-mode: vertical-rl; text-orientation: upright; font-size: clamp(40px, 11vw, 72px); letter-spacing: .28em; text-indent: 0; line-height: 1; animation: rb-breathe 6s ease-in-out infinite; }
.rb-app.is-wide .rb-title .rb-logo, .rb-title.is-land .rb-logo { left: auto; right: 12%; transform: none; }
.rb-logo-h { margin: 0; }
.rb-logo-img { position: absolute; top: 4%; left: 50%; transform: translateX(-50%); height: min(40vh, 400px); width: auto; filter: drop-shadow(0 0 14px rgba(0, 0, 0, .9)); animation: rb-breathe 6s ease-in-out infinite; pointer-events: none; }
.rb-app.is-wide .rb-logo-img { left: auto; right: 9%; transform: none; height: min(58vh, 460px); }
@media (max-height: 600px) { .rb-logo-img { height: 34vh; top: 3%; } }
.rb-tmenu { position: relative; display: grid; width: min(70vw, 240px); padding: 6px; margin-bottom: 12px; }
.rb-tmenu button { border: 0; background: transparent; padding: 8px 0; font-size: 15px; letter-spacing: .12em; color: #e9e3d6; }
.rb-tmenu button:hover, .rb-tmenu button:focus-visible { background: rgba(231, 169, 74, .12); outline: none; }
.rb-tmenu button:disabled { opacity: .35; }
.rb-back { position: relative; font-size: 12px; color: var(--rb-dim); }
@media (max-height: 600px) { .rb-tmenu button { padding: 5px 0; font-size: 14px; } .rb-title .rb-logo { top: 4%; font-size: 38px; } }

/* ---- 全画面（はじめ・灯が消えた・エンド） ---- */
.rb-full { position: fixed; inset: 0; z-index: 50; background: #000; display: flex; overflow: auto; -webkit-overflow-scrolling: touch; }
.rb-boot-in, .rb-over-in { margin: auto; width: min(88vw, 400px); text-align: center; padding: 24px 0; }
.rb-boot-in .rb-logo { margin-bottom: 28px; }
.rb-warn { border: 1px solid #2c2c33; padding: 12px 14px; font-size: 13px; line-height: 1.8; color: #c9c2b4; text-align: left; }
.rb-warn p { margin: 0; }
.rb-over-t { font-family: var(--rb-hand); font-size: 30px; letter-spacing: .2em; margin: 0 0 8px; }
.rb-over-s { color: var(--rb-dim); margin: 0 0 22px; font-size: 14px; }
.rb-end { flex-direction: column; align-items: center; opacity: 0; transition: opacity 1.2s; }
.rb-end.is-on { opacity: 1; }
.rb-end-cg { width: 100%; max-width: 720px; max-height: 58vh; object-fit: contain; flex: none; }
.rb-end-fb { height: 30vh; background: radial-gradient(circle at 50% 70%, rgba(231, 169, 74, .35), transparent 30%), #000; }
.rb-end.is-bad .rb-end-fb { background: radial-gradient(circle at 50% 60%, rgba(240, 210, 120, .5), rgba(200, 120, 160, .25) 30%, transparent 55%), #000; }
.rb-end-in { width: min(90vw, 460px); padding: 18px 0 40px; text-align: center; }
.rb-end-k { margin: 0; color: var(--rb-dim); letter-spacing: .3em; font-size: 13px; }
.rb-end h2 { margin: 6px 0 16px; font-family: var(--rb-hand); font-weight: 400; font-size: clamp(22px, 6.4vw, 30px); letter-spacing: .14em; }
.rb-end-in > p { margin: 0 0 6px; font-size: 15px; line-height: 1.8; }
.rb-end-next { margin-top: 18px !important; color: #e9d7b3; }
.rb-end-got { color: var(--rb-dim); font-size: 13px !important; }
.rb-stamp { color: var(--rb-amber); }
.rb-credits { margin: 20px 0 6px; padding: 12px 0; border-top: 1px solid #1e1e24; border-bottom: 1px solid #1e1e24; font-size: 13px; color: #c9c2b4; }
.rb-credits p { margin: 4px 0; }
.rb-credits span { color: var(--rb-dim); margin-right: 10px; }
.rb-help { margin-top: 22px !important; font-size: 11px !important; line-height: 1.7 !important; color: #8c867b; }

@keyframes rb-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.rb-panel { animation-name: rb-pin; }
@keyframes rb-pin { from { opacity: 0; } to { opacity: 1; } }
@keyframes rb-blink { 50% { opacity: 0; } }
@keyframes rb-shiver { 25% { transform: translateX(-2px); } 75% { transform: translateX(2px); } }
@keyframes rb-flick { 50% { opacity: .2; } }
@keyframes rb-breathe { 50% { opacity: .82; } }
@media (prefers-reduced-motion: reduce) { .rb-title .rb-logo, .rb-scare, .rb-msg.is-shiver .rb-face { animation: none; } }
/* 10/2 横長のタイトル: メニューは絵の暗い左側へ（人物に重ねない） */
.rb-app.is-wide .rb-title.has-bg { align-items: flex-start; padding-left: 10%; }
.rb-app.is-wide .rb-title.has-bg .rb-back { margin-left: 70px; }

/* TITLE1005 タイトルの枠で後ろの絵が隠れない（10/5 朝 ユーザー「はじめから などの枠で後ろの画像が見えない」）
   枠（黒の半透明）をなくして文字の影だけ・2列で下端へ・題字を小さく。読みやすさは下端だけの薄いかげりで足す */
.rb-title.has-bg .rb-title-bg { z-index: 0; }
.rb-title.has-bg::before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 34%; z-index: 1; pointer-events: none; background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, .55) 55%, rgba(0, 0, 0, .72)); }
.rb-title.has-bg .rb-tmenu, .rb-title.has-bg .rb-back, .rb-title.has-bg .rb-logo, .rb-title.has-bg .rb-logo-img { z-index: 2; }
.rb-title.has-bg .rb-tmenu { background: none; border: 0; box-shadow: none; width: min(92vw, 340px); grid-template-columns: 1fr 1fr; gap: 0 8px; padding: 0; margin-bottom: 4px; }
.rb-title.has-bg .rb-tmenu button { padding: 7px 0; font-size: 15px; text-shadow: 0 0 2px #000, 0 0 6px #000, 0 0 12px rgba(0, 0, 0, .95); }
.rb-title.has-bg .rb-tmenu button[data-k="new"] { grid-column: 1 / -1; font-size: 17px; }
.rb-title.has-bg .rb-tmenu button:disabled { opacity: .45; }
.rb-title.has-bg .rb-tmenu .wtc-home { grid-column: 1 / -1; margin-top: 4px; padding: 6px 12px; background: rgba(12, 10, 16, .42); border: 1px solid rgba(255, 255, 255, .14); }
.rb-title.has-bg .rb-back { text-shadow: 0 0 4px #000; color: #b9b2a4; }
.rb-title.has-bg .rb-logo-img { top: 3%; height: min(27vh, 300px); }
@media (max-height: 700px) { .rb-title.has-bg .rb-tmenu button { padding: 5px 0; font-size: 14px; } .rb-title.has-bg .rb-tmenu button[data-k="new"] { font-size: 16px; } .rb-title.has-bg .rb-tmenu .wtc-home { padding: 4px 10px; } }
/* 横長: メニューは左下のまま（人物は中央）。かげりは左下だけ */
.rb-app.is-wide .rb-title.has-bg::before { right: auto; width: 46%; height: 62%; background: radial-gradient(ellipse at 0% 100%, rgba(0, 0, 0, .7), rgba(0, 0, 0, .35) 45%, rgba(0, 0, 0, 0) 72%); }
.rb-app.is-wide .rb-title.has-bg .rb-tmenu { width: 300px; }
.rb-app.is-wide .rb-title.has-bg .rb-logo-img { height: min(52vh, 420px); }

/* UTSUROPR1007 押しやすさ（44px 以上）・読みやすさ（14px 以上）・メニューの「とじる」を下に固定・挑戦状と観戦の帯を作品の色に */
.rb-bm { width: min(20vw, 76px); height: 44px; border-radius: 22px; font-size: 14px; }
.rb-tabs button { min-height: 44px; font-size: 14px; }
.rb-dg button { height: 44px; }
.rb-tmenu button { min-height: 44px; }
.rb-title.has-bg .rb-tmenu button { min-height: 44px; padding-top: 4px; padding-bottom: 4px; }
.rb-back { display: inline-block; min-height: 44px; padding: 12px 14px; box-sizing: border-box; font-size: 14px; }
.rb-name { font-size: 14px; top: -17px; }
.rb-items small, .rb-note, .rb-slot span, .rb-light, .rb-dial-t, .rb-letter-h, .rb-cfg span, .rb-warn { font-size: 14px; }
.rb-help { font-size: 14px !important; }
.rb-menu .rb-close { position: sticky; bottom: -16px; z-index: 2; margin-bottom: -16px; box-shadow: 0 -10px 14px rgba(8, 8, 10, .92); background: #141418; }
.rbb .rb-end .msvgi-wrap { box-sizing: border-box; padding: 0 20px; text-align: center; }
.rbb .rb-end .msvgi-open { background: #241f18; color: #f0dfbd; border: 1px solid #5e5240; border-radius: 4px; box-shadow: none; font-weight: 400; font-size: 15px; min-height: 44px; max-width: 420px; }
.rbb .wtc-home { background: rgba(14, 13, 16, .8); border: 1px solid #3a342b; border-radius: 4px; color: #e9d7b3; font-family: inherit; font-weight: 400; min-height: 44px; box-sizing: border-box; }
.rbb .wtc-home small { color: #a59a86; font-weight: 400; font-size: 14px; }
.rbb .wtc-home.is-live small { color: #e7a94a; }
