.laya-dialog{width:min(520px,calc(100vw - 32px));max-height:90dvh;border:1px solid #ccd5e2;border-radius:22px;padding:0;color:#1f2d43;background:#f1f4f8;font:calc(15px * var(--pg-ts,1))/1.65 -apple-system,BlinkMacSystemFont,"PG Hangul",sans-serif}.laya-head{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;border-bottom:1px solid #8799b233}.laya-head h2{font-size:calc(20px * var(--pg-ts,1));line-height:1.4;margin:0}.laya-head small{font-size:calc(12px * var(--pg-ts,1))}.laya-dialog button{font:inherit;cursor:pointer;border:1px solid #8c9bb744;border-radius:10px;padding:9px 13px;color:inherit;background:transparent;min-height:44px}.laya-head button{font-size:calc(26px * var(--pg-ts,1));line-height:1;width:44px;border:0}.laya-body{padding:24px;overflow:auto}.laya-body>p{margin:0 0 20px}.laya-body label{display:block;font-weight:600}.laya-body select{display:block;width:100%;font:inherit;margin-top:8px;padding:12px 14px;border:1px solid #a6b4c9;border-radius:12px;min-height:48px}.laya-scope{font-size:calc(12px * var(--pg-ts,1));line-height:1.7;margin-top:14px!important}.laya-body section{border-top:1px solid #8799b244;border-bottom:1px solid #8799b244;padding:20px 0;min-height:80px;margin-bottom:16px}.laya-body h3{font-size:calc(18px * var(--pg-ts,1));line-height:1.55;margin:0 0 10px}.laya-body small{display:block;font-size:calc(12px * var(--pg-ts,1));margin-bottom:12px}.laya-controls{display:flex;gap:8px;flex-wrap:wrap}.laya-dialog .laya-primary{background:var(--pg-btn-bg);color:var(--pg-btn-fg);border-color:var(--pg-btn-bg);font-weight:600}.laya-dialog button:disabled{opacity:.5;cursor:default}.laya-dialog :focus-visible{outline:3px solid #8492fb;outline-offset:3px}.room-actions .room-laya{font-size:calc(12px * var(--pg-ts,1));font-weight:700;width:auto;min-width:42px;padding:8px!important}.dark .laya-dialog{background:#1e2838;color:#f2f6ff}.dark .laya-body select{background:#27354a;color:#f2f6ff}@media(max-width:760px){html body #laya-dialog{position:fixed;inset:0;width:100%;height:100dvh;max-width:none;max-height:none;margin:0;border:0;border-radius:0;background:#f1f4f8!important;background-image:none!important;backdrop-filter:none!important;display:none;padding-top:env(safe-area-inset-top)}html body #laya-dialog[open]{display:flex;flex-direction:column}html body.dark #laya-dialog{background:#1e2838!important}.laya-body{flex:1;min-height:0;padding:22px 20px max(24px,env(safe-area-inset-bottom))}.laya-head{padding:16px 20px}.laya-body select{font-size:calc(16px * var(--pg-ts,1))}.laya-controls .laya-primary{flex:1}.laya-scope{font-size:calc(13px * var(--pg-ts,1))}}

.laya-body .unified-select{display:block;width:100%;margin-top:8px}.laya-body .unified-select>summary{min-height:48px;padding:10px 14px;border:1px solid #a6b4c9;border-radius:12px;font-weight:500}

@media(max-width:760px){html body dialog#laya-dialog.phone-screen{inset:var(--phone-top,0px) 0 auto!important;top:var(--phone-top,0px)!important;width:100vw!important;height:var(--phone-height,100dvh)!important;min-width:0!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;transform:none!important;box-shadow:none!important}html body #laya-dialog.phone-screen>.laya-body{margin:0!important;padding:20px}.laya-controls{display:grid;grid-template-columns:1fr 1fr}.laya-controls .laya-primary{grid-column:1/-1;grid-row:1;min-height:48px}.laya-dialog .laya-connection{font-size:calc(12px * var(--pg-ts,1));margin-bottom:14px}}

/* 2026-10-03 Claude: the moderator button is an icon with the word 'Moderator' (no model name). */
.room-laya{display:inline-flex;align-items:center;gap:5px}.room-laya .room-laya-icon{width:16px;height:16px;flex:none}

.laya-advice{margin:8px 0;padding:10px 12px;border-radius:12px;background:#eef2fd;color:#1f2a44;line-height:1.55}
body.dark .laya-advice{background:#26324a;color:#e3eaf6}
