/* Day dividers and the icon-free purchase event only; other clan UI is preserved. */
.clan-chat .clan346-date{display:flex;align-items:center;justify-content:center;gap:10px;margin:10px 7px 14px;clear:both}
.clan-chat .clan346-date:before,.clan-chat .clan346-date:after{content:'';height:1px;flex:1;background:linear-gradient(90deg,transparent,#5c9fba55)}
.clan-chat .clan346-date:after{transform:rotate(180deg)}
.clan-chat .clan346-date time{display:block;flex:none;padding:5px 11px;border:1px solid #629cb04d;border-radius:20px;color:#accbd9;background:#103c52;font:700 10px/1.2 Arial,Helvetica,sans-serif}
.clan-chat .clan346-plus{position:relative;isolation:isolate;margin:13px 1px 14px;padding:1.5px;border-radius:18px;background:linear-gradient(110deg,#63f4e8,#959fff,#eb81fd,#ffbc73,#ffe19a,#63f4e8);background-size:300% 100%;animation:clan346-flow 6s linear infinite;box-shadow:0 0 14px #9971f233,0 6px 15px #00172e66;overflow:hidden;text-align:start;max-width:100%;clear:both}
.clan-chat .clan346-inner{position:relative;border-radius:16.5px;background:radial-gradient(ellipse at 17% 30%,#433d8655,transparent 70%),linear-gradient(130deg,#112d54,#0b2343 70%);padding:11px 13px 10px;overflow:hidden}
.clan-chat .clan346-label{display:flex;align-items:center;gap:5px;font:700 8px/1.3 Arial,Helvetica,sans-serif;color:#d3c3e9;letter-spacing:1px;min-width:0}
.clan-chat .clan346-label>span{flex:1;min-width:0;overflow-wrap:anywhere}
.clan-chat .clan346-label svg{width:12px;height:12px;flex:none;fill:#e0c2ff}
.clan-chat .clan346-label time{margin-inline-start:auto;flex:none;color:#8193b3;font-size:9px;letter-spacing:0;font-weight:400}
.clan-chat .clan346-main{display:flex;align-items:center;justify-content:center;padding:10px 0 6px;text-align:center}
.clan-chat .clan346-main h3{font:900 15px/1.2 Arial,Helvetica,sans-serif!important;color:#e7f2ff!important;letter-spacing:.6px;margin:0!important;padding:0!important}
.clan-chat .clan346-title{display:block;font-size:34px;line-height:1.05;letter-spacing:2px;font-weight:900}
.clan-chat .clan346-rgb{color:#c8faff;background:linear-gradient(100deg,#7effef,#b8dbff,#e7a4ff,#ffaddb,#ffe5a9,#7effef);background-size:300% 100%;background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;animation:clan346-flow 5s linear infinite;filter:drop-shadow(0 0 7px #8d99ff44)}
.clan-chat .clan346-message{font:700 12px/1.5 Arial,Helvetica,sans-serif!important;margin:4px 0 0!important;text-align:center;position:relative;overflow-wrap:anywhere;white-space:normal}
.clan-chat .clan346-message strong{font-weight:900}
.clan-chat .clan346-bottom{display:flex;gap:8px;align-items:center;justify-content:center;margin-top:9px;padding-top:8px;border-top:1px solid #bca5ff22;position:relative;color:#a2aecb;font:400 9px/1.4 Arial,Helvetica,sans-serif;text-align:center}
.clan-chat .clan346-bottom:before,.clan-chat .clan346-bottom:after{content:'';width:3px;height:3px;transform:rotate(45deg);background:#bfa7ed;flex:none}
@keyframes clan346-flow{from{background-position:0% 50%}to{background-position:300% 50%}}
@media(max-width:350px){.clan-chat .clan346-inner{padding:10px}.clan-chat .clan346-main h3{font-size:13px!important}.clan-chat .clan346-title{font-size:30px}.clan-chat .clan346-message{font-size:11px!important}}
@media(prefers-reduced-motion:reduce){.clan-chat .clan346-plus,.clan-chat .clan346-rgb{animation:none}}

/* Compact clan popup only; preserve shared menus and the close control. */
#sheet[open][data-panel="clans"]{height:fit-content!important;min-height:0!important;max-height:91dvh!important}
#sheet[data-panel="clans"] .sheet-head{height:50px!important;min-height:50px!important;max-height:50px!important;padding:0!important;flex:0 0 50px!important;background:transparent!important;border:0!important}
#sheet[data-panel="clans"] .popup-logo{display:none!important}
#sheet[data-panel="clans"] #fishScroll161{flex:0 1 auto!important;min-height:0!important;max-height:91dvh!important;overflow-y:auto!important}
#sheet[data-panel="clans"] #sheetBody{height:auto!important;min-height:0!important;padding-bottom:8px!important}
#sheet[data-panel="clans"] .clan-ui{padding-bottom:0!important;margin-bottom:0!important}
#sheet[data-panel="clans"] .clan-error:empty{display:none!important}
#sheet[data-panel="clans"] .clan-refresh{margin:7px auto 0!important;padding:4px 8px!important;min-height:24px!important}

/* More room for messages; old history loads when scrolling to the top. */
#sheet[data-panel="clans"] .clan-history-note,#sheet[data-panel="clans"] .clan-load-older{display:none!important}
#sheet[data-panel="clans"] .clan-messages{min-height:240px;max-height:min(52dvh,480px)!important}
#sheet[data-panel="clans"] .clan349-membernotice{display:flex;align-items:center;justify-content:center;gap:6px;padding:7px 9px;margin:8px 0 11px!important;background:#1a706322;border:1px solid #7ccdb224;border-radius:10px;color:#91d9c6;font:400 11px/1.4 Arial,Helvetica,sans-serif!important;text-align:center;overflow-wrap:anywhere}
#sheet[data-panel="clans"] .clan349-membernotice.left{color:#9cb6c5;background:#3e668b18;border-color:#72a0b122}
#sheet[data-panel="clans"] .clan349-membernotice>svg{width:15px;height:15px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
#sheet[data-panel="clans"] .clan349-membernotice>span{min-width:0;flex:0 1 auto}
#sheet[data-panel="clans"] .clan349-membernotice strong{font-weight:700}
#sheet[data-panel="clans"] .clan349-membernotice time{font-size:9px;color:#7399aa;flex:none;margin-inline-start:3px}
