/* TapHub v23. Scoped community styling: does NOT change header, navigation or base design. */
.th22{max-width:840px;gap:15px;padding-bottom:100px}
.th22 .muted{overflow-wrap:anywhere}
.th23-new-topic{border:1px solid #3b3452;border-radius:15px;background:#171426;padding:12px 14px}
.th23-new-topic summary{cursor:pointer;color:#e9dffd;font-weight:750;list-style:none;padding:6px 3px}
.th23-new-topic summary::-webkit-details-marker{display:none}
.th23-new-topic .th22-form{margin-top:14px}
.th23-forum-list,.th23-threads{display:flex;flex-direction:column;gap:7px}
.th23-topic{display:grid;grid-template-columns:42px minmax(0,1fr) 50px;gap:11px;align-items:center;background:linear-gradient(110deg,#191629,#161322);border:1px solid #302b42;border-radius:14px;padding:14px;cursor:pointer;min-width:0;transition:border-color .15s,background .15s}
.th23-topic:hover,.th23-topic:focus-visible{border-color:#7864ae;background:#201b33;outline:none}
.th23-topic-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:11px;background:#29203c;font-size:19px}
.th23-topic-main{min-width:0}
.th23-topic-main h3{font-size:15px;line-height:1.4;margin:0 0 5px;white-space:normal;overflow-wrap:anywhere}
.th23-topic-main p{font-size:12px;line-height:1.45;color:#a89eba;margin:0 0 7px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.th23-topic-meta{display:flex;flex-wrap:wrap;align-items:center;gap:4px;color:#998dad;font-size:11px}
.th23-replies{text-align:center;color:#9d92b4}
.th23-replies strong{display:block;font-size:19px;color:#ece5f7}
.th23-replies span{font-size:10px;white-space:nowrap}
.th23-author{border:0;background:none;color:#c6b4f8;font:inherit;font-weight:700;padding:0;cursor:pointer;text-align:left;text-decoration:none;max-width:100%;overflow-wrap:anywhere}
.th23-author:hover{text-decoration:underline}
.th23-avatar{width:38px;height:38px;aspect-ratio:1;flex:none;border-radius:50%;border:1px solid #585077;object-fit:cover;background:#302643}
.th23-date{font-size:11px;color:#9e94b4;margin-top:3px;line-height:1.4}
.th23-forum-post{background:#191626;border:1px solid #322c45;border-radius:14px;padding:14px;min-width:0}
.th23-post-head{display:flex;align-items:center;gap:10px;margin-bottom:14px}
.th23-post-content{padding:0 1px;font-size:14px;line-height:1.65;color:#e8e1ef;white-space:normal;overflow-wrap:anywhere}
.th23-small-btn{padding:6px 8px;max-width:100%;border:none;background:transparent;color:#c4acf9;font:inherit;font-size:12px;font-weight:700;cursor:pointer;text-align:left;border-radius:6px}
.th23-small-btn:hover{background:#352749}
.th23-gallery{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 5px;min-width:0}
.th23-gallery a{display:block;width:clamp(90px,30%,160px);max-width:100%;aspect-ratio:4/3;border-radius:11px;overflow:hidden;border:1px solid #4b3d64}
.th23-gallery img{display:block;width:100%;height:100%;object-fit:cover}
.th23-attach{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:10px 12px;border:1px dashed #66547f;border-radius:11px;color:#e0d1f8;font-size:12px;cursor:pointer;overflow:hidden}
.th23-attach input{font-size:12px;width:min(100%,250px);min-width:0}
.th23-thread{display:flex;gap:12px;align-items:center;text-align:left;padding:13px;width:100%;border:1px solid #312a43;border-radius:14px;color:#f1eaff;background:#191627;cursor:pointer;min-width:0}
.th23-thread:hover{background:#232039;border-color:#70578e}
.th23-thread>span:nth-child(2){min-width:0;flex:1}
.th23-thread strong,.th23-thread small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.th23-thread small{margin-top:5px;color:#aea4c0;font-size:12px}
.th23-thread-arrow{font-size:24px;color:#9885b6}
.th23-chat{display:flex;flex-direction:column;gap:12px;min-height:160px;padding:16px 10px;border:1px solid #322b45;background:linear-gradient(#171427,#100f1e);border-radius:16px}
.th23-bubble-row{display:flex;align-items:flex-end;gap:7px;width:100%;min-width:0}
.th23-bubble-row.is-own{justify-content:flex-end}
.th23-bubble-row.is-other{justify-content:flex-start}
.th23-bubble-row>.th23-avatar{width:27px;height:27px}
.th23-bubble{max-width:min(79%,510px);background:#292439;border:1px solid #403655;border-radius:15px 15px 15px 5px;padding:10px 12px;overflow-wrap:anywhere;min-width:0}
.is-own .th23-bubble{background:#473568;border-color:#71539f;border-radius:15px 15px 5px 15px}
.th23-msg-body{font-size:14px;line-height:1.55;color:#f5efff}
.th23-bubble .th23-date{text-align:right;margin-top:5px;color:#c1b5d7}
.th23-bubble .th23-gallery{gap:5px}
.th23-bubble .th23-gallery a{width:110px;aspect-ratio:1}
.th23-chat-form{display:flex;flex-direction:column;gap:9px;border:1px solid #373049;background:#191526;border-radius:15px;padding:12px}
.th23-chat-form textarea{min-height:70px;resize:vertical}
.th23-chat-form .primary-button{align-self:flex-end;min-height:40px;max-width:100%}
.th23-member{display:flex;align-items:center;gap:13px;padding:13px;border:1px solid #322b44;border-radius:13px;background:#191527}
.th23-member .th23-avatar{width:53px;height:53px}
.th23-game-news{margin:18px 0 16px;padding:14px 0;border-top:1px solid #3d314c;border-bottom:1px solid #3d314c}
.th23-section-title{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:9px}
.th23-section-title h2{margin:0;font-size:18px;color:#f2eafd}
.th23-news-preview{background:#1d192c;border:1px solid #363047;border-radius:12px;padding:13px;margin:10px 0;min-width:0}
.th23-news-preview h3{margin:6px 0 7px;font-size:16px;color:#eae1fc}
.th23-news-preview p{margin:7px 0;color:#c6bdcf;line-height:1.5;font-size:13px;overflow-wrap:anywhere}
.th23-news-heading{background:none;border:none;color:#e7d6fa;font-weight:800;font-size:15px;padding:5px 0 2px;text-align:left;cursor:pointer}
.th23-claim{background:#1b172a;border:1px solid #49375d;border-radius:15px;padding:15px}
.th23-claim h2{margin:0 0 10px;font-size:18px}
.th23-claim-controls{display:flex;flex-direction:column;gap:9px}
.th23-claim-controls select{width:100%;min-width:0}
.th23-claim-controls .primary-button{max-width:100%}
.th23-claim-result{border-top:1px solid #4c3f63;padding-top:12px;margin-top:13px;overflow-wrap:anywhere}
.th23-token{display:block;border:1px solid #554469;border-radius:8px;color:#f7e8d1;padding:10px;background:#120f1f;overflow-wrap:anywhere;user-select:all;font-size:12px}
.th23-claim-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:9px}
.th23-claim-actions button{flex:1 1 auto;min-width:0}
@media(max-width:380px){.th23-topic{grid-template-columns:34px minmax(0,1fr) 40px;padding:10px;gap:7px}.th23-topic-icon{width:32px;height:32px}.th23-replies strong{font-size:16px}.th23-bubble{max-width:85%}.th22{padding-inline:12px}}
.th23-forum-categories{display:flex;gap:6px;overflow-x:auto;padding:4px 0 9px;scrollbar-width:thin}
.th23-category{border:1px solid #463957;border-radius:50px;background:#221c31;color:#c9bbd8;padding:8px 11px;font-size:12px;white-space:nowrap;cursor:pointer}
.th23-category.active{background:#4c346f;border-color:#966dc7;color:#fff}
.th23-category-label{display:inline-block;border-radius:4px;background:#302640;color:#c3a5ef;font-size:10px;margin-bottom:6px;padding:2px 6px}
