#symbol51{font:14px/1.5 system-ui,sans-serif;color:#f7f4ff;position:fixed;z-index:2147483000;right:18px;bottom:20px;isolation:isolate}#symbol51 *{box-sizing:border-box}#symbol51 [hidden]{display:none!important}#symbol51 button{font:inherit;cursor:pointer;border:1px solid #77669f;color:#fff;background:#282039;border-radius:13px;padding:10px;white-space:normal}#symbol51 button:focus-visible{outline:3px solid #8eeaff;outline-offset:2px}#symbol51 .s51-launch{width:48px;height:48px;border-radius:50%;padding:0;font-size:25px;color:#10101b;background:linear-gradient(115deg,#c49bff,#80caff,#6bffd1);box-shadow:0 4px 20px #0008}#symbol51 .s51-invite{position:absolute;bottom:60px;right:0;width:min(280px,calc(100vw - 36px));background:#21182f;border:1px solid #9275bf;border-radius:16px;padding:16px;box-shadow:0 8px 25px #0008}#symbol51 .s51-dismiss{float:right;padding:0 7px}#symbol51 p{margin:8px 0}#symbol51 .s51-start{background:linear-gradient(110deg,#c49bff,#80caff,#6bffd1);color:#10101b;width:100%;font-weight:700}#symbol51 .s51-panel{width:min(365px,calc(100vw - 36px));height:min(590px,calc(100dvh - 40px));display:flex;flex-direction:column;background:#12101c;border:1px solid #8470b0;border-radius:20px;overflow:hidden;box-shadow:0 12px 45px #000a}#symbol51 header{display:flex;align-items:center;gap:10px;padding:12px;background:#211a30;border-bottom:1px solid #6e5893;flex:none}#symbol51 header div{flex:1}#symbol51 header small{display:block;color:#78e9ce}#symbol51 .s51-avatar{border-radius:50%;background:linear-gradient(115deg,#c49bff,#80caff,#6bffd1);color:#10101b;padding:9px;font-size:19px}#symbol51 .s51-log{overflow:auto;flex:1;min-height:80px;padding:14px;display:flex;flex-direction:column;gap:10px}#symbol51 .s51-msg{max-width:88%;border-radius:16px;padding:9px 12px;background:#282239;align-self:flex-start;overflow-wrap:anywhere}#symbol51 .s51-user{align-self:flex-end;background:#35466b}#symbol51 .s51-msg button{font-size:11px;padding:3px 8px;background:transparent;border:0;color:#a8dfff}#symbol51 .s51-options{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:10px;overflow:auto;max-height:42%;flex:none}#symbol51 .s51-options button{font-size:12px;min-height:42px}#symbol51 .s51-options button:hover{border-color:#70ffd0;background:#393052}#symbol51 footer{padding:7px 12px;border-top:1px solid #40354f}#symbol51 footer button{width:100%;font-size:12px;padding:6px} @media(max-width:600px){#symbol51{right:12px;bottom:calc(82px + env(safe-area-inset-bottom,0px))}#symbol51 .s51-launch{width:44px;height:44px}#symbol51 .s51-panel{position:fixed;inset:0;width:100%;height:100dvh;border:0;border-radius:0;padding-bottom:env(safe-area-inset-bottom,0px);padding-top:env(safe-area-inset-top,0px)} }

/* V52: compact layout, only active turn displayed */
#symbol51{bottom:82px;right:18px}
#symbol51 .s51-launch,#symbol51 .s51-avatar{display:inline-grid;place-items:center;aspect-ratio:1;flex:0 0 auto;line-height:1;padding:0!important;border-radius:50%;text-align:center}
#symbol51 .s51-avatar{width:42px;height:42px;min-width:42px;font-size:24px}
#symbol51 .s51-panel{width:min(400px,calc(100vw - 36px));height:auto;max-height:calc(100dvh - 102px);overflow:auto;overscroll-behavior:contain}
#symbol51 header{position:sticky;top:0;z-index:1;padding:9px 12px;gap:8px}
#symbol51 header div{min-width:0;flex:1}
#symbol51 header button{flex:0 0 auto;padding:7px 10px}
#symbol51 .s51-log{flex:none;min-height:0;overflow:visible;padding:9px 12px;gap:7px}
#symbol51 .s51-msg{max-width:100%;padding:8px 11px;font-size:13px;line-height:1.4}
#symbol51 .s51-msg p{margin:3px 0}
#symbol51 .s51-options{overflow:visible;max-height:none;padding:6px 10px 10px;gap:5px;grid-template-columns:repeat(2,minmax(0,1fr))}
#symbol51 .s51-options button{min-height:38px;padding:6px;font-size:12px;line-height:1.25;overflow-wrap:anywhere}
#symbol51 .s51-options button:last-child:nth-child(odd){grid-column:1/-1}
#symbol51 footer{flex:none;display:flex;gap:6px;padding:7px 10px}
#symbol51 footer button{width:auto;flex:1;min-height:36px}
#symbol51 .s51-log .s51-msg[hidden]{display:none!important}
@media(max-width:600px){#symbol51{bottom:calc(140px + env(safe-area-inset-bottom,0px));right:12px}#symbol51 .s51-panel{position:fixed;inset:0;width:100%;height:100dvh;max-height:100dvh;display:flex;justify-content:flex-start}#symbol51 .s51-options button{min-height:44px}#symbol51 footer{margin-top:auto}}
@media(max-height:600px){#symbol51 .s51-panel{max-height:calc(100dvh - 20px);position:fixed;right:12px;bottom:10px}#symbol51 .s51-options button{min-height:34px}}
@media(max-width:600px) and (max-height:600px){#symbol51 .s51-panel{inset:0;max-height:100dvh}}
