/* P542 話しかけるシート。320px幅でも横スクロールしない。モーダルを重ねず、シートの中で完結する。 */
.t542-open{display:flex;flex-direction:column;align-items:center;width:100%;margin:8px 0 2px;gap:2px}
.t542-open small{font-size:11px;font-weight:700;opacity:.8}
.t542{display:flex;flex-direction:column;gap:8px;min-width:0}
.t542-head{display:flex;gap:10px;align-items:center;min-width:0}
.t542-face{width:64px;height:64px;flex:0 0 64px;overflow:hidden;border-radius:16px;background:#f6f2ff}
.t542-face>*{transform:scale(.62);transform-origin:top left}
.t542-note{font-size:13px;font-weight:800;color:#a15c00}
.t542-digest{background:#fff8e6;border:2px solid #ffd98a;border-radius:14px;padding:8px 10px;font-size:13px;font-weight:700;display:grid;gap:3px}
.t542-kicker{font-size:12px;color:#8a6a1d}
.t542-log{display:flex;flex-direction:column;gap:6px;max-height:min(42vh,360px);min-height:110px;overflow-y:auto;overflow-x:hidden;padding:2px;overscroll-behavior:contain}
.t542-l{max-width:86%;padding:8px 12px;border-radius:16px;font-size:15px;line-height:1.5;font-weight:700;background:#fff;border:2px solid var(--c,#e4def2);word-break:break-word;animation:up .2s}
.t542-l b{display:block;font-size:11px;color:var(--c);margin-bottom:1px}
.t542-l.me{align-self:flex-end;background:#fff5d6;border-color:#ffd98a}
.t542-empty{color:#8b84a3;font-weight:700;font-size:14px;text-align:center;padding:24px 0}
.t542-dots{display:inline-flex;gap:4px;padding:4px 0}
.t542-dots i{width:7px;height:7px;border-radius:50%;background:var(--c,#999);opacity:.35;animation:t542dot 1s infinite}
.t542-dots i:nth-child(2){animation-delay:.15s}.t542-dots i:nth-child(3){animation-delay:.3s}
@keyframes t542dot{50%{opacity:1;transform:translateY(-2px)}}
.t542-src-chip{font-size:11px;padding:1px 7px;border-radius:999px;border:1px solid #c8c0e0;background:#f6f2ff;color:#5b4f86;font-weight:800;margin-left:4px;vertical-align:1px}
.t542-src{border:2px dashed #c8c0e0;border-radius:14px;padding:8px 10px;font-size:13px;background:#fbfaff;display:grid;gap:4px;word-break:break-word}
.t542-src p{margin:0}.t542-src dl{display:grid;grid-template-columns:auto 1fr;gap:2px 8px;margin:0;font-size:12px}.t542-src dt{color:#6d6585}.t542-src dd{margin:0}
.t542-src a{font-weight:800;color:#4b3fa0}
.t542-choices,.t542-acts{display:flex;flex-wrap:wrap;gap:6px}
.t542-acts .btn{flex:1 1 140px;min-width:0;font-size:14px}
.t542-chip{border:2px solid #d9d1f2;background:#fff;border-radius:999px;padding:6px 12px;font-weight:800;font-size:14px;max-width:100%}
.t542-entries{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.t542-entry{border:2px solid #e4def2;background:#f9f7ff;border-radius:12px;padding:8px 4px;font-weight:800;font-size:13px;min-width:0;line-height:1.3}
.t542-entry:disabled,.t542-form :disabled{opacity:.5}
.t542-form{display:flex;gap:6px;min-width:0}
.t542-form input{flex:1;min-width:0;font-size:16px;padding:10px 12px;border-radius:12px;border:2px solid #d9d1f2;font-weight:700}
.t542-form .btn{flex:0 0 auto}
.t542-foot{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:space-between}
.t542-link{background:none;border:0;color:#6d6585;font-size:12px;text-decoration:underline;padding:4px}
.t542-forget{font-size:12px;font-weight:700;display:flex;flex-wrap:wrap;gap:4px;align-items:center}
.t542-meta{font-size:11px;color:#8b84a3;text-align:right}
@media (max-width:360px){.t542-entries{grid-template-columns:1fr 1fr 1fr}.t542-entry{font-size:12px}.t542-l{font-size:14px}}
