* {
    box-sizing: border-box;
}

/* topic/postbit legacy layout rules removed in v18; canonical forum/topic/post styling now lives in css/cmx_front_core.css */
body {
    margin: 0;
    font-family: var(--cmx-font-sans, "Inter","Segoe UI Variable","Segoe UI",system-ui,sans-serif);
    background: var(--cmx-bg);
    color: var(--cmx-text);
}

a {
    color: var(--cmx-link);
    text-decoration: none;
}
a:hover {
    color: var(--cmx-link-hover);
    text-decoration: none;
}

.topbar {
    background: var(--cmx-topbar-bg, #f5f1eb);
    color: var(--cmx-topbar-text, #23262d);
    padding: 10px 0 12px;
    box-shadow: 0 10px 26px rgba(54,45,38,.08);
    border-bottom: 1px solid var(--cmx-shell-border, rgba(72,62,53,.12));
}

.topbar-inner {
    max-width: var(--cmx-container-max, 1240px);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand a {
    font-weight: 800;
    font-size: 20px;
    color: var(--cmx-topbar-text, #23262d);
}

.main-nav a {
    margin-left: 0;
    font-size: 14px;
    color: var(--cmx-topbar-text, #23262d);
}
.main-nav a:hover {
    color: var(--cmx-heading, #151821);
}

.main-nav a.nav-cta{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:6px 12px;
    border-radius:0;
    border:1px solid rgba(255,255,255,.30);
    background: rgba(2,6,23,.18);
    font-weight:600;
    line-height:1;
}
.main-nav a.nav-cta:hover{ text-decoration:none; background: rgba(2,6,23,.28); }
.main-nav a.nav-cta-primary{
    background: rgba(255,255,255,.16);
    border-color: rgba(255,255,255,.42);
    color:#fff;
}
.main-nav a.nav-cta-primary:hover{ background: rgba(255,255,255,.24); }

.container {
    max-width: var(--cmx-container-max, 1240px);
    margin: 18px auto 34px;
    padding: 0 var(--cmx-page-pad, 20px);
}

.card {
    background: var(--cmx-card, #fcfaf7);
    border-radius:0;
    border: 1px solid var(--cmx-border, #d8d1c8);
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: var(--cmx-shadow-soft, 0 6px 18px rgba(52,44,37,.06));
    color: var(--cmx-text, #1d2128);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(148,163,184,0.25);
    padding-bottom: 5px;
}

.card-header h2, .card-header h3 {
    margin: 0;
    font-size: 16px;
}

.form-group {
    margin-bottom: 12px;
}
.form-group label {
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
}
.form-control, select, textarea, input[type="text"], input[type="email"], input[type="password"], input[type="number"] {
    width: 100%;
    padding: 7px 9px;
    border-radius:0;
    border: 1px solid var(--cmx-border);
    background: #fff;
    color: var(--cmx-text);
    font-size: 14px;
}
textarea {
    resize: vertical;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 0 8px;
    border-radius:0;
    border: 1px solid #a9bfd9;
    cursor: pointer;
    background: linear-gradient(180deg,#ffffff 0%,#edf3f9 100%);
    color: #23415f;
    font-size: 10.5px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    box-shadow: none;
    text-shadow: 0 1px 0 #fff;
}
.btn:hover {
    filter: brightness(1.1);
}
.btn-secondary {
    background: rgba(255,255,255,.82);

    color: var(--cmx-text);

    border: 1px solid rgba(17,24,39,.16);
}
.btn-danger {
    background: #ef4444;
}

.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.table th,
.table td {
    padding: 8px;
    border-bottom: 1px solid rgba(148,163,184,0.2);
}
.table th {
    background: rgba(15,23,42,0.9);
    text-align: left;
}

.alert {
    padding: 8px 10px;
    border-radius:0;
    font-size: 14px;
    margin-bottom: 12px;
}
.alert-success {
    background: rgba(22,163,74,0.15);
    border: 1px solid #22c55e;
}
.alert-error {
    background: rgba(220,38,38,0.15);
    border: 1px solid #ef4444;
}

.category-title{
    font-size: 17px;
    font-weight: 700;
    color: #e5e7eb;
    letter-spacing: .2px;
}

.forum-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:18px;
    padding:16px 4px;
    border-bottom:1px solid rgba(148,163,184,0.18);
}
.forum-row:last-child{ border-bottom: none; }

.forum-main{ flex: 1; min-width: 0; }

.forum-title{
    font-size:16px;
    font-weight:700;
    line-height:1.25;
    color:var(--cmx-heading);
}
.forum-title a{ text-decoration: none; }
.forum-title a{display:flex;align-items:center;gap:12px;}
.forum-title-text{min-width:0;display:block;}
.forum-title a:hover{ text-decoration: underline; }

.forum-desc{
    font-size:13px;
    color: var(--cmx-muted);
    margin-top:4px;
    line-height:1.55;
}

.forum-stats{
    text-align: right;
    font-size: 12px;
    color: #9ca3af;
    white-space: nowrap;
}

.forum-subforums{ margin-top: 6px; padding-left: 50px; }
.subforums-box{
    margin-top: 10px;
    padding: 8px;
    border-radius:0;
    border: 1px solid var(--cmx-border);
    background: rgba(255,255,255,.68);
}
.subforums-title{
    font-size: 13px;
    font-weight: 700;
    color: var(--cmx-text);
    opacity: .90;
    margin-bottom: 4px;
}
.subforums-grid{
    display: grid;
    
    grid-template-columns: repeat(2, fit-content(240px));
    justify-content: start;
    gap: 4px 10px;
}
.subforum-link{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--cmx-link);
    opacity: .95;
    padding: 2px 0;
    min-width: 0;
    text-decoration: none;
}
.subforum-mini-icon{
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 16px;
}
.subforum-icon-img{
    width: 16px;
    height: 16px;
    object-fit: contain;
    display: block;
}
.subforum-icon-emoji{
    font-size: 14px;
    line-height: 1;
}
.subforum-title{
    min-width: 0;
}

.subforum-mini-icon i{ font-size: 14px; line-height: 1; }
.subforum-link:hover{
    opacity: 1;
    text-decoration: underline;
}

@media (max-width: 640px){
    .subforums-grid{ grid-template-columns: 1fr; }
}

.latest-topics-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.latest-topics-list li {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid rgba(148,163,184,0.15);
    font-size: 13px;
}
.latest-topics-list li:last-child {
    border-bottom: none;
}
.latest-topic-main {
    max-width: 70%;
}

.cmx-time-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:4px 8px;
  border-radius:0;
  border:1px solid rgba(148,163,184,0.28);
  background:rgba(255,255,255,0.04);
  color:#9ca3af;
  font-size:12px;
  line-height:1.1;
  white-space:nowrap;
}
body.theme-light .cmx-time-badge{background:rgba(255,255,255,0.55);border-color:rgba(148,163,184,0.35);color:#64748b;}
body.theme-dark .cmx-time-badge{background:rgba(255,255,255,0.06);border-color:rgba(255,255,255,0.12);color:rgba(226,232,240,0.72);}
.cmx-time-badge--mini{padding:3px 7px;font-size:11px;}
@media (max-width:760px){
  .cmx-time-badge{padding:3px 7px;font-size:11px;}
}
.post-avatar img {
    width: 140px;
    height: 140px;
    border-radius:0;
    object-fit: cover;
    border: 2px solid rgba(59,130,246,0.7);
    margin-bottom: 6px;
}
.post-content {
    font-size: 15px;
    line-height: 1.65;
    padding: 8px 0 12px;
}
.post-signature {
    font-size: 12px;
    color: #9ca3af;
    border-top: 1px dashed rgba(148,163,184,0.4);
    margin-top: 12px;
    padding-top: 8px;
}
.post-actions {
    margin-top: 10px;
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.post-actions a {
    margin-right: 8px;
}

.badge {
    display: inline-block;
    padding: 2px 6px;
    border-radius:0;
    font-size: 11px;
    background: var(--cmx-accent);
    color: white;
}

.footer {
    border-top: 1px solid rgba(148,163,184,0.3);
    padding: 15px 0;
    text-align: center;
    font-size: 13px;
    color: #9ca3af;
}

.footer-custom{
    margin-top:10px;
    padding-top:10px;
    border-top:1px dashed rgba(148,163,184,0.25);
    font-size:13px;
    color:#cbd5e1;
}
.footer-custom a{ color: inherit; text-decoration: underline; }

.cmx-group-grid{
    display:flex;
    flex-wrap:wrap;
    gap:8px 12px;
    padding:10px;
    border:1px solid rgba(148,163,184,0.25);
    border-radius:0;
    background: rgba(15,23,42,0.25);
}
.cmx-group-item{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:6px 10px;
    border-radius:0;
    border:1px solid rgba(148,163,184,0.18);
    background: rgba(255,255,255,0.10);
    font-size:13px;
    color:#e2e8f0;
    cursor:pointer;
    user-select:none;
}
.cmx-group-item input{ transform: translateY(1px); }

.main-nav{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:12px;
    flex-wrap:wrap;
}
.main-nav a{
    margin-left:0;
}
.nav-btn{
    background: transparent;
    border: 1px solid rgba(255,255,255,0.25);
    color: #e5e7eb;
    padding: 6px 10px;
    border-radius:0;
    cursor: pointer;
    font-size: 14px;
}
.nav-btn:hover{
    border-color: rgba(255,255,255,0.45);
    color:#fff;
}
.badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:18px;
    height:18px;
    padding:0 6px;
    border-radius:0;
    background:#ef4444;
    color:#fff;
    font-size:12px;
    margin-left:6px;
    line-height:18px;
}
.badge-muted{
    background: rgba(255,255,255,0.18);
}

.notif-backdrop{
    position:fixed;
    inset:0;
    z-index:9998;
    background: transparent;
}

.notif-dropdown{position:fixed;z-index:9999;width:316px;max-width:min(316px, calc(100vw - 18px));max-height:min(82vh, 620px);overflow:hidden;border-radius:0;background:var(--cmx-notif-bg,var(--cmx-card,#fff));border:1px solid var(--cmx-notif-border,rgba(17,24,39,.14));box-shadow:0 12px 28px rgba(0,0,0,.18);backdrop-filter:none;color:var(--cmx-text,#172033);box-sizing:border-box}

.notif-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
    padding:8px 10px;
    border-bottom:1px solid var(--cmx-notif-border,rgba(148,163,184,.20));
    background:color-mix(in srgb,var(--cmx-topbar-bg,var(--cmx-card,#fff)) 92%, var(--cmx-accent,#4f77b7) 8%);
}
.notif-title{ font-weight:850; letter-spacing:.1px; font-size:13px; line-height:1.1; color:var(--cmx-topbar-text,var(--cmx-text,#172033)); }
.notif-close{
    width:34px;
    height:34px;
    border-radius:0;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.10);
    color: #ffffff;
    cursor:pointer;
}
.notif-close:hover{ background: rgba(255,255,255,0.14); }

.notif-actions{
    display:flex;
    gap:6px;
    align-items:center;
    flex-wrap:wrap;
    padding:6px 8px;
    border-bottom:1px solid var(--cmx-notif-border,rgba(148,163,184,.16));
}
.notif-actions .btn{ padding:0 8px; font-size:11px; min-height:24px; }

.notif-body{
    max-height:min(70vh, 560px);
    overflow:auto;
    padding:0;
    scrollbar-width:thin;
}

.notif-list{ list-style:none; margin:0; padding:0; }
.notif-item{
    margin:0;
    padding:0;
    border-bottom:1px solid rgba(148,163,184,.18);
    background:transparent;
    box-shadow:none;
}
.notif-link{
    display:grid;
    grid-template-columns:22px minmax(0,1fr);
    gap:7px;
    align-items:center;
    min-height:42px;
    padding:5px 8px;
    text-decoration:none;
    color:inherit;
    box-sizing:border-box;
}
.notif-ico{width:22px;height:22px;min-width:22px;min-height:22px;border-radius:0;display:inline-flex;align-items:center;justify-content:center;font-size:11px;line-height:1;background:color-mix(in srgb,var(--cmx-accent-soft,#eaf2ff) 58%, var(--cmx-card,#fff) 42%);color:var(--cmx-accent,#4f77b7);border:1px solid rgba(148,163,184,.20);}
.notif-main{min-width:0;overflow:hidden;display:block;}
.notif-snippet{margin-top:1px;color:var(--cmx-text-muted,#64748b);font-size:10.5px;line-height:1.18;font-weight:500;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;}
.notif-snippet__text{min-width:0;}
.notif-link:hover{background:var(--cmx-notif-hover-bg,color-mix(in srgb,var(--cmx-accent-soft,#eaf2ff) 42%, var(--cmx-card,#fff) 58%));}
.notif-actor .user-link,.notif-actorName.user-link{font-weight:850;text-decoration:none;}

.notif-text{
    font-size:12px;
    line-height:1.16;
    font-weight:700;
    display:flex;
    flex-wrap:wrap;
    gap:2px 4px;
    align-items:baseline;
    min-width:0;
    color:var(--cmx-text,#172033);
}
.notif-meta{
    margin-top:1px;
    font-size:10px;
    line-height:1.1;
    opacity:.78;
    color:var(--cmx-text-muted,#64748b);
}
.notif-item.unread .notif-link{
    background:var(--cmx-notif-unread-bg,color-mix(in srgb,var(--cmx-accent-soft,#eaf2ff) 42%, var(--cmx-card,#fff) 58%));
    border-left:2px solid var(--cmx-accent,#4f77b7);
    padding-left:6px;
}
.notif-item.unread .notif-text{
    font-weight:700;
}
.notif-item.read .notif-text{ font-weight:500; }

.notif-empty{
    padding:10px 12px;
    font-size:12px;
    opacity:.80;
}

/* ARTAN 0921: Shell bildirim paneli - tema bağımsız güvenli çapa. */
body:not(.cmx-shell-admin) .af-shellHeader,
body:not(.cmx-shell-admin) .af-shellHeader__top,
body:not(.cmx-shell-admin) .af-shellHeader__topInner,
body:not(.cmx-shell-admin) .af-shellHeader__quick{
  overflow:visible;
}
body:not(.cmx-shell-admin) .af-shellHeader__notifWrap,
body:not(.cmx-shell-admin) .m1ShellHeader__notifWrap{
  position:relative;
  display:inline-flex;
  align-items:center;
  overflow:visible;
  z-index:90;
}
body:not(.cmx-shell-admin) .cmx-notifTrigger{
  position:relative;
  overflow:visible;
}
body:not(.cmx-shell-admin) .cmx-notifTrigger.has-unread::after,
body:not(.cmx-shell-admin) #notifBtn.has-unread::after{
  display:none;
  content:none;
}
body:not(.cmx-shell-admin) .m1ShellHeader__notifDropdown{
  position:absolute;
  right:0;
  left:auto;
  top:calc(100% + 6px);
  width:min(314px, calc(100vw - 18px));
  max-height:min(82vh, 640px);
  z-index:1200;
  border:1px solid var(--cmx-notif-border, var(--cmx-border, rgba(175,194,216,.92)));
  border-radius:0;
  background:var(--cmx-notif-bg, var(--cmx-card, #fff));
  box-shadow:0 14px 32px rgba(15,39,69,.18);
  overflow:hidden;
  color:var(--cmx-text, #172033);
  box-sizing:border-box;
}
body:not(.cmx-shell-admin) .m1ShellHeader__notifDropdown[hidden]{
  display:none;
}
body:not(.cmx-shell-admin) .m1ShellHeader__notifDropdown .notif-dropdown{
  position:static;
  width:100%;
  max-width:none;
  max-height:none;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  color:inherit;
  overflow:hidden;
}
body:not(.cmx-shell-admin) .m1ShellHeader__notifDropdown .notif-header{
  min-height:32px;
  padding:7px 9px;
  background:color-mix(in srgb, var(--cmx-accent, #4f77b7) 8%, var(--cmx-notif-bg, var(--cmx-card, #fff)) 92%);
  border-bottom:1px solid var(--cmx-notif-border, var(--cmx-border, rgba(175,194,216,.72)));
}
body:not(.cmx-shell-admin) .m1ShellHeader__notifDropdown .notif-title{
  font-size:13px;
  line-height:1.15;
  font-weight:900;
  color:var(--cmx-text, #172033);
}
body:not(.cmx-shell-admin) .m1ShellHeader__notifDropdown .notif-actionLink{
  font-size:11px;
  font-weight:850;
  color:var(--cmx-accent, #4f77b7);
  text-decoration:none;
}
body:not(.cmx-shell-admin) .m1ShellHeader__notifDropdown .notif-body{
  max-height:min(70vh, 470px);
  overflow:auto;
  padding:0;
  background:var(--cmx-notif-bg, var(--cmx-card, #fff));
}
body:not(.cmx-shell-admin) .m1ShellHeader__notifDropdown .notif-list{
  list-style:none;
  margin:0;
  padding:0;
  display:block;
}
body:not(.cmx-shell-admin) .m1ShellHeader__notifDropdown .notif-item,
body:not(.cmx-shell-admin) .m1ShellHeader__notifDropdown .notif-list li{
  margin:0;
  padding:0;
  border:0;
  border-bottom:1px solid var(--cmx-notif-border, var(--cmx-border, rgba(175,194,216,.54)));
  border-radius:0;
  background:var(--cmx-notif-bg, var(--cmx-card, #fff));
  box-shadow:none;
  overflow:hidden;
}
body:not(.cmx-shell-admin) .m1ShellHeader__notifDropdown .notif-item:last-child,
body:not(.cmx-shell-admin) .m1ShellHeader__notifDropdown .notif-list li:last-child{
  border-bottom:0;
}
body:not(.cmx-shell-admin) .m1ShellHeader__notifDropdown .notif-link{
  display:grid;
  grid-template-columns:24px minmax(0,1fr);
  gap:7px;
  align-items:start;
  min-height:48px;
  padding:6px 8px;
  border-radius:0;
  background:transparent;
  color:inherit;
  overflow:hidden;
  text-decoration:none;
  box-sizing:border-box;
  cursor:pointer;
}
body:not(.cmx-shell-admin) .m1ShellHeader__notifDropdown .notif-link:hover,
body:not(.cmx-shell-admin) .m1ShellHeader__notifDropdown .notif-item:hover .notif-link{
  background:var(--cmx-notif-hover-bg, color-mix(in srgb, var(--cmx-accent, #4f77b7) 8%, var(--cmx-card, #fff) 92%));
}
body:not(.cmx-shell-admin) .m1ShellHeader__notifDropdown .notif-item.unread .notif-link{
  background:var(--cmx-notif-unread-bg, color-mix(in srgb, var(--cmx-accent, #4f77b7) 12%, var(--cmx-card, #fff) 88%));
  border-left:0;
  padding-left:8px;
}
body:not(.cmx-shell-admin) .m1ShellHeader__notifDropdown .notif-ico{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:22px;
  height:22px;
  min-width:22px;
  min-height:22px;
  margin-top:2px;
  border-radius:0;
  background:color-mix(in srgb, var(--cmx-accent, #4f77b7) 10%, var(--cmx-card, #fff) 90%);
  color:var(--cmx-accent, #4f77b7);
  border:1px solid var(--cmx-notif-border, var(--cmx-border, rgba(175,194,216,.72)));
  font-size:11px;
  line-height:1;
}
body:not(.cmx-shell-admin) .m1ShellHeader__notifDropdown .notif-ico.is-quote{
  font-size:14px;
  line-height:1;
  transform:translateY(-1px);
}
body:not(.cmx-shell-admin) .m1ShellHeader__notifDropdown .notif-main{
  min-width:0;
  overflow:hidden;
}
body:not(.cmx-shell-admin) .m1ShellHeader__notifDropdown .notif-text,
body:not(.cmx-shell-admin) .m1ShellHeader__notifDropdown .notif-headline{
  display:block;
  font-size:12px;
  line-height:1.2;
  font-weight:650;
  color:var(--cmx-text, #172033);
}
body:not(.cmx-shell-admin) .m1ShellHeader__notifDropdown .notif-actor{
  display:inline;
  margin-right:4px;
  font-weight:900;
}
body:not(.cmx-shell-admin) .m1ShellHeader__notifDropdown .notif-action{
  display:inline;
  font-weight:500;
  color:var(--cmx-text, #172033);
}
body:not(.cmx-shell-admin) .m1ShellHeader__notifDropdown .notif-snippet,
body:not(.cmx-shell-admin) .m1ShellHeader__notifDropdown .notif-sub{
  margin-top:1px;
  font-size:10.7px;
  line-height:1.18;
  color:var(--cmx-text-muted, #60738a);
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:normal;
}
body:not(.cmx-shell-admin) .m1ShellHeader__notifDropdown .notif-meta{
  margin-top:1px;
  font-size:10px;
  line-height:1.1;
  color:var(--cmx-text-muted, #60738a);
  opacity:.86;
}
body:not(.cmx-shell-admin) .m1ShellHeader__notifDropdown .notif-footer{
  padding:7px 9px;
  background:var(--cmx-accent, #4f77b7);
  border-top:1px solid color-mix(in srgb, var(--cmx-accent, #4f77b7) 70%, #000 30%);
  border-radius:0;
}
body:not(.cmx-shell-admin) .m1ShellHeader__notifDropdown .notif-actionButton{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:24px;
  padding:0 9px;
  border-radius:0;
  background:rgba(255,255,255,.15);
  border:1px solid rgba(255,255,255,.24);
  color:#fff;
  text-decoration:none;
  font-size:10.5px;
  font-weight:900;
}
body:not(.cmx-shell-admin) .m1ShellHeader__notifDropdown .notif-actionButton:link,
body:not(.cmx-shell-admin) .m1ShellHeader__notifDropdown .notif-actionButton:visited,
body:not(.cmx-shell-admin) .m1ShellHeader__notifDropdown .notif-actionButton:hover,
body:not(.cmx-shell-admin) .m1ShellHeader__notifDropdown .notif-actionButton:focus,
body:not(.cmx-shell-admin) .m1ShellHeader__notifDropdown .notif-actionButton:active{
  color:#fff;
}
@media (max-width:980px){
  html:not(.cmx-desktop-window-lock) body:not(.cmx-shell-admin) .m1ShellHeader__notifDropdown{
    position:fixed;
    top:52px;
    left:8px;
    right:8px;
    width:auto;
    max-height:calc(100vh - 66px);
    z-index:200000;
  }
  html:not(.cmx-desktop-window-lock) body:not(.cmx-shell-admin) .m1ShellHeader__notifDropdown .notif-dropdown{
    width:auto;
    max-height:calc(100vh - 66px);
  }
  html:not(.cmx-desktop-window-lock) body:not(.cmx-shell-admin) .m1ShellHeader__notifDropdown .notif-body{
    max-height:calc(100vh - 136px);
  }
}
/* /ARTAN 0921 Shell bildirim paneli */

/* ARTAN 0923: Mobil bildirim başlığında kullanıcı ve eylem aralığı. */
body:not(.cmx-shell-admin) .chrismx-mobileNotifItem__body .notif-actor{
  display:inline;
  margin-right:4px;
  font-weight:900;
}
body:not(.cmx-shell-admin) .chrismx-mobileNotifItem__body .notif-action{
  display:inline;
}


.admin-nav-wrap{
    border-top: 1px solid rgba(255,255,255,0.12);
    background: rgba(2,6,23,0.15);
}
.admin-nav{
    max-width:1100px;
    margin:0 auto;
    padding:8px 10px;
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}
.admin-nav a{
    color:#e5e7eb;
    text-decoration:none;
    border:1px solid rgba(255,255,255,0.18);
    padding:6px 10px;
    border-radius:0;
    font-size:13px;
}
.admin-nav a:hover{ border-color: rgba(255,255,255,0.35); color:#fff; }
.admin-nav a.active{
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.35);
    color:#fff;
}

.admin-filter{
    display:flex;
    gap:10px;
    align-items:center;
    flex-wrap:wrap;
    margin-bottom:10px;
}
.inline-form{ margin:0; display:inline-block; }
.admin-actions-cell{
    display:flex;
    gap:8px;
    flex-wrap:wrap;
    align-items:center;
}
.pill{
    display:inline-flex;
    align-items:center;
    padding:2px 8px;
    border-radius:0;
    font-size:12px;
    margin-left:6px;
    border:1px solid rgba(148,163,184,0.25);
    background: rgba(255,255,255,0.10);
    opacity:.95;
}
.pill-danger{
    border-color: rgba(239,68,68,0.4);
}
.form-grid{
    display:grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap:12px;
}
@media (max-width: 720px){
    .form-grid{ grid-template-columns: 1fr; }
}

.guest-notice{margin:14px auto; max-width:var(--cmx-container-max,1380px); padding:0 12px;}
.guest-notice-inner{
    position:relative;
    border:1px solid rgba(56,189,248,.22);
    background: linear-gradient(135deg, rgba(2,6,23,.55), rgba(15,23,42,.92));
    border-radius:0;
    padding:14px 44px 14px 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,.35);
    overflow:hidden;
}
.guest-notice-inner:before{
    content:"";
    position:absolute;
    left:0; top:0; bottom:0;
    width:4px;
    background: linear-gradient(180deg, rgba(56,189,248,.9), rgba(34,211,238,.55));
}
.guest-notice-content{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    flex-wrap:wrap;
    padding-left:6px;
}
.guest-notice-text{font-size:14.5px; line-height:1.5}
.guest-notice-text b, .guest-notice-text strong{font-size:15px;}
.guest-notice-text a{color:#fff; text-decoration:underline; text-underline-offset:3px;}

.guest-notice-actions{display:flex; gap:10px; align-items:center; flex-wrap:wrap;}
.guest-cta{
    position:relative;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    padding:10px 14px;
    border-radius:0;
    border:1px solid rgba(255,255,255,.18);
    background: rgba(255,255,255,.08);
    color:#fff;
    font-weight:700;
    letter-spacing:.2px;
    text-decoration:none;
    white-space:nowrap;
}
.guest-cta:hover{ text-decoration:none; background: rgba(255,255,255,.12); }
.guest-cta-primary{
    border-color: rgba(56,189,248,.35);
    background: linear-gradient(90deg, rgba(29,78,216,.35), rgba(14,165,233,.28));
    box-shadow: 0 6px 18px rgba(0,0,0,.25);
    animation: guestPulse 2.8s ease-in-out infinite;
}
.guest-cta-primary:after{
    content:"";
    position:absolute;
    top:0; left:-45%;
    width:40%; height:100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.20), transparent);
    transform: skewX(-20deg);
    animation: guestShine 3.2s ease-in-out infinite;
}
.guest-cta-primary .cta-dot{
    width:8px;
    height:8px;
    border-radius:0;
    background: rgba(34,197,94,1);
    box-shadow: 0 0 0 4px rgba(34,197,94,.12);
    animation: guestBlink 1.1s ease-in-out infinite;
}

.guest-notice-close{
    position:absolute; right:10px; top:10px;
    width:32px; height:32px; border-radius:0;
    border:1px solid rgba(255,255,255,.22);
    background: rgba(255,255,255,.10);
    color:#fff; cursor:pointer;
    font-size:20px;
    line-height:28px;
}
.guest-notice-close:hover{background: rgba(255,255,255,.16)}

@keyframes guestPulse{
    0%,100%{ box-shadow: 0 6px 18px rgba(0,0,0,.25), 0 0 0 0 rgba(56,189,248,.00); }
    50%{ box-shadow: 0 10px 24px rgba(0,0,0,.30), 0 0 0 6px rgba(56,189,248,.16); }
}
@keyframes guestShine{
    0%,70%{ left:-45%; opacity:.0; }
    75%{ opacity:.55; }
    100%{ left:105%; opacity:0; }
}
@keyframes guestBlink{
    0%,100%{ opacity:1; transform:scale(1); }
    50%{ opacity:.35; transform:scale(.85); }
}

@media (prefers-reduced-motion: reduce){
    .guest-cta-primary{animation:none;}
    .guest-cta-primary:after{animation:none;}
    .guest-cta-primary .cta-dot{animation:none;}
}

@media (max-width: 720px){
    .guest-notice-actions{width:100%; justify-content:flex-start;}
    .guest-cta{ padding:10px 12px; }
}

.newposts-cta{display:flex;flex-direction:column;align-items:center;justify-content:center;margin:10px auto 14px;gap:8px;}
.newposts-actions{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;}
.btn-newposts{
    position:relative;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:14px 22px;
    border-radius:0;
    border: 1px solid rgba(0,0,0,.10);
    background: var(--cmx-accent);
    color:#fff;
    font-weight:900;
    letter-spacing:.8px;
    text-decoration:none;
    box-shadow: 0 10px 26px rgba(0,0,0,.32);
    text-transform:uppercase;
}
.btn-newposts:after{
    content:"";
    position:absolute;
    top:0;left:-55%;
    width:45%;height:100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent);
    transform: skewX(-18deg);
    animation: newpostsShine 3.2s ease-in-out infinite;
}
.btn-newposts:hover{filter:brightness(1.05);transform:translateY(-1px);}
.btn-newtopic{
    display:inline-flex;align-items:center;justify-content:center;
    padding:12px 18px;border-radius:0;text-decoration:none;font-weight:800;
    border:1px solid rgba(0,0,0,.12); background:rgba(255,255,255,.82); color:var(--cmx-text);
    box-shadow:0 6px 18px rgba(0,0,0,.10); letter-spacing:.3px;
}
.btn-newtopic:hover{filter:brightness(1.04);transform:translateY(-1px);}
body.theme-light .btn-newtopic{background:#fff;border-color:rgba(0,0,0,.12);}
.newposts-hint{font-size:12px;color:#9ca3af;}

@keyframes newpostsShine{0%,70%{left:-55%;opacity:0;}75%{opacity:.6;}100%{left:110%;opacity:0;}}

.visitors-bar{padding:14px 16px;}
.visitors-bar-bottom{margin-top:14px;}
.visitors-title{font-weight:800;margin:0 0 8px;}
.visitors-names{display:flex;flex-wrap:wrap;gap:8px;align-items:center;line-height:1.8;}
.visitor-entry{display:inline-flex;align-items:center;gap:6px;}
.visitors-lastseen{color:#9ca3af;font-size:12px;}
.visitors-muted{color:#9ca3af;font-size:12px;}
.visitors-foot{margin-top:8px;color:#9ca3af;font-size:12px;}

.home-widgets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px;}
.widget-card{padding:0;overflow:hidden;}
.widget-header{border-bottom:1px solid rgba(255,255,255,.08);padding:12px 14px;display:flex;align-items:center;justify-content:space-between;gap:10px;}
.widget-header h2{margin:0;font-size:16px;}
.widget-link{font-size:12px;color:#93c5fd;text-decoration:none;border: 1px solid var(--cmx-border);padding:6px 10px;border-radius:0;background: rgba(255,255,255,.78);}
.widget-link:hover{filter:brightness(1.08);}
.widget-stats{padding:12px 14px;display:flex;flex-direction:column;gap:8px;}
.stat-row{display:flex;justify-content:space-between;gap:12px;color:var(--cmx-text);opacity:.92;font-size:13px;}
.stat-row strong{color:var(--cmx-text);}
.widget-bots{padding:0 14px 12px;}
.widget-subtitle{font-size:12px;color:#9ca3af;margin-bottom:8px;}
.bot-pills{display:flex;flex-wrap:wrap;gap:8px;}
.bot-pill{font-size:12px;color:#e5e7eb;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.06);padding:6px 10px;border-radius:0;}
.online-members{padding:12px 14px;display:flex;flex-wrap:wrap;gap:10px;line-height:1.9;}
.online-members-empty{padding:12px 14px;color:#9ca3af;}
.widget-foot{padding:10px 14px;border-top:1px solid rgba(255,255,255,.08);color:#9ca3af;font-size:12px;}

.widget-foot-strip{padding:0;}
.cmx-stats-strip{display:flex;align-items:stretch;gap:0;border-top:1px solid rgba(255,255,255,.08);}
.cmx-strip-item{flex:1;display:flex;align-items:center;gap:10px;padding:12px 14px;min-width:0;border-right:1px solid rgba(255,255,255,.08);}
.cmx-strip-item:last-child{border-right:none;}
.cmx-strip-ico{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;opacity:.95;}
.cmx-strip-text{display:flex;flex-direction:column;gap:2px;min-width:0;}
.cmx-strip-num{font-size:18px;font-weight:900;letter-spacing:.2px;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.cmx-strip-label{font-size:11px;color:#9ca3af;letter-spacing:.9px;text-transform:uppercase;}
.cmx-strip-last .cmx-strip-num a{font-weight:900;text-decoration:none;}

@media (max-width: 700px){
  .cmx-stats-strip{flex-wrap:wrap;}
  .cmx-strip-item{flex:1 1 50%;border-right:1px solid rgba(255,255,255,.08);border-bottom:1px solid rgba(255,255,255,.08);}
  .cmx-strip-item:nth-child(2n){border-right:none;}
  .cmx-strip-item:nth-last-child(-n+2){border-bottom:none;}
}

body.theme-light .cmx-stats-strip{border-top:1px solid rgba(0,0,0,.10);}
body.theme-light .cmx-strip-item{border-right:1px solid rgba(0,0,0,.10);}
@media (max-width: 700px){
  body.theme-light .cmx-strip-item{border-right:1px solid rgba(0,0,0,.10);border-bottom:1px solid rgba(0,0,0,.10);}
}

.category-header{
    border-bottom:none;
    margin:-15px -15px 12px;
    padding:10px 14px;
    border-radius:0;
    background:var(--cmx-catbar-bg);
    border-bottom:1px solid var(--cmx-border);
    box-shadow:none;
}
.category-header .category-title{color:var(--cmx-catbar-text);font-size:17px;line-height:1.25;margin:0;display:flex;align-items:center;gap:12px;}

@media (max-width: 900px){
    .home-widgets{grid-template-columns:1fr;}
}

.online-page-head{padding:0;overflow:hidden;}
.online-page-title{display:flex;flex-direction:column;gap:4px;}
.online-page-title h2{margin:0;}
.online-page-sub{font-size:12px;color:#9ca3af;}
.online-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;padding:12px 14px 14px;}
.online-summary-24{grid-template-columns:repeat(3,minmax(0,1fr));}
.online-summary-item{border:1px solid var(--cmx-border);background:var(--cmx-card);border-radius:0;padding:10px 12px;}
.os-label{font-size:12px;color:#9ca3af;}
.os-value{font-size:18px;font-weight:900;letter-spacing:.2px;margin-top:2px;}
.online-page-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px;}
.online-card{padding:0;overflow:hidden;}
.online-card-header{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid var(--cmx-border);padding:12px 14px;}
.online-card-header h2{margin:0;font-size:16px;}
.online-card-meta{font-size:12px;color:#9ca3af;}
.online-user-list{padding:12px 14px;display:flex;flex-direction:column;gap:10px;}
.online-user-row{position:relative;display:flex;align-items:center;gap:12px;padding:10px 10px;border:1px solid var(--cmx-border);background:rgba(15,23,42,.02);border-radius:0;}
.online-user-main{flex:1;min-width:0;}
.online-user-top{display:flex;align-items:center;justify-content:space-between;gap:10px;}
.online-user-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.online-user-sub{margin-top:4px;font-size:12px;color:#cbd5e1;display:none;flex-wrap:wrap;gap:6px;align-items:center;}
.online-user-sub .muted{color:var(--cmx-muted,#6b7280);}

.online-hovercard{display:none;position:absolute;left:62px;top:calc(100% + 8px);z-index:30;width:min(520px, calc(100vw - 40px));}
.online-user-row:hover .online-hovercard{display:block;}
.hovercard{border:1px solid rgba(255,255,255,.12);background:rgba(2,6,23,.98);backdrop-filter:blur(10px);border-radius:0;padding:10px 12px;box-shadow:0 18px 40px rgba(0,0,0,.45);}
.hc-line{display:flex;gap:10px;justify-content:space-between;align-items:flex-start;font-size:12px;color:#e5e7eb;padding:2px 0;}
.hc-label{color:#9ca3af;font-weight:800;min-width:70px;}
.hc-small{font-size:11px;color:#cbd5e1;opacity:.95;}

.sep{opacity:.6;}
.mono{font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;}
.mini-avatar{width:40px;height:40px;border-radius:0;object-fit:cover;border:1px solid rgba(255,255,255,.14);background:rgba(2,6,23,.5);}
.mini-avatar.placeholder{display:flex;align-items:center;justify-content:center;font-size:18px;color:#9ca3af;}
.role-badge{font-size:11px;font-weight:800;padding:4px 10px;border-radius:0;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.05);white-space:nowrap;}
.role-badge-admin{border-color:rgba(239,68,68,.35);background:rgba(239,68,68,.10);color:#fecaca;}
.role-badge-mod{border-color:rgba(34,197,94,.35);background:rgba(34,197,94,.10);color:#bbf7d0;}
.role-badge-vip{border-color:rgba(245,158,11,.40);background:rgba(245,158,11,.12);color:#fde68a;}
.role-badge-member{border-color:rgba(59,130,246,.35);background:rgba(59,130,246,.10);color:#bfdbfe;}
.role-badge-banned{border-color:rgba(239,68,68,.45);background:rgba(239,68,68,.14);color:#fecaca;}
.online-empty{padding:12px 14px;color:#9ca3af;}
.online-hint{padding:12px 14px;color:#cbd5e1;font-size:12px;border-bottom:1px solid rgba(255,255,255,.08);}
.bot-list{padding:12px 14px;display:flex;flex-direction:column;gap:10px;}
.bot-row{padding:10px 10px;border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.03);border-radius:0;}
.bot-row-top{display:flex;align-items:center;justify-content:space-between;gap:10px;}
.bot-name{font-weight:900;}
.bot-count{font-size:12px;color:#e5e7eb;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.06);padding:6px 10px;border-radius:0;}
.bot-row-sub{margin-top:4px;font-size:12px;color:#9ca3af;}
.bot-pages{margin-top:8px;display:flex;flex-direction:column;gap:6px;}
.bot-page{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;border:1px solid rgba(255,255,255,.10);background:rgba(2,6,23,.25);border-radius:0;padding:6px 10px;font-size:12px;color:#cbd5e1;}

.bot-page-left{display:flex;flex-direction:column;gap:2px;min-width:0;}
.bot-page-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.bot-page-url{font-size:11px;color:#9ca3af;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}

@media (max-width: 900px){
    .online-summary{grid-template-columns:repeat(2,minmax(0,1fr));
    .online-user-sub{display:flex;}
    .online-hovercard{display:none !important;}
}
    .online-page-grid{grid-template-columns:1fr;}
}

.topic-viewers{
  margin: 14px 0 10px;
  padding: 12px 14px;
  border-radius:0;
  background: rgba(255,255,255,.95);
  border: 1px solid rgba(17,24,39,.12);
  color: #111;
  box-shadow: 0 14px 34px rgba(0,0,0,.10);
}
.topic-viewers-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px;}
.tv-title{font-weight:900;}
.tv-meta{font-size:12px;color:#64748b;}
.tv-counts{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px;}
.tv-pill{font-size:12px;color:#0f172a;border:1px solid rgba(17,24,39,.12);background:rgba(15,23,42,.04);padding:6px 10px;border-radius:0;}
.tv-users{display:flex;flex-direction:column;gap:10px;}
.tv-user{display:flex;gap:12px;align-items:center;border:1px solid rgba(17,24,39,.10);background:rgba(15,23,42,.02);border-radius:0;padding:10px 10px;}
.tv-user-main{flex:1;min-width:0;}
.tv-user-top{display:flex;align-items:center;justify-content:space-between;gap:10px;}
.tv-user-sub{margin-top:4px;font-size:12px;color:#64748b;display:flex;flex-wrap:wrap;gap:6px;align-items:center;}
.tv-user-sub .muted{color:var(--cmx-muted,#6b7280);}
.tv-empty{color:#64748b;font-size:12px;}
.tv-bots{margin-top:10px;display:flex;flex-wrap:wrap;gap:8px;}
.tv-bot{font-size:12px;color:#0f172a;border:1px solid rgba(17,24,39,.12);background:rgba(15,23,42,.04);padding:6px 10px;border-radius:0;}

.tv-user img.mini-avatar{display:none;}
.tv-user{padding-left:12px;}

.online-user-sub{
  display:flex !important;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
  margin-top:6px;
  font-size:12px;
  color:#cbd5e1;
}
.online-page-link{
  color:#dbeafe;
  text-decoration:none;
  border-bottom:1px dashed rgba(219,234,254,.35);
}
.online-page-link:hover{ border-bottom-color:rgba(219,234,254,.8); }

.online-detail-btn{
  margin-left:auto;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.14);
  color:#e5e7eb;
  border-radius:0;
  padding:4px 8px;
  cursor:pointer;
}
.online-detail-btn:hover{ background:rgba(255,255,255,.10); }

.online-user-list{ max-height: 360px; overflow:auto; }
.bot-list{ max-height: 360px; overflow:auto; }
.online-members{ max-height: 160px; overflow:auto; padding-right:6px; }

.online-entry{display:flex;align-items:center;gap:8px;}
.online-lastseen{color:#9ca3af;font-size:12px;white-space:nowrap;}

.bbcode-img{max-width:min(100%,var(--cmx-post-img-max-w,100%)); max-height:var(--cmx-post-img-max-h,none); width:auto; height:auto; object-fit:contain; border-radius:0; margin:6px 0;}
.bbcode-smiley{width:24px; height:24px; vertical-align:middle; margin:0 2px; border-radius:0;}
.bbcode-quote{border-left:4px solid rgba(255,255,255,.2); padding:10px 12px; margin:10px 0; border-radius:0; background:rgba(255,255,255,.04);}
.bbcode-quote-head{font-weight:700; margin-bottom:6px; opacity:.9;}
.bbcode-code{background:rgba(0,0,0,.25); padding:10px 12px; border-radius:0; overflow:auto; margin:10px 0;}
.bbcode-list{margin:10px 0 10px 18px;}
.bbcode-u{text-decoration:underline;}
.bbcode-s{text-decoration:line-through;}
.mention{color: #7bb6ff; font-weight:700;}

.topic-title-link{color:var(--cmx-topic-title-color,var(--cmx-link));font-size:20px; font-weight:var(--cmx-topic-title-weight,800); letter-spacing:.2px; display:inline-block;}
.topic-author-link{font-size:14px; font-weight:600; opacity:.9;}

a.topic-title-link{color:var(--cmx-topic-title-color,var(--cmx-link));
  font-size: 18px;
  font-weight:var(--cmx-topic-title-weight,800);
  letter-spacing: .2px;
  display: inline-block;
  margin-bottom: 2px;
}
a.topic-author-link{
  font-size: 14px;
  font-weight: 600;
  opacity: .9;
}
@media (max-width: 768px){
  a.topic-title-link{ font-size: 17px; }
}

.cmx-site-footer{margin-top:30px;padding:18px 0;border-top:1px solid rgba(255,255,255,.08);background:rgba(0,0,0,.18)}
.cmx-site-footer .container{max-width:var(--cmx-container-max,1380px);margin:0 auto;padding:0 16px;font-size:14px;opacity:.92}

.recent-topics a.topic-title-link, .new-messages a.topic-title-link { font-size:18px; font-weight:var(--cmx-topic-title-weight,800); }


.cmx-smiley-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:8px;padding:10px;}
.cmx-smiley-grid img{width:28px;height:28px;object-fit:contain;cursor:pointer;border-radius:0;}
.cmx-smiley-grid img:hover{transform:scale(1.08);}
@media (max-width:760px){.cmx-smiley-grid{grid-template-columns:repeat(8,1fr);} .cmx-smiley-grid img{width:26px;height:26px;}}

.cmx-mention-box{position:absolute;z-index:99999;background:#0b1222;border:1px solid rgba(255,255,255,.12);border-radius:0;padding:8px;box-shadow:0 14px 40px rgba(0,0,0,.45);}
.cmx-mention-item{display:block;width:100%;text-align:left;background:transparent;color:#e9f1ff;border:0;padding:8px 10px;border-radius:0;cursor:pointer;}
.cmx-mention-item:hover{background:rgba(255,255,255,.08);}

.cat-icon{display:inline-block;margin-right:10px;opacity:.95;}

.rep-summary{font-size:12px; color:#cbd5e1; margin-left:4px;}
.rep-details-link{font-size:12px; margin-left:8px;}

.cmx-wys-wrap{border:1px solid rgba(255,255,255,0.08); border-radius:0; overflow:hidden; background:rgba(0,0,0,0.15);}
.cmx-wys-toolbar{display:flex; gap:8px; align-items:center; padding:10px; border-bottom:1px solid rgba(255,255,255,0.06); flex-wrap:wrap;}
.cmx-wys-toolbar .cmx-btn{background:rgba(255,255,255,0.06); color:#fff; border:1px solid rgba(255,255,255,0.08); padding:6px 10px; border-radius:0; cursor:pointer;}
.cmx-wys-toolbar .cmx-color{width:34px; height:34px; border-radius:0; border:1px solid rgba(255,255,255,0.08); background:transparent;}
.cmx-wys-toolbar .cmx-size{background:rgba(255,255,255,0.06); color:#fff; border:1px solid rgba(255,255,255,0.08); padding:6px 10px; border-radius:0;}
.cmx-wys-editor{min-height:160px; padding:14px; outline:none; color:#fff;}
.cmx-preview{margin-top:10px;}

@media (max-width: 768px){
  html, body { overflow-x: hidden; }
  .container, .content, .topic-container { max-width: 100%; }
  .post-message, .post_message, .post-content, .topic-post .post-content { word-break: break-word; overflow-wrap: anywhere; }
  img, video, iframe { max-width: 100%; height: auto; }

  
}

.post_message{
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius:0;
  margin-top: 8px;
}

.cmx-mention-pop{background:#fff;border:1px solid rgba(0,0,0,.15);border-radius:0;box-shadow:0 8px 24px rgba(0,0,0,.12);padding:6px;z-index:9999;}
.cmx-mention-item{padding:8px 10px;border-radius:0;cursor:pointer;font-size:14px;}
.cmx-mention-item.active,.cmx-mention-item:hover{background:rgba(0,0,0,.06);} 

.footer .footer-brand{margin:8px 0 0 0; font-weight:600;}
.footer .footer-brand .small{font-weight:400; opacity:.85;}
.footer .footer-contact{margin-top:6px;}
.footer .footer-contact a{text-decoration:underline;}

body.theme-light{
  background: var(--cmx-bg);
  color: var(--cmx-text);
}
body.theme-light .widget-stats .stat-row{color:var(--cmx-text);opacity:.84;}
body.theme-light .widget-stats .stat-row strong{color:var(--cmx-text);}
body.theme-light .widget-subtitle{color:var(--cmx-muted);}
body.theme-light a{ color: var(--cmx-link); }
body.theme-light a:hover{ color: var(--cmx-link); text-decoration: underline; }

body.theme-light .main-nav{
  background: transparent;
  border-bottom: 0;
}
body.theme-light .main-nav a,
body.theme-light .main-nav button.nav-btn{ color: var(--cmx-topbar-text, #23262d); opacity: 1; }
body.theme-light .main-nav a:hover{ opacity: 1; }

body.theme-light .card,
body.theme-light .forum-row,
body.theme-light .topic-row,
body.theme-light .post{
  background: var(--cmx-card);
  color: var(--cmx-text);
  border: 1px solid var(--cmx-border);
  box-shadow: 0 10px 24px rgba(15,23,42,.08);
}

body.theme-light .card-header,
body.theme-light .post-header{
  background: var(--cmx-catbar-bg);
  border-bottom: 1px solid var(--cmx-border);
}

body.theme-light .category-header{
  background: var(--cmx-catbar-bg);
  border: 1px solid var(--cmx-border);
  border-radius:0;
}

body.theme-light .category-title{ color: var(--cmx-catbar-text); }
body.theme-light .muted,
body.theme-light .meta,
body.theme-light .small-text{ color: var(--cmx-muted); }

body.theme-light input,
body.theme-light select,
body.theme-light textarea{
  background: #fff;
  color: var(--cmx-text);
  border: 1px solid var(--cmx-border);
  border-radius:0;
}
body.theme-light input:focus,
body.theme-light select:focus,
body.theme-light textarea:focus{
  outline: 2px solid rgba(14,165,233,.22);
  border-color: rgba(14,165,233,.35);
}

body.theme-light .pill{
  background: rgba(15,23,42,.04);
  border: 1px solid var(--cmx-border);
  color: var(--cmx-text);
  border-radius:0;
}

body.theme-light footer,
body.theme-light .footer{
  background: rgba(15,23,42,.03);
  color: var(--cmx-text);
  border-top: 1px solid var(--cmx-border);
}

body.theme-light .hc-card{
  background: var(--cmx-card);
  color: var(--cmx-text);
  border: 1px solid var(--cmx-border);
  box-shadow:0 12px 28px rgba(15,23,42,.12);
}
body.theme-light .hc-title .pill{ background: rgba(15,23,42,.06); }

.cmx-forum-stats{
  --cmx-fs-avatar: 40px;
  --cmx-fs-side-avatar: 34px;
  --cmx-fs-item-py: 8px;
  --cmx-fs-item-px: 10px;
  --cmx-fs-gap: 8px;
  --cmx-fs-lineh: 1.28;
  --cmx-fs-right-minw: 110px;
}
.cmx-forum-stats.compact{
  --cmx-fs-avatar: 34px;
  --cmx-fs-side-avatar: 30px;
  --cmx-fs-item-py: 6px;
  --cmx-fs-item-px: 10px;
  --cmx-fs-gap: 8px;
  --cmx-fs-lineh: 1.2;
  --cmx-fs-right-minw: 104px;
}
.cmx-forum-stats .cmx-stats-tabs{display:flex;gap:8px;align-items:center;flex-wrap:wrap;}
.cmx-forum-stats .cmx-tab{border:0;background:rgba(0,0,0,.05);padding:8px 12px;border-radius:0;font-weight:700;cursor:pointer;}
.cmx-forum-stats .cmx-tab.active{background: rgba(34,193,176,.16);
  border-radius:0;
}
.cmx-forum-stats .cmx-stats-grid{display:grid;grid-template-columns:1fr 320px;gap:14px;align-items:start;}
@media (max-width: 980px){html:not(.cmx-desktop-window-lock) .cmx-forum-stats .cmx-stats-grid{grid-template-columns:1fr;}}
.cmx-forum-stats .cmx-tabpanel{display:none;}
.cmx-forum-stats .cmx-tabpanel.active{display:block;}
.cmx-forum-stats .cmx-stats-list{list-style:none;margin:0;padding:0;}
.cmx-forum-stats .cmx-stats-item{border:1px solid var(--cmx-border);background:rgba(15,23,42,.02);display:grid;grid-template-columns:var(--cmx-fs-avatar) 1fr auto;gap:var(--cmx-fs-gap);align-items:center;padding:var(--cmx-fs-item-py) var(--cmx-fs-item-px);border-radius:0;}
.cmx-forum-stats .cmx-stats-item:hover{background:rgba(15,23,42,.04);}
.cmx-forum-stats .cmx-stats-avatar img{width:var(--cmx-fs-avatar) !important;height:var(--cmx-fs-avatar) !important;max-width:none !important;border-radius:0 !important;object-fit:cover !important;display:block;}
.cmx-forum-stats .cmx-stats-title{font-weight:800;display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.cmx-forum-stats .cmx-stats-sub{font-size:12px;color:#6b7280;margin-top:1px;display:flex;gap:4px;align-items:center;flex-wrap:wrap;line-height:var(--cmx-fs-lineh);}
.cmx-forum-stats .cmx-dot{color:#9ca3af;}
.cmx-forum-stats .cmx-muted{color:#9ca3af;}
.cmx-forum-stats .cmx-stats-right{display:flex;gap:8px;align-items:center;justify-content:flex-end;min-width:var(--cmx-fs-right-minw);}
.cmx-forum-stats .cmx-stat{display:flex;flex-direction:column;align-items:flex-end;line-height:1.1;}
.cmx-forum-stats .cmx-stat span{font-weight:900;}
.cmx-forum-stats .cmx-stat small{font-size:10px;color:#9ca3af;}
.cmx-forum-stats .cmx-stats-empty{padding:10px;color:#9ca3af;}

.cmx-forum-stats .cmx-sidebox{background:rgba(0,0,0,.03);border-radius:0;padding:10px;}
.cmx-forum-stats .cmx-sidebox-title{font-weight:900;margin-bottom:6px;}
.cmx-forum-stats .cmx-side-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:5px;}
.cmx-forum-stats .cmx-side-item{display:flex;gap:8px;align-items:center;padding:var(--cmx-fs-item-py) var(--cmx-fs-item-px);border-radius:0;}
.cmx-forum-stats .cmx-side-item:hover{background:rgba(0,0,0,.04);}
.cmx-forum-stats .cmx-side-avatar{width:var(--cmx-fs-side-avatar);height:var(--cmx-fs-side-avatar);border-radius:0;object-fit:cover;display:block;}

body.theme-dark .cmx-forum-stats .cmx-tab{background:rgba(255,255,255,.06);}
body.theme-dark .cmx-forum-stats .cmx-tab.active{background: rgba(34,193,176,.16);}
body.theme-dark .cmx-forum-stats .cmx-sidebox{background:rgba(255,255,255,.05);}
body.theme-dark .cmx-forum-stats .cmx-stats-item:hover{background:rgba(15,23,42,.04);}
body.theme-dark .cmx-forum-stats .cmx-side-item:hover{background:rgba(255,255,255,.06);}
body.theme-dark .cmx-forum-stats .cmx-stats-sub{color:#a1a1aa;}

.cmx-wall-form textarea{
  width:100%;
  padding:10px 12px;
  border-radius:0;
  border:1px solid rgba(0,0,0,.12);
  background:rgba(0,0,0,.02);
  resize:vertical;
  min-height:84px;
  outline:none;
}
.cmx-wall-actions{display:flex;justify-content:flex-end;margin-top:10px;}
.cmx-wall-list{list-style:none;margin:14px 0 0 0;padding:0;display:flex;flex-direction:column;gap:10px;}
.cmx-wall-item{padding:12px;border-radius:0;border:1px solid rgba(0,0,0,.08);background:rgba(0,0,0,.015);}
.cmx-wall-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px;}

.cmx-wall-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end;}
.cmx-inline-form{display:inline;margin:0;}
.cmx-wall-tool{
  font-size:12px;
  text-decoration:none;
  opacity:.92;
  background:transparent;
  border:0;
  padding:0;
  cursor:pointer;
  color:inherit;
}
.cmx-wall-tool:hover{opacity:1;text-decoration:underline;}
.cmx-wall-tool.is-liked{font-weight:700;}
.cmx-wall-tool.is-danger{color:#b91c1c;}
.cmx-wall-likecount{opacity:.75;text-decoration:none;cursor:default;}
.cmx-wall-editform textarea{
  width:100%;
  padding:10px 12px;
  border-radius:0;
  border:1px solid rgba(0,0,0,.12);
  background:rgba(0,0,0,.02);
  resize:vertical;
  min-height:96px;
  outline:none;
}
body.theme-dark .cmx-wall-editform textarea{
  border-color:rgba(255,255,255,.14);
  background:rgba(255,255,255,.06);
  color:#e5e7eb;
}
.cmx-wall-author{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;}
.cmx-wall-time{font-size:12px;color:#9ca3af;}
.cmx-wall-reply{font-size:12px;text-decoration:none;opacity:.9;}
.cmx-wall-reply:hover{text-decoration:underline;opacity:1;}
.cmx-wall-content{font-size:14px;line-height:1.55;}
.cmx-empty{padding:12px;color:#9ca3af;}

body.theme-dark .cmx-wall-form textarea{
  border-color:rgba(255,255,255,.14);
  background:rgba(255,255,255,.06);
  color:#e5e7eb;
}
body.theme-dark .cmx-wall-item{
  border-color:rgba(255,255,255,.10);
  background:rgba(255,255,255,.05);
}
body.theme-dark .cmx-wall-time{color:#a1a1aa;}

.cmx-wall-item.is-mine { border-color: rgba(120,140,255,.35); }
.cmx-wall-item.is-mine .cmx-wall-meta { justify-content: flex-end; }
.cmx-wall-replybar{
  padding:8px 10px;
  margin-bottom:8px;
  border:1px solid rgba(0,0,0,.08);
  background: rgba(0,0,0,.03);
  border-radius:0;
  font-size:13px;
}
.cmx-wall-replybar-label{ opacity:.7; margin-right:6px; }
.cmx-wall-replybar-name{ font-weight:700; margin-right:10px; }
.cmx-wall-replybar-cancel{ font-size:12px; opacity:.8; }
.cmx-wall-reply-preview{
  margin-bottom:8px;
  padding:6px 8px;
  border-left:3px solid rgba(0,0,0,.15);
  background: rgba(0,0,0,.02);
  border-radius:0;
  font-size:13px;
  opacity:.95;
}
.cmx-wall-reply-snippet{ margin-left:6px; opacity:.8; }
.cmx-mention-box{
  position:absolute;
  z-index:9999;
  min-width:220px;
  max-width:320px;
  border:1px solid rgba(0,0,0,.18);
  background:#fff;
  border-radius:0;
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
  overflow:hidden;
}
.cmx-mention-item{
  display:flex;
  align-items:center;
  gap:8px;
  padding:8px 10px;
  cursor:pointer;
  font-size:13px;
}
.cmx-mention-item:hover{ background: rgba(0,0,0,.06); }
.cmx-mention-item .u{ font-weight:700; }

.pm-page{
    display:flex;
    gap:16px;
    align-items:stretch;
}

.pm-sidebar{
    width:320px;
    max-width:320px;
    padding:12px;
}

.pm-sidebar-top{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    margin-bottom:10px;
}

.pm-title{
    font-weight:700;
    font-size:16px;
}

.pm-search-wrap{ margin-bottom:10px; }

.pm-convo-list{
    display:flex;
    flex-direction:column;
    gap:8px;
    max-height:70vh;
    overflow:auto;
    padding-right:4px;
}

.pm-convo{
    display:flex;
    align-items:center;
    gap:10px;
    padding:10px;
    border-radius:0;
    text-decoration:none;
    border:1px solid rgba(255,255,255,0.08);
    background:rgba(255,255,255,0.03);
}

.pm-convo:hover{ background:rgba(255,255,255,0.06); }

.pm-convo.active{
    border-color: rgba(255,255,255,0.18);
    background:rgba(255,255,255,0.08);
}

.pm-avatar{
    width:40px;
    height:40px;
    border-radius:0;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:800;
    border:1px solid rgba(255,255,255,0.15);
    background:rgba(0,0,0,0.18);
    flex:0 0 auto;
}

.pm-avatar.pm-avatar-lg{
    width:44px;
    height:44px;
}

.pm-convo-meta{
    flex:1 1 auto;
    min-width:0;
}

.pm-convo-name{
    font-weight:700;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.pm-convo-time{
    font-size:12px;
    opacity:.75;
    margin-top:2px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.pm-badge{
    min-width:22px;
    height:22px;
    padding:0 7px;
    border-radius:0;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:12px;
    font-weight:800;
    background:rgba(255,255,255,0.18);
    border:1px solid rgba(255,255,255,0.12);
}

.pm-empty-list{
    padding:12px;
    opacity:.8;
}

.pm-main{
    flex:1 1 auto;
    padding:12px;
    display:flex;
    flex-direction:column;
    min-height:520px;
    position:relative;
    
    height: calc(100vh - 220px);
    height: calc(100dvh - 220px);
    max-height: calc(100vh - 220px);
    max-height: calc(100dvh - 220px);
    overflow: hidden;
}

.pm-topbar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding-bottom:10px;
    margin-bottom:10px;
    border-bottom:1px solid rgba(255,255,255,0.10);
}

.pm-topbar-left{
    display:flex;
    align-items:center;
    gap:10px;
}

.pm-peer{
    font-weight:800;
    font-size:16px;
    line-height:1.1;
}

.pm-peer-sub{
    font-size:12px;
    opacity:.75;
    margin-top:2px;
}

.pm-thread{
    flex:1 1 auto;
    overflow:auto;
    padding:6px 2px 10px 2px;
    display:flex;
    flex-direction:column;
    gap:10px;
}

.pm-thread-empty{
    opacity:.8;
    padding:12px;
}

.pm-msg{
    display:flex;
}

.pm-msg.mine{ justify-content:flex-end; }
.pm-msg.theirs{ justify-content:flex-start; }

.pm-bubble{
    max-width:min(720px, 92%);
    border-radius:0;
    padding:10px 12px;
    border:1px solid rgba(255,255,255,0.10);
    background:rgba(255,255,255,0.04);
    box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

.pm-msg.mine .pm-bubble{
    background:rgba(255,255,255,0.07);
    border-color:rgba(255,255,255,0.14);
}

.pm-meta{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    margin-bottom:6px;
    font-size:12px;
    opacity:.85;
}

.pm-body{
    font-size:14px;
    line-height:1.4;
    word-wrap:break-word;
}

.pm-actions{
    margin-top:8px;
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
    font-size:12px;
}

.pm-link{
    text-decoration:none;
    opacity:.9;
}

.pm-link:hover{ opacity:1; text-decoration:underline; }

.pm-link.danger{ color:#ff6b6b; }

.pm-like-btn{
    border:1px solid rgba(255,255,255,0.14);
    background:rgba(255,255,255,0.04);
    color:inherit;
    border-radius:0;
    padding:5px 10px;
    cursor:pointer;
    font-size:12px;
}

.pm-like-btn:hover{ background:rgba(255,255,255,0.07); }

.pm-like-btn.liked{
    border-color: rgba(255,255,255,0.28);
    background: rgba(255,255,255,0.10);
    font-weight:700;
}

.pm-like-count{
    margin-left:6px;
    opacity:.9;
}

.pm-composer{
    padding-top:10px;
    border-top:1px solid rgba(255,255,255,0.10);
    display:flex;
    flex-direction:column;
    gap:8px;
}

.pm-composer-actions{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    flex-wrap:wrap;
}

.pm-enter-toggle{
    display:flex;
    align-items:center;
    gap:8px;
    font-size:12px;
    opacity:.85;
    user-select:none;
    cursor:pointer;
}

.pm-enter-toggle input{
    transform: translateY(1px);
}

.pm-composer{
    position:sticky;
    bottom:0;
    background: rgba(15,15,18,0.72);
    backdrop-filter: blur(8px);
}

.pm-composer .cmx-wys-editor{
    min-height:72px !important;
    max-height:160px;
    overflow:auto;
}

.pm-start{
    padding:6px 2px;
}

.pm-start-title{
    font-weight:900;
    font-size:18px;
}

.pm-start-sub{
    margin-top:4px;
    opacity:.8;
    font-size:13px;
}

.pm-start-form{
    margin-top:14px;
}

.pm-suggest{
    position:absolute;
    z-index:9999;
    left:0;
    right:0;
    top:100%;
    margin-top:6px;
    border-radius:0;
    border:1px solid rgba(255,255,255,0.16);
    background:rgba(20,20,20,0.98);
    color:#f1f5f9;
    overflow:hidden;
    box-shadow: 0 14px 26px rgba(0,0,0,0.25);
}

.pm-suggest-item{
    padding:10px 12px;
    cursor:pointer;
    border-bottom:1px solid rgba(255,255,255,0.08);
}

.pm-suggest-item:hover{ background:rgba(255,255,255,0.06); }

.pm-suggest *{ color: inherit; }
body.theme-light .pm-suggest{
    border:1px solid rgba(0,0,0,0.12);
    background:rgba(255,255,255,0.98);
    color:#0f172a;
}
body.theme-light .pm-suggest-item{
    border-bottom:1px solid rgba(0,0,0,0.08);
}
body.theme-light .pm-suggest-item:hover{ background:rgba(0,0,0,0.06); }

.pm-hint{
    margin-top:6px;
    font-size:12px;
    opacity:.75;
}

.pm-msg.highlight .pm-bubble{
    outline:2px solid rgba(255,255,255,0.35);
    outline-offset:2px;
}

.pm-toast{
    position:absolute;
    top:10px;
    right:10px;
    padding:10px 12px;
    border-radius:0;
    border:1px solid rgba(255,255,255,0.14);
    background:rgba(0,0,0,0.65);
    opacity:0;
    transform: translateY(-8px);
    transition: all .25s ease;
    max-width: 360px;
    z-index:9999;
}

.pm-toast.show{
    opacity:1;
    transform: translateY(0);
}

.pm-toast.error{
    border-color: rgba(255,107,107,0.35);
}

@media (max-width: 900px){
    .pm-page{ flex-direction:column; }
    .pm-sidebar{ width:100%; max-width:none; }
    .pm-convo-list{ max-height: 260px; }
    .pm-main{ min-height: 420px; }
}

.online-hero{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;}
.online-hero-text{display:flex;flex-direction:column;gap:2px;min-width:220px;}
.online-hero-icon{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:0;
  background:linear-gradient(135deg, rgba(59,130,246,.18) 0%, rgba(239,68,68,.16) 50%, rgba(168,85,247,.14) 100%);
  border:1px solid rgba(255,255,255,.10);
}

.online-notice{margin:10px 14px 0;padding:10px 12px;border-radius:0;border:1px solid var(--cmx-border);background:rgba(34,193,176,.10);font-weight:800;}

.online-settings{margin:10px 14px 0;padding:12px;border-radius:0;border:1px solid var(--cmx-border);background:rgba(15,23,42,.02);}
.online-settings-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;align-items:end;}
@media (max-width: 900px){.online-settings-grid{grid-template-columns:1fr;}}
.online-setting{display:flex;flex-direction:column;gap:6px;}
.online-setting span{font-size:12px;color:#9ca3af;font-weight:700;}
.online-setting input{width:100%;padding:10px 12px;border-radius:0;border:1px solid rgba(255,255,255,.10);background:rgba(0,0,0,.12);color:inherit;}
body.theme-light .online-setting input{border:1px solid rgba(0,0,0,.12);background:#fff;}
.online-setting-actions{gap:8px;}
.online-setting-actions .muted{font-size:12px;}

.online-tabs{padding:0;overflow:hidden;margin-top:14px;}
.online-tabs-head{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;}
.online-tabs-meta{font-size:12px;color:#9ca3af;}
.online-full-link{font-weight:800;text-decoration:none;}
.online-tabbar{margin-top:10px;}

.online-tabpanes{padding:12px 14px 14px;}
.online-empty{padding:16px 14px;color:#9ca3af;}

.online-ip-inline{margin-left:10px;}
.online-ua-inline{margin-left:10px;max-width:360px;display:inline-block;vertical-align:bottom;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.online-geo-link{margin-left:10px;font-weight:900;text-decoration:none;opacity:.9;}
.online-geo-link:hover{text-decoration:underline;opacity:1;}

.online-geo-inline{margin-right:8px;}
a.online-pill{font-size:12px;font-weight:900;padding:4px 10px;border-radius:0;border:1px solid var(--cmx-border);background:rgba(15,23,42,.02);color:var(--cmx-text);}
a.online-pill:hover{text-decoration:none;}

.online-bot-sessions{margin-top:14px; padding-top:10px; border-top:1px dashed rgba(255,255,255,.08);}
.online-bot-sessions-title{font-weight:900; margin:0 0 10px 0;}
.bot-avatar{display:flex; align-items:center; justify-content:center; font-size:18px;}
.bot-name-inline{font-weight:800;}

.online-bot-list{padding:0;display:flex;flex-direction:column;gap:10px;}
.bot-row{border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.03);border-radius:0;padding:12px 12px;}
body.theme-light .bot-row{border:1px solid rgba(0,0,0,.10);background:rgba(0,0,0,.02);}
.bot-count{font-weight:900;color:#9ca3af;}
.bot-pages{margin-top:10px;display:flex;flex-direction:column;gap:6px;}
.bot-page{display:flex;align-items:center;gap:10px;}
.bot-page-count{min-width:44px;text-align:center;border-radius:0;padding:4px 10px;background:rgba(0,0,0,.18);border:1px solid rgba(255,255,255,.10);font-weight:900;}
body.theme-light .bot-page-count{background:rgba(0,0,0,.06);border:1px solid rgba(0,0,0,.10);}
.bot-page-url a{text-decoration:none;font-weight:800;}
.bot-page-url a:hover{text-decoration:underline;}
.bot-actions{margin-top:10px;font-size:12px;color:#9ca3af;}

.online-pills{display:flex;gap:6px;flex-wrap:wrap;align-items:center;}
.online-pill{font-size:12px;font-weight:900;padding:4px 10px;border-radius:0;border:1px solid var(--cmx-border);background:rgba(15,23,42,.02);color:var(--cmx-text);}
@media (max-width: 700px){
  .widget-header{flex-wrap:wrap;}
}

.cmx-pf-list{margin-top:8px;display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.cmx-pf-item{display:inline-flex;align-items:center;gap:6px;font-size:13px;line-height:1.2}
.cmx-pf-label{opacity:.75}
.cmx-pf-chip{display:inline-flex;align-items:center;gap:6px;padding:4px 8px;border-radius:0;background:rgba(0,0,0,.06);font-size:12.5px}
.cmx-pf-emoji{display:inline-block;min-width:1em;text-align:center}
.cmx-pf-icon-image{display:inline-block;width:16px;height:16px;object-fit:contain;vertical-align:middle}
.cmx-pf-link a{text-decoration:underline}

.postbit-custom a{word-break:break-word;}

.topic-actions-mobile{ display:none; }
.topic-actions-desktop{ display:block; }

@media (max-width: 760px){

  
  .topic-actions-desktop{ display:none !important; }
  .topic-actions-mobile{ display:block !important; width:100%; }
  .topic-actions-mobile .topic-actions-row{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
    width:100%;
  }
  .topic-actions-mobile .btn{
    padding:8px 12px;
    border-radius:0;
    font-size:14px;
  }
  .topic-actions-more{ position:relative; }
  .topic-actions-more > summary{
    list-style:none;
    cursor:pointer;
    user-select:none;
  }
  .topic-actions-more > summary::-webkit-details-marker{ display:none; }
  .topic-actions-menu{
    margin-top:10px;
    display:flex;
    flex-direction:column;
    gap:10px;
    width:100%;
  }
  .topic-actions-menu .btn{ width:100%; text-align:center; }

  
  .topic-card > .card-header{
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    gap:12px !important;
    text-align:center !important;
  }

  
  .topic-pager{ justify-content:center !important; }
  .topic-pager .tp-first,
  .topic-pager .tp-last,
  .topic-pager .tp-num,
  .topic-pager .tp-ellipsis{ display:none !important; }
  .topic-pager .tp-prev,
  .topic-pager .tp-next,
  .topic-pager .tp-current{ display:inline-flex !important; }

  
  .topic-viewers{ display:none !important; }

  
.cmx-fab-link{ display:none; }
}

@media (max-width: 520px){
  html:not(.cmx-desktop-window-lock) .cmx-forum-stats .cmx-stats-title{
    white-space: normal !important;
    overflow: hidden !important;
    text-overflow: clip !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    line-height: 1.2 !important;
  }
  html:not(.cmx-desktop-window-lock) .cmx-forum-stats .cmx-stats-item{border:1px solid var(--cmx-border);background:rgba(15,23,42,.02);grid-template-columns:var(--cmx-fs-avatar) 1fr !important;gap:var(--cmx-fs-gap) !important;padding:var(--cmx-fs-item-py) var(--cmx-fs-item-px) !important;}
  html:not(.cmx-desktop-window-lock) .cmx-forum-stats .cmx-stats-right{ display:none !important; }
}

.latest-topics-list li{padding:14px 12px;}
.latest-topics-list li a{font-size:16px;font-weight:var(--cmx-topic-title-weight,800);line-height:1.25;text-decoration:none;color:var(--cmx-topic-title-color,var(--cmx-text));}
.latest-topics-list li a:hover{color:var(--cmx-link);text-decoration:underline;}
.latest-topics-list li .muted{font-size:12px;color:var(--cmx-muted);}
.latest-topics-list li .user-link{font-size:12px !important;font-weight:700 !important;opacity:.88;}

.cat-icon, .forum-icon{
  width:calc(var(--cmx-forum-status-icon-size,18px) + 20px);
  height:calc(var(--cmx-forum-status-icon-size,18px) + 20px);
  min-width:calc(var(--cmx-forum-status-icon-size,18px) + 20px);
  min-height:calc(var(--cmx-forum-status-icon-size,18px) + 20px);
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid var(--cmx-border);
  background: rgba(255,255,255,.78);
  color: var(--cmx-text);
  box-sizing:border-box;
}
.forum-icon i, .cat-icon i{font-size:var(--cmx-forum-status-icon-size,18px);color: var(--cmx-accent);}
.forum-icon-img, .cat-icon-img{max-width:calc(var(--cmx-forum-status-icon-size,18px) + 8px);max-height:calc(var(--cmx-forum-status-icon-size,18px) + 8px);display:block;}
.forum-icon-emoji, .cat-icon-emoji{font-size:var(--cmx-forum-status-icon-size,18px);line-height:1;}

.topbar,
.main-nav,
.card,
.category-header,
.cmx-lasttopic,
.topic-card>.card-header,
.post,
.postbit-box{
  transition:none;
}

.main-nav{
  justify-content:center;
  gap:10px;
}
.main-nav > a,
.main-nav > button.nav-btn,
.main-nav a.nav-cta,
.main-nav a.nav-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:40px;
  padding:0 14px;
  border-radius:0;
  border:1px solid rgba(72,62,53,.12);
  background:rgba(255,255,255,.58);
  color:var(--cmx-topbar-text);
  box-shadow:0 2px 8px rgba(52,44,37,.04);
}
.main-nav > a:hover,
.main-nav > button.nav-btn:hover{background:rgba(255,255,255,.82);}
.forum-stats{
  display:flex;
  align-items:center;
  justify-content:flex-end;
}
.cmx-lasttopic{
  display:flex;
  justify-content:flex-end;
}
.cmx-lasttopic-inner{
  width:min(100%, 330px);
  margin-left:auto;
  border:1px solid var(--cmx-border);
  background:var(--cmx-card-2);
  border-radius:0;
  padding:10px 12px;
  box-shadow:none;
}
.cmx-lasttopic-body{min-width:0;text-align:left;}
.cmx-lasttopic-title{display:block;color:var(--cmx-heading);font-weight:700;line-height:1.35;}
.cmx-lasttopic-sub{display:flex;justify-content:flex-start;align-items:center;gap:6px;color:var(--cmx-muted);font-size:12px;line-height:1.35;flex-wrap:wrap;}
.cmx-lasttopic-sub a{font-weight:700;}
.topic-card>.card-header{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:16px;
  padding:16px 18px;
}
.cmx-topic-head{
  width:100%;
  max-width:920px;
  margin:0 auto;
  text-align:center;
}
.cmx-topic-titleline{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
}
.cmx-topic-title{
  margin:0;
  font-size:clamp(28px,3vw,36px);
  line-height:1.15;
  color:var(--cmx-heading);
}
.cmx-topic-subline{
  margin-top:8px;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  color:var(--cmx-muted);
}
.cmx-topic-subline a{font-weight:700;}
.topic-actions-desktop{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
}
.topic-actions-desktop .btn,
.topic-actions-desktop summary.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  min-width:126px;
  border-radius:0;
  padding:0 16px;
}
.post-content,
.topic-content,
.message-content,
.editor-content,
.ql-editor{font-size:16px;line-height:1.72;color:var(--cmx-text);}
.post-content p,
.topic-content p,
.message-content p,
.ql-editor p{margin:0 0 1em;}
.footer{padding:22px 0 18px;background:var(--cmx-bg);color:var(--cmx-muted);}
.footer .container{margin-bottom:0;}
@media (max-width:980px){
  .topic-card>.card-header{align-items:center;}
  .topic-actions-desktop{justify-content:center;}
}

:root{
  --cmx-bg:#f5f7fb;
  --cmx-surface:#fafcff;
  --cmx-card:#ffffff;
  --cmx-card-2:#edf2f7;
  --cmx-text:#12161c;
  --cmx-muted:#5e6979;
  --cmx-border:#d7dfe9;
  --cmx-border-strong:#c1ccdb;
  --cmx-accent:#5f88c2;
  --cmx-accent-hover:#476ea6;
  --cmx-accent-2:#6f8fbe;
  --cmx-link:#4f77b5;
  --cmx-container-max:1240px;
  --cmx-page-pad:8px;
  --cmx-radius:0px;
  --cmx-radius-btn:0px;
}
html,body{
  background:var(--cmx-bg) !important;
  background-image:none !important;
  color:var(--cmx-text) !important;
  font-family:"Trebuchet MS","Segoe UI Variable Text","Segoe UI",Verdana,Arial,sans-serif !important;
}
body::before,body::after{display:none !important;}
body{
  background:var(--cmx-bg) !important;
  background-image:none !important;
  min-height:100dvh;
  font-size:14px !important;
  line-height:1.58 !important;
}
.container,
.topbar-inner,
.admin-nav,
.footer .container{
  max-width:var(--cmx-container-max, 1240px) !important;
}
.card,
.widget-card,
.topic-card,
.topic-viewers,
.post,
.online-card,
.home-widgets .card,
.cmx-home-search-card{
  background:var(--cmx-card) !important;
  border:1px solid var(--cmx-border) !important;
  border-radius:0 !important;
  box-shadow:0 10px 28px rgba(22,39,65,.06), inset 0 1px 0 rgba(255,255,255,.85) !important;
}
.cmx-home-search-card{
  padding:18px 20px !important;
  background:linear-gradient(180deg,#ffffff 0%, #f3f7fd 100%) !important;
}
.cmx-home-search-copy strong,
.card-header h2,
.card-header h3,
.topic-title,
.cmx-topic-title,
.topic-title-link,
.category-title,
.forum-title,
.forum-title a,
.forum-title-text,
.latest-topics-list li a{
  color:var(--cmx-topic-title-color,var(--cmx-text));
}
.forum-desc,
.category-description,
.cmx-lasttopic-sub,
.widget-subtitle,
.muted,
.os-label,
.postbit-label,
.postbit-value,
.cmx-topic-subline,
.cmx-topic-subline a{
  color:#5e6979 !important;
}
/* forum/category head */
.category-header,
.card-header.category-header{
  margin:0 0 12px !important;
  padding:14px 16px !important;
  background:linear-gradient(180deg,#f3f7fd 0%, #e8f0fb 100%) !important;
  border:1px solid var(--cmx-border-strong) !important;
  border-radius:0 !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.86), 0 8px 18px rgba(22,39,65,.05) !important;
}
.category-header .category-title{
  color:#12161c !important;
  font-size:20px !important;
  line-height:1.18 !important;
  font-weight:750 !important;
}
.category-header .cat-icon,
.category-header .fa,
.category-header i{
  color:var(--cmx-accent) !important;
  opacity:.95 !important;
}
.forum-row{
  align-items:center !important;
  gap:18px !important;
  padding:14px 0 !important;
}
.forum-title a,
.forum-title-text{
  font-size:17px !important;
  font-weight:700 !important;
  letter-spacing:-.01em !important;
}
.forum-desc{
  font-size:14px !important;
  line-height:1.55 !important;
  margin-top:6px !important;
}
.cmx-lasttopic,
.cmx-lasttopic-empty{
  width:100% !important;
}
.cmx-lasttopic-inner,
.cmx-lasttopic-empty{
  background:linear-gradient(180deg,#ffffff 0%, #f3f7fd 100%) !important;
  border:1px solid var(--cmx-border) !important;
  border-radius:0 !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.85) !important;
  padding:12px 14px !important;
}
.cmx-lasttopic-title,
.cmx-lasttopic-title a{
  color:#12161c !important;
  font-size:14px !important;
  font-weight:700 !important;
  line-height:1.35 !important;
}
.cmx-lasttopic-sub,
.cmx-lasttopic-time,
.cmx-lasttopic .muted{
  font-size:12px !important;
  color:#667282 !important;
}
.user-link{font-weight:700 !important;}
/* topic head */
.topic-card > .card-header{
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  gap:16px !important;
  background:linear-gradient(180deg,#f3f7fd 0%, #e8f0fb 100%) !important;
  border:1px solid var(--cmx-border-strong) !important;
  border-radius:0 !important;
  padding:18px 22px !important;
  margin-bottom:12px !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.88), 0 10px 24px rgba(22,39,65,.06) !important;
}
.cmx-topic-head{
  min-width:0 !important;
  width:100% !important;
  max-width:920px !important;
  margin:0 auto !important;
  text-align:center !important;
}
.cmx-topic-titleline{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:10px !important;
}
.cmx-topic-title,
.topic-title{
  margin:0 !important;
  font-size:34px !important;
  line-height:1.12 !important;
  font-weight:800 !important;
  color:#12161c !important;
  letter-spacing:-.025em !important;
}
.cmx-topic-titleicon{color:var(--cmx-accent) !important;}
.cmx-topic-subline,
.cmx-topic-subline a{
  justify-content:center !important;
  text-align:center !important;
  font-size:13px !important;
  line-height:1.45 !important;
}
.topic-actions-menu{
  position:absolute;
  top:calc(100% + 10px);
  left:50%;
  transform:translateX(-50%);
  min-width:220px;
  max-width:min(280px,calc(100vw - 32px));
  padding:10px;
  border-radius:0;
  border:1px solid var(--cmx-border);
  background:var(--cmx-card);
  box-shadow:0 12px 28px rgba(22,39,65,.12);
  z-index:40;
}
.topic-menu-item{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:38px;
  padding:8px 12px;
  border-radius:0;
  color:#2d3137;
  text-align:center;
}
.topic-menu-item:hover{background:#eef4fd !important;text-decoration:none;}
.topic-menu-item.danger{color:#4f77b8 !important;}
.cmx-time-badge--mini{
  padding:4px 10px !important;
  border-radius:0 !important;
  background:#eef3fb !important;
  color:#5e6979 !important;
  border:1px solid var(--cmx-border) !important;
}
.topic-actions-desktop{
  width:100% !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:10px !important;
  flex-wrap:wrap !important;
}
.topic-actions-desktop .btn,
.topic-actions-desktop .btn-secondary,
.topic-actions-desktop summary.btn{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:40px !important;
  min-width:126px !important;
  border-radius:0 !important;
  padding:0 16px !important;
  background:#ffffff !important;
  color:#2d3137 !important;
  border:1px solid var(--cmx-border) !important;
  box-shadow:none !important;
}
.topic-actions-desktop .btn:hover,
.topic-actions-desktop .btn-secondary:hover{background:#eef4fd !important;}
/* buttons */
.btn,
.nav-btn,
.main-nav > a,
.main-nav > button.nav-btn,
button,
input[type="submit"]{
  min-height:26px !important;
  padding:0 8px !important;
  border-radius:0 !important;
  font-size:10.5px !important;
  line-height:1 !important;
  box-shadow:none !important;
}
.btn-primary,
.btn.btn-primary,
.btn:not(.btn-secondary):not(.btn-danger){
  background:linear-gradient(180deg,color-mix(in srgb,var(--cmx-accent,#4f77b8) 84%, #ffffff 16%) 0%,var(--cmx-accent,#4f77b8) 100%) !important;
  color:#fff !important;
  border:1px solid color-mix(in srgb,var(--cmx-accent,#4f77b8) 72%, #111827 28%) !important;
  text-shadow:0 -1px 0 rgba(0,0,0,.18) !important;
}
.btn-secondary{
  background:linear-gradient(180deg,#ffffff 0%,#edf3f9 100%) !important;
  color:#23415f !important;
  border:1px solid #a9bfd9 !important;
}
/* footer */

.cmx-footerWidgetArea{width:100%;}
.cmx-footerWidgets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0 0 14px;}
.cmx-footerWidgets section{min-width:0;padding:14px;border:1px solid rgba(148,163,184,.22);border-radius:0;background:rgba(255,255,255,.04);}
.cmx-footerWidgets h3{margin:0 0 7px;font-size:14px;font-weight:900;}
.cmx-footerWidgets p{margin:0;color:inherit;opacity:.86;line-height:1.55;}
.cmx-footerWidgets a{color:inherit;text-decoration:underline;text-underline-offset:3px;}
@media (max-width:760px){.cmx-footerWidgets{grid-template-columns:1fr;}}
.footer,
.cmx-site-footer{
  margin-top:26px !important;
  padding:14px 0 !important;
  background:var(--cmx-bg) !important;
  background-image:none !important;
  border-top:1px solid var(--cmx-border) !important;
}
.footer .container,
.cmx-site-footer .container{
  font-size:13px !important;
}
.footer-logo{max-height:34px !important; width:auto !important;}
/* responsive */
@media (max-width:980px){
  .topic-card > .card-header{
    text-align:center !important;
    padding:16px 18px !important;
  }
  .topic-actions-desktop{
    justify-content:center !important;
    gap:8px !important;
  }
  .topic-actions-desktop .btn,
  .topic-actions-desktop .btn-secondary,
  .topic-actions-desktop summary.btn{
    min-width:118px !important;
  }
  .cmx-topic-title,
  .topic-title{font-size:28px !important;}
  .forum-title a,
  .forum-title-text{font-size:16px !important;}
}
@media (max-width:760px){
  .cmx-topic-titleline{padding:0 6px !important;gap:8px !important;}
  .cmx-topic-title,
  .topic-title{font-size:26px !important;line-height:1.14 !important;}
  .topic-actions-desktop .btn,
  .topic-actions-desktop .btn-secondary,
  .topic-actions-desktop summary.btn{min-width:unset !important;padding:0 14px !important;}
  .topic-actions-menu{
    position:static !important;
    top:auto !important;
    left:auto !important;
    transform:none !important;
    width:100% !important;
    max-width:none !important;
    box-shadow:none !important;
  }
}

.cmx-topic-state-badge{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:0;font-size:12px;font-weight:700;line-height:1.1;vertical-align:middle;margin-left:8px}.cmx-topic-state-badge.is-solved{background:rgba(30,160,90,.14);border:1px solid rgba(30,160,90,.28);color:#1f8a4c}.cmx-solution-banner{display:flex;align-items:center;gap:8px;padding:10px 14px;border-bottom:1px solid rgba(30,160,90,.18);background:linear-gradient(180deg, rgba(30,160,90,.12), rgba(30,160,90,.06));color:#1f8a4c;font-weight:700}.cmx-post-solution{box-shadow:0 0 0 1px rgba(30,160,90,.22)}.cmx-solved-form{display:inline-flex;margin:0}.topic-menu-form{margin:0}.topic-menu-form .topic-menu-item{display:block;width:100%;text-align:left;background:none;border:0;padding:10px 12px;border-radius:0;cursor:pointer}.topic-menu-form .topic-menu-item:hover{background:rgba(255,255,255,.06)}

:root{
  --cmx-page-grad-top:#ffffff;
  --cmx-page-grad-bottom:#f3f6fb;
  --cmx-focus:#6f8fbe;
  --cmx-shadow-soft:0 14px 34px rgba(62,42,28,.07);
  --cmx-shadow-card:0 10px 26px rgba(62,42,28,.06), inset 0 1px 0 rgba(255,255,255,.82);
}
html,body{
  background:#ffffff !important;
}
.topbar{
  position:sticky;
  top:0;
  z-index:60;
  backdrop-filter:saturate(1.15) blur(10px);
  background:#6f8fbe !important;
  border-bottom:1px solid #5a7cad;
  box-shadow:0 10px 24px rgba(136,47,57,.14);
}
.topbar-inner{
  gap:14px !important;
  min-height:74px;
}
.main-nav{
  gap:10px !important;
}
.main-nav > a,
.main-nav > .nav-btn{
  min-height:42px;
  border-radius:0 !important;
  padding:0 14px !important;
  border:1px solid transparent;
  transition:background-color .18s ease,border-color .18s ease,transform .18s ease,box-shadow .18s ease;
}
.main-nav > a:hover,
.main-nav > .nav-btn:hover{
  background:#eef4fd !important;
  border-color:#ded0c4;
  transform:translateY(-1px);
}
.main-nav .nav-cta,
.main-nav .nav-cta-primary{
  box-shadow:0 8px 20px rgba(141,46,52,.14);
}
.brand-lockup,
.brand-fallback{
  filter:drop-shadow(0 6px 14px rgba(45,31,20,.08));
}
.container{
  padding-left:18px !important;
  padding-right:18px !important;
}
.card,
.widget-card,
.topic-card,
.post,
.topic-viewers,
.online-card,
.cmx-home-search-card{
  box-shadow:var(--cmx-shadow-card) !important;
}
.card,
.topic-card,
.post{overflow:hidden;}
.category-header,
.card-header.category-header{
  padding:16px 18px !important;
}
.forum-row{
  display:grid !important;
  grid-template-columns:minmax(0,1.5fr) minmax(220px,.9fr);
  align-items:stretch !important;
  gap:18px !important;
  padding:16px 0 !important;
}
.forum-main{
  min-width:0;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.forum-stats{
  min-width:0;
  display:flex;
  align-items:center;
  justify-content:flex-end;
}
.forum-title a,
.forum-title-text{
  display:inline-flex;
  align-items:center;
  gap:10px;
}
.forum-icon{
  width:40px;
  height:40px;
  border-radius:0;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(180deg,#f7faff 0%,#edf3fb 100%);
  border:1px solid #cfd9e6;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.8);
  flex:0 0 auto;
}
.forum-subforums{
  margin-top:12px !important;
}
.subforum-link{
  background:#f6f9fd;
  border:1px solid #d7e1ec;
  border-radius:0;
  padding:7px 12px;
}
.subforum-link:hover{background:#edf4fd;}
.cmx-lasttopic-inner,
.cmx-lasttopic-empty{
  min-height:88px;
}
.cmx-lasttopic-title,
.cmx-lasttopic-title a{
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.topic-card > .card-header{
  padding:22px 24px 18px !important;
  background:#f7faff !important;
  border-bottom:1px solid #d8e2ee;
}
.cmx-topic-head{max-width:980px;}
.cmx-topic-title{
  font-size:clamp(30px,3.4vw,40px) !important;
  letter-spacing:-.03em;
}
.cmx-topic-subline{
  margin-top:10px;
  font-size:14px;
}
.topic-actions-desktop{
  margin-top:2px;
  gap:10px 12px !important;
}
.topic-actions-desktop .btn,
.topic-actions-desktop .btn-secondary,
.topic-actions-desktop summary.btn{
  min-height:42px;
  min-width:134px;
  border-radius:0 !important;
  border:1px solid #ccd7e6 !important;
  background:#ffffff !important;
  box-shadow:none !important;
}
.topic-actions-desktop .btn-primary{
  border-color:#4f77b8 !important;
  box-shadow:none !important;
}
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="url"],
input[type="number"],
select,
textarea,
.ql-container,
.form-control{
  border-radius:0 !important;
  border:1px solid #ccd7e6 !important;
  background:#ffffff !important;
  box-shadow:inset 0 1px 1px rgba(60,40,25,.03);
}
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="url"],
input[type="number"],
select,
textarea,
.form-control{
  min-height:46px;
}
textarea{min-height:140px;}
.btn,
.btn-secondary,
button,
summary.btn{
  border-radius:0 !important;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible{
  outline:3px solid rgba(217,111,123,.55) !important;
  outline-offset:2px;
  box-shadow:0 0 0 4px rgba(217,111,123,.14) !important;
}
.cmx-mobile-quicklinks .cmx-mobile-icon-btn{
  box-shadow:0 8px 18px rgba(40,28,20,.08);
}
@media (max-width:980px){
  .container{padding-left:14px !important;padding-right:14px !important;}
  .topbar-inner{min-height:68px;}
  .forum-row{
    grid-template-columns:1fr !important;
    gap:12px !important;
  }
  .forum-stats{justify-content:stretch;}
  .topic-card > .card-header{
    padding:18px 16px 14px !important;
  }
  .cmx-topic-title{
    font-size:clamp(24px,7vw,32px) !important;
    line-height:1.14 !important;
  }
  .post-header,
  .post-body,
  .post-content-wrap,
  .post-main,
  .topic-content,
  .post-content,
  .post-actions{
    padding-left:14px !important;
    padding-right:14px !important;
  }
}
@media (max-width:640px){
  .main-nav{
    padding-top:8px;
  }
  .main-nav > a,
  .main-nav > .nav-btn{
    min-height:46px;
  }
  .subforum-link{padding:8px 11px;}
  .topic-actions-mobile .btn{min-height:42px !important;}
}

.cmx-hovercard{display:none;position:fixed;left:12px;top:12px;z-index:999999;width:440px;max-width:calc(100vw - 24px);max-height:min(220px,calc(100vh - 24px));padding:0;overflow:hidden;border-radius:0;border:1px solid rgba(148,163,184,.34);background:transparent;color:#334155;box-shadow:0 12px 24px rgba(15,23,42,.15);visibility:hidden;opacity:0;will-change:left,top,opacity;}
.cmx-hovercard.is-visible{display:block;visibility:visible;opacity:1;}
.cmx-hovercard > .hc-title{padding:9px 11px;margin:0;background:#fff;color:#334155;font-size:12px;font-weight:800;}
.cmx-hovercard .hc-shell{position:relative;isolation:isolate;overflow:hidden;display:block;min-height:150px;background:linear-gradient(180deg,#ffffff 0%,#f4f7fb 100%);color:#334155;}
.cmx-hovercard .hc-shell.has-banner{background-color:#eef3f9;background-image:var(--hc-banner);background-position:var(--hc-banner-pos,50% 50%);background-size:cover;background-repeat:no-repeat;}
.cmx-hovercard .hc-shell-media{display:none;position:absolute;inset:0;z-index:0;overflow:hidden;pointer-events:none;}
.cmx-hovercard .hc-shell.has-banner .hc-shell-media{display:block;}
.cmx-hovercard .hc-shell-media img{display:block;width:100%;height:100%;object-fit:cover;object-position:var(--hc-banner-pos,50% 50%);transform:scale(var(--hc-banner-scale,1));transform-origin:var(--hc-banner-pos,50% 50%);}
.cmx-hovercard .hc-shell-overlay{position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(90deg,rgba(255,255,255,.28) 0%,rgba(255,255,255,.14) 38%,rgba(255,255,255,.04) 68%,rgba(255,255,255,0) 100%);}
.cmx-hovercard .hc-content{position:relative;z-index:2;display:grid;gap:10px;padding:12px 14px 11px;min-width:0;}
.cmx-hovercard .hc-shell.has-banner .hc-content{padding:12px 14px 11px;}
.cmx-hovercard .hc-hero{display:grid;grid-template-columns:68px minmax(0,1fr);gap:12px;align-items:start;min-height:0;padding-right:24px;}
.cmx-hovercard .hc-hero-avatar{position:relative;display:flex;align-items:center;justify-content:center;width:64px;height:64px;border-radius:0;border:1px solid rgba(255,255,255,.96);background:rgba(255,255,255,.84);box-shadow:0 5px 14px rgba(15,23,42,.16);overflow:hidden;}
.cmx-hovercard .hc-hero-avatar img{width:100%;height:100%;object-fit:cover;display:block;}
.cmx-hovercard .hc-hero-avatarFallback{display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-size:22px;color:#94a3b8;}
.cmx-hovercard .hc-hero-avatar.has-image .hc-hero-avatarFallback{display:none;}
.cmx-hovercard .hc-hero-copy{min-width:0;display:grid;gap:4px;align-content:start;padding-top:1px;}
.cmx-hovercard .hc-title{display:grid;grid-template-columns:minmax(0,1fr);gap:4px;align-items:start;margin:0;line-height:1.24;}
.cmx-hovercard .hc-titleMain,.cmx-hovercard .hc-titleName{min-width:0;display:block;}
.cmx-hovercard .hc-titleName .user-link,.cmx-hovercard .hc-title .user-link{display:inline-block;max-width:100%;font-size:20px;line-height:1.24;font-weight:900;text-decoration:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-shadow:0 1px 0 rgba(255,255,255,.56);padding-bottom:2px;}
.cmx-hovercard .hc-titleName .user-link:hover,.cmx-hovercard .hc-title .user-link:hover{text-decoration:underline;}
.cmx-hovercard .hc-title .role-badge{display:none;}
.cmx-hovercard .hc-rank{display:flex;align-items:center;min-height:18px;}
.cmx-hovercard .hc-rank img{display:block;max-width:min(100%,156px);max-height:21px;width:auto;height:auto;object-fit:contain;}
.cmx-hovercard .hc-rankText{font-size:11px;line-height:1.2;font-weight:800;color:#6b7280;}
.cmx-hovercard .hc-hero-about{margin-top:0;font-size:12px;line-height:1.35;color:#64748b;text-shadow:0 1px 0 rgba(255,255,255,.38);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.cmx-hovercard .hc-panel{position:static;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:0;padding:0;border:0;background:transparent;backdrop-filter:none;box-shadow:none;}
.cmx-hovercard .hc-shell.has-banner .hc-panel{background:transparent;border:0;}
.cmx-hovercard .hc-line{display:grid;grid-template-columns:1fr;gap:3px;align-items:center;margin:0;min-width:0;padding:7px 9px;border:1px solid rgba(148,163,184,.17);border-radius:0;background:rgba(255,255,255,.66);box-shadow:0 1px 0 rgba(255,255,255,.38);}
.cmx-hovercard .hc-line:first-child{border-left:1px solid rgba(148,163,184,.19);padding-left:9px;}
.cmx-hovercard .hc-line:nth-of-type(n+5){display:none;}
.cmx-hovercard .hc-label,.cmx-hovercard .hc-actionsLabel{color:#64748b;font-size:10.5px;line-height:1.08;white-space:nowrap;font-weight:800;letter-spacing:0;text-transform:none;overflow:hidden;text-overflow:ellipsis;}
.cmx-hovercard .hc-value,.cmx-hovercard .hc-actionsMain{color:#334155;font-size:12.5px;line-height:1.18;text-align:left;font-weight:850;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.cmx-hovercard .hc-small{font-size:11px;color:#64748b;}
.cmx-hovercard .hc-link{color:#334155;text-decoration:none;}
.cmx-hovercard .hc-link:hover{text-decoration:underline;}
.cmx-hovercard .hc-actions{position:absolute !important;right:7px !important;top:7px !important;bottom:auto !important;left:auto !important;z-index:12 !important;margin:0 !important;padding:0 !important;border:0 !important;display:flex !important;align-items:center !important;justify-content:center !important;gap:0 !important;width:auto !important;height:auto !important;background:transparent !important;box-shadow:none !important;}
.cmx-hovercard .hc-actionsLabel{display:none;}
.cmx-hovercard .hc-actionsMain{display:flex;align-items:center;gap:4px;font-size:0;overflow:visible;}
.cmx-hovercard .hc-actionsMain > a{display:none;}
.cmx-hovercard .hc-actionsMain::before,.cmx-hovercard .hc-actionsMain::after{display:none;content:none;}
.cmx-hovercard .hc-gear{display:inline-flex !important;align-items:center !important;justify-content:center !important;width:17px !important;height:17px !important;min-width:17px !important;min-height:17px !important;border:1px solid rgba(148,163,184,.28) !important;background:rgba(255,255,255,.68) !important;color:#475569 !important;border-radius:0 !important;padding:0 !important;cursor:pointer;font-size:9px !important;line-height:1 !important;box-shadow:0 3px 8px rgba(15,23,42,.09) !important;}
.cmx-hovercard .hc-gear:hover{background:rgba(255,255,255,.95);}

.cmx-hovercard .hc-manageMenu{background:var(--cmx-card,#fff) !important;border-color:var(--cmx-border,rgba(148,163,184,.38)) !important;color:var(--cmx-text,#334155) !important;box-shadow:0 14px 30px rgba(15,23,42,.20) !important;}
.cmx-hovercard .hc-manageMenu a,.cmx-hovercard .hc-manageMenu button{color:var(--cmx-text,#334155) !important;background:transparent !important;text-decoration:none !important;}
.cmx-hovercard .hc-manageMenu a:hover,.cmx-hovercard .hc-manageMenu button:hover{background:color-mix(in srgb,var(--cmx-accent-soft,#eaf2ff) 54%,var(--cmx-card,#fff) 46%) !important;color:var(--cmx-accent,#405a7a) !important;}
.cmx-hovercard .hc-manageMenu form[data-quick-action="ban"] button{color:#b91c1c !important;}
.cmx-hovercard .hc-manageMenu form[data-quick-action="ban"] button:hover{background:rgba(185,28,28,.10) !important;color:#991b1b !important;}
.cmx-hovercard .hc-manageMenu form[data-quick-action="unban"] button{color:var(--cmx-accent,#405a7a) !important;}
.cmx-hovercard .pill{display:none;}
.cmx-hovercard .hc-close{display:none;}
body.theme-light .cmx-hovercard{background:transparent;color:#334155;border-color:rgba(148,163,184,.35);box-shadow:0 12px 24px rgba(15,23,42,.15);}
body.theme-light .cmx-hovercard .hc-label,body.theme-light .cmx-hovercard .hc-small{color:#64748b;}
body.theme-light .cmx-hovercard .hc-link{color:#334155;}
body.theme-light .cmx-hovercard .hc-line{color:#334155;}
.chrsmx-profile-hero{position:relative;isolation:isolate;overflow:hidden;}
.chrsmx-profile-hero__media{display:none;position:absolute;inset:0;z-index:0;overflow:hidden;pointer-events:none;}
.chrsmx-profile-hero.has-cover .chrsmx-profile-hero__media{display:block;}
.chrsmx-profile-hero__media img{display:block;width:100%;height:100%;object-fit:cover;object-position:var(--chrsmx-profile-cover-pos,50% 50%);transform:scale(var(--chrsmx-profile-cover-scale,1));transform-origin:var(--chrsmx-profile-cover-pos,50% 50%);}
.chrsmx-profile-hero__shade{position:absolute;inset:0;z-index:1;pointer-events:none;opacity:.82;}
.chrsmx-profile-hero__content,.chrsmx-profile-hero__actions{position:relative;z-index:2;}
@media (max-width:720px){
  .cmx-hovercard{width:min(360px,calc(100vw - 24px));max-width:none;max-height:calc(100dvh - 92px);border-radius:0;overflow:auto;-webkit-overflow-scrolling:touch;}
  .cmx-hovercard.is-mobileSheet{left:50% !important;right:auto !important;top:max(78px,env(safe-area-inset-top,0px) + 14px) !important;bottom:auto !important;width:min(360px,calc(100vw - 24px)) !important;max-width:none !important;max-height:calc(100dvh - 104px) !important;transform:translateX(-50%) !important;}
  @supports not (height: 100dvh){.cmx-hovercard,.cmx-hovercard.is-mobileSheet{max-height:calc(100vh - 104px) !important;}.cmx-hovercard .hc-manage[open] .hc-manageMenu{max-height:calc(100vh - 112px) !important;}}
  .cmx-hovercard .hc-content,.cmx-hovercard .hc-shell.has-banner .hc-content{padding:11px 12px 10px;gap:8px;}
  .cmx-hovercard .hc-hero{grid-template-columns:52px minmax(0,1fr);gap:9px;padding-right:54px;}
  .cmx-hovercard .hc-hero-avatar{width:48px;height:48px;border-radius:0;}
  .cmx-hovercard .hc-titleName .user-link,.cmx-hovercard .hc-title .user-link{font-size:17px;}
  .cmx-hovercard .hc-rank img{max-height:17px;max-width:min(100%,126px);}
  .cmx-hovercard .hc-hero-about{font-size:11px;-webkit-line-clamp:1;}
  .cmx-hovercard .hc-panel{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;}
  .cmx-hovercard .hc-line{padding:6px 7px;border-left:1px solid rgba(148,163,184,.19);}
  .cmx-hovercard .hc-label,.cmx-hovercard .hc-actionsLabel{font-size:9.5px;}
  .cmx-hovercard .hc-value,.cmx-hovercard .hc-actionsMain{font-size:11.5px;}
  .cmx-hovercard .hc-actions{right:34px !important;top:8px !important;z-index:12 !important;}
  .cmx-hovercard .hc-manage[open]{position:static !important;}
  .cmx-hovercard .hc-manage[open] .hc-manageMenu{position:fixed !important;left:16px !important;right:16px !important;top:max(82px,calc(env(safe-area-inset-top,0px) + 68px)) !important;bottom:auto !important;transform:none !important;width:auto !important;min-width:0 !important;max-height:calc(100dvh - 112px) !important;overflow-y:auto !important;overflow-x:hidden !important;-webkit-overflow-scrolling:touch;z-index:1000005 !important;box-sizing:border-box !important;display:grid !important;gap:4px !important;background:var(--cmx-card,#fff) !important;border-color:var(--cmx-border,rgba(148,163,184,.38)) !important;color:var(--cmx-text,#334155) !important;}
  .cmx-hovercard .hc-manageMenu a,.cmx-hovercard .hc-manageMenu button{display:block !important;visibility:visible !important;opacity:1 !important;font-size:14px !important;padding:12px 14px !important;line-height:1.25 !important;}
  .cmx-hovercard .hc-manageMenu form{display:block !important;margin:0 !important;padding:0 !important;}
  .cmx-hovercard .hc-close{position:absolute;right:7px;top:7px;z-index:9;display:inline-flex;align-items:center;justify-content:center;width:23px;height:23px;border-radius:0;border:1px solid rgba(255,255,255,.48);background:rgba(15,23,42,.58);color:#fff;font-size:17px;line-height:1;box-shadow:0 6px 14px rgba(15,23,42,.16);}
}
body{font-family:"Trebuchet MS","Segoe UI Variable Text","Segoe UI",Verdana,Arial,sans-serif !important;color:#111827 !important;}
.topbar{background:#6f8fbe !important;border-bottom:1px solid #5a7cad !important;}
.category-header,.card-header.category-header{background:#5f86c4 !important;border-color:#4b72ae !important;}
.category-header .category-title{color:#fff !important;}
.forum-row{padding-top:10px !important;padding-bottom:10px !important;gap:12px !important;}
.cmx-post,.post{padding:10px !important;margin:8px 0 !important;}
.message-content,.post-content,.post-body{font-size:16px !important;line-height:1.72 !important;}
.cmx-forum-stats .cmx-stats-item{padding:9px 10px !important;border-radius:0 !important;}
.cmx-forum-stats .cmx-sidebox{padding:8px !important;border-radius:0 !important;}

:root{--cmx-topbar-bg:#6f8fbe;--cmx-topbar-solid:#6f8fbe;--cmx-accent-2:#6f8fbe;}
body.theme-light .btn-primary, body.theme-light .btn-newtopic, body.theme-light .btn-newposts,
.btn-primary,.btn-newtopic,.btn-newposts,.main-nav>a.nav-cta-primary{background:linear-gradient(180deg,color-mix(in srgb,var(--cmx-accent,#4f77b8) 84%, #ffffff 16%) 0%,var(--cmx-accent,#4f77b8) 100%) !important;border-color:color-mix(in srgb,var(--cmx-accent,#4f77b8) 72%, #111827 28%) !important;color:#fff !important;}
.btn-primary:hover,.btn-newtopic:hover,.btn-newposts:hover,.main-nav>a.nav-cta-primary:hover{background:linear-gradient(180deg,#5d7fb2 0%,#41699f 100%) !important;border-color:#365f98 !important;color:#fff !important;filter:none !important;}
.hovercard,.online-hovercard .hovercard{background:#f8fbff !important;border:1px solid #d4dfec !important;box-shadow:0 18px 34px rgba(21,45,78,.12) !important;color:#182434 !important;}
.cmx-hovercard{background:transparent !important;}

.topic-viewers--compact .tv-body--compact{padding:12px 14px;}
.topic-viewers--compact .tv-counts{margin-bottom:8px;}
.topic-viewers--compact .tv-inlineNames{display:flex;flex-wrap:wrap;gap:0 6px;line-height:1.9;font-size:13px;align-items:center;}
.topic-viewers--compact .tv-inlineName .user-link{font-weight:700;text-decoration:none;}
.topic-viewers--compact .tv-inlineSep{color:#94a3b8;}
.topic-viewers--compact .tv-bots--compact{margin-top:8px;}

/* ===== v23 compact header polish ===== */
@media (min-width: 981px){
  body:not(.cmx-shell-admin) .af-shellHeader__navInner{
    gap:14px;
    padding-top:14px;
    padding-bottom:12px;
  }
  body:not(.cmx-shell-admin) .af-mainNav{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:8px;
  }
  body:not(.cmx-shell-admin) .af-mainNav a{
    padding:8px 14px;
    min-height:40px;
    border-radius:0;
    box-shadow:none;
    font-size:14px;
    letter-spacing:0;
  }
  body:not(.cmx-shell-admin) .af-mainNav a strong{
    min-width:18px;
    height:18px;
    padding:0 6px;
    border-radius:0;
    font-size:11px;
    line-height:18px;
  }
  body:not(.cmx-shell-admin) .af-shellHeader__subnav{
    background:transparent;
    border-top:0;
  }
  body:not(.cmx-shell-admin) .af-shellHeader__subnavInner{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:7px;
    padding-top:8px;
    padding-bottom:10px;
  }
  body:not(.cmx-shell-admin) .af-shellHeader__subnavInner a{
    padding:6px 12px;
    min-height:34px;
    border-radius:0;
    box-shadow:none;
    font-size:13px;
    color:var(--af-text-soft, #4f6180);
    background:rgba(255,255,255,.78);
    border:1px solid rgba(163,181,209,.58);
  }
  body:not(.cmx-shell-admin) .af-shellHeader__subnavInner a.is-active{
    color:var(--af-text, #17345d);
    background:rgba(234,241,251,.95);
    border-color:rgba(128,156,198,.68);
  }
  body:not(.cmx-shell-admin) .af-shellHeader__subnavInner a .cmx-shellNavIcon{
    opacity:.85;
    transform:scale(.92);
  }
}
body:not(.cmx-shell-admin) .button:hover,
body:not(.cmx-shell-admin) .btn:hover,
body:not(.cmx-shell-admin) button:hover,
body:not(.cmx-shell-admin) input[type="submit"]:hover,
body:not(.cmx-shell-admin) input[type="button"]:hover,
body:not(.cmx-shell-admin) .cmx-btn:hover,
body:not(.cmx-shell-admin) .main-nav a.nav-btn:hover,
body:not(.cmx-shell-admin) .main-nav button.nav-btn:hover,
body:not(.cmx-shell-admin) .main-nav a.nav-cta:hover,
body:not(.cmx-shell-admin) .af-shellHeader__ctaLink:hover,
body:not(.cmx-shell-admin) .af-shellHeader__quickLink:hover,
body:not(.cmx-shell-admin) .af-shellHeader__quickMini:hover,
body:not(.cmx-shell-admin) .af-shellHeader__quickUser:hover,
body:not(.cmx-shell-admin) .topic-actions-more__toggle:hover,
body:not(.cmx-shell-admin) .cmx-refPostAction:hover,
body:not(.cmx-shell-admin) .cmx-refPostMenu__toggle:hover,
body:not(.cmx-shell-admin) .cmx-react-btn:hover,
body:not(.cmx-shell-admin) .cmx-posttool:hover,
body:not(.cmx-shell-admin) .post-actions a:hover,
body:not(.cmx-shell-admin) .post-actions button:hover,
body:not(.cmx-shell-admin) .notif-actionButton:hover,
body:not(.cmx-shell-admin) .notif-actions a:hover,
body:not(.cmx-shell-admin) .notif-actions button:hover{
  background:linear-gradient(180deg,var(--cmx-card,#fff) 0%,var(--cmx-accent-soft,#e7effb) 100%) !important;
  border-color:color-mix(in srgb,var(--cmx-accent,#4f77b8) 42%, var(--cmx-border,#dbe5ef) 58%) !important;
  color:var(--cmx-link,var(--cmx-accent,#4f77b8)) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.95) !important;
  transform:none !important;
}
body:not(.cmx-shell-admin) .button--primary,
body:not(.cmx-shell-admin) .button.button--primary,
body:not(.cmx-shell-admin) a.button--primary,
body:not(.cmx-shell-admin) button.button--primary,
body:not(.cmx-shell-admin) .btn-primary,
body:not(.cmx-shell-admin) .btn.btn-primary,
body:not(.cmx-shell-admin) .btn:not(.btn-secondary):not(.btn-danger):not(.btn-ghost),
body:not(.cmx-shell-admin) .btn-reply,
body:not(.cmx-shell-admin) .btn-newtopic,
body:not(.cmx-shell-admin) .nav-cta-primary,
body:not(.cmx-shell-admin) .af-shellHeader__ctaLink--accent,
body:not(.cmx-shell-admin) .af-shellHeader__quickLink--accent,
body:not(.cmx-shell-admin) .m1-actionButton--primary,
body:not(.cmx-shell-admin) .cmx-refPostAction--solution,
body:not(.cmx-shell-admin) .cmx-react-btn.is-reacted,
body:not(.cmx-shell-admin) .notif-actionButton--primary,
body:not(.cmx-shell-admin) .cmx-page.is-active,
body:not(.cmx-shell-admin) .m1-threadPager__num.is-current,
body:not(.cmx-shell-admin) .cmx-pagination--forumSlim .cmx-page.is-active{
  border-color:color-mix(in srgb,var(--cmx-accent,#4f77b8) 72%, #111827 28%) !important;
  background:linear-gradient(180deg,color-mix(in srgb,var(--cmx-accent,#4f77b8) 84%, #ffffff 16%) 0%,var(--cmx-accent,#4f77b8) 100%) !important;
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
  text-shadow:0 -1px 0 rgba(0,0,0,.18) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.22) !important;
}
body:not(.cmx-shell-admin) .button--primary *,
body:not(.cmx-shell-admin) .button.button--primary *,
body:not(.cmx-shell-admin) a.button--primary *,
body:not(.cmx-shell-admin) button.button--primary *,
body:not(.cmx-shell-admin) .btn-primary *,
body:not(.cmx-shell-admin) .af-shellHeader__ctaLink--accent *,
body:not(.cmx-shell-admin) .cmx-refPostAction--solution *,
body:not(.cmx-shell-admin) .cmx-react-btn.is-reacted *,
body:not(.cmx-shell-admin) .notif-actionButton--primary *{color:#fff !important;-webkit-text-fill-color:#fff !important;}
body:not(.cmx-shell-admin) .btn-danger,
body:not(.cmx-shell-admin) .button--danger,
body:not(.cmx-shell-admin) .cmx-posttool-danger{
  border-color:#d99b9b !important;
  background:linear-gradient(180deg,#fffafa 0%,#fdecec 100%) !important;
  color:#9f1d1d !important;
  text-shadow:0 1px 0 #fff !important;
}
body:not(.cmx-shell-admin) .m1-forumHero__actions,
body:not(.cmx-shell-admin) .afx-forumHeroActionsSlim,
body:not(.cmx-shell-admin) .m1-threadHero-actions,
body:not(.cmx-shell-admin) .m1-threadHero-actions--compact,
body:not(.cmx-shell-admin) .cmx-threadHeader-actions{
  justify-content:center !important;
  align-items:center !important;
  gap:3px !important;
  margin-left:auto !important;
  margin-right:auto !important;
}
body:not(.cmx-shell-admin) .cmx-refPostFooter,
body:not(.cmx-shell-admin) .post-actions{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  flex-wrap:wrap !important;
  gap:4px 7px !important;
  margin-top:6px !important;
  padding-top:6px !important;
  min-height:0 !important;
  border-top:1px solid #d8e3f0 !important;
}
body:not(.cmx-shell-admin) .cmx-refPostFooter__primary,
body:not(.cmx-shell-admin) .cmx-refPostFooter__secondary,
body:not(.cmx-shell-admin) .post-actions-left,
body:not(.cmx-shell-admin) .post-actions-right{
  display:flex !important;
  align-items:center !important;
  flex-wrap:wrap !important;
  gap:4px !important;
  min-width:0 !important;
}
body:not(.cmx-shell-admin) .cmx-refPostFooter__primary form,
body:not(.cmx-shell-admin) .cmx-inline-form,
body:not(.cmx-shell-admin) .cmx-react-form{
  display:inline-flex !important;
  align-items:center !important;
  margin:0 !important;
  padding:0 !important;
}
body:not(.cmx-shell-admin) .cmx-refPostAction,
body:not(.cmx-shell-admin) .cmx-refPostMenu__toggle,
body:not(.cmx-shell-admin) .cmx-react-btn{
  min-height:24px !important;
  height:24px !important;
  padding:0 8px !important;
  border-radius:0 !important;
  font-size:10.5px !important;
  gap:4px !important;
}
body:not(.cmx-shell-admin) .cmx-refPostAction i,
body:not(.cmx-shell-admin) .cmx-refPostMenu__toggle i,
body:not(.cmx-shell-admin) .cmx-react-btn i,
body:not(.cmx-shell-admin) .cmx-posttool i{font-size:11px !important;line-height:1 !important;}
body:not(.cmx-shell-admin) .cmx-like-count{font-size:10.5px !important;line-height:1.1 !important;margin:0 !important;color:#4c6178 !important;}
body:not(.cmx-shell-admin) .m1-threadPager,
body:not(.cmx-shell-admin) .cmx-pagination--forumSlim{
  gap:2px !important;
  padding:2px 3px !important;
  border-radius:0 !important;
  box-shadow:none !important;
}
body:not(.cmx-shell-admin) .m1-threadPager__num,
body:not(.cmx-shell-admin) .cmx-pagination--forumSlim .cmx-page,
body:not(.cmx-shell-admin) .page-link,
body:not(.cmx-shell-admin) .pagination a,
body:not(.cmx-shell-admin) .pagination span{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-width:23px !important;
  height:23px !important;
  padding:0 6px !important;
  border:1px solid #a9bfd9 !important;
  border-radius:0 !important;
  background:linear-gradient(180deg,#ffffff 0%,#eef4fb 100%) !important;
  color:#264361 !important;
  font-size:10.5px !important;
  font-weight:800 !important;
  box-shadow:none !important;
  text-decoration:none !important;
}
body:not(.cmx-shell-admin) .m1-post__main{
  display:flex !important;
  flex-direction:column !important;
}
body:not(.cmx-shell-admin) .m1-post__main > .post-content.message-content,
body:not(.cmx-shell-admin) .m1-post__main > .cmx-postBlockedCardWrap,
body:not(.cmx-shell-admin) .m1-post__main > .cmx-ignored-post{
  flex:0 0 auto !important;
}
body:not(.cmx-shell-admin) .m1-post__main > .cmx-refPostFooter,
body:not(.cmx-shell-admin) .m1-post__main > .post-actions{
  margin-top:auto !important;
}
@media (max-width:760px){
  html:not(.cmx-desktop-window-lock) body:not(.cmx-shell-admin) .m1-post__main{display:block !important;}
  html:not(.cmx-desktop-window-lock) body:not(.cmx-shell-admin) .m1-post__main > .cmx-refPostFooter,
  html:not(.cmx-desktop-window-lock) body:not(.cmx-shell-admin) .m1-post__main > .post-actions{margin-top:8px !important;}
  html:not(.cmx-desktop-window-lock) body:not(.cmx-shell-admin) .cmx-refPostFooter__primary,
  html:not(.cmx-desktop-window-lock) body:not(.cmx-shell-admin) .cmx-refPostFooter__secondary{width:100% !important;}
}
body:not(.cmx-shell-admin) .cmx-wall-head{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:6px !important;
  margin-bottom:4px !important;
}
body:not(.cmx-shell-admin) .cmx-wall-author{
  min-width:0 !important;
  display:flex !important;
  align-items:center !important;
  gap:5px !important;
  flex-wrap:wrap !important;
}
body:not(.cmx-shell-admin) .cmx-wall-tools{
  display:flex !important;
  gap:4px !important;
  flex-wrap:wrap !important;
  justify-content:flex-end !important;
}
body:not(.cmx-shell-admin) .cmx-wall-tool,
body:not(.cmx-shell-admin) .cmx-wall-tools button,
body:not(.cmx-shell-admin) .cmx-wall-tools a{
  min-height:20px !important;
  padding:2px 6px !important;
  border-radius:0 !important;
  font-size:10px !important;
  line-height:1.2 !important;
}
body:not(.cmx-shell-admin) .cmx-wall-reply-preview{
  padding:4px 6px !important;
  margin:0 0 4px !important;
  border-radius:0 !important;
  font-size:10.5px !important;
  line-height:1.25 !important;
}
@media (max-width:760px){
  html:not(.cmx-desktop-window-lock) body:not(.cmx-shell-admin) .cmx-wall-head{
    align-items:flex-start !important;
  }
}
@media (max-width: 900px){
}
body.cmx-admin-pro-page .cmx-adminsearch-input,
body.cmx-admin-pro-page .cmx-adminsearch-results,
body.cmx-admin-pro-page .cmx-adminsearch-results a,
body.cmx-admin-pro-page .cmx-adminsearch-results a span,
body.cmx-admin-pro-page .cmx-adminsearch-results strong,
body.cmx-admin-pro-page .cmx-adminsearch-results small{text-align:left !important;justify-content:flex-start !important;justify-items:start !important;align-items:flex-start !important;}
body.cmx-admin-pro-page .cmx-adminsearch-results a span{display:block !important;flex:1 1 auto !important;min-width:0 !important;}
body.cmx-admin-pro-page .cmx-adminsearch-results a em{margin-left:auto !important;}
body.cmx-admin-pro-page .cmx-adminshell-top-actions [data-cmx-admin-menu],
body.cmx-admin-pro-page .cmx-adminshell-top-actions .cmx-adminshell-menu-toggle{display:none !important;}

body:not(.cmx-shell-admin) .afFooterForum__tail--controls{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  flex-wrap:wrap;
}
body:not(.cmx-shell-admin) .afFooterForum__menu{
  position:relative;
  display:inline-block;
}
body:not(.cmx-shell-admin) .afFooterForum__menu > summary{
  list-style:none;
}
body:not(.cmx-shell-admin) .afFooterForum__menu > summary::-webkit-details-marker{
  display:none;
}
body:not(.cmx-shell-admin) .afFooterForum__menuToggle,
body:not(.cmx-shell-admin) .afFooterForum__action{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:36px;
  padding:0 12px;
  border:1px solid rgba(148,163,184,.34);
  border-radius:0;
  background:linear-gradient(180deg,#fff,#f6f9ff);
  color:#18324f;
  font-size:12px;
  font-weight:800;
  line-height:1.2;
  text-decoration:none;
  box-sizing:border-box;
  cursor:pointer;
  user-select:none;
}
body:not(.cmx-shell-admin) .afFooterForum__menu[open] .afFooterForum__menuToggle{
  border-color:rgba(47,111,198,.42);
  background:#fff;
}
body:not(.cmx-shell-admin) .afFooterForum__menuIcon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:22px;
  height:22px;
  flex:0 0 22px;
  border-radius:0;
  background:#edf4ff;
  color:#2f6fc6;
}
body:not(.cmx-shell-admin) .afFooterForum__menuIcon--theme{
  color:#7654dc;
  background:#f1edff;
}
body:not(.cmx-shell-admin) .afFooterForum__menuToggleText{
  line-height:1.15;
}
body:not(.cmx-shell-admin) .afFooterForum__menuCaret{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#64748b;
  font-size:10px;
}
body:not(.cmx-shell-admin) .afFooterForum__menuPanel{
  position:absolute;
  right:0;
  bottom:calc(100% + 8px);
  min-width:220px;
  max-width:min(320px,calc(100vw - 24px));
  padding:8px;
  border:1px solid rgba(148,163,184,.28);
  border-radius:0;
  background:#fff;
  box-shadow:0 18px 34px rgba(15,23,42,.16);
  z-index:80;
}
body:not(.cmx-shell-admin) .afFooterForum__menu--theme .afFooterForum__menuPanel{
  min-width:240px;
}
body:not(.cmx-shell-admin) .afFooterForum__menuForm{
  margin:0;
}
body:not(.cmx-shell-admin) .afFooterForum__menuForm + .afFooterForum__menuForm{
  margin-top:4px;
}
body:not(.cmx-shell-admin) .afFooterForum__menuOption{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  min-height:36px;
  padding:0 12px;
  border:1px solid transparent;
  border-radius:0;
  background:transparent;
  color:#18324f;
  font-size:12px;
  font-weight:800;
  line-height:1.2;
  text-align:left;
  box-sizing:border-box;
  cursor:pointer;
}
body:not(.cmx-shell-admin) .afFooterForum__menuOption:hover{
  background:#f4f8ff;
  border-color:rgba(148,163,184,.24);
}
body:not(.cmx-shell-admin) .afFooterForum__menuOption.is-active{
  background:#edf5ff;
  border-color:rgba(47,111,198,.24);
  color:#123250;
}
body:not(.cmx-shell-admin) .afFooterForum__menuOption i{
  color:#2f6fc6;
}
@media (max-width:900px){
  html:not(.cmx-desktop-window-lock) body:not(.cmx-shell-admin) .afFooterForum__tail--controls{
    justify-content:flex-start;
  }
}
@media (max-width:700px){
  html:not(.cmx-desktop-window-lock) body:not(.cmx-shell-admin) .afFooterForum__menuPanel{
    right:auto;
    left:0;
    min-width:min(260px,calc(100vw - 36px));
  }
}


/* ARTAN 0893: Footer ziyaretçi ulaşım alanı */
.afFooterForum__contactCta{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:8px 0;padding:12px 14px;border:1px solid rgba(15,23,42,.10);border-radius:0;background:rgba(255,255,255,.72);box-sizing:border-box;}
.afFooterForum__contactText{display:grid;gap:3px;min-width:0;}
.afFooterForum__contactText strong{font-size:14px;line-height:1.2;font-weight:900;}
.afFooterForum__contactText span{font-size:12px;line-height:1.35;opacity:.82;}
.afFooterForum__contactButton{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:0 14px;border-radius:0;border:1px solid rgba(15,23,42,.12);font-size:12px;font-weight:900;text-decoration:none;white-space:nowrap;background:#fff;}
.afFooterForum__contactButton:hover{text-decoration:none;filter:brightness(.98);}
@media (max-width:700px){.afFooterForum__contactCta{display:grid;gap:8px;text-align:center;margin:6px 0;padding:10px 12px}.afFooterForum__contactButton{width:100%;}}




/* CMX-FINAL-NOTIF-BADGE-HIDDEN-V3: okunmuş bildirim rozeti 0 iken görünmez. */
body:not(.cmx-shell-admin) #notifBadge.cmx-notifBadge[hidden],
body:not(.cmx-shell-admin) [data-cmx-notif-count][hidden]{display:none !important;}

/* CMX_DONE_UNREAD_NOTIFICATION_DISTINCTION: okunmamış bildirimler okunmuşlardan net ayrılır. */
body:not(.cmx-shell-admin) .m1ShellHeader__notifDropdown .notif-item.read .notif-link,
body:not(.cmx-shell-admin) .notif-item.read .notif-link{
  opacity:.78;
}
body:not(.cmx-shell-admin) .m1ShellHeader__notifDropdown .notif-item.unread .notif-link,
body:not(.cmx-shell-admin) .notif-item.unread .notif-link{
  position:relative;
  opacity:1;
  background:linear-gradient(90deg,color-mix(in srgb,var(--cmx-accent,#4f77b7) 16%,var(--cmx-card,#fff) 84%) 0%,var(--cmx-card,#fff) 88%);
  box-shadow:inset 3px 0 0 var(--cmx-accent,#4f77b7);
}
body:not(.cmx-shell-admin) .m1ShellHeader__notifDropdown .notif-item.unread .notif-ico,
body:not(.cmx-shell-admin) .notif-item.unread .notif-ico{
  background:var(--cmx-accent,#4f77b7);
  border-color:var(--cmx-accent,#4f77b7);
  color:#fff;
}
body:not(.cmx-shell-admin) .m1ShellHeader__notifDropdown .notif-item.unread .notif-text,
body:not(.cmx-shell-admin) .notif-item.unread .notif-text{
  font-weight:900;
}
body:not(.cmx-shell-admin) .m1ShellHeader__notifDropdown .notif-item.read .notif-text,
body:not(.cmx-shell-admin) .notif-item.read .notif-text{
  font-weight:600;
}
body:not(.cmx-shell-admin) .notif-unread-flag{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:16px;
  padding:0 6px;
  margin-right:6px;
  border-radius:0;
  background:var(--cmx-accent,#4f77b7);
  color:#fff;
  -webkit-text-fill-color:#fff;
  font-size:9.5px;
  line-height:1;
  font-weight:900;
  letter-spacing:.02em;
  vertical-align:middle;
}
body:not(.cmx-shell-admin) .notif-time{vertical-align:middle;}
body:not(.cmx-shell-admin) .chrismx-mobileNotifItem.is-read{
  opacity:.78;
}
body:not(.cmx-shell-admin) .chrismx-mobileNotifItem.is-unread{
  position:relative;
  opacity:1;
  background:linear-gradient(90deg,color-mix(in srgb,var(--cmx-accent,#4f77b7) 16%,var(--cmx-card,#fff) 84%) 0%,var(--cmx-card,#fff) 90%);
  box-shadow:inset 3px 0 0 var(--cmx-accent,#4f77b7);
}
body:not(.cmx-shell-admin) .chrismx-mobileNotifItem.is-unread .chrismx-mobileNotifItem__icon{
  background:var(--cmx-accent,#4f77b7);
  border-color:var(--cmx-accent,#4f77b7);
  color:#fff;
}
body:not(.cmx-shell-admin) .chrismx-mobileNotifItem.is-unread .chrismx-mobileNotifItem__body strong{
  font-weight:900;
}
body:not(.cmx-shell-admin) .chrismx-mobileNotifItem__flag{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:16px;
  padding:0 6px;
  margin-left:6px;
  border-radius:0;
  background:var(--cmx-accent,#4f77b7);
  color:#fff;
  -webkit-text-fill-color:#fff;
  font-size:9.5px;
  line-height:1;
  font-weight:900;
  vertical-align:middle;
}
/* /CMX_DONE_UNREAD_NOTIFICATION_DISTINCTION */


/* AF-ONLINE-005B: detaylı çevrim içi liste üyelik/yetki uyarısı */
body:not(.cmx-shell-admin) .afMemberGateWrap{
  width:min(100%,var(--cmx-container-max,1320px));
  margin:26px auto 34px;
  padding:0 var(--cmx-container-pad,16px);
  box-sizing:border-box;
}
body:not(.cmx-shell-admin) .afMemberGate{
  position:relative;
  display:grid;
  grid-template-columns:minmax(170px,270px) minmax(0,1fr) minmax(150px,260px);
  align-items:center;
  gap:26px;
  min-height:255px;
  padding:28px 34px;
  border:1px solid color-mix(in srgb,var(--cmx-accent,#b80017) 22%,#ffffff 78%);
  border-radius:0;
  background:
    radial-gradient(circle at 12% 28%,color-mix(in srgb,var(--cmx-accent,#b80017) 10%,transparent 90%) 0%,transparent 31%),
    radial-gradient(circle at 82% 48%,color-mix(in srgb,var(--cmx-accent,#b80017) 8%,transparent 92%) 0%,transparent 25%),
    linear-gradient(135deg,#ffffff 0%,color-mix(in srgb,var(--cmx-accent,#b80017) 4%,#ffffff 96%) 100%);
  box-shadow:0 18px 46px rgba(87,0,15,.10),inset 0 1px 0 rgba(255,255,255,.92);
  overflow:hidden;
  isolation:isolate;
}
body:not(.cmx-shell-admin) .afMemberGate::before{
  content:"";
  position:absolute;
  left:-8%;
  bottom:-28%;
  width:42%;
  height:65%;
  border-radius:0;
  border:1px solid color-mix(in srgb,var(--cmx-accent,#b80017) 10%,transparent 90%);
  background:linear-gradient(135deg,color-mix(in srgb,var(--cmx-accent,#b80017) 8%,transparent 92%),transparent 62%);
  transform:rotate(-8deg);
  z-index:-1;
}
body:not(.cmx-shell-admin) .afMemberGate::after{
  content:"";
  position:absolute;
  inset:12px;
  border-radius:0;
  border:1px solid rgba(255,255,255,.78);
  pointer-events:none;
}
body:not(.cmx-shell-admin) .afMemberGate__media{
  display:flex;
  align-items:center;
  justify-content:center;
  min-width:0;
}
body:not(.cmx-shell-admin) .afMemberGate__orb{
  position:relative;
  display:grid;
  place-items:center;
  width:154px;
  height:154px;
  border-radius:0;
  background:radial-gradient(circle at 35% 28%,#ffffff 0%,#fff5f6 48%,color-mix(in srgb,var(--cmx-accent,#b80017) 10%,#ffffff 90%) 100%);
  box-shadow:0 16px 34px rgba(94,0,16,.12),inset 0 0 0 10px rgba(255,255,255,.78);
}
body:not(.cmx-shell-admin) .afMemberGate__orb::before,
body:not(.cmx-shell-admin) .afMemberGate__orb::after{
  content:"";
  position:absolute;
  border-radius:0;
  border:1px solid color-mix(in srgb,var(--cmx-accent,#b80017) 16%,transparent 84%);
}
body:not(.cmx-shell-admin) .afMemberGate__orb::before{inset:-16px;opacity:.32;}
body:not(.cmx-shell-admin) .afMemberGate__orb::after{inset:18px;opacity:.26;}
body:not(.cmx-shell-admin) .afMemberGate__orb span{
  position:relative;
  z-index:1;
  display:grid;
  place-items:center;
  width:78px;
  height:78px;
  border-radius:0;
  background:linear-gradient(180deg,var(--cmx-accent,#d9001b) 0%,var(--cmx-accent-hover,#8f0012) 100%);
  color:#fff;
  box-shadow:0 14px 26px rgba(135,0,19,.24),inset 0 1px 0 rgba(255,255,255,.28);
}
body:not(.cmx-shell-admin) .afMemberGate__orb i{font-size:33px;line-height:1;}
body:not(.cmx-shell-admin) .afMemberGate__body{
  position:relative;
  z-index:2;
  min-width:0;
}
body:not(.cmx-shell-admin) .afMemberGate__badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:30px;
  padding:0 12px;
  border-radius:0;
  background:color-mix(in srgb,var(--cmx-accent,#b80017) 9%,#ffffff 91%);
  color:var(--cmx-accent-hover,#8f0012);
  font-size:12px;
  line-height:1;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.04em;
}
body:not(.cmx-shell-admin) .afMemberGate__badge i{font-size:13px;}
body:not(.cmx-shell-admin) .afMemberGate h1{
  margin:18px 0 10px;
  color:var(--cmx-text,#111827);
  font-size:clamp(30px,4vw,44px);
  line-height:1.06;
  font-weight:900;
  letter-spacing:-.035em;
}
body:not(.cmx-shell-admin) .afMemberGate p{
  max-width:590px;
  margin:0;
  color:color-mix(in srgb,var(--cmx-text,#111827) 76%,#64748b 24%);
  font-size:17px;
  line-height:1.65;
  font-weight:500;
}
body:not(.cmx-shell-admin) .afMemberGate__actions{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:14px;
  margin-top:28px;
}
body:not(.cmx-shell-admin) .afMemberGate__btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-width:168px;
  min-height:54px;
  padding:0 24px;
  border-radius:0;
  border:1px solid color-mix(in srgb,var(--cmx-accent,#b80017) 72%,#111827 28%);
  text-decoration:none!important;
  font-size:15.5px;
  line-height:1;
  font-weight:900;
  transition:transform .16s ease,box-shadow .16s ease,filter .16s ease;
}
body:not(.cmx-shell-admin) .afMemberGate__btn:hover{transform:translateY(-1px);}
body:not(.cmx-shell-admin) .afMemberGate__btn--primary{
  background:linear-gradient(180deg,var(--cmx-accent,#d9001b) 0%,var(--cmx-accent-hover,#8f0012) 100%);
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  box-shadow:0 12px 24px rgba(143,0,18,.22),inset 0 1px 0 rgba(255,255,255,.24);
}
body:not(.cmx-shell-admin) .afMemberGate__btn--primary *{color:#fff!important;-webkit-text-fill-color:#fff!important;}
body:not(.cmx-shell-admin) .afMemberGate__btn--ghost{
  background:rgba(255,255,255,.74);
  color:var(--cmx-accent-hover,#8f0012)!important;
  -webkit-text-fill-color:var(--cmx-accent-hover,#8f0012)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.92);
}
body:not(.cmx-shell-admin) .afMemberGate__art{
  position:relative;
  z-index:1;
  display:grid;
  place-items:center;
  min-height:150px;
  color:color-mix(in srgb,var(--cmx-accent,#b80017) 22%,transparent 78%);
}
body:not(.cmx-shell-admin) .afMemberGate__art .fa-users{
  font-size:104px;
  opacity:.42;
}
body:not(.cmx-shell-admin) .afMemberGate__art .fa-lock{
  position:absolute;
  left:50%;
  top:58%;
  transform:translate(-50%,-50%);
  width:56px;
  height:56px;
  display:grid;
  place-items:center;
  border:3px solid currentColor;
  border-radius:0;
  background:rgba(255,255,255,.64);
  font-size:24px;
  opacity:.65;
}
body:not(.cmx-shell-admin) .afMemberGate__note{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  max-width:760px;
  margin:18px auto 0;
  color:#8a94a6;
  font-size:13px;
  line-height:1.4;
  font-weight:700;
}
body:not(.cmx-shell-admin) .afMemberGate__note::before,
body:not(.cmx-shell-admin) .afMemberGate__note::after{
  content:"";
  flex:1 1 80px;
  max-width:190px;
  height:1px;
  background:linear-gradient(90deg,transparent,#d9dfe8,transparent);
}
@media (max-width:860px){
  body:not(.cmx-shell-admin) .afMemberGateWrap{margin:22px auto 28px;padding:0 14px;}
  body:not(.cmx-shell-admin) .afMemberGate{
    grid-template-columns:minmax(0,1fr);
    gap:0;
    min-height:0;
    padding:58px 22px 24px;
    text-align:center;
    border-radius:0;
    overflow:visible;
  }
  body:not(.cmx-shell-admin) .afMemberGate__media{
    position:absolute;
    left:50%;
    top:-38px;
    transform:translateX(-50%);
  }
  body:not(.cmx-shell-admin) .afMemberGate__orb{width:78px;height:78px;box-shadow:0 10px 24px rgba(94,0,16,.13),inset 0 0 0 7px rgba(255,255,255,.82);}
  body:not(.cmx-shell-admin) .afMemberGate__orb::before{inset:-8px;}
  body:not(.cmx-shell-admin) .afMemberGate__orb::after{display:none;}
  body:not(.cmx-shell-admin) .afMemberGate__orb span{width:42px;height:42px;border-radius:0;}
  body:not(.cmx-shell-admin) .afMemberGate__orb i{font-size:20px;}
  body:not(.cmx-shell-admin) .afMemberGate__art{display:none;}
  body:not(.cmx-shell-admin) .afMemberGate h1{margin:16px 0 8px;font-size:clamp(25px,7vw,34px);letter-spacing:-.03em;}
  body:not(.cmx-shell-admin) .afMemberGate p{max-width:none;font-size:14.5px;line-height:1.55;}
  body:not(.cmx-shell-admin) .afMemberGate__actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:22px;}
  body:not(.cmx-shell-admin) .afMemberGate__btn{min-width:0;width:100%;min-height:50px;padding:0 12px;border-radius:0;font-size:14px;}
  body:not(.cmx-shell-admin) .afMemberGate__note{font-size:12px;margin-top:14px;}
}
@media (max-width:440px){
  body:not(.cmx-shell-admin) .afMemberGate{padding:54px 16px 18px;border-radius:0;}
  body:not(.cmx-shell-admin) .afMemberGate__badge{min-height:26px;padding:0 10px;font-size:10.5px;}
  body:not(.cmx-shell-admin) .afMemberGate__actions{grid-template-columns:minmax(0,1fr);}
  body:not(.cmx-shell-admin) .afMemberGate__btn{min-height:48px;}
}
/* /AF-ONLINE-005B */

/* AF-HEADER-001A: desktop header controls should not inherit compact list/button sizing. */
@media (min-width:981px){
  body:not(.cmx-shell-admin) .af-mainNav > a,
  body:not(.cmx-shell-admin) .af-mainNav > button,
  body:not(.cmx-shell-admin) .af-navDrop__toggle,
  body:not(.cmx-shell-admin) .af-shellHeader__quickLink,
  body:not(.cmx-shell-admin) .af-shellHeader__quickMini,
  body:not(.cmx-shell-admin) .af-shellHeader__quickUser,
  body:not(.cmx-shell-admin) .af-shellHeader__ctaLink{
    min-height:38px !important;
    height:38px !important;
    padding:0 14px !important;
    border-radius:0 !important;
    font-size:13px !important;
    line-height:1 !important;
    gap:7px !important;
  }
}

/* AF-HEADER-001C: header/action buttons should not inherit legacy tiny .btn/main-nav rules. */
body:not(.cmx-shell-admin) .af-shellHeader .af-mainNav > a,
body:not(.cmx-shell-admin) .af-shellHeader .main-nav > a,
body:not(.cmx-shell-admin) .af-shellHeader .main-nav > button.nav-btn,
body:not(.cmx-shell-admin) .af-shellHeader .af-navDrop__toggle,
body:not(.cmx-shell-admin) .af-shellHeader .af-shellHeader__quickLink,
body:not(.cmx-shell-admin) .af-shellHeader .af-shellHeader__quickMini,
body:not(.cmx-shell-admin) .af-shellHeader .af-shellHeader__quickUser,
body:not(.cmx-shell-admin) .af-shellHeader .af-shellHeader__ctaLink,
body:not(.cmx-shell-admin) .af-shellHeader .cmxPmPreviewWrap > button{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  flex:0 0 auto!important;
  min-width:0!important;
  min-height:34px!important;
  height:34px!important;
  padding:0 12px!important;
  border-radius:0 !important;
  font-size:12.5px!important;
  font-weight:850!important;
  line-height:1!important;
  white-space:nowrap!important;
}
body:not(.cmx-shell-admin) .af-shellHeader .af-shellHeader__quickText{display:inline!important;}
@media (max-width:980px){
  html:not(.cmx-desktop-window-lock) body:not(.cmx-shell-admin) .af-shellHeader .af-shellHeader__quickText{display:none!important;}
}

/* CMX_MORE_MENU_DESKTOP_V2_CSS_START */
body:not(.cmx-shell-admin) details.topic-actions-more,
body:not(.cmx-shell-admin) details.cmx-refPostMenu{position:relative !important;overflow:visible !important;z-index:50 !important;border-radius:0 !important;}
body:not(.cmx-shell-admin) details.topic-actions-more[open],
body:not(.cmx-shell-admin) details.cmx-refPostMenu[open],
body:not(.cmx-shell-admin) details.topic-actions-more.is-open,
body:not(.cmx-shell-admin) details.cmx-refPostMenu.is-open{z-index:250000 !important;overflow:visible !important;}
body:not(.cmx-shell-admin) details.topic-actions-more > summary,
body:not(.cmx-shell-admin) details.cmx-refPostMenu > summary,
body:not(.cmx-shell-admin) .topic-actions-more__toggle,
body:not(.cmx-shell-admin) .cmx-refPostMenu__toggle{cursor:pointer !important;pointer-events:auto !important;user-select:none !important;list-style:none !important;border-radius:0 !important;position:relative !important;z-index:250010 !important;}
body:not(.cmx-shell-admin) details.topic-actions-more > summary::-webkit-details-marker,
body:not(.cmx-shell-admin) details.cmx-refPostMenu > summary::-webkit-details-marker{display:none !important;}
body:not(.cmx-shell-admin) details.topic-actions-more[open] > .topic-actions-menu,
body:not(.cmx-shell-admin) details.topic-actions-more.is-open > .topic-actions-menu,
body:not(.cmx-shell-admin) details.cmx-refPostMenu[open] > .cmx-refPostMenu__list,
body:not(.cmx-shell-admin) details.cmx-refPostMenu.is-open > .cmx-refPostMenu__list{display:grid !important;visibility:visible !important;opacity:1 !important;pointer-events:auto !important;position:absolute !important;top:calc(100% + 6px) !important;right:0 !important;left:auto !important;z-index:250020 !important;border-radius:0 !important;overflow:visible !important;}
body:not(.cmx-shell-admin) details.topic-actions-more > .topic-actions-menu,
body:not(.cmx-shell-admin) details.cmx-refPostMenu > .cmx-refPostMenu__list{border-radius:0 !important;}
body:not(.cmx-shell-admin) .m1-threadHero,
body:not(.cmx-shell-admin) .m1-threadHero .block-container,
body:not(.cmx-shell-admin) .m1-threadHero .block-body,
body:not(.cmx-shell-admin) .m1-threadHero-body,
body:not(.cmx-shell-admin) .m1-threadHero-actions,
body:not(.cmx-shell-admin) .cmx-threadHeader-actions,
body:not(.cmx-shell-admin) .cmx-threadHeader-menu,
body:not(.cmx-shell-admin) .post,
body:not(.cmx-shell-admin) .m1-post,
body:not(.cmx-shell-admin) .m1-post__main,
body:not(.cmx-shell-admin) .cmx-refPostFooter,
body:not(.cmx-shell-admin) .cmx-refPostFooter__secondary,
body:not(.cmx-shell-admin) .block-container{overflow:visible !important;}
@media (max-width:720px){
  html:not(.cmx-desktop-window-lock) body:not(.cmx-shell-admin) details.topic-actions-more[open] > .topic-actions-menu,
  html:not(.cmx-desktop-window-lock) body:not(.cmx-shell-admin) details.topic-actions-more.is-open > .topic-actions-menu{position:fixed !important;left:50% !important;right:auto !important;top:auto !important;bottom:max(14px, env(safe-area-inset-bottom,0px)) !important;transform:translateX(-50%) !important;width:min(270px,calc(100vw - 48px)) !important;max-height:min(70vh,440px) !important;overflow:auto !important;}
  html:not(.cmx-desktop-window-lock) body:not(.cmx-shell-admin) details.cmx-refPostMenu[open] > .cmx-refPostMenu__list,
  html:not(.cmx-desktop-window-lock) body:not(.cmx-shell-admin) details.cmx-refPostMenu.is-open > .cmx-refPostMenu__list{position:fixed !important;left:10px !important;right:10px !important;top:auto !important;bottom:max(10px, env(safe-area-inset-bottom,0px)) !important;width:auto !important;max-height:min(68vh,420px) !important;overflow:auto !important;}
}
/* CMX_MORE_MENU_DESKTOP_V2_CSS_END */



/* CMX more menu root repair 20260606 */
body.cmx-theme-chrismx_artan_forum:not(.cmx-shell-admin) details.topic-actions-more,
body.cmx-theme-chrismx_artan_forum:not(.cmx-shell-admin) details.cmx-refPostMenu{
  position:relative!important;
  display:inline-block!important;
  overflow:visible!important;
  pointer-events:auto!important;
  border-radius:0 !important;
}
body.cmx-theme-chrismx_artan_forum:not(.cmx-shell-admin) details.topic-actions-more > summary.topic-actions-more__toggle,
body.cmx-theme-chrismx_artan_forum:not(.cmx-shell-admin) details.cmx-refPostMenu > summary.cmx-refPostMenu__toggle{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  cursor:pointer!important;
  pointer-events:auto!important;
  user-select:none!important;
  border-radius:0 !important;
}
body.cmx-theme-chrismx_artan_forum:not(.cmx-shell-admin) details.topic-actions-more > summary::-webkit-details-marker,
body.cmx-theme-chrismx_artan_forum:not(.cmx-shell-admin) details.cmx-refPostMenu > summary::-webkit-details-marker{
  display:none!important;
}
body.cmx-theme-chrismx_artan_forum:not(.cmx-shell-admin) details.topic-actions-more > .topic-actions-menu,
body.cmx-theme-chrismx_artan_forum:not(.cmx-shell-admin) details.cmx-refPostMenu > .cmx-refPostMenu__list{
  position:absolute!important;
  top:calc(100% + 8px)!important;
  right:0!important;
  z-index:999999!important;
  min-width:220px!important;
  max-width:min(320px,calc(100vw - 24px))!important;
  display:none!important;
  visibility:visible!important;
  opacity:1!important;
  pointer-events:auto!important;
  overflow:visible!important;
  border-radius:0 !important;
}
body.cmx-theme-chrismx_artan_forum:not(.cmx-shell-admin) details.topic-actions-more[open] > .topic-actions-menu,
body.cmx-theme-chrismx_artan_forum:not(.cmx-shell-admin) details.topic-actions-more.is-open > .topic-actions-menu,
body.cmx-theme-chrismx_artan_forum:not(.cmx-shell-admin) details.cmx-refPostMenu[open] > .cmx-refPostMenu__list,
body.cmx-theme-chrismx_artan_forum:not(.cmx-shell-admin) details.cmx-refPostMenu.is-open > .cmx-refPostMenu__list{
  display:grid!important;
}
body.cmx-theme-chrismx_artan_forum:not(.cmx-shell-admin) .m1-threadHero,
body.cmx-theme-chrismx_artan_forum:not(.cmx-shell-admin) .m1-threadHero .block-container,
body.cmx-theme-chrismx_artan_forum:not(.cmx-shell-admin) .m1-threadHero .block-body,
body.cmx-theme-chrismx_artan_forum:not(.cmx-shell-admin) .m1-threadHero-body,
body.cmx-theme-chrismx_artan_forum:not(.cmx-shell-admin) .m1-threadHero-actions,
body.cmx-theme-chrismx_artan_forum:not(.cmx-shell-admin) .cmx-threadHeader-actions,
body.cmx-theme-chrismx_artan_forum:not(.cmx-shell-admin) .cmx-refPostFooter,
body.cmx-theme-chrismx_artan_forum:not(.cmx-shell-admin) .cmx-refPostFooter__secondary{
  overflow:visible!important;
}
body.cmx-theme-chrismx_artan_forum:not(.cmx-shell-admin) .topic-actions-menu .topic-menu-item,
body.cmx-theme-chrismx_artan_forum:not(.cmx-shell-admin) .topic-actions-menu button.topic-menu-item,
body.cmx-theme-chrismx_artan_forum:not(.cmx-shell-admin) .cmx-refPostMenu__list .cmx-refPostMenu__item,
body.cmx-theme-chrismx_artan_forum:not(.cmx-shell-admin) .cmx-refPostMenu__list button.cmx-refPostMenu__item{
  pointer-events:auto!important;
  cursor:pointer!important;
  border-radius:0 !important;
}
@media (max-width:768px){
  body.cmx-theme-chrismx_artan_forum:not(.cmx-shell-admin) details.topic-actions-more > .topic-actions-menu,
  body.cmx-theme-chrismx_artan_forum:not(.cmx-shell-admin) details.cmx-refPostMenu > .cmx-refPostMenu__list{
    max-width:calc(100vw - 24px)!important;
  }
}
/* /CMX more menu root repair 20260606 */