/* Center > topic > conversation, with a vivid messenger surface. */
.center-chat-hierarchy{gap:18px}
.center-chat-hierarchy[data-chat-level=centers],.center-chat-hierarchy[data-chat-level=topics]{display:block!important;height:auto!important;min-height:300px;max-height:none!important;overflow:visible}
.center-chat-hierarchy[data-chat-level=centers]>aside,.center-chat-hierarchy[data-chat-level=topics]>aside{max-height:none!important;height:auto!important;overflow:visible}
.center-chat-hierarchy[data-chat-level=centers]>.chat-thread,.center-chat-hierarchy[data-chat-level=topics]>.chat-thread{display:none!important}
.center-chat-list-title h2{font-size:23px;margin:0 0 5px}.center-chat-list-title p{margin:0 0 18px;color:#416071;font-size:15px}
.center-chat-row{display:flex;align-items:center;gap:15px;width:100%;padding:19px;margin:0 0 12px;background:#fff;border:1px solid #bed8e5;border-left:5px solid #087f8c;border-radius:15px;text-align:left;color:#163d50;box-shadow:0 4px 12px #234f7010}
.center-chat-row:hover{background:#effaff;border-color:#058ba0}.center-chat-row>span:not(.center-group-icon){display:grid;gap:5px;flex:1;min-width:0}.center-chat-row strong{font-size:20px;color:#123e50}.center-chat-row small{font-size:13px;color:#567082}.center-chat-row b{font-size:13px;color:#08747e}.center-chat-row>span>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:14px;font-weight:400}.center-chat-row i{font-size:30px;font-style:normal;color:#087f8c}
.center-chat-row .center-group-icon,.center-chat-topics-heading .center-group-icon{background:#087f8c;flex-shrink:0}
.center-chat-topics-heading{display:flex;align-items:center;gap:12px;padding:16px;margin-bottom:15px;border-radius:14px;background:#064c64;color:#fff}.center-chat-topics-heading h2{font-size:21px;margin:0 0 4px;color:white}.center-chat-topics-heading p{margin:0;font-size:13px;color:#d4f7ff}.center-chat-topics-heading>button{background:#ffffff20;color:white;border:0;min-width:40px;font-size:25px;padding:6px;box-shadow:none}
.center-chat-search-button,.center-chat-new-free{background:#087f8c!important;color:#fff!important;border:0;border-radius:11px;padding:13px 17px;font-size:15px;font-weight:800;box-shadow:0 3px 9px #087f8c20}.center-chat-new-free{width:100%;margin-bottom:15px}.player-chat-section>.heading{display:flex;flex-wrap:wrap;align-items:center;gap:12px;justify-content:space-between}
.center-chat-hierarchy .event-conversation-row{padding:17px;background:white}.center-chat-hierarchy .event-conversation-row.active{background:#e4f8fb;box-shadow:inset 4px 0 #087f8c}.center-chat-topic-icon{display:flex;align-items:center;justify-content:center;flex:0 0 40px;height:40px;background:#e2f4ff;color:#0565a5;border-radius:12px;font-size:23px}.center-chat-hierarchy .event-conversation-copy b{font-size:17px;color:#123e50}.center-chat-hierarchy .event-conversation-copy>span{font-size:14px;color:#3c5869}.center-chat-hierarchy .event-conversation-copy small{font-size:12px;color:#386d80}.center-chat-hierarchy .event-conversation-group{border-color:#a9cbdc;border-radius:13px;box-shadow:0 3px 10px #234f7010}
.live-chat-heading .center-chat-subtitle{font-size:16px!important;line-height:1.4;color:#131b26!important;font-weight:650}.center-chat-hierarchy>.live-chat-thread{border:1px solid #9ab8ca;border-radius:14px;background:#fff;box-shadow:0 4px 18px #214a6814}.center-chat-hierarchy .live-chat-heading{min-height:87px;padding:13px 15px}.center-chat-hierarchy .live-chat-heading .event-chat-header-copy>strong{font-size:19px!important;font-weight:850}.center-chat-hierarchy .chat-message{box-shadow:0 2px 6px #123a5318}.center-chat-hierarchy .chat-message:not(.own){border-color:#a9c2d2!important}.center-chat-hierarchy .live-chat-input textarea{border-color:#7aa3bb!important;background:#fff!important}.center-chat-hierarchy .live-chat-send:not(:disabled){box-shadow:0 2px 6px #15476b30}.center-chat-hierarchy .live-chat-toolbar button{font-weight:700}.center-chat-hierarchy .live-chat-thread::before{opacity:.2}
.center-chat-empty{padding:20px;background:#f0f8ff;border:1px dashed #aacbdc;border-radius:12px;color:#365c70;font-size:15px;line-height:1.6}
.center-chat-search-dialog{width:min(780px,94vw);max-height:91dvh;overflow:auto;border:0;border-radius:18px;padding:22px;background:#f7fbff;color:#183e50;box-shadow:0 18px 80px #153c6560}.center-chat-search-dialog::backdrop{background:#082e4b85}.center-chat-search-dialog>header{display:flex;align-items:center;gap:14px;margin-bottom:22px}.center-chat-search-dialog h2{font-size:23px;margin:0 0 6px}.center-chat-search-dialog header p{margin:0;font-size:14px}.center-chat-search-dialog form{display:grid;gap:16px}.center-chat-search-dialog .field{font-size:15px;font-weight:700}.center-chat-search-dialog select,.center-chat-search-dialog input{background:#fff;border-color:#9ebed0;font-size:16px}.center-chat-result{display:flex;align-items:center;gap:12px;padding:14px;background:white;border:1px solid #bad3e0;border-radius:12px;margin:12px 0}.center-chat-result>div{flex:1;min-width:0}.center-chat-result strong{font-size:17px}.center-chat-result p{font-size:13px;margin:5px 0}.center-chat-result button{background:#087f8c;color:white;font-size:14px}.center-chat-search-dialog .search-context-summary{background:white;border:1px solid #b5cfdd;border-radius:12px;padding:13px}
@media(max-width:700px){.center-chat-search-button{width:100%;font-size:15px}.center-chat-row{padding:15px;gap:11px}.center-chat-row strong{font-size:18px}.center-chat-topics-heading{padding:13px;gap:9px}.center-chat-topics-heading h2{font-size:18px}.center-chat-hierarchy .live-chat-heading{min-height:83px;padding:10px}.center-chat-hierarchy .live-chat-heading .event-chat-header-copy>strong{font-size:17px!important}.live-chat-heading .center-chat-subtitle{font-size:15px!important}.center-chat-search-dialog{padding:15px}.center-chat-result{flex-wrap:wrap}.center-chat-result button{width:100%}.center-chat-result .center-group-icon{height:45px;flex-basis:40px;width:40px}}
.live-chat-thread[data-chat-free=true]{--chat-accent:#087f8c;--chat-soft:#d9f5f6;--chat-surface:#f0fbff}

.center-chat-row>.center-group-icon{display:flex;flex:0 0 52px;width:52px;height:58px;gap:0}
/* The app header has a fixed global height; these local list headers grow with text. */
.center-chat-topics-heading{height:auto!important;min-height:100px;flex-shrink:0;padding:14px 12px;gap:9px;box-sizing:border-box}
.center-chat-topics-heading>div{flex:1;min-width:0}.center-chat-topics-heading h2{font-size:18px;line-height:1.3;overflow-wrap:anywhere}.center-chat-topics-heading p{font-size:12px;line-height:1.5}
.center-chat-topics-heading>.center-group-icon{flex:0 0 40px;width:40px;height:46px}.center-chat-topics-heading>button{flex:0 0 36px;min-width:36px}
.center-chat-search-dialog>header{height:auto!important;min-height:76px}
/* One context at a time: help, centers, topics, then the conversation. */
.player-chat-section>.close-match-chat-bar,#chatDialog>.close-match-chat-bar{background:#f4f6f8!important;border:1px solid #cbd4dd;color:#465569;border-radius:8px;box-shadow:none;min-height:39px}
.player-chat-section>.close-match-chat-bar strong,#chatDialog>.close-match-chat-bar strong{font-size:13px;font-weight:650}
.player-chat-section[data-chat-level=topics]>.close-match-chat-bar,.player-chat-section[data-chat-level=conversation]>.close-match-chat-bar,#chatDialog[data-chat-level=topics]>.close-match-chat-bar,#chatDialog[data-chat-level=conversation]>.close-match-chat-bar{display:none!important}
.player-chat-section[data-chat-level=topics]>.heading,.player-chat-section[data-chat-level=conversation]>.heading{display:none!important}
.player-chat-section>.heading h1{color:#245980}
.center-chat-row{border-left-color:var(--center-accent,#245980);box-shadow:0 2px 7px #203b5010;border-radius:11px}
.center-chat-row>.center-group-icon{background:var(--center-accent,#245980)}
.center-chat-row b,.center-chat-row i{color:var(--center-accent,#245980)}
.center-chat-row:hover{background:#f5f8fc;border-color:var(--center-accent,#245980)}
.center-chat-search-button{background:#245980!important;box-shadow:none;font-size:14px}
.center-chat-topics-heading{background:white;color:#245980;border:0;border-bottom:2px solid #d6e1e9;border-radius:0;min-height:85px;margin-bottom:16px}
.center-chat-topics-heading h2{color:#245980;font-size:22px}.center-chat-topics-heading p{color:#607080;font-size:13px}
.center-chat-topics-heading>.center-group-icon{background:#e7eef6;color:#245980}.center-chat-topics-heading>.center-group-icon small{color:#245980!important}
.center-chat-topics-heading>button{background:#edf2f7;color:#245980;border:1px solid #d1dce6;border-radius:8px}
.center-chat-new-free{background:white!important;color:#245980!important;border:1px solid #9db5ca;box-shadow:none;font-size:15px;border-radius:8px;padding:12px}
.center-chat-hierarchy .event-conversation-group{border:1px solid #d2dbe3;box-shadow:none;border-radius:9px}
.center-chat-hierarchy .event-conversation-row{padding:15px;background:#fff}.center-chat-hierarchy .event-conversation-row.active{background:#edf3fa;box-shadow:inset 3px 0 #245980}
.center-chat-topic-icon{background:#f0f3f7;color:#526980;font-size:21px;border-radius:9px}
.center-chat-hierarchy .event-conversation-copy b{color:#253e53;font-size:16px}.center-chat-hierarchy .event-conversation-copy small{color:#657687}.center-chat-hierarchy .event-conversation-copy>span{color:#526576}
.center-chat-hierarchy[data-chat-level=conversation] .center-chat-topics-heading{min-height:0;height:auto!important;padding:0 0 12px;gap:0;margin-bottom:12px;background:transparent;border-bottom:1px solid #d6e1e9}
.center-chat-hierarchy[data-chat-level=conversation] .center-chat-topics-heading>.center-group-icon,.center-chat-hierarchy[data-chat-level=conversation] .center-chat-topics-heading>div,.center-chat-hierarchy[data-chat-level=conversation] .center-chat-new-free{display:none}
.center-chat-hierarchy[data-chat-level=conversation] .center-chat-topics-heading>button{display:flex;align-items:center;gap:9px;flex:1;min-width:0;font-size:23px;padding:8px 10px;background:white;border-color:#cbd7e2;text-align:left}
.center-chat-hierarchy[data-chat-level=conversation] .center-chat-topics-heading>button::after{content:'Tutti i centri';font-size:14px;font-weight:650}
.center-chat-hierarchy .live-chat-toolbar{background:#f4f6f8!important;border-bottom:1px solid #d4dce3}
.center-chat-hierarchy .live-chat-toolbar button{color:#44586c!important;font-weight:600}
.center-chat-hierarchy .live-chat-composer{background:#fff!important;border-top:1px solid #ccd7e0}
.center-chat-hierarchy>.live-chat-thread{box-shadow:0 2px 10px #203b5010;border-color:#b8c7d2}
.live-chat-thread[data-chat-free=true]{--chat-accent:#245980;--chat-soft:#e7eff7;--chat-surface:#fff}
@media(max-width:700px){.center-chat-topics-heading h2{font-size:21px}.center-chat-topics-heading{min-height:82px;padding:12px 5px}.center-chat-search-button{font-size:15px}}
