/* Public spectator-only live-room picker and directories */
.m1-watch-backdrop[hidden]{display:none!important}.m1-watch-backdrop{position:fixed;inset:0;z-index:1000000;display:grid;place-items:center;padding:18px;background:rgba(4,4,7,.84);backdrop-filter:blur(9px);direction:rtl}.m1-watch-dialog{position:relative;width:min(480px,100%);padding:26px 22px;border:1px solid #bc9258;border-radius:20px;background:linear-gradient(145deg,#252026,#111115);color:#f7e9d2;box-shadow:0 25px 85px #000a;text-align:center}.m1-watch-dialog h2{margin:0 0 8px;font-size:25px}.m1-watch-dialog p{margin:0 0 22px;color:#bfb2a1;font-size:14px}.m1-watch-options{display:grid;gap:11px}.m1-watch-options a{display:block;padding:17px 14px;border:1px solid #8c6d46;border-radius:12px;background:#292328;color:#f8dfb0;text-decoration:none;font-weight:700;font-size:17px;transition:background .15s,border-color .15s}.m1-watch-options a:hover,.m1-watch-options a:focus-visible{background:#3b302b;border-color:#f1ca87;outline:2px solid transparent}.m1-watch-close{position:absolute;left:14px;top:12px;border:0;background:transparent;color:#e9d1ae;font-size:30px;cursor:pointer;line-height:1}.m1-watch-directory{min-height:100vh;max-width:900px;margin:0 auto;padding:36px 18px 70px;direction:rtl;color:#f1e0c9;font-family:Tahoma,Arial,sans-serif}.m1-watch-directory h1{margin:20px 0 12px;font-size:clamp(24px,5vw,34px)}.m1-watch-directory .lead{color:#b9ad9f;line-height:1.9}.m1-watch-directory .back{color:#eec58a;text-decoration:none}.m1-watch-list{display:grid;gap:14px;margin-top:25px}.m1-watch-room{border:1px solid #5f4b37;background:#201d21;border-radius:15px;padding:20px;display:grid;gap:9px}.m1-watch-room strong{font-size:18px;color:#ffdfaa}.m1-watch-room p{margin:0;color:#c4b4a2;font-size:13px;line-height:1.9}.m1-watch-room a{width:fit-content;max-width:100%;display:inline-block;background:#d7ad72;color:#21160c;font-weight:700;border-radius:9px;padding:12px 20px;text-decoration:none}.m1-watch-state{color:#d9c7b3;padding:24px;background:#211e20;border:1px dashed #82694f;border-radius:12px;line-height:1.9}.m1-watch-toolbar{display:flex;gap:15px;align-items:center;justify-content:space-between;flex-wrap:wrap}.m1-watch-refresh{background:#272329;color:#eed2a9;border:1px solid #a8895e;padding:10px 15px;border-radius:9px;cursor:pointer}.m1-watch-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-top:20px}.m1-watch-tabs a{padding:9px 12px;border-radius:9px;border:1px solid #594638;color:#e3c399;text-decoration:none;font-size:13px}.m1-watch-tabs a[aria-current=page]{background:#c8a16d;color:#191315}

/* Responsive safety: contain the modal inside narrow mobile viewports. */
.m1-watch-dialog{box-sizing:border-box;max-height:calc(100dvh - 32px);overflow-y:auto;overscroll-behavior:contain}
.m1-watch-options a{box-sizing:border-box;touch-action:manipulation}
@media(max-width:480px){.m1-watch-backdrop{padding:12px}.m1-watch-dialog{width:100%;max-height:calc(100dvh - 24px);padding:22px 16px;border-radius:16px}.m1-watch-dialog h2{font-size:22px}.m1-watch-dialog p{font-size:12px}.m1-watch-options a{padding:16px 8px;font-size:15px;min-height:52px}.m1-watch-directory{padding:22px 12px 55px}.m1-watch-tabs a{flex:1;text-align:center;min-width:120px}}
@media(prefers-reduced-motion:reduce){.m1-watch-options a{transition:none}}

/* The homepage live shortcut is an action button, never a legacy link. */
body[data-page="home"] #m1-home-feature-shortcuts button[data-m1-home-feature="live"]{font-family:inherit;cursor:pointer;appearance:none;-webkit-appearance:none}
