/* 観戦（2026-10-03）。.wtc＝遊ぶ側の隅の表示（各ゲームの画面に載る）／.wtp＝観戦の画面 /watch/ */

/* ================= 遊ぶ側の隅 ================= */
.wtc { position: fixed; z-index: 9000; display: flex; flex-direction: column; gap: 6px; max-width: min(72vw, 360px); pointer-events: none; font: 800 12px/1.35 'M PLUS Rounded 1c', system-ui, sans-serif; }
.wtc--bl { left: calc(8px + env(safe-area-inset-left)); bottom: calc(8px + env(safe-area-inset-bottom)); align-items: flex-start; }
.wtc--br { right: calc(8px + env(safe-area-inset-right)); bottom: calc(8px + env(safe-area-inset-bottom)); align-items: flex-end; }
.wtc--tl { left: calc(8px + env(safe-area-inset-left)); top: calc(8px + env(safe-area-inset-top)); align-items: flex-start; flex-direction: column-reverse; }
.wtc--tr { right: calc(8px + env(safe-area-inset-right)); top: calc(8px + env(safe-area-inset-top)); align-items: flex-end; flex-direction: column-reverse; }
.wtc-pill { pointer-events: auto; display: inline-flex; align-items: center; gap: 5px; border: 0; border-radius: 999px; padding: 4px 9px 4px 7px; background: rgba(30, 24, 44, .62); color: #fff; font: inherit; font-size: 11px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.wtc-pill i { width: 7px; height: 7px; border-radius: 50%; background: #ff4d6d; box-shadow: 0 0 0 0 rgba(255, 77, 109, .6); }
.wtc.is-watched .wtc-pill { background: rgba(214, 40, 77, .86); }
.wtc.is-watched .wtc-pill i { background: #fff; animation: wtcPulse 1.6s infinite; }
.wtc.is-off .wtc-pill { background: rgba(30, 24, 44, .35); }
.wtc.is-off .wtc-pill i { background: #9a94a8; }
@keyframes wtcPulse { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .7); } 100% { box-shadow: 0 0 0 7px rgba(255, 255, 255, 0); } }
.wtc-tick { display: flex; flex-direction: column; gap: 4px; }
.wtc--bl .wtc-tick, .wtc--tl .wtc-tick { align-items: flex-start; }
.wtc--br .wtc-tick, .wtc--tr .wtc-tick { align-items: flex-end; }
.wtc-line { pointer-events: auto; max-width: 100%; padding: 4px 9px; border-radius: 12px; background: rgba(255, 255, 255, .92); color: #3a2f4f; box-shadow: 0 2px 8px rgba(0, 0, 0, .12); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; animation: wtcIn .25s ease-out; transition: opacity .35s, transform .35s; cursor: pointer; }
.wtc-line em { font-style: normal; color: #b0507a; margin-right: 6px; }
.wtc-line--gift { background: linear-gradient(90deg, #fff3c4, #ffd9ec); }
.wtc-line img { width: 20px; height: 20px; object-fit: contain; vertical-align: -5px; margin-right: 4px; }
.wtc-line.is-out { opacity: 0; transform: translateY(-4px); }
@keyframes wtcIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.wtc-hint { pointer-events: none; padding: 6px 10px; border-radius: 10px; background: #2b2340; color: #fff; font-size: 11px; transition: opacity .4s; }
.wtc-hint.is-out { opacity: 0; }
.wtc-sheet, .wtp-sheet { position: fixed; inset: 0; z-index: 9500; display: flex; align-items: flex-end; justify-content: center; background: rgba(20, 14, 30, .45); font: 700 14px/1.5 'M PLUS Rounded 1c', system-ui, sans-serif; }
.wtc-card, .wtp-card2 { width: min(100%, 440px); margin: 0 auto; padding: 18px 16px calc(16px + env(safe-area-inset-bottom)); border-radius: 18px 18px 0 0; background: #fff; color: #33284a; display: flex; flex-direction: column; gap: 8px; max-height: 80vh; overflow: auto; box-sizing: border-box; }
.wtc-card b, .wtp-card2 > b { font-size: 15px; }
.wtc-card p, .wtp-card2 p { margin: 0; font-size: 12.5px; color: #6a5f80; font-weight: 700; }
.wtc-card button, .wtp-card2 > button { border: 0; border-radius: 12px; padding: 12px; background: #2b2340; color: #fff; font: inherit; cursor: pointer; }
.wtc-card button.is-sub, .wtp-card2 > button.is-sub { background: #efeaf6; color: #4b3f63; }
.wtc-card label { display: flex; gap: 8px; align-items: center; padding: 6px 2px; font-size: 13px; }
.wtc-card a { color: #b0507a; font-size: 13px; text-align: center; padding: 4px; }

/* ================= 観戦の画面 ================= */
html, body.wtpb { margin: 0; height: 100%; background: #1d1729; }
.wtpb { color: #f3eefc; font: 700 14px/1.5 'M PLUS Rounded 1c', system-ui, sans-serif; -webkit-text-size-adjust: 100%; }
.wtp { min-height: 100%; display: flex; flex-direction: column; max-width: 720px; margin: 0 auto; }
.wtp-boot { padding: 60px 16px; text-align: center; color: #c9bfdc; }
.wtp-boot a { color: #ffb3cf; }
.wtp-hd { display: flex; align-items: center; gap: 8px; padding: calc(8px + env(safe-area-inset-top)) 12px 8px; background: #2b2340; position: sticky; top: 0; z-index: 5; }
.wtp-hd h1 { margin: 0; font-size: 17px; font-weight: 900; }
.wtp-back { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; text-decoration: none; font-size: 24px; line-height: 1; }
.wtp-tabs { display: flex; gap: 6px; overflow-x: auto; padding: 10px 12px; scrollbar-width: none; }
.wtp-tabs::-webkit-scrollbar { display: none; }
.wtp-tabs a { flex: none; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: #d9d0ea; text-decoration: none; font-size: 12.5px; white-space: nowrap; }
.wtp-tabs a.is-on { background: #ff6f91; color: #fff; }
.wtp-list { display: flex; flex-direction: column; gap: 8px; padding: 4px 12px 12px; }
.wtp-card { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: #2e2542; color: #fff; text-decoration: none; }
.wtp-card.is-lock { opacity: .78; }
.wtp-av { width: 42px; height: 42px; flex: none; border-radius: 50%; overflow: hidden; background: #4a3d66; display: grid; place-items: center; }
.wtp-av img { width: 100%; height: 100%; object-fit: cover; }
.wtp-av i { font-style: normal; font-size: 18px; }
.wtp-cm { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.wtp-cm em { font-style: normal; font-size: 11px; color: #ffb3cf; }
.wtp-cm b { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wtp-cm small { font-size: 11.5px; color: #b9aed0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wtp-vw { flex: none; font-size: 13px; }
.wtp-vw u { text-decoration: none; padding: 2px 7px; border-radius: 6px; background: #e8335f; font-size: 11px; }
.wtp-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 40px 12px; color: #c9bfdc; text-align: center; }
.wtp-empty b { font-size: 16px; color: #fff; }
.wtp-foot { margin: 0; padding: 8px 16px 24px; font-size: 11.5px; color: #8f84a6; }
.wtp-btn { display: inline-block; border: 0; border-radius: 12px; padding: 11px 18px; background: #ff6f91; color: #fff; text-decoration: none; font: inherit; cursor: pointer; }
.wtp-btn.is-sub { background: rgba(255, 255, 255, .12); }
.wtp-btn.is-ghost { background: transparent; color: #d9d0ea; text-decoration: underline; }

.wtp-hd--live { gap: 10px; }
.wtp-who { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; }
.wtp-who .wtp-av { width: 34px; height: 34px; }
.wtp-who > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.wtp-nm { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wtp-gn { font-size: 11px; color: #b9aed0; }
.wtp-meta { display: flex; flex-direction: column; align-items: flex-end; font-size: 12px; flex: none; }
.wtp-score { color: #ffe08a; }
.wtp-stage { position: relative; height: 62vh; height: 62dvh; min-height: 300px; background: #000; flex: none; }
.wtp-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; pointer-events: none; } /* 観戦は見るだけ（中のボタンを押させない） */
.wtp-wait { position: absolute; inset: 0; display: grid; place-items: center; color: #c9bfdc; background: #1d1729; }
.wtp-fx { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.wtp-clapfx { position: absolute; bottom: 8px; font-size: 26px; animation: wtpUp 1.5s ease-out forwards; }
@keyframes wtpUp { from { transform: translateY(0) scale(.6); opacity: 1; } to { transform: translateY(-46vh) scale(1.2); opacity: 0; } }
.wtp-giftfx { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 6px; animation: wtpGift 3.1s ease-out forwards; }
.wtp-giftfx img { width: 128px; height: 128px; object-fit: contain; filter: drop-shadow(0 6px 18px rgba(255, 210, 120, .7)); }
.wtp-giftfx i { font-style: normal; font-size: 80px; }
.wtp-giftfx b { padding: 5px 12px; border-radius: 999px; background: rgba(43, 35, 64, .9); color: #fff; font-size: 13px; white-space: nowrap; }
@keyframes wtpGift { 0% { opacity: 0; transform: translate(-50%, -30%) scale(.4); } 12% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); } 20% { transform: translate(-50%, -50%) scale(1); } 85% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -62%) scale(.96); } }
.wtp-lock, .wtp-end > div { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 20px; text-align: center; background: #241c35; }
.wtp-lock b, .wtp-end b { font-size: 17px; }
.wtp-lock span, .wtp-end span { color: #c9bfdc; font-size: 13px; }
.wtp-end > div { background: rgba(29, 23, 41, .9); }
.wtp-end.is-min > div { inset: auto 0 0 0; padding: 8px; flex-direction: row; flex-wrap: wrap; gap: 6px; background: rgba(29, 23, 41, .85); }
.wtp-end.is-min b, .wtp-end.is-min span, .wtp-end.is-min .is-ghost { display: none; }
.wtp-chat { flex: 1; display: flex; flex-direction: column; min-height: 0; background: #241c35; }
.wtp-says { list-style: none; margin: 0; padding: 8px 12px; flex: 1; min-height: 90px; max-height: 30vh; overflow-y: auto; display: flex; flex-direction: column; gap: 4px; }
.wtp-say { font-size: 13px; line-height: 1.45; word-break: break-all; cursor: pointer; }
.wtp-say em { font-style: normal; color: #ffb3cf; margin-right: 6px; font-size: 12px; }
.wtp-say--gift { color: #ffe08a; }
.wtp-say img { width: 22px; height: 22px; object-fit: contain; vertical-align: -6px; margin-right: 4px; }
.wtp-stamp { display: inline-block; padding: 1px 8px; border-radius: 8px; background: #ff6f91; color: #fff; font-size: 12px; }
.wtp-tools { padding: 8px 12px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255, 255, 255, .08); display: flex; flex-direction: column; gap: 8px; }
.wtp-tools.is-ended .wtp-form, .wtp-tools.is-ended .wtp-stamps, .wtp-tools.is-ended .wtp-acts { display: none; }
.wtp-stamps { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.wtp-stamps::-webkit-scrollbar { display: none; }
.wtp-stamps button { flex: none; border: 1px solid rgba(255, 111, 145, .6); border-radius: 999px; padding: 5px 11px; background: transparent; color: #ffd0de; font: inherit; font-size: 12.5px; cursor: pointer; }
.wtp-form { display: flex; gap: 6px; }
.wtp-form[hidden], .wtp-stamps[hidden] { display: none; }
.wtp-form input { flex: 1; min-width: 0; border: 0; border-radius: 10px; padding: 10px 12px; background: #fff; color: #2b2340; font: 700 16px/1.3 'M PLUS Rounded 1c', system-ui, sans-serif; }
.wtp-form button { flex: none; border: 0; border-radius: 10px; padding: 0 16px; background: #ff6f91; color: #fff; font: inherit; cursor: pointer; }
.wtp-acts { display: flex; gap: 8px; }
.wtp-acts button { flex: 1; border: 0; border-radius: 12px; padding: 10px; background: rgba(255, 255, 255, .1); color: #fff; font: inherit; cursor: pointer; }
.wtp-acts button[hidden] { display: none; }
.wtp-why { margin: 0; font-size: 12px; color: #b9aed0; }
.wtp-why a { color: #ffb3cf; }
.wtp-toast { position: fixed; left: 50%; bottom: calc(90px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 9600; padding: 9px 16px; border-radius: 12px; background: #fff; color: #2b2340; font: 800 13px/1.4 'M PLUS Rounded 1c', system-ui, sans-serif; box-shadow: 0 6px 20px rgba(0, 0, 0, .3); transition: opacity .3s; max-width: calc(100vw - 32px); }
.wtp-toast.is-out { opacity: 0; }
.wtp-gifts .wtp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.wtp-gifts .wtp-grid button { display: flex; flex-direction: column; align-items: center; gap: 2px; border: 1px solid #eee5f5; border-radius: 12px; padding: 8px 4px; background: #fbf8ff; color: #33284a; font: inherit; font-size: 12px; cursor: pointer; }
.wtp-gifts .wtp-grid img { width: 48px; height: 48px; object-fit: contain; }
.wtp-gifts .wtp-grid small { color: #b0507a; }
.wtp-gifts small { color: #7a6f90; font-size: 11.5px; }
.wtp-bal { grid-column: 1 / -1; text-align: center; font-size: 12.5px; }
.wtp-bal a { color: #b0507a; }
@media (min-width: 720px) { .wtp-stage { height: 66vh; } }

/* 観戦モードで開かれたゲームの画面（iframe の中）。入力を受けない印 */
html.is-wtview body { touch-action: none; }
/* ブロックブラスト: 観戦では自分のベストを出さない */
.bkp-app.is-wtview #bkpBest, .bkp-app.is-wtview .bkp-top button { visibility: hidden; }
.wtp-stall { position: absolute; left: 50%; top: 12px; transform: translateX(-50%); padding: 7px 14px; border-radius: 14px; background: rgba(29, 23, 41, .9); color: #ffe08a; font-size: 12.5px; text-align: center; width: max-content; max-width: calc(100% - 32px); line-height: 1.45; }
/* ツムツム: 観戦では自分のベスト・メニューのボタンを出さない */
#mf.is-wtview #mfBest, #mf.is-wtview [data-act], #mf.is-wtview .mf-pause { visibility: hidden; }
/* ニャーリー・うつろ団地: 観戦では操作のボタンを出さない */
.nk-app.is-wtview button, .rb-app.is-wtview .rb-pad, .rb-app.is-wtview button { visibility: hidden; }
/* ゲームのホームの「観戦する」 */
.wtc-home { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 8px 0 0; padding: 10px 14px; border-radius: 14px; background: rgba(43, 35, 64, .88); color: #fff; text-decoration: none; font: 800 13px/1.3 'M PLUS Rounded 1c', system-ui, sans-serif; }
.wtc-home small { font-size: 11px; color: #d9cfea; font-weight: 700; }
.wtc-home.is-live small { color: #ffb3cf; }
.rb-tmenu .wtc-home { background: rgba(20, 16, 24, .7); border: 1px solid rgba(255, 255, 255, .18); border-radius: 6px; }
.wn-app.is-wtview .wn-pause, .wn-app.is-wtview .wn-speed { visibility: hidden; }
.is-wtview .mf-ctl, .is-wtview .mf-hd__p, .is-wtview .mf-pzbar { visibility: hidden; }
html.is-wtview .mk-ctl, html.is-wtview .mk-menu { visibility: hidden; }
/* 観戦の音（WATCHSND1004） */
.wtp-acts .wtp-snd.is-on { background: rgba(255, 111, 145, .28); }
.wtp-vol { display: flex; align-items: center; gap: 10px; font-size: 12px; color: #c9bfdc; }
.wtp-vol[hidden] { display: none; }
.wtp-vol input { flex: 1; accent-color: #ff6f91; }

/* ================= WATCHFULL1004 観戦の画面を全画面に（ゲームは遊ぶ人と同じ形でいっぱい・ほかは上に重ねる） ================= */
body.wtpb--live { overflow: hidden; background: #000; }
.wtp.wtp--live { position: fixed; inset: 0; max-width: none; min-height: 0; margin: 0; display: block; }
.wtp--live .wtp-stage { position: absolute; inset: 0; height: auto; min-height: 0; }
.wtp--live .wtp-hd--live { position: absolute; left: 0; right: 0; top: 0; z-index: 6; padding: calc(4px + env(safe-area-inset-top)) calc(8px + env(safe-area-inset-right)) 14px calc(8px + env(safe-area-inset-left)); gap: 8px; background: linear-gradient(rgba(15, 10, 25, .62), rgba(15, 10, 25, 0)); pointer-events: none; }
.wtp--live .wtp-hd--live > * { pointer-events: auto; }
.wtp--live .wtp-back { width: 30px; height: 30px; font-size: 21px; background: rgba(0, 0, 0, .35); }
.wtp--live .wtp-who .wtp-av { width: 26px; height: 26px; }
.wtp--live .wtp-nm { font-size: 12.5px; text-shadow: 0 1px 3px rgba(0, 0, 0, .8); }
.wtp--live .wtp-gn { font-size: 10px; color: #e3dbf2; text-shadow: 0 1px 3px rgba(0, 0, 0, .8); }
.wtp--live .wtp-meta { font-size: 11px; text-shadow: 0 1px 3px rgba(0, 0, 0, .8); }
.wtp--live.is-nocmt .wtp-who, .wtp--live.is-nocmt .wtp-meta { display: none; }
.wtp--live .wtp-stall { top: calc(44px + env(safe-area-inset-top)); z-index: 3; }
/* 流れるコメント（左下・数行・8秒で消える） */
.wtp-flow { position: absolute; left: calc(8px + env(safe-area-inset-left)); bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 5; width: min(70vw, 420px); margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; pointer-events: none; }
.wtp-fl { max-width: 100%; padding: 3px 9px; border-radius: 10px; background: rgba(15, 10, 25, .5); color: #fff; font-size: 13px; line-height: 1.4; text-shadow: 0 1px 2px rgba(0, 0, 0, .7); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; animation: wtcIn .25s ease-out; transition: opacity .5s; }
.wtp-fl em { font-style: normal; color: #ffc4d8; margin-right: 6px; font-size: 11.5px; }
.wtp-fl--gift { background: rgba(120, 80, 10, .6); color: #ffe9a8; }
.wtp-fl.is-out { opacity: 0; }
.wtp--live.is-nocmt .wtp-flow, .wtp--live.is-chat .wtp-flow, .wtp--live.is-lock .wtp-flow, .wtp--live.is-lock .wtp-dock { display: none; }
/* 右下の操作（小さく重ねる） */
.wtp-dock { position: absolute; right: calc(6px + env(safe-area-inset-right)); bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 7; display: flex; flex-direction: column; gap: 6px; }
.wtp-dock button { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 50px; min-height: 46px; padding: 4px 2px; border: 0; border-radius: 14px; background: rgba(15, 10, 25, .55); color: #fff; font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.wtp-dock button[hidden] { display: none; }
.wtp-dock i { font-style: normal; font-size: 19px; line-height: 1.1; }
.wtp-dock small { font-size: 9.5px; line-height: 1.2; white-space: nowrap; }
.wtp-dock .wtp-snd.is-on { background: rgba(255, 111, 145, .7); }
.wtp-dock .wtp-snd:not(.is-on) { background: rgba(232, 51, 95, .85); }
.wtp-dock .wtp-cbtn[aria-expanded="true"] { background: rgba(255, 111, 145, .7); }
.wtp--live.is-ended .wtp-clap, .wtp--live.is-ended .wtp-gift, .wtp--live.is-ended .wtp-cbtn { display: none; }
.wtp-volpop { position: absolute; right: calc(62px + env(safe-area-inset-right)); bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 8; display: flex; align-items: center; gap: 8px; width: min(calc(100vw - 90px), 300px); box-sizing: border-box; padding: 8px 10px; border-radius: 14px; background: rgba(15, 10, 25, .82); color: #fff; font-size: 12px; }
.wtp-volpop[hidden] { display: none; }
.wtp-volpop input { flex: 1; min-width: 0; accent-color: #ff6f91; }
.wtp-volpop button { flex: none; border: 0; border-radius: 10px; padding: 6px 9px; background: rgba(255, 255, 255, .14); color: #fff; font: inherit; cursor: pointer; }
/* コメントの欄（💬 で開く・下に半透明で重ねる） */
.wtp--live .wtp-chat { position: absolute; left: 0; right: 64px; bottom: 0; z-index: 7; max-height: 52%; display: flex; flex-direction: column; background: rgba(20, 14, 32, .86); border-radius: 0 16px 0 0; }
.wtp--live .wtp-chat[hidden] { display: none; }
.wtp-chat-hd { display: flex; align-items: center; justify-content: space-between; padding: 6px 8px 0 12px; font-size: 12.5px; }
.wtp-chat-x { border: 0; background: transparent; color: #fff; font-size: 22px; line-height: 1; padding: 2px 8px; cursor: pointer; }
.wtp--live .wtp-says { min-height: 40px; max-height: none; flex: 1 1 auto; }
.wtp--live .wtp-tools { padding-bottom: calc(8px + env(safe-area-inset-bottom)); }
/* 音: まだ一度も触っていない間だけ、まん中に小さく（タップは下へ通す） */
.wtp-sndgate { position: absolute; left: 50%; top: 50%; z-index: 4; transform: translate(-50%, -50%); pointer-events: none; animation: wtpGate 1.6s ease-in-out infinite alternate; }
.wtp-sndgate span { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 999px; background: rgba(15, 10, 25, .72); color: #fff; font-size: 14px; white-space: nowrap; box-shadow: 0 4px 16px rgba(0, 0, 0, .35); }
.wtp-sndgate i { font-style: normal; font-size: 18px; }
@keyframes wtpGate { from { opacity: .75; } to { opacity: 1; } }
.wtp--live ~ .wtp-toast, .wtpb--live .wtp-toast { bottom: calc(70px + env(safe-area-inset-bottom)); }
@media (min-width: 720px) { .wtp--live .wtp-stage { height: auto; } .wtp--live .wtp-chat { left: auto; right: 70px; width: 420px; border-radius: 16px 16px 0 0; } }
@media (orientation: landscape) and (max-height: 500px) { .wtp--live .wtp-chat { left: auto; right: 64px; width: min(420px, 60vw); max-height: 80%; border-radius: 16px 16px 0 0; } .wtp-dock { gap: 4px; } .wtp-dock button { min-height: 40px; width: 46px; } .wtp-dock small { display: none; } }
/* WATCHFULL1004b 終わったら「タップで音が出ます」を出さない（終了の札のボタンに重なる） */
.wtp--live.is-ended .wtp-sndgate { display: none; }

/* WATCHFREE1005 ネタバレ注意の札（1回だけ・閉じられる） */
.wtp-spoil { position: absolute; left: 50%; top: calc(54px + env(safe-area-inset-top)); transform: translateX(-50%); z-index: 6; display: flex; align-items: center; gap: 8px; width: max-content; max-width: calc(100% - 24px); padding: 7px 8px 7px 12px; border-radius: 12px; background: rgba(29, 23, 41, .92); color: #ffe08a; font-size: 12.5px; line-height: 1.4; box-shadow: 0 4px 14px rgba(0, 0, 0, .35); }
.wtp-spoil button { flex: none; border: 0; border-radius: 8px; padding: 3px 9px; background: rgba(255, 255, 255, .14); color: #fff; font: inherit; cursor: pointer; }
.wtp--live.is-ended .wtp-spoil { display: none; }

/* WATCHPILL1005 遊ぶ側の札: 小さな点・4秒で薄く・下に押せる物があれば押せない（タップは下へ通る） */
.wtc-pill { transition: opacity .5s; font-size: 10.5px; padding: 3px 8px 3px 6px; }
.wtc-pill.is-dot { padding: 5px; gap: 0; }
.wtc-pill.is-dot span { display: none; }
.wtc.is-dim .wtc-pill { opacity: .45; }
.wtc-pill.is-pass { opacity: .4; }

/* WATCHCONT1006 区切りの帯・場面（一枚絵・メニュー・結果・会話） */
.wtp-next { position: absolute; left: 50%; bottom: calc(86px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 5; width: max-content; max-width: calc(100% - 24px); padding: 8px 14px; border-radius: 14px; background: rgba(29, 23, 41, .88); color: #ffe08a; font-size: 13px; text-align: center; pointer-events: none; }
.wtp-scn { position: absolute; left: 50%; top: calc(58px + env(safe-area-inset-top)); transform: translateX(-50%); z-index: 4; width: min(calc(100% - 20px), 520px); max-height: calc(100% - 170px); overflow: auto; border-radius: 16px; background: rgba(24, 18, 36, .9); color: #f3eefb; box-shadow: 0 8px 26px rgba(0, 0, 0, .4); pointer-events: auto; }
.wtp-scn__in { padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; }
.wtp-scn__in em { align-self: flex-start; font-style: normal; font-size: 11px; padding: 2px 8px; border-radius: 8px; background: #ff6f91; color: #fff; }
.wtp-scn__in b { font-size: 16px; }
.wtp-scn__in p { margin: 0; font-size: 13px; line-height: 1.55; color: #e4dcf2; }
.wtp-scn__img { display: block; width: 100%; max-height: 46vh; object-fit: contain; border-radius: 10px; background: #000; }
.wtp-scn__in ul { list-style: none; margin: 2px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 6px; }
.wtp-scn__in li { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 10.5px; text-align: center; color: #d9cfea; }
.wtp-scn__in li img { width: 52px; height: 52px; object-fit: contain; }
.wtp-scn--pic { top: 0; bottom: 0; left: 0; right: 0; transform: none; width: auto; max-height: none; border-radius: 0; background: rgba(0, 0, 0, .92); display: flex; align-items: center; }
.wtp-scn--pic .wtp-scn__in { width: min(100%, 720px); margin: auto; }
.wtp-scn--pic .wtp-scn__img { max-height: 70vh; }
.wtp-scn--end { top: 0; bottom: 0; left: 0; right: 0; transform: none; width: auto; max-height: none; border-radius: 0; background: rgba(8, 6, 12, .94); }
.wtp-scn--end .wtp-scn__in { width: min(100%, 560px); margin: 56px auto 90px; }
.wtp-scn--talk { top: auto; bottom: calc(80px + env(safe-area-inset-bottom)); }
.wtp--live.is-ended .wtp-scn { display: none; }

/* WATCHMIR1006 見る側は遊ぶ人と同じ画面だけ。飾りは上下の細い帯にまとめ、ゲームの画面には重ねない */
.wtp--live .wtp-hd--live { position: fixed; left: 0; right: 0; top: 0; height: calc(36px + env(safe-area-inset-top)); box-sizing: border-box; padding: env(safe-area-inset-top) calc(8px + env(safe-area-inset-right)) 0 calc(8px + env(safe-area-inset-left)); background: #120d1c; align-items: center; z-index: 6; }
.wtp--live .wtp-back { width: 26px; height: 26px; font-size: 18px; }
.wtp--live .wtp-who .wtp-av { width: 22px; height: 22px; }
.wtp--live .wtp-nm, .wtp--live .wtp-gn, .wtp--live .wtp-meta { text-shadow: none; }
.wtp--live .wtp-gn.is-st { color: #ffe08a; }
.wtp--live .wtp-stage { position: fixed; left: 0; right: 0; top: calc(36px + env(safe-area-inset-top)); bottom: calc(46px + env(safe-area-inset-bottom)); overflow: hidden; background: #000; }
.wtp--live .wtp-frame { right: auto; bottom: auto; }
.wtp--live::after { content: ''; position: fixed; left: 0; right: 0; bottom: 0; height: calc(46px + env(safe-area-inset-bottom)); background: #120d1c; z-index: 5; pointer-events: none; }
.wtp--live .wtp-dock { position: fixed; top: auto; right: calc(4px + env(safe-area-inset-right)); bottom: env(safe-area-inset-bottom); height: 46px; flex-direction: row; align-items: center; gap: 2px; }
.wtp--live .wtp-dock button { width: 44px; min-height: 40px; padding: 2px; border-radius: 10px; background: transparent; }
.wtp--live .wtp-dock i { font-size: 17px; }
.wtp--live .wtp-dock small { font-size: 9px; }
.wtp--live .wtp-dock .wtp-snd:not(.is-on) { background: rgba(232, 51, 95, .85); }
.wtp--live .wtp-flow { position: fixed; left: calc(8px + env(safe-area-inset-left)); right: 236px; width: auto; top: auto; bottom: env(safe-area-inset-bottom); height: 46px; z-index: 6; justify-content: center; overflow: hidden; gap: 1px; }
.wtp--live .wtp-fl { font-size: 11.5px; padding: 0 4px; background: transparent; text-shadow: none; }
.wtp--live .wtp-fl:not(:nth-last-child(-n+2)) { display: none; }
.wtp--live .wtp-volpop { bottom: calc(52px + env(safe-area-inset-bottom)); right: 8px; }
.wtp--live .wtp-chat { bottom: calc(46px + env(safe-area-inset-bottom)); right: 0; }
.wtp--live .wtp-next, .wtp--live .wtp-scn, .wtp--live .wtp-stall, .wtp-spoil, .wtp--live .wtp-sndgate { display: none !important; }
@media (max-width: 380px) { .wtp--live .wtp-flow { right: 226px; } .wtp--live .wtp-dock button { width: 42px; } }

/* WATCHSND1010 観戦の音: 「🔊 音を出す」（まだ音を出していない間だけ・上のまん中）。押しやすく 44px 以上 */
.wtp-sndpill { position: fixed; left: 50%; top: calc(44px + env(safe-area-inset-top)); z-index: 8; transform: translateX(-50%); display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; min-width: 150px; padding: 0 20px; border: 2px solid rgba(255, 255, 255, .85); border-radius: 999px; background: rgba(232, 51, 95, .94); color: #fff; font: inherit; font-size: 15px; font-weight: 800; letter-spacing: .02em; box-shadow: 0 6px 20px rgba(0, 0, 0, .45); cursor: pointer; -webkit-tap-highlight-color: transparent; animation: wtpSndPill 1.4s ease-in-out infinite alternate; }
.wtp-sndpill i { font-style: normal; font-size: 19px; }
.wtp-sndpill[hidden], .wtp--live.is-ended .wtp-sndpill, .wtp--live.is-lock .wtp-sndpill { display: none; }
@keyframes wtpSndPill { from { box-shadow: 0 6px 20px rgba(0, 0, 0, .45); } to { box-shadow: 0 6px 26px rgba(232, 51, 95, .75); } }
@media (prefers-reduced-motion: reduce) { .wtp-sndpill { animation: none; } }
.wtp--live .wtp-dock button { min-height: 44px; }
.wtp--live .wtp-dock .wtp-snd { width: 46px; }
.wtp-volpop { min-height: 48px; }
.wtp-volpop input { min-height: 32px; }
.wtp-volpop button { min-height: 44px; min-width: 64px; }
.wtp--live .wtp-flow { right: 240px; }
@media (max-width: 380px) { .wtp--live .wtp-dock button { width: 44px; } .wtp--live .wtp-dock .wtp-snd { width: 46px; } .wtp--live .wtp-dock { gap: 1px; } .wtp--live .wtp-flow { right: 240px; } }

/* WATCHHOST1006 配信者の一言 */
.wtc-hs { display: flex; flex-direction: column; gap: 6px; padding: 8px 0 2px; border-top: 1px solid #eee6f6; }
.wtc-hs > b { font-size: 13px; }
.wtc-hw { display: flex; flex-wrap: wrap; gap: 6px; }
.wtc-card .wtc-hw button { padding: 7px 10px; border-radius: 999px; background: #f3eefa; color: #4b3f63; font-size: 12.5px; }
.wtc-hf { display: flex; gap: 6px; }
.wtc-hf input { flex: 1; min-width: 0; padding: 9px 10px; border: 1px solid #d9cfea; border-radius: 10px; font: inherit; font-size: 14px; }
.wtc-card .wtc-hf button { padding: 9px 14px; }
.wtc-hm { min-height: 1em; color: #8a7ea3; font-size: 11.5px; }
.wtp-host { display: inline-block; margin-left: 4px; padding: 0 5px; border-radius: 6px; background: #ffd23a; color: #3a2a00; font-size: 9.5px; font-weight: 800; vertical-align: 1px; }
