@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700;800&display=swap');

@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
  --r10-primary: #3aa2df;
  --r10-dark: #343a4d;
  --r10-darker: #2b2b39;
  --r10-header-bg: #3a4453;
  --r10-bg: #e9eef1;
  --r10-text-dark: #4d4d62;
}

/* ========== Mobil uyumluluk (tam ekran, taşma yok) ========== */
html {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
main {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
main img,
.rPanel .content img,
.threadList img {
  max-width: 100%;
  height: auto;
}
/* İçerik taşması önleme (tüm sayfalar) */
main pre,
main table,
main .content pre,
main .content table,
.post-body pre,
.post-body table,
.rPanel .content pre,
.threadList + * pre {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  word-break: break-word;
}
main .content,
main .post-body,
.topic-post .content,
.post-content {
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
}
main .content img,
main .post-body img,
.topic-post .content img,
.post-content img,
.postContent img,
.userMessage img {
  max-width: 100%;
  height: auto;
}
.postContent,
.userMessage,
main .text-gray-800.whitespace-pre-wrap {
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
}
.postContent pre,
.userMessage pre,
main .text-gray-800 pre { max-width: 100%; overflow-x: auto; }

@media (max-width: 768px) {
  .container { width: 100%; max-width: 100%; padding-left: 12px; padding-right: 12px; box-sizing: border-box; }
  .breadCrumb { padding: 10px 12px; }
  .breadCrumb .top { flex-wrap: wrap; gap: 8px; }
  .breadCrumb .top .left h1 { font-size: 1.1rem; word-break: break-word; }
  .breadCrumb .bottom ul { flex-wrap: wrap; gap: 4px; }
  .threadList .head ul { gap: 8px; padding: 8px 12px; }
  /* threadList mobile - sıfırdan */
  .threadList .thread ol {
    padding: 12px;
    display: grid;
    grid-template-columns: 32px 44px 1fr;
    grid-template-rows: auto auto auto;
    gap: 8px 10px;
    align-items: start;
  }
  .threadList .thread ol li:nth-child(1) { grid-column: 1; grid-row: 1; width: auto !important; align-self: center; color: #666; font-size: 14px; }
  .threadList .thread ol li:nth-child(2) { grid-column: 2; grid-row: 1; width: auto !important; }
  .threadList .thread .avatar { width: 40px; height: 40px; }
  .threadList .thread ol li:nth-child(3) { grid-column: 1 / -1; grid-row: 2; min-width: 0; }
  .threadList .thread ol li:nth-child(4) { display: none; }
  .threadList .thread ol li:nth-child(5) { display: none; }
  .threadList .thread .title { margin-bottom: 6px; }
  .threadList .thread .title a { word-break: break-word; font-size: 0.95rem; line-height: 1.35; }
  .threadList .thread .user .desktop { display: none; }
  .threadList .thread .user .mobile {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px 8px;
    width: 100%;
    font-size: 0.8rem;
    flex: 1;
    min-width: 0;
  }
  .threadList .thread .user .mobile .left {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 6px;
    flex: 1;
    min-width: 0;
  }
  .threadList .thread .user .mobile .left a.usernames { color: var(--r10-primary); text-decoration: none; font-weight: 500; }
  .threadList .thread .user .mobile .left a.usernames:hover { text-decoration: underline; }
  .threadList .thread .user .mobile .r10Badge-verified { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .threadList .thread .user .mobile .threadlist-badge-mobile {
    display: inline-flex; align-items: center; justify-content: center;
    width: 16px; height: 16px; border-radius: 50%; font-size: 8px;
    flex-shrink: 0;
  }
  .threadList .thread .user .mobile .threadlist-badge-mobile.r10Badge-verified { width: 14px; height: 14px; background: transparent; }
  .threadList .thread .user .mobile .threadlist-badge-mobile.r10Badge-fast2faii { background: #1d9bf0; color: #fff; }
  .threadList .thread .user .mobile .threadlist-badge-mobile.r10Badge-1 { background: #10b981; color: #fff; }
  .threadList .thread .user .mobile .threadlist-badge-mobile.r10Badge-2 { background: #3b82f6; color: #fff; }
  .threadList .thread .user .mobile .threadlist-badge-mobile.r10Badge-3 { background: #f59e0b; color: #fff; }
  .threadList .thread .user .mobile .threadlist-badge-mobile.r10Badge-4 { background: #ef4444; color: #fff; }
  .threadList .thread .user .mobile .threadlist-badge-mobile.r10Badge-5 { background: #8b5cf6; color: #fff; }
  .threadList .thread .user .mobile .threadlist-badge-mobile.r10Badge-7 { background: #ec4899; color: #fff; }
  .threadList .thread .user .mobile .user-rank-mobile {
    display: inline-flex; align-items: center; padding: 1px 6px; border-radius: 3px;
    color: #fff; font-size: 0.65rem; font-weight: 600; flex-shrink: 0;
  }
  .threadList .thread .user .mobile .thread-mobile-date { color: #888; font-size: 0.7rem; }
  .threadList .thread .user .mobile .thread-mobile-status {
    display: inline-block; padding: 0 3px; border-radius: 2px; font-size: 0.65rem; flex-shrink: 0;
  }
  .threadList .thread .user .mobile .pull-right { margin-left: auto; flex-shrink: 0; }
  .threadList .thread .user .mobile .thread-mobile-link {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; color: var(--r10-primary); text-decoration: none;
    border-radius: 6px; background: rgba(58, 162, 223, 0.1);
  }
  .threadList { overflow-x: hidden; max-width: 100%; }
  .threadList .head .child { max-width: calc(100vw - 24px); min-width: 0; }
  .pagination { padding: 10px 12px; flex-direction: column; align-items: stretch; }
  .pagination .left, .pagination .right { justify-content: center; }
  .pagination.filter { flex-direction: row; justify-content: flex-end; }
  .pagination.filter .left { display: none; }
  .pagination.filter .right { justify-content: flex-end; margin-left: 0; }
  .pagination.filter .right .rbtn { padding: 6px 10px; font-size: 0.8rem; margin-right: 0 !important; }
  .iconArea { padding: 10px 12px; flex-direction: column; align-items: flex-start; gap: 8px; }
  /* index.php - Recent topics & forum list mobile */
  .topic-item { min-width: 0; }
  .topic-item > * { min-width: 0; }
  .topic-preview-link { word-break: break-word; }
  .topic-item .col-span-2 { font-size: 0.7rem; }
  .tab-underline { flex-shrink: 0; padding: 10px 12px !important; font-size: 0.8rem !important; }
  .tab-underline i { margin-right: 4px; }
  /* index.php forum list: mobilde ikon gizli (hidden md:flex), içerik col-span-12 ile tam genişlik; desktop düzeni korunur */
  .rounded.overflow-hidden.shadow-sm .bg-white.border-b .grid { gap: 8px 0; }
  /* Profile tab container */
  .profile-page .bg-white.border.rounded-lg.overflow-hidden.mb-4 { margin-left: 0; margin-right: 0; overflow: hidden; }
  .profile-page .flex.w-full.justify-start.bg-gray-100.border-b { padding: 0 4px; -webkit-overflow-scrolling: touch; }
  .profile-page .flex.w-full.justify-start.bg-gray-100.border-b a { white-space: nowrap; }
  .profile-page .bg-white.rounded-lg.overflow-hidden .p-4 { padding: 12px !important; }
  .r10-section-header { padding-left: 12px; padding-right: 12px; }
  .rounded.overflow-hidden.shadow-sm .bg-white { word-break: break-word; }
  /* rPanel / create-topic */
  .rPanel .head { padding: 10px 12px; }
  .rPanel .content { padding: 12px; max-height: none; }
  .rPanel .buttons { padding: 12px; }
  /* Genel içerik */
  main h1 { font-size: 1.35rem; word-break: break-word; }
  main .text-3xl { font-size: 1.35rem !important; }
  /* topic.php / konu içeriği */
  .topic-post .content,
  .bg-white.rounded-lg .content { padding: 12px; }
  /* topic.php mobile - sıfırdan CSS */
  /* Breadcrumb */
  .breadcrumb.mb-6 { padding: 0 12px; font-size: 0.75rem; margin-bottom: 8px !important; }
  .breadcrumb.mb-6 a { font-size: 0.75rem; }
  .breadcrumb.mb-6 .px-2 { padding-left: 3px; padding-right: 3px; font-size: 0.7rem; }
  /* Topic header card - mobil uyumlu */
  .topic-header-card { padding: 12px 14px !important; margin-bottom: 16px !important; }
  .topic-header-card h1 { font-size: 1.2rem !important; line-height: 1.35; word-break: break-word; }
  .topic-header-card .flex.flex-col { gap: 10px; }
  .topic-meta-row { flex-wrap: wrap; gap: 6px 8px; font-size: 0.7rem; padding-top: 10px !important; margin-top: 10px !important; }
  .topic-meta-row .meta-item { flex-shrink: 0; padding: 0 6px !important; border-right: 1px solid #e5e7eb; }
  .topic-meta-row .meta-item:last-child { border-right: none; }
  .topic-meta-row .meta-item i { font-size: 0.7rem; }
  .topic-action-btn { font-size: 0.7rem; padding: 6px 8px; min-height: 32px; }
  .topic-action-btn [data-lucide] { width: 14px; height: 14px; flex-shrink: 0; }
  .topic-share-btns { flex-wrap: wrap; gap: 4px; }
  .topic-share-btns a { font-size: 0.7rem; padding: 5px 8px; }
  .topic-owner-toggle { font-size: 0.75rem !important; padding: 6px 10px !important; white-space: nowrap; }
  .topic-owner-menu { max-height: 70vh; overflow-y: auto; }
  /* Original post */
  .topic-original-post .flex { flex-direction: column; gap: 12px; }
  /* postauthorboxx mobil: kart kaldırıldı, ince çubuk – üstte avatar | kullanıcı adı + tik + rozetler, altında rank (kullanıcı adının altında) */
  .topic-original-post .postauthorboxx {
    max-width: 100%;
    width: 100% !important;
    margin-bottom: 12px;
    padding: 10px 12px !important;
    order: 1;
    display: grid !important;
    grid-template-columns: 48px 1fr;
    grid-template-rows: auto auto;
    gap: 8px 10px;
    align-items: start;
    background: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px;
  }

  .topic-original-post .flex-1 { order: 2; }

  .postauthorboxx .root_smalltext1 {
    display: contents !important;
  }

  .postauthorboxx > div:first-child {
    grid-column: 1 / -1;
    display: flex !important;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    align-content: flex-start;
    gap: 8px 10px;
    order: 1;
  }

  .postauthorboxx .postauthor-details {
    grid-column: 2;
    grid-row: 2;
    order: 2;
    margin: 0 !important;
  }

  .postauthorboxx .root_smalltext1 > div:first-child {
    grid-column: 2;
    grid-row: 2;
    margin-top: 0;
    margin-left: 0;
    display: flex;
    justify-content: flex-start;
  }

  .postauthorboxx .postauthor-toggle-checkbox,
  .postauthorboxx .postauthor-toggle-btn {
    display: none !important;
  }

  .postauthorboxx .postbit-avatar { order: 1; }
  .postauthorboxx .postbitdetail { order: 2; }
  .postauthorboxx .responsiveshow { order: 3; padding: 0 !important; }

  .postauthorboxx .postbitdetail {
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    margin: 0;
  }
  /* Mobilde açık arka planda plansız üye adı okunaklı olsun */
  .postauthorboxx .postbitdetail .postfontsize { font-size: 0.9rem; color: #1f2937 !important; }
  .postauthorboxx .postbitdetail .postfontsize a { color: var(--r10-primary) !important; }
  .postauthorboxx .postbitdetail .postfontsize a:hover { color: #2a92cf !important; text-decoration: underline; }
  .postauthorboxx .postbitdetail .r10Badge-verified { width: 18px; height: 18px; margin-left: 4px; }
  .postauthorboxx .postbitdetail .r10Badge-verified svg { width: 16px; height: 16px; }

  .postauthorboxx .postauthor-status-text { display: block !important; text-align: center; }

  .postauthorboxx .postbit-avatar {
    margin: 0 !important;
    position: relative;
  }
  .postauthorboxx .postbit-avatar a { position: relative; display: block; }
  .postauthorboxx .postbit-avatar .status {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: #9ca3af;
  }
  .postauthorboxx .postbit-avatar .status.on { background: #10b981; }
  .postauthorboxx .postbit-avatar img {
    width: 48px !important;
    height: 48px !important;
    border-radius: 6px;
    object-fit: cover;
  }

  .postauthorboxx .postauthor-details {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
  }

  .postauthorboxx .post-row { display: none !important; }

  .postauthorboxx .usertitlebox {
    min-height: auto !important;
    padding: 0 !important;
    text-align: left !important;
    justify-content: flex-start !important;
  }
  .postauthorboxx .usertitlebox img.rank-badge-image {
    /* Mobilde konu sahibinin rank görseli, cevap kartı ile aynı boyut */
    max-width: 110px !important;
    max-height: 55px !important;
  }
  .postcontrol { flex-direction: column; align-items: flex-start; gap: 8px; padding-top: 8px; }
  .postcontrol .pright { margin-left: 0; }
  .postbit_button { font-size: 0.75rem; padding: 6px 10px; }
  /* Post cards (replies) */
  /* Mobilde cevap kartı kenarlara yapışmasın, tam w-full görünmesin */
  .topic-post-card {
    padding: 0 !important;
    margin: 0 10px 10px; /* soldan/sağdan boşluk */
  }
  .topic-post-card .head { padding: 6px 12px; font-size: 0.65rem; flex-wrap: wrap; }
  .topic-post-card .head .left { font-size: 0.65rem; }
  .topic-post-card .head .right { font-size: 0.65rem; gap: 6px; }
  .topic-post-card .head .right a { font-size: 0.65rem; }
  .topic-post-card .postUser { padding: 10px 12px; }
  .topic-post-card .postUser .userLeft { gap: 8px; flex-wrap: wrap; }
  .topic-post-card .postUser .avatar { flex-shrink: 0; }
  .topic-post-card .postUser .avatar img { width: 50px !important; height: 50px !important; }
  .topic-post-card .postUser .smallInfo { flex: 1; min-width: 0; }
  .topic-post-card .postUser .smallInfo .name { font-size: 0.8rem; gap: 3px; }
  .topic-post-card .postUser .smallInfo .name > a { font-size: 0.8rem; }
  .topic-post-card .postUser .post-verified-badge { width: 16px; height: 16px; }
  .topic-post-card .postUser .post-verified-badge svg { width: 14px; height: 14px; }
  .topic-post-card .postUser .smallInfo .name .threadlist-badge { width: 16px; height: 16px; font-size: 9px; }
  .topic-post-card .postUser .smallInfo .name .user-rank { font-size: 0.65rem; padding: 2px 5px; }
  .topic-post-card .postUser .company-title { font-size: 0.65rem; padding: 2px 5px; }
  .topic-post-card .postContent { padding: 10px 12px; font-size: 0.8rem; line-height: 1.5; word-break: break-word; }
  .topic-post-card .postButtons { padding: 8px 12px; flex-wrap: wrap; gap: 6px; }
  .topic-post-card .postButtons .robtn { font-size: 0.65rem; padding: 4px 8px; }
  .topic-post-card .userSignature { padding: 8px 12px; font-size: 0.65rem; }
  .topic-post-card .postLike { margin-top: 8px; padding-top: 8px; }
  .topic-post-card .postLike .button a { font-size: 0.7rem; padding: 5px 10px; }
  /* Reply form */
  .r10-card { padding: 12px !important; }
  .r10-card h3 { font-size: 0.95rem; margin-bottom: 10px; }
  .r10-section-header { padding: 8px 12px !important; font-size: 0.8rem; }
  /* Similar topics */
  .bg-white.border.rounded-lg ul li { padding: 8px 12px !important; }
  .bg-white.border.rounded-lg ul li a { font-size: 0.8rem; }
  .bg-white.border.rounded-lg ul li span { font-size: 0.65rem; }
  /* Poll */
  .r10-card h3.text-lg { font-size: 0.9rem; }
  .r10-card .text-sm { font-size: 0.7rem; }
  .r10-card ul.space-y-2 { gap: 8px; }
  .r10-card button { font-size: 0.7rem; padding: 5px 10px; }
  .postContent, .userMessage { padding: 8px 0; }
  /* Formlar (create-topic, login vb.) */
  main input[type="text"],
  main input[type="email"],
  main input[type="password"],
  main textarea,
  main select { max-width: 100%; box-sizing: border-box; }
  /* Tüm sayfalar: main içi max-w kutuları mobilde tam genişlik ve yatay boşluk */
  main .max-w-2xl.mx-auto,
  main .max-w-3xl.mx-auto,
  main .max-w-4xl.mx-auto,
  main .max-w-xl.mx-auto,
  main .max-w-6xl.mx-auto { width: 100%; max-width: 100%; box-sizing: border-box; padding-left: 12px; padding-right: 12px; }
  main .max-w-2xl.mx-auto.bg-white,
  main .max-w-3xl.mx-auto.bg-white,
  main .max-w-4xl.mx-auto.bg-white { padding-left: 12px; padding-right: 12px; }
}

/* Subcategories pills (forum.php) */
.subcategories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  align-items: center;
}
.subcategories-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #64748b;
  margin-right: 8px;
}
.subcategories-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-size: 0.875rem;
  color: var(--r10-primary);
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.subcategories-item i {
  font-size: 0.95rem;
  line-height: 1;
}
.subcategories-item:hover {
  background: var(--r10-primary);
  color: #ffffff;
  border-color: var(--r10-primary);
}

@layer base {
  :root {
    --background: 210 20% 93%;
    --foreground: 240 10% 20%;
    --card: 0 0% 100%;
    --card-foreground: 240 10% 20%;
    --popover: 0 0% 100%;
    --popover-foreground: 240 10% 20%;
    --primary: 199 69% 55%;
    --primary-foreground: 0 0% 100%;
    --secondary: 220 15% 25%;
    --secondary-foreground: 0 0% 100%;
    --muted: 220 14% 96%;
    --muted-foreground: 220 8% 46%;
    --accent: 220 14% 96%;
    --accent-foreground: 220 8% 46%;
    --destructive: 0 84% 60%;
    --destructive-foreground: 0 0% 98%;
    --border: 220 13% 91%;
    --input: 220 13% 91%;
    --ring: 199 69% 55%;
    --radius: 0.25rem;
  }

  .dark {
    --background: 240 10% 4%;
    --foreground: 0 0% 98%;
    --card: 240 10% 4%;
    --card-foreground: 0 0% 98%;
    --popover: 240 10% 4%;
    --popover-foreground: 0 0% 98%;
    --primary: 199 69% 55%;
    --primary-foreground: 0 0% 100%;
    --secondary: 240 4% 16%;
    --secondary-foreground: 0 0% 98%;
    --muted: 240 4% 16%;
    --muted-foreground: 240 5% 65%;
    --accent: 240 4% 16%;
    --accent-foreground: 0 0% 98%;
    --destructive: 0 62% 30%;
    --destructive-foreground: 0 0% 98%;
    --border: 240 4% 16%;
    --input: 240 4% 16%;
    --ring: 199 69% 55%;
  }
}

@layer base {
  * {
    @apply border-border;
  }
  body {
    @apply bg-background text-foreground;
    font-family: 'Open Sans', sans-serif;
  }
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--r10-bg);
}

::-webkit-scrollbar-thumb {
  background: #c0c0c0;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #a0a0a0;
}

/* Forum category headers - R10 light (no dark) */
.forum-category-header {
  background: linear-gradient(to right, var(--r10-header-bg), #4d5566);
  color: #fff;
  border-radius: 6px 6px 0 0;
}

/* R10 light section header - dark olmayacak */
.r10-section-header {
  background: #1d3354;
  color: #fff;
  border: 1px solid #2a4466;
  border-radius: 6px 6px 0 0;
  font-weight: 600;
}

/* R10 button primary */
.r10-btn-primary {
  background: var(--r10-primary);
  color: #fff;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.2s;
}
.r10-btn-primary:hover {
  background: #2a92cf;
  color: #fff;
}

/* Sticky bottom menu – mobil safe area */
.sticky-menu.safe-area-pb { padding-bottom: env(safe-area-inset-bottom, 0); }

/* Footer – site renkleri ve header ile uyumlu */
.site-footer {
  background: var(--r10-header-bg, #1d3354);
  color: #fff;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.site-footer a { color: #e6eef6; text-decoration: none; }
.site-footer a:hover { color: var(--r10-primary); text-decoration: underline; }
.site-footer .footer-links a { color: #dfeaf2; }
.site-footer .footer-links a:hover { color: var(--r10-primary); }
.site-footer .w-10.h-10 { flex-shrink: 0; }

/* Footer v2 – container site ile aynı genişlik */
.site-footer.v2 .container { max-width: 1600px; margin-left: auto; margin-right: auto; padding-left: 0; padding-right: 0; box-sizing: border-box; width: 100%; }
.site-footer.v2 .footerMisc,
.site-footer.v2 .footerTop,
.site-footer.v2 .info,
.site-footer.v2 .contacts,
.site-footer.v2 .footerBar { padding-left: 24px; padding-right: 24px; max-width: 1600px; margin-left: auto; margin-right: auto; width: 100%; box-sizing: border-box; }

/* Banner grid (footer üstü) – site genişliği, footer-banner-wrap ile sarılı */
.footer-banner-wrap { max-width: 1600px; margin-left: auto; margin-right: auto; width: 100%; box-sizing: border-box; }

/* subtle footer cards on dark background */
.site-footer .r10-card { background: rgba(255,255,255,0.03); border-color: rgba(255,255,255,0.1); }

/* Footer social links – primary renk */
.site-footer .footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  color: #e6eef6;
  font-size: 1.25rem;
  transition: background 0.2s, color 0.2s;
}
.site-footer .footer-social-link:hover {
  background: rgba(58, 162, 223, 0.25);
  color: var(--r10-primary);
}

/* Footer stat cards – primary ikon */
.site-footer .stat-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  min-width: 120px;
}
.site-footer .stat-icon { font-size: 1.5rem; color: var(--r10-primary); }
.site-footer .stat-label { font-size: 0.8rem; color: #94a3b8; }
.site-footer .stat-value { font-size: 1rem; font-weight: 700; color: #fff; }

/* Footer stats styles (compact) */
.stats { background: transparent; }
.stats .inner { width: 100%; display:flex; gap:12px; align-items:center; }
.stats .left { display:flex; flex:1; align-items:center; gap:8px; }
.stats .right { display:flex; align-items:center; gap:8px; }
.stats .online { display:flex; align-items:center; gap:10px; background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.03); padding:6px 8px; border-radius:8px; }
.stats .online .count { background: #fff; color:#1d3354; display:inline-flex; align-items:center; justify-content:center; width:36px; height:36px; border-radius:50%; font-size:18px; }
.stats .online .text-sm { font-size:0.85rem; }
.stats .vb { display:flex; gap:6px; align-items:center; }
.stats .vb > div { min-width:96px; text-align:left; background: rgba(255,255,255,0.02); border:1px solid rgba(255,255,255,0.03); padding:6px 8px; border-radius:8px; display:flex; flex-direction:row; align-items:center; justify-content:flex-start; gap:8px; }
.stats .vb > div .text-xl { font-size:18px; }
.stats .vb b { display:inline-block; margin-left:6px; font-size:0.98rem; color:#fff; }
.stat-text .label { color:#dfeaf2; }
.stat-text .value { color:#ffffff; font-weight:700; }
.stats .right a { color: #fff; text-decoration:none; }

/* Last user specific color */
.stats .right .last-user-link { color: #ffffff; font-weight: 700; text-decoration: none; }
.stats .right .last-user-link:hover { color: var(--r10-primary); text-decoration: underline; }

@media (max-width: 768px) {
  .stats .inner { flex-direction:column; gap:8px; align-items:stretch; }
  .stats .vb { flex-wrap:wrap; justify-content:space-between; }
  .stats .link { display:none !important; }
  .stats .vb > div { min-width:48%; }
  /* Footer v2 mobil – site ile aynı padding */
  .site-footer.v2 .container,
  .site-footer.v2 .footerMisc,
  .site-footer.v2 .footerTop,
  .site-footer.v2 .info,
  .site-footer.v2 .contacts,
  .site-footer.v2 .footerBar { padding-left: 12px; padding-right: 12px; }
  .site-footer.v2 .footerMisc > .container > div { gap: 1rem; }
  .site-footer.v2 .footerTop .stats .flex { flex-wrap: wrap; gap: 0.75rem; }
  .site-footer.v2 .stat-card { min-width: 100px; padding: 10px 12px; }
  .site-footer.v2 .info > .container > div { gap: 1rem; }
  .site-footer.v2 .contacts .grid { gap: 1rem; }
  .site-footer.v2 .footerBar .flex-wrap { gap: 0.5rem; justify-content: center; }
  .footer-banner-wrap { padding-left: 12px; padding-right: 12px; }
  /* Header bildirim/mesaj dropdown: tek scroll alanı, mobilde scrollbar gizli */
  .notifications-dropdown-list,
  .messages-dropdown-list {
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .notifications-dropdown-list::-webkit-scrollbar,
  .messages-dropdown-list::-webkit-scrollbar { display: none; }
}

/* Make the main online text and the 'Çevrimiçi Üyeler' link the same, slightly larger size */
.stats .online .text-sm,
.stats .link a,
.stats .online b {
  font-size: 1rem;
}
.stats .link a { font-weight: 600; }
.stats .online b { font-weight: 700; color: #ffffff; }
.stats .online .count { width:40px; height:40px; font-size:18px; }

/* R10 card / panel light */
.r10-card {
  background: #fff;
  border: 1px solid #dce4ec;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

/* Profile page (fresh layout) */
.profile-page {
  background: #f4f6fb;
}
.profile-page .container {
  max-width: 1200px;
}
.profile-page .profile-grid {
  gap: 24px;
}
.profile-page .bg-white.border.border-gray-200.rounded-lg.overflow-hidden {
  border: 1px solid #e3e8ef;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  background: #fff;
}
.profile-page .r10-section-header {
  background: linear-gradient(90deg, #1d3354 0%, #2a4a78 100%);
  color: #fff;
  border: none;
  border-radius: 16px 16px 0 0;
  font-weight: 600;
  letter-spacing: 0.2px;
}
.profile-page .r10-section-header a {
  color: #d6e6ff;
}
.profile-page .r10-section-header a:hover {
  color: #fff;
}
.profile-page .profile-banner {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}
.profile-page .profile-hero {
  text-align: center;
}
.profile-page .profile-avatar {
  border: 3px solid #fff;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.15);
}
.profile-page .profile-username {
  font-size: 20px;
  font-weight: 700;
}
.profile-page .profile-bio {
  color: #586174;
}
.profile-page .profile-actions {
  display: flex;
  gap: 10px;
  margin: 8px 0 6px;
}
.profile-page .profile-actions-stack {
  flex-direction: column;
  margin: 0;
}
.profile-page .profile-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease, color 0.12s ease;
  cursor: pointer;
  flex: 1;
}
.profile-page .profile-actions-stack .profile-action {
  width: 100%;
  flex: none;
}
.profile-page .profile-action-primary {
  background: #1d3354;
  color: #fff;
  box-shadow: 0 10px 20px rgba(29, 51, 84, 0.25);
}
.profile-page .profile-action-primary:hover {
  transform: translateY(-1px);
}
.profile-page .profile-action-secondary {
  background: #f1f5f9;
  color: #1f2937;
  border-color: #e2e8f0;
}
.profile-page .profile-action-secondary:hover {
  background: #e8eef6;
}
.profile-page .profile-action-warning {
  background: #f59e0b;
  color: #fff;
  box-shadow: 0 10px 18px rgba(245, 158, 11, 0.25);
}

/* R10 input / textarea light */
.r10-input {
  background: #fff;
  border: 1px solid #d5dde6;
  color: var(--r10-text-dark);
  border-radius: 6px;
}
.r10-input:focus {
  outline: none;
  border-color: var(--r10-primary);
  box-shadow: 0 0 0 2px rgba(58, 162, 223, 0.2);
}

/* R10 pagination */
.r10-pagination-btn {
  background: #fff;
  border: 1px solid #d5dde6;
  color: var(--r10-text-dark);
  border-radius: 6px;
  transition: all 0.2s;
}
.r10-pagination-btn:hover:not(:disabled) {
  background: var(--r10-primary);
  border-color: var(--r10-primary);
  color: #fff;
}
.r10-pagination-btn:disabled,
.r10-pagination-btn.disabled {
  background: var(--r10-bg);
  color: #94a3b8;
  cursor: not-allowed;
}
.r10-pagination-btn.active {
  background: var(--r10-primary);
  border-color: var(--r10-primary);
  color: #fff;
}

/* Promo bars */
.promo-bar {
  @apply flex items-center justify-between px-4 py-2 text-sm text-white;
}

/* Topic item hover */
.topic-item:hover {
  background-color: rgba(58, 162, 223, 0.05);
}

/* Tab underline animation */
.tab-underline {
  position: relative;
}

.tab-underline::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--r10-primary);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.tab-underline:hover::after,
.tab-underline[data-state="active"]::after {
  transform: scaleX(1);
}

/* Line clamp utility */
.line-clamp-1 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}
.line-clamp-2 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* Login Modal */
.modal-overlay {
  backdrop-filter: blur(2px);
}
.modal-content .form-control:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(58, 162, 223, 0.3);
}
.checkbox-blue input[type="checkbox"]:checked {
  accent-color: #3aa2df;
}

/* Forum icon styling */
.forum-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f0f3f5;
}

/* ========== Forum sayfası (R10.net yapısı) ========== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }
.rc95b27 { display: flex; flex-wrap: wrap; gap: 10px; margin: 10px 0; justify-content: center; }
.rd319b6 { min-height: 91px; }
.rd319b6 img { max-width: 100%; height: auto; display: block; }

.breadCrumb { background: #fff; border: 1px solid #ddd; border-radius: 4px; padding: 12px 16px; margin: 10px 0; }
.breadCrumb .top { display: flex; justify-content: space-between; align-items: flex-start; }
.breadCrumb .top .left { display: flex; gap: 10px; align-items: flex-start; }
.breadCrumb .top .left h1 { margin: 0; font-size: 1.25rem; font-weight: 700; color: var(--r10-dark); }
.breadCrumb .desc { display: block; color: #666; font-size: 0.875rem; margin-top: 4px; }
.breadCrumb .bottom { margin-top: 10px; padding-top: 10px; border-top: 1px solid #eee; }
.breadCrumb .bottom ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0; font-size: 0.875rem; }
.breadCrumb .bottom ul li:not(:last-child)::after { content: " / "; margin: 0 4px; color: #666; font-weight: normal; }
.breadCrumb .bottom a { color: var(--r10-primary); text-decoration: none; }
.breadCrumb .bottom a:hover { text-decoration: underline; }
.breadCrumb .bottom li.active a { color: #333; font-weight: 600; }
.rokito { display: inline-block; width: 24px; height: 24px; background: var(--r10-primary); border-radius: 4px; }

/* Alt forumlar listesi - sütun hizalı */
.forumList.single { background: #fff; border: 1px solid #ddd; border-radius: 4px; margin: 10px 0; overflow: hidden; }

/* Başlık satırları: aynı grid yapısı (ikon | Forum | Son Mesaj | Konu/Yorum) */
.mainForum .mainHead ul,
.mainForum .forumHead ul {
  display: grid;
  grid-template-columns: 48px 1fr 220px 110px;
  list-style: none;
  margin: 0;
  padding: 12px 16px;
  gap: 12px;
  align-items: center;
  font-size: 0.875rem;
  font-weight: 600;
}
.mainForum .mainHead ul {
  background: var(--r10-header-bg);
  color: #fff;
}
.mainForum .forumHead ul {
  background: #e8ecf0;
  color: #333;
}
.mainForum .forumHead ul li:nth-child(2) { font-weight: 600; }

.mainForum > ul { margin: 0; padding: 0; border-bottom: 1px solid #eee; }
.mainForum > ul:last-of-type { border-bottom: none; }

/* Her alt forum satırı - grid ile başlıklarla aynı hizada */
.mainForum .forum ol {
  display: grid;
  grid-template-columns: 48px 1fr 220px 110px;
  list-style: none;
  margin: 0;
  padding: 14px 16px;
  gap: 12px;
  align-items: center;
  min-height: 52px;
}
.mainForum .forum ol li:nth-child(1) {
  display: flex;
  align-items: center;
  justify-content: center;
}
.mainForum .forum ol li:nth-child(2) {
  min-width: 0;
}
.mainForum .forum .title {
  display: block;
  font-weight: 600;
}
.mainForum .forum .title a {
  color: var(--r10-primary);
  font-weight: 600;
  text-decoration: none;
}
.mainForum .forum .title a:hover { text-decoration: underline; }
.mainForum .forum .desc {
  font-size: 0.8rem;
  color: #666;
  margin-top: 4px;
  line-height: 1.3;
}
.mainForum .forum ol li:nth-child(3) {
  font-size: 0.875rem;
  color: #555;
}
.mainForum .forum ol li:nth-child(3) .thread {
  font-weight: 500;
  margin-bottom: 2px;
}
.mainForum .forum ol li:nth-child(3) .info .user a,
.mainForum .forum ol li:nth-child(3) .info .date a {
  color: var(--r10-primary);
  text-decoration: none;
}
.mainForum .forum ol li:nth-child(3) .info .date {
  color: #666;
  font-size: 0.8rem;
}
.mainForum .forum ol li:nth-child(4) {
  text-align: center;
  font-size: 0.8rem;
  color: #666;
}
.mainForum .forum ol li:nth-child(4) .fa-circle {
  font-size: 4px;
  vertical-align: middle;
  margin: 0 4px;
}

.fa.h { opacity: 0.7; }

@media (max-width: 768px) {
  .mainForum .mainHead ul,
  .mainForum .forumHead ul {
    grid-template-columns: 40px 1fr 70px;
  }
  .mainForum .mainHead ul li:nth-child(3),
  .mainForum .forumHead ul li:nth-child(3) { display: none; }
  .mainForum .forum ol {
    grid-template-columns: 40px 1fr 70px;
  }
  .mainForum .forum ol li:nth-child(3) { display: none; }
  .mainForum .forum ol li:nth-child(4) { grid-column: 3; }
}

.pagination { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; background: #f5f5f5; border: 1px solid #ddd; border-radius: 4px; margin: 10px 0; }
.pagination.filter { margin-bottom: 0; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.pagination .rbtn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; background: var(--r10-primary); color: #fff; border-radius: 4px; text-decoration: none; font-weight: 600; font-size: 0.875rem; }
.pagination .rbtn:hover { background: #2a92cf; color: #fff; }
.pagination .right .rbtn { background: #1d3354; }
.pagination .right .rbtn:hover { background: #2a4466; }
.pagination .right ul { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; gap: 4px; align-items: center; }
.pagination .right ul li a { display: inline-block; padding: 6px 10px; background: #fff; border: 1px solid #ddd; border-radius: 4px; color: #333; text-decoration: none; font-size: 0.875rem; }
.pagination .right ul li a:hover { background: var(--r10-primary); color: #fff; border-color: var(--r10-primary); }
.pagination .right ul li.active a { background: var(--r10-primary); color: #fff; border-color: var(--r10-primary); }
.pagination .right ul li.unp a, .pagination .right ul li.prev.unp, .pagination .right ul li.next.unp { cursor: default; opacity: 0.5; }

.threadList { background: #fff; border: 1px solid #ddd; border-top: none; border-radius: 0 0 4px 4px; margin-top: 0; margin-bottom: 10px; overflow: hidden; }
.threadList .head { background: #1d3354; padding: 10px 16px; border-bottom: 1px solid #2a4466; color: #e5e7eb; }
.threadList .head ul { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; gap: 16px; align-items: center; font-size: 0.875rem; font-weight: 600; }
.threadList .head ul li:first-child { flex: 1; }
.threadList .head .hToggler { display: inline-flex; align-items: center; gap: 4px; padding: 6px 12px; background: #ffffff; border: 1px solid #2f3744; border-radius: 4px; color: #334155; text-decoration: none; }
.threadList .head .hToggler:hover { background: #f3f4f6; }
.threadList .head .hToggler.active {
  background: #e9eef1;
  border-color: #c7d2de;
  color: #1f2937;
}
/* Head dropdowns: Seçenekler & Arama */
.threadList .head #konuSecenek,
.threadList .head #konuArama { position: relative; }

.threadList .head .child {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 6px;
  background: #fff;
  border: 1px solid #d5dde6;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  min-width: 240px;
  z-index: 50;
  overflow: hidden;
  text-align: left;
}
.threadList .head #konuArama .child { left: auto; right: 0; }

.threadList .head .child.show { display: block; }

/* Seçenekler dropdown list */
.threadList .head .child ul {
  display: block;
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: left;
}
.threadList .head .child ul li {
  display: block;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid #eee;
  text-align: left;
}
.threadList .head .child ul li:last-child { border-bottom: none; }
.threadList .head .child a {
  display: block;
  padding: 10px 14px;
  color: #334155;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  text-align: left;
}
.threadList .head .child a:hover {
  background: #f4f7fa;
  color: #1d3354;
}

/* Arama dropdown form */
.threadList .head .child form {
  padding: 14px;
  text-align: left;
}
.threadList .head .child input[type="text"] {
  width: 100%;
  box-sizing: border-box;
  padding: 8px 10px;
  margin-bottom: 10px;
  border: 1px solid #d5dde6;
  border-radius: 6px;
  color: #334155;
  font-size: 13px;
  text-align: left;
}
.threadList .head .child .radio {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0;
  text-align: left;
}
.threadList .head .child .radio label {
  margin: 0;
  cursor: pointer;
  font-size: 13px;
  color: #334155;
  text-align: left;
}
.threadList .head .child button {
  display: block;
  width: 100%;
  padding: 8px 14px;
  background: #1d3354;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
}
.threadList .head .child button:hover { background: #2a4466; }

.threadList > ul { margin: 0; padding: 0; list-style: none; }
.threadList .thread { border-bottom: 1px solid #eee; }
.threadList .thread:last-child { border-bottom: none; }
.threadList .thread ol { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 12px 16px; align-items: center; }
.threadList .thread ol li:nth-child(1) { width: 32px; flex-shrink: 0; text-align: center; color: #666; }
.threadList .thread ol li:nth-child(2) { width: 50px; flex-shrink: 0; }
.threadList .thread .avatar { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; }
.threadList .thread .avatar img { width: 100%; height: 100%; object-fit: cover; }
.threadList .thread ol li:nth-child(3) { flex: 1; min-width: 0; }
.threadList .thread .title a { color: var(--r10-primary); font-weight: 400 !important; text-decoration: none; font-size: 0.875rem; }
.threadList .thread .title a:hover { text-decoration: underline; }
.threadList .thread .title a span,
.threadList .thread .title a span[data-toggle="tooltip"] { color: #000 !important; }
.threadList .thread .title a:hover span { color: #000 !important; }
.threadList .thread .title .pages { font-size: 0.7rem; color: #666; margin-left: 4px; }
.threadList .thread .title .pages a { color: var(--r10-primary); }
.threadList .thread .user .desktop { font-size: 0.8rem; }
.threadList .thread .user .desktop a { color: var(--r10-primary); text-decoration: none; }
.threadList .thread .user .mobile { display: none; }
.threadList .thread ol li:nth-child(4) { width: 140px; flex-shrink: 0; font-size: 0.8rem; color: #666; }
.threadList .thread ol li:nth-child(4) .user span a { color: var(--r10-primary); text-decoration: none; }
.threadList .thread ol li:nth-child(5) { width: 80px; flex-shrink: 0; font-size: 0.8rem; color: #666; text-align: center; }

/* Thread Item Additional Styles */
.threadList .thread .avatar {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 40px;
  overflow: visible;
}

.threadList .thread .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.threadList .thread .avatar .status {
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: #9ca3af;
  display: block;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.threadList .thread .avatar .status.on {
  background: #10b981;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
}

/* Avatar çevrimiçi/çevrimdışı göstergesi (index son açılan konular) */
.avatar-status-dot {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid #fff;
  display: block;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}
.avatar-status-dot.offline {
  background: #9ca3af;
}
.avatar-status-dot.online {
  background: #10b981;
}

/* Küçük avatar için (advanced-search) */
.avatar-status-dot-sm {
  width: 8px;
  height: 8px;
  bottom: -1px;
  right: -1px;
}

.threadList .thread .title {
  margin-bottom: 6px;
}

.threadList .thread .title .prefix {
  display: inline-block;
  margin-right: 4px;
}

.threadList .thread .user {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.threadList .thread .user .desktop {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.threadList .thread .user .desktop .usernames {
  color: var(--r10-primary);
  text-decoration: none;
  font-weight: 400;
  font-size: 0.8rem;
}

.threadList .thread .user .desktop .usernames:hover {
  text-decoration: underline;
}

.threadList .thread .user .desktop .r10Badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
}

.threadList .thread .user .desktop .r10Badge-verified {
  background: transparent;
}

.threadList .thread .user .desktop .threadlist-badge {
  border-radius: 50%;
  flex-shrink: 0;
}
.threadList .thread .user .desktop .threadlist-badge.r10Badge-fast2faii { background: #1d9bf0; color: #fff; }
.threadList .thread .user .desktop .threadlist-badge.r10Badge-1 { background: #10b981; color: #fff; }
.threadList .thread .user .desktop .threadlist-badge.r10Badge-2 { background: #3b82f6; color: #fff; }
.threadList .thread .user .desktop .threadlist-badge.r10Badge-3 { background: #f59e0b; color: #fff; }
.threadList .thread .user .desktop .threadlist-badge.r10Badge-4 { background: #ef4444; color: #fff; }
.threadList .thread .user .desktop .threadlist-badge.r10Badge-5 { background: #8b5cf6; color: #fff; }
.threadList .thread .user .desktop .threadlist-badge.r10Badge-7 { background: #ec4899; color: #fff; }

.threadList .thread .user .desktop .user-rank {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 6px;
  border-radius: 4px;
  color: #fff;
  font-size: 10px;
  font-weight: 500;
  margin-left: 4px;
}

.threadList .thread .user .desktop .user-rank svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.threadList .thread .user .mobile {
  display: none;
}

.threadList .thread .user .mobile .left {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #666;
}

.threadList .thread .user .mobile .left a {
  color: var(--r10-primary);
  text-decoration: none;
}

.threadList .thread .user .mobile .pull-right {
  margin-left: auto;
}

.threadList .thread .user .mobile .pull-right a {
  color: var(--r10-primary);
  text-decoration: none;
}

.threadList .thread .icon {
  display: none;
}

.threadList .thread ol li:nth-child(4) .date {
  color: #666;
  font-size: 0.8rem;
  margin-bottom: 4px;
}

.threadList .thread ol li:nth-child(4) .user {
  display: flex;
  align-items: center;
  gap: 8px;
}

.threadList .thread ol li:nth-child(4) .user span:first-child {
  flex: 1;
  min-width: 0;
}

.threadList .thread ol li:nth-child(4) .user span:last-child {
  flex-shrink: 0;
}

.threadList .thread ol li:nth-child(5) span {
  display: inline-block;
  margin: 0 2px;
}

.threadList .thread ol li:nth-child(5) span:nth-child(2) {
  color: #999;
  margin: 0 4px;
}

.threadList .thread .fa.h {
  opacity: 0.5;
}

.threadList .thread .fa.r {
  color: var(--r10-primary);
}

@media (max-width: 768px) {
  .threadList .thread .user .desktop { display: none; }
  .threadList .thread .user .mobile { display: flex; }
}

.iconArea { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; padding: 10px 16px; background: #f9f9f9; border: 1px solid #ddd; border-radius: 4px; margin: 10px 0; font-size: 0.8rem; color: #666; }
.iconArea .left { display: flex; gap: 16px; flex-wrap: wrap; }
.iconArea .forumIcon { display: flex; align-items: center; gap: 6px; }

/* rPanel - genel kurallar / bilgi paneli */
.rPanel { background: #fff; border: 1px solid #ddd; border-radius: 8px; overflow: hidden; margin: 16px 0; }
.rPanel .head { background: #1d3354; padding: 12px 16px; color: #fff; font-size: 1rem; font-weight: 600; }
.rPanel .content { padding: 16px; max-height: 400px; overflow-y: auto; }
.rPanel .content ul { margin: 8px 0; padding-left: 20px; }
.rPanel .content li { margin: 4px 0; }
.rPanel .content a { color: var(--r10-primary); text-decoration: none; }
.rPanel .content a:hover { text-decoration: underline; }
.rPanel .buttons { padding: 16px; border-top: 1px solid #eee; }
.rPanel .robtn { padding: 10px 20px; border: none; border-radius: 6px; font-weight: 600; cursor: pointer; }
.rPanel .rogreen { background: #22c55e; color: #fff; }
.rPanel .rogreen:hover { background: #16a34a; }
.checkbox-blue input[type="checkbox"] { accent-color: var(--r10-primary); margin-right: 8px; }
.checkbox-blue label { cursor: pointer; }

.rPanel.forumSEODesc { background: #fff; border: 1px solid #ddd; border-radius: 4px; padding: 16px; margin: 10px 0; }
.rPanel.forumSEODesc .content p { margin: 0 0 8px; font-size: 0.875rem; color: #444; }
.rPanel.forumSEODesc a[data-readmore-toggle] { color: var(--r10-primary); font-size: 0.875rem; }

/* Profile Badges */
.badges-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  align-items: center;
}

.r10Badge.sidebar-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.2s ease;
  font-size: 14px;
}

.r10Badge.sidebar-badge:hover {
  transform: scale(1.15);
}

.r10Badge.sidebar-badge svg {
  width: 20px;
  height: 20px;
  display: block;
}

.r10Badge.sidebar-badge i {
  font-size: 12px;
}

.r10Badge.sidebar-badge.r10Badge-verified {
  background: transparent;
  color: #1d9bf0;
}

.r10Badge.sidebar-badge.r10Badge-fast2faii {
  background: #1d9bf0;
  color: #fff;
}

.r10Badge.sidebar-badge.r10Badge-1 {
  background: #10b981;
  color: #fff;
}

.r10Badge.sidebar-badge.r10Badge-2 {
  background: #3b82f6;
  color: #fff;
}

.r10Badge.sidebar-badge.r10Badge-3 {
  background: #f59e0b;
  color: #fff;
}

.r10Badge.sidebar-badge.r10Badge-4 {
  background: #ef4444;
  color: #fff;
}

.r10Badge.sidebar-badge.r10Badge-5 {
  background: #8b5cf6;
  color: #fff;
}

.r10Badge.sidebar-badge.r10Badge-7 {
  background: #ec4899;
  color: #fff;
}

/* Profile User Activity */
.userActivity {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 16px;
}

.userActivity .content ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.userActivity .content ul li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
  font-size: 0.875rem;
}

.userActivity .content ul li:last-child {
  border-bottom: none;
}

.userActivity .content ul li span:first-child {
  color: #666;
  font-weight: 500;
}

.userActivity .content ul li span:last-child,
.userActivity .content ul li a {
  color: var(--r10-primary);
  text-decoration: none;
}

.userActivity .content ul li a:hover {
  text-decoration: underline;
}

.userActivity .preparedaction a {
  color: var(--r10-primary);
  text-decoration: none;
}

.userActivity .preparedaction a:hover {
  text-decoration: underline;
}

/* Profile Biography List */
.bg-white .list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bg-white .list li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  font-size: 0.875rem;
}

.bg-white .list li:last-child {
  border-bottom: none;
}

.bg-white .list li span:first-child {
  color: #666;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.bg-white .list li span:last-child,
.bg-white .list li a {
  color: var(--r10-primary);
  text-decoration: none;
}

.bg-white .list li a:hover {
  text-decoration: underline;
}

.bg-white .list li .preparedaction {
  margin: 0;
}

.bg-white .list li .preparedaction a {
  color: var(--r10-primary);
  text-decoration: none;
}

.bg-white .list li .preparedaction a:hover {
  text-decoration: underline;
}

/* Read More */
.readMore {
  color: #444;
  font-size: 0.875rem;
  line-height: 1.6;
}

.profile-about-text {
  max-height: none;
  color: #4b5563;
  font-size: 0.875rem;
  line-height: 1.6;
}

/* Trade Section */
.trader {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 16px;
}

.trader .top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.trader .top .left ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.trader .top .left ul li {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 0.875rem;
}

.trader .top .left ul li span:first-child {
  color: #666;
  font-weight: 500;
}

.trader .top .left ul li.divider {
  border-top: 1px solid #eee;
  margin: 8px 0;
  padding: 8px 0;
}

.trader .top .right .filter ul.nav-tabs {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0 0 12px 0;
  padding: 0;
}

.trader .top .right .filter ul.nav-tabs li a {
  padding: 6px 12px;
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 4px;
  color: #666;
  text-decoration: none;
  font-size: 0.875rem;
  transition: all 0.2s;
}

.trader .top .right .filter ul.nav-tabs li.active a,
.trader .top .right .filter ul.nav-tabs li a:hover {
  background: var(--r10-primary);
  color: #fff;
  border-color: var(--r10-primary);
}

.trader .rate {
  margin-bottom: 12px;
}

.trader .rate .title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
}

.trader .rate-positive .title { color: #10b981; }
.trader .rate-neutral .title { color: #f59e0b; }
.trader .rate-negative .title { color: #ef4444; }

.trader .rate .bar {
  margin-bottom: 4px;
}

.trader .rate .progress {
  height: 8px;
  background: #e5e7eb;
  border-radius: 4px;
  overflow: hidden;
}

.trader .rate .progress-bar {
  height: 100%;
  transition: width 0.3s;
}

.trader .rate-positive .progress-bar { background: #10b981; }
.trader .rate-neutral .progress-bar { background: #f59e0b; }
.trader .rate-negative .progress-bar { background: #ef4444; }

.trader .rate .percent {
  font-size: 0.8rem;
  color: #666;
}

.trader .bottom {
  margin-top: 20px;
}

.trader .tList {
  list-style: none;
  margin: 0;
  padding: 0;
}

.trader .tList .head {
  background: #e8ecf0;
  padding: 12px 16px;
  border-bottom: 1px solid #ddd;
}

.trader .tList .head ol {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 12px;
  font-size: 0.875rem;
  font-weight: 600;
}

.trader .tList .head ol li.name {
  flex: 1;
}

.trader .tList .head ol li.options {
  width: 80px;
}

.trader .tList .head ol li.user {
  width: 120px;
}

.trader .tList .head ol li.date {
  width: 100px;
}

.trader .tList .head select {
  padding: 4px 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 0.875rem;
  margin-right: 8px;
}

.trader .tradeAjaxList {
  background: #fff;
}

.trader .tradeAjaxList li {
  padding: 12px 16px;
  border-bottom: 1px solid #eee;
}

.trader .tradeAjaxList li:last-child {
  border-bottom: none;
}

.trader .tradeAjaxList li ol {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 12px;
  align-items: center;
  font-size: 0.875rem;
}

.trader .tradeAjaxList li ol li.name {
  flex: 1;
  min-width: 0;
}

.trader .tradeAjaxList li ol li.options {
  width: 80px;
}

.trader .tradeAjaxList li ol li.user {
  width: 120px;
}

.trader .tradeAjaxList li ol li.date {
  width: 100px;
  color: #666;
}

/* Friends Stats */
.friends-stats-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.friends-stat-card {
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 16px;
  text-align: center;
}

.friends-stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--r10-primary);
  margin-bottom: 4px;
}

.friends-stat-label {
  font-size: 0.875rem;
  color: #666;
}

/* Awards Grid */
.awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.award-item {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 16px;
  transition: all 0.2s;
}

.award-item:hover {
  border-color: var(--r10-primary);
  box-shadow: 0 2px 8px rgba(58, 162, 223, 0.1);
}

.award-icon {
  text-align: center;
  margin-bottom: 12px;
}

.award-icon .r10Badge {
  width: 48px;
  height: 48px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 20px;
  flex-shrink: 0;
}

.award-icon .r10Badge svg {
  width: 24px;
  height: 24px;
  display: block;
}

.award-icon .r10Badge i {
  display: block;
  line-height: 1;
}

.award-icon .r10Badge-verified {
  background: transparent !important;
  color: #1d9bf0;
  border: 2px solid #1d9bf0;
}

.award-icon .r10Badge-fast2faii { background: #1d9bf0 !important; color: #fff !important; }
.award-icon .r10Badge-1 { background: #10b981 !important; color: #fff !important; }
.award-icon .r10Badge-2 { background: #3b82f6 !important; color: #fff !important; }
.award-icon .r10Badge-3 { background: #f59e0b !important; color: #fff !important; }
.award-icon .r10Badge-4 { background: #ef4444 !important; color: #fff !important; }
.award-icon .r10Badge-5 { background: #8b5cf6 !important; color: #fff !important; }
.award-icon .r10Badge-7 { background: #ec4899 !important; color: #fff !important; }

.award-info h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
}

.award-info p {
  font-size: 0.875rem;
  color: #666;
  margin-bottom: 8px;
  line-height: 1.5;
}

.award-date {
  color: #10b981;
  font-size: 0.8rem;
  font-weight: 500;
}

.award-progress-bar {
  background: #e5e7eb;
  height: 6px;
  border-radius: 3px;
  margin-bottom: 6px;
  overflow: hidden;
}

.award-progress {
  height: 100%;
  background: var(--r10-primary);
  transition: width 0.3s;
}

.progress-text {
  color: #666;
  font-size: 0.75rem;
}

/* Log Table */
.logTable {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
}

.logTable .head {
  background: #e8ecf0;
  padding: 12px 16px;
  border-bottom: 1px solid #ddd;
  font-weight: 600;
  font-size: 0.875rem;
  color: #333;
}

.logTable table {
  width: 100%;
  border-collapse: collapse;
}

.logTable table thead {
  background: #f9f9f9;
}

.logTable table thead th {
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 0.875rem;
  color: #333;
  border-bottom: 1px solid #ddd;
}

.logTable table tbody td {
  padding: 12px 16px;
  font-size: 0.875rem;
  color: #666;
  border-bottom: 1px solid #eee;
}

.logTable table tbody tr:last-child td {
  border-bottom: none;
}

@media (max-width: 768px) {
  .trader .top {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 16px;
    padding-bottom: 16px;
  }
  .trader {
    padding: 12px;
  }
  .trader .top .left ul li {
    font-size: 0.8rem;
    padding: 4px 0;
  }
  .trader .top .right .filter ul.nav-tabs {
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
  }
  .trader .top .right .filter ul.nav-tabs li a {
    padding: 6px 10px;
    font-size: 0.8rem;
  }
  .trader .rate .title { font-size: 0.8rem; }
  .trader .rate .percent { font-size: 0.75rem; }
  .trader .tList .head {
    padding: 10px 12px;
  }
  .trader .tList .head ol {
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.75rem;
  }
  .trader .tList .head ol li.options,
  .trader .tList .head ol li.user,
  .trader .tList .head ol li.date {
    width: auto;
    min-width: 0;
  }
  .trader .tList .head ol li.name {
    width: 100%;
    order: -1;
  }
  .trader .tList .head .r10TicaretFiltre {
    flex-wrap: wrap;
    gap: 6px;
    width: 100%;
  }
  .trader .tList .head .r10TicaretFiltre select {
    font-size: 0.8rem;
    padding: 4px 6px;
    min-width: 0;
  }
  .trader .tradeAjaxList li {
    padding: 10px 12px;
  }
  .trader .tradeAjaxList li ol {
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.8rem;
  }
  .trader .tradeAjaxList li ol li {
    width: auto !important;
    min-width: 0;
  }
  .trader .tradeAjaxList li ol li.name {
    width: 100%;
    order: -1;
  }
  .friends-stats-container {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 16px;
  }
  .friends-stat-card {
    padding: 12px;
  }
  .friends-stat-number { font-size: 1.5rem; }
  .friends-stat-label { font-size: 0.8rem; }
  .awards-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .award-item {
    padding: 12px;
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  .award-item .award-icon { margin: 0 auto; }
  .award-item .award-info h3 { font-size: 0.95rem; }
  .award-item .award-info p { font-size: 0.8rem; }
  .award-item .progress-text { font-size: 0.75rem; }
  .profile-page .r10-section-header {
    padding: 8px 12px;
    font-size: 0.8rem;
  }
  .profile-page .logTable .r10-section-header { padding: 8px 12px; }
  .profile-page .divide-y .p-4 { padding: 12px !important; }
}

/* Topic post author card */
.postauthorboxx {
  background: #f8f9fa;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  padding: 10px;
  width: 200px;
  flex-shrink: 0;
  overflow: hidden;
}

.postbitdetail {
  text-align: center;
  margin-bottom: 8px;
}

.postauthorboxx .postbitdetail {
  background: #1d3354;
  border: 1px solid #2a4466;
  border-radius: 6px;
  padding: 8px 10px;
}

/* postbitdetail içi durum rozetleri – kompakt, yükseklik az */
.postbitdetail .r10Badge-status {
  display: inline-block;
  vertical-align: middle;
  margin-left: 6px;
  padding: 1px 5px;
  border-radius: 3px;
  font-size: 10px;
  line-height: 1.15;
  font-weight: 500;
  white-space: nowrap;
}
.postbitdetail .r10Badge-status.r10Badge-banned { background: #ef4444; color: #fff; }
.postbitdetail .r10Badge-status.r10Badge-suspended { background: #f59e0b; color: #fff; }
.postbitdetail .r10Badge-status.r10Badge-warning { background: #f59e0b; color: #fff; }
.postbitdetail .r10Badge-status.r10Badge-caution { background: #3b82f6; color: #fff; }
.postbitdetail .r10Badge-status.r10Badge-restricted { background: #f59e0b; color: #fff; }
.postbitdetail .r10Badge-status.r10Badge-verified-trader { background: #22c55e; color: #fff; }

/* Kullanıcı bilgi kutusu içinde durum rozeti (Banned vb.) */
.postauthorboxx .postauthorboxx-status-block .r10Badge-status {
  display: inline-block;
  vertical-align: middle;
  margin-left: 0;
  padding: 1px 5px;
  border-radius: 3px;
  font-size: 10px;
  line-height: 1.15;
  font-weight: 500;
  white-space: nowrap;
}
.postauthorboxx .postauthorboxx-status-block .r10Badge-status.r10Badge-banned { background: #ef4444; color: #fff; }
.postauthorboxx .postauthorboxx-status-block .r10Badge-status.r10Badge-suspended { background: #f59e0b; color: #fff; }
.postauthorboxx .postauthorboxx-status-block .r10Badge-status.r10Badge-warning { background: #f59e0b; color: #fff; }
.postauthorboxx .postauthorboxx-status-block .r10Badge-status.r10Badge-caution { background: #3b82f6; color: #fff; }
.postauthorboxx .postauthorboxx-status-block .r10Badge-status.r10Badge-restricted { background: #f59e0b; color: #fff; }
.postauthorboxx .postauthorboxx-status-block .r10Badge-status.r10Badge-verified-trader { background: #22c55e; color: #fff; }

.postbit-avatar {
  text-align: center;
}

.postbit-avatar img {
  border-radius: 4px;
  width: 170px;
  height: 170px;
  object-fit: cover;
}

.root_smalltext1 {
  display: block;
  font-size: 12px;
  color: #334155;
  background: #faf9f9;
  border-radius: 6px;
  padding: 8px;
  margin-top: 8px;
}

.post-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 6px 0 6px 0;
  border-bottom: 1px solid #e5e7eb;
}

.post-row:last-child {
  border-bottom: none;
}

.post-icon {
  width: 20px;
  text-align: center;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.post-icon i {
  color: #64748b;
  font-size: 13px;
}

.post-row-inner {
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 8px;
  color: #334155;
  font-size: 12px;
  line-height: 1.35;
  min-width: 0;
  flex-wrap: wrap;
}

.postauthor-toggle-checkbox {
  display: none;
}

.postauthor-details {
  display: block;
}

.post-row-inner .ml-auto {
  margin-left: auto;
  color: #0f172a;
  font-weight: 600;
  text-align: right;
  word-break: break-word;
  overflow-wrap: anywhere;
  max-width: 100%;
}

.post-row-inner a {
  color: #2563eb;
  text-decoration: none;
}

.post-row-inner a:hover {
  color: #1d4ed8;
}

/* Override inline dark pieces in topic.php post author area */
.postauthorboxx .usertitlebox {
  background: #1d3354 !important;
  border-top: 1px solid #2a4466 !important;
  border-bottom: 1px solid #2a4466 !important;
  color: #ffffff;
}

.postauthorboxx .usertitlebox span {
  color: #ffffff !important;
}

.postauthorboxx .postbitdetail .postfontsize {
  color: #fff;
}

.postauthorboxx .postbitdetail a {
  color: #fff;
}

.postauthorboxx .postbitdetail .upgraded-username {
  text-shadow: none !important;
}

.responsiveshow {
  display: none;
}

.responsivehide {
  display: block;
}

@media (max-width: 768px) {
  .responsiveshow {
    display: block;
  }

  .responsivehide {
    display: none;
  }

  .postauthorboxx {
    width: 100%;
    text-align: center;
  }

  .postbit-avatar img {
    width: 220px;
    height: 220px;
  }

  .postauthor-toggle-btn {
    display: inline-block;
    margin-top: 8px;
    padding: 6px 14px;
    font-size: 13px;
    border-radius: 999px;
    border: 1px solid #d4d4d4;
    background: #ffffff;
    color: #374151;
    cursor: pointer;
  }

  .postauthor-details {
    display: none;
    margin-top: 8px;
    text-align: left;
  }

  .postauthor-toggle-checkbox:checked + .postauthor-toggle-btn + .postauthor-details {
    display: block;
  }

  .post-row-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .post-row-inner .ml-auto {
    margin-left: 0;
    text-align: left;
  }

  .postcontrol {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .pright {
    margin-left: 0;
    justify-content: flex-start;
  }
}

.postcontrol {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pright {
  margin-left: auto;
  display: flex;
  align-items: center;
}

.root_smalltext3 {
  font-size: 12px;
  color: #64748b;
  line-height: 1.4;
}

.postbit_button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid #1d3354;
  border-radius: 6px;
  background: #1d3354;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.2s ease;
}

.postbit_button:hover {
  border-color: #2a4466;
  background: #2a4466;
  color: #ffffff;
}

.postbit_button .postquote {
  font-size: 14px;
  display: inline-block;
  line-height: 1;
  color: #ffffff;
  min-width: 14px;
  width: 14px;
  height: 14px;
}

.postbit_button:hover .postquote {
  color: #ffffff;
}

/* Ensure Font Awesome icon displays properly */
.postbit_button .fa-reply.postquote,
.postbit_button i.postquote {
  display: inline-block;
  font-family: "FontAwesome" !important;
  font-style: normal !important;
  font-weight: normal !important;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Fallback: ensure reply icon renders even if FA class mapping is missing */
.postbit_button .postquote.fa-reply::before {
  content: "\f112";
  font-family: "FontAwesome";
  font-style: normal;
  font-weight: normal;
}

/* Topic replies */
.topic-post-card {
  background: #ffffff;
  border: 1px solid #d6dee6;
  border-radius: 6px;
  margin-bottom: 12px;
  overflow: hidden;
}

.topic-post-card .head {
  background: #1d3354;
  border-bottom: 1px solid #2a4466;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  color: #fff;
}

.topic-post-card .head .right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.topic-post-card .head .right a {
  color: #ffffff;
  text-decoration: none;
}

.topic-post-card .postUser {
  padding: 14px 12px;
  border-bottom: 1px solid #e5e7eb;
  background: #f8f9fa;
}

.topic-post-card .postUser .userLeft {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.topic-post-card .postUser .avatar img {
  width: 72px;
  height: 72px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid #d6dee6;
}

.topic-post-card .postUser .smallInfo .name {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  row-gap: 6px;
  line-height: 1.4;
}

.topic-post-card .postUser .smallInfo .name > a {
  color: #0f172a;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  margin-right: 4px;
}

.topic-post-card .postUser .post-verified-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  vertical-align: middle;
  margin-left: 4px;
  flex-shrink: 0;
  background: transparent;
}

.topic-post-card .postUser .post-verified-badge svg {
  width: 16px;
  height: 16px;
}

/* Cevap kartında badge/rank forum.php ile aynı görünsün */
.topic-post-card .postUser .smallInfo .name .threadlist-badge {
  border-radius: 50%;
  flex-shrink: 0;
}
.topic-post-card .postUser .smallInfo .name .threadlist-badge.r10Badge-verified { background: transparent; }
.topic-post-card .postUser .smallInfo .name .threadlist-badge.r10Badge-fast2faii { background: #1d9bf0; color: #fff; }
.topic-post-card .postUser .smallInfo .name .threadlist-badge.r10Badge-1 { background: #10b981; color: #fff; }
.topic-post-card .postUser .smallInfo .name .threadlist-badge.r10Badge-2 { background: #3b82f6; color: #fff; }
.topic-post-card .postUser .smallInfo .name .threadlist-badge.r10Badge-3 { background: #f59e0b; color: #fff; }
.topic-post-card .postUser .smallInfo .name .threadlist-badge.r10Badge-4 { background: #ef4444; color: #fff; }
.topic-post-card .postUser .smallInfo .name .threadlist-badge.r10Badge-5 { background: #8b5cf6; color: #fff; }
.topic-post-card .postUser .smallInfo .name .threadlist-badge.r10Badge-7 { background: #ec4899; color: #fff; }

.topic-post-card .postUser .smallInfo .name .user-rank {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 6px;
  border-radius: 4px;
  color: #fff;
  font-size: 10px;
  font-weight: 500;
  margin-left: 4px;
}

.topic-post-card .postUser .company-title {
  color: #059669;
  font-weight: 600;
  font-size: 11px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 12px;
  padding: 3px 8px;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  margin-left: 2px;
}

.topic-post-card .postUser .user-rank {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 11px;
  line-height: 1.2;
  color: #fff;
  font-weight: 600;
  margin-left: 2px;
}

.topic-post-card .postUser .user-rank svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.topic-post-card .postUser .post-user-rank {
  margin-top: 4px;
}

.topic-post-card .postUser .post-user-rank img.rank-badge-image {
  max-width: 120px;
  max-height: 60px;
  height: auto;
  object-fit: contain;
}

.topic-post-card .postUser .post-user-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  vertical-align: middle;
  margin-left: 2px;
  flex-shrink: 0;
}

.topic-post-card .postUser .post-user-badge i,
.topic-post-card .postUser .post-verified-badge i {
  font-size: 12px;
}

/* Metin tabanlı durum rozetleri (Banned, Suspended, Caution vb.) */
.topic-post-card .postUser .r10Badge:not(.post-user-badge):not(.post-verified-badge) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 8px;
  border-radius: 9999px;
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  margin-left: 4px;
  vertical-align: middle;
}

.topic-post-card .postContent {
  padding: 14px 12px;
  color: #334155;
  font-size: 14px;
  line-height: 1.6;
}

.topic-post-card .userSignature {
  padding: 12px;
  padding-top: 12px;
  border-top: 1px dashed #e5e7eb;
  color: #64748b;
  font-size: 12px;
  font-style: italic;
  background: #f8f9fa;
  margin-top: 0;
}

.topic-post-card .postLike {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #e6edf3;
}

.topic-post-card .postLike .button a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: #f3f4f6;
  color: #4b5563;
  font-size: 12px;
  text-decoration: none;
  padding: 5px 9px;
  transition: all 0.2s;
}

.topic-post-card .postLike .button a:hover {
  border-color: #9ca3af;
  background: #e5e7eb;
  color: #374151;
}

.topic-post-card .postLike .detail {
  margin-top: 8px;
  font-size: 12px;
  color: #6b7280;
}

.topic-post-card .postButtons {
  border-top: 1px solid #e5e7eb;
  background: #f8f9fa;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 10px 12px;
  gap: 8px;
}

.topic-post-card .postButtons .buttonsLeft {
  display: none;
}

.topic-post-card .postButtons .buttonsRight {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.topic-post-card .postButtons .buttonsRight .postLike {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.topic-post-card .postButtons .buttonsRight .postLike .detail {
  display: none;
}

.topic-post-card .postButtons .robtn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: #f3f4f6;
  color: #4b5563;
  font-size: 12px;
  text-decoration: none;
  padding: 6px 10px;
  line-height: 1;
  transition: all 0.2s;
  font-weight: 500;
}

.topic-post-card .postButtons .robtn:hover {
  border-color: #9ca3af;
  background: #e5e7eb;
  color: #374151;
}

.topic-post-card .postButtons .robtn.roblue {
  background: #e5e7eb;
  border-color: #d1d5db;
  color: #374151;
}

.topic-post-card .postButtons .robtn.roblue:hover {
  background: #d1d5db;
  border-color: #9ca3af;
}

/* Original topic post card (first post) */
.topic-original-post {
  background: #f4f7fa !important;
  border-color: #e3e9f0 !important;
}

.topic-original-post .text-gray-800,
.topic-original-post .text-gray-600,
.topic-original-post .text-gray-500 {
  color: #334155 !important;
}

.topic-original-post a.text-gray-800 {
  color: #0f172a !important;
}

.topic-original-post .topic-post-signature {
  border-top-color: #d5dde6 !important;
}

.topic-original-post .flex.items-center.gap-1.mb-2 {
  background: #3a4453;
  border: 1px solid #2f3744;
  border-radius: 6px;
  padding: 6px 8px;
  gap: 8px !important;
  flex-wrap: wrap;
  align-items: center;
}

.topic-original-post .flex.items-center.gap-1.mb-2 .text-gray-800,
.topic-original-post .flex.items-center.gap-1.mb-2 .text-gray-500 {
  color: #e5e7eb !important;
}

.topic-original-post .flex.items-center.gap-1.mb-2 > a {
  color: #ffffff !important;
  font-weight: 700;
  text-decoration: none;
}

.topic-original-post .flex.items-center.gap-1.mb-2 .user-rank {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 9999px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.1;
  color: #111827;
}

.topic-original-post .flex.items-center.gap-1.mb-2 .user-rank svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.topic-original-post .flex.items-center.gap-1.mb-2 .text-xs {
  margin-left: auto;
  font-size: 11px;
  color: #cbd5e1 !important;
}

/* Quote box inside posts */
.topic-quote-box {
  background: #f4f7fa;
  border-left: 3px solid #2156c9;
  border: 1px solid #dce4ec;
  border-left-width: 3px;
  padding: 6px 8px;
  margin: 6px 0;
  border-radius: 4px;
}

.topic-quote-author {
  color: #2156c9;
  font-weight: 600;
  margin-bottom: 4px;
  font-size: 11px;
}

.topic-quote-content {
  color: #475569;
  font-style: italic;
  white-space: pre-wrap;
  font-size: 12px;
}

/* Topic owner action buttons - Konu İşlemleri ile aynı renk */
.topic-action-btn.topic-btn-lock,
.topic-action-btn.topic-btn-move,
.topic-action-btn.topic-btn-sticky,
.topic-action-btn.topic-btn-edit,
.topic-action-btn.topic-btn-delete,
.topic-action-btn.topic-btn-bump {
  background: #f4f7fa;
  border: 1px solid #d5dde6;
  color: #334155;
}

.topic-action-btn.topic-btn-lock:hover,
.topic-action-btn.topic-btn-move:hover,
.topic-action-btn.topic-btn-sticky:hover,
.topic-action-btn.topic-btn-edit:hover,
.topic-action-btn.topic-btn-delete:hover,
.topic-action-btn.topic-btn-bump:hover {
  background: #e9eef1;
  border-color: #c7d2de;
  color: #1f2937;
}

/* Topic breadcrumb (new markup: .breadcrumb) */
.breadcrumb.mb-6 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  padding: 10px 14px;
  background: #f4f7fa;
  border: 1px solid #dce4ec;
  border-radius: 6px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.4;
}

.breadcrumb.mb-6 a {
  color: #3a4453;
  text-decoration: none;
  font-weight: 500;
}

.breadcrumb.mb-6 a:hover {
  color: #2f3744;
  text-decoration: underline;
}

.breadcrumb.mb-6 .active {
  color: #0f172a;
  font-weight: 600;
}

.breadcrumb.mb-6 [data-lucide="chevron-right"] {
  width: 14px;
  height: 14px;
  color: #94a3b8;
  flex-shrink: 0;
}

/* Topic owner actions row */
.flex.items-center.gap-2.ml-4.flex-wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-left: 12px;
}

.topic-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid #d5dde6;
  background: #f4f7fa;
  color: #334155;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.topic-action-btn:hover {
  background: #e9eef1;
  border-color: #c7d2de;
  color: #1f2937;
}

.topic-action-btn [data-lucide] {
  width: 14px;
  height: 14px;
  stroke-width: 2;
  flex-shrink: 0;
}

/* Owner actions dropdown */
.topic-owner-actions {
  position: relative;
}

.topic-owner-toggle {
  min-width: 145px;
  justify-content: space-between;
  padding: 5px 9px;
  font-size: 11px;
}

.topic-owner-toggle::after {
  content: "▼";
  margin-left: 6px;
  font-size: 10px;
  line-height: 1;
  opacity: 0.9;
  transition: transform 0.2s ease;
}

.topic-owner-toggle .topic-owner-caret {
  display: none;
}

.topic-owner-actions.open .topic-owner-toggle .topic-owner-caret {
  transform: rotate(180deg);
}

.topic-owner-actions.open .topic-owner-toggle::after {
  transform: rotate(180deg);
}

.topic-owner-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 40;
  min-width: 190px;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid #d5dde6;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
}

/* Topic Header Styling */
.topic-header-card,
.bg-white.border.border-gray-200.rounded-lg.shadow-sm.p-6.mb-6 {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.topic-header-card h1,
.bg-white.border.border-gray-200.rounded-lg.shadow-sm.p-6.mb-6 h1 {
  color: #1d3354;
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}

.bg-white.border.border-gray-200.rounded-lg.shadow-sm.p-6.mb-6 .text-\[\#3aa2df\] {
  color: #3aa2df !important;
  font-weight: 500;
}

.bg-white.border.border-gray-200.rounded-lg.shadow-sm.p-6.mb-6 .text-\[\#3aa2df\]:hover {
  color: #2a92cf !important;
  text-decoration: underline;
}

.topic-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  padding-top: 16px;
  margin-top: 16px;
  border-top: 1px solid #e5e7eb;
}

.topic-meta-row .meta-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #64748b;
  font-size: 13px;
  white-space: nowrap;
  padding: 0 12px;
  border-right: 1px solid #e5e7eb;
}

.topic-meta-row .meta-item:first-child {
  padding-left: 0;
}

.topic-meta-row .meta-item:last-child {
  border-right: none;
  padding-right: 0;
}

.topic-meta-row .meta-label {
  color: #94a3b8;
  font-weight: 500;
  margin-right: 4px;
}

.topic-meta-row .meta-link {
  color: #3aa2df !important;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.topic-meta-row .meta-link:hover {
  color: #2a92cf !important;
  text-decoration: underline;
}

.topic-meta-row .meta-item i {
  color: #94a3b8;
  font-size: 12px;
  opacity: 0.7;
}

.topic-owner-actions.open .topic-owner-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.topic-owner-menu .topic-action-btn {
  width: 100%;
  justify-content: flex-start;
}

/* Dropdown items - Konu İşlemleri ile aynı renk */
.topic-owner-menu .topic-btn-lock,
.topic-owner-menu .topic-btn-move,
.topic-owner-menu .topic-btn-sticky,
.topic-owner-menu .topic-btn-edit,
.topic-owner-menu .topic-btn-delete,
.topic-owner-menu .topic-btn-bump {
  background: #f4f7fa;
  border-color: #d5dde6;
  color: #334155;
}

.topic-owner-menu .topic-btn-lock:hover,
.topic-owner-menu .topic-btn-move:hover,
.topic-owner-menu .topic-btn-sticky:hover,
.topic-owner-menu .topic-btn-edit:hover,
.topic-owner-menu .topic-btn-delete:hover,
.topic-owner-menu .topic-btn-bump:hover {
  background: #e9eef1;
  border-color: #c7d2de;
  color: #1f2937;
}

/* Top members page */
.top-members-container {
  width: 100%;
  margin: 0;
  padding: 20px;
}
@media (max-width: 768px) {
  .top-members-container {
    padding: 12px;
    max-width: 100%;
    box-sizing: border-box;
  }
  .top-members-page { width: 100%; max-width: 100%; overflow-x: hidden; }
}

.top-members-intro,
.top-members-section {
  margin-bottom: 20px;
}

.top-members-page .userBlock {
  margin-bottom: 20px;
}

.top-members-page .userBlock .head {
  background: #1d3354;
  border: 1px solid #2f3744;
  border-radius: 6px 6px 0 0;
  padding: 10px 14px;
}

.top-members-page .userBlock .head .title {
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.top-members-page .userBlock .content {
  border: 1px solid #dce4ec;
  border-top: none;
  border-radius: 0 0 8px 8px;
  background: #ffffff;
  padding: 12px;
}

.top-members-subtitle {
  color: #64748b;
  margin: 0;
}

.top-members-list {
  display: grid;
  gap: 12px;
}

.top-member-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px;
  background: #f8fafc;
  border: 1px solid #dce4ec;
  border-radius: 8px;
}

.top-member-rank {
  font-size: 18px;
  font-weight: 700;
  color: #3a4453;
  min-width: 34px;
  text-align: center;
}

.top-member-link {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  text-decoration: none;
}

.top-member-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #d5dde6;
}

.top-member-body {
  flex: 1;
  min-width: 0;
}

.top-member-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.top-member-name {
  color: #0f172a;
  font-weight: 700;
  font-size: 15px;
}

.top-member-verified {
  flex-shrink: 0;
}

.top-member-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  color: #64748b;
  font-size: 13px;
}

.top-member-stats .stat-rep {
  color: #2563eb;
}

.top-member-stats .stat-topic {
  color: #16a34a;
}

.top-member-stats .stat-post {
  color: #d97706;
}

/* Top members breadcrumb */
.top-members-page .breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  padding: 10px 14px;
  background: #f4f7fa;
  border: 1px solid #dce4ec;
  border-radius: 6px;
  color: #64748b;
  font-size: 13px;
}

.top-members-page .breadcrumb a {
  color: #3a4453;
  text-decoration: none;
  font-weight: 500;
}

.top-members-page .breadcrumb a:hover {
  color: #2f3744;
  text-decoration: underline;
}

.top-members-page .breadcrumb i {
  color: #94a3b8;
  font-style: normal;
}

.top-members-page .breadcrumb .active {
  color: #0f172a;
  font-weight: 600;
}

/* Top members section title */
.top-members-page .uTitle {
  display: block;
  background: #1d3354;
  color: #ffffff;
  border: 1px solid #2f3744;
  border-radius: 6px 6px 0 0;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1px;
}

.top-members-page .uContent {
  border: 1px solid #dce4ec;
  border-top: none;
  border-radius: 0 0 8px 8px;
  background: #ffffff;
  padding: 12px;
}

.top-members-page .noResult {
  border: 1px dashed #d5dde6;
  border-radius: 8px;
  background: #f8fafc;
  color: #64748b;
  text-align: center;
  padding: 16px;
}

.top-members-page .team-msg-btn {
  flex-shrink: 0;
  padding: 8px 14px;
  background: #f59e0b;
  color: #fff;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.top-members-page .team-msg-btn:hover {
  background: #d97706;
  color: #fff;
}

@media (max-width: 768px) {
  /* Cevap kartları mobilde görseldeki gibi: düz, minimal, kart yok */
  .topic-post-card {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
  }

  .topic-post-card .head {
    padding: 8px 0;
    font-size: 13px;
    background: transparent !important;
    border-bottom: 1px solid #e5e7eb;
  }

  .topic-post-card .head .left {
    font-size: 13px;
    color: #4b5563;
  }

  .topic-post-card .head .right {
    gap: 8px;
  }

  .topic-post-card .head .right span:first-child a {
    display: inline-block;
    padding: 4px 10px;
    background: #e5e7eb;
    border-radius: 6px;
    font-size: 13px;
    color: #374151 !important;
    font-weight: 600;
  }

  .topic-post-card .postUser {
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
  }

  /* Sol: yuvarlak avatar + online noktası | Sağ: kullanıcı adı (koyu bold) + mavi tik + rozetler, altında rank */
  .topic-post-card .postUser .userLeft {
    align-items: center;
    gap: 12px;
  }

  .topic-post-card .postUser .avatar {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    position: relative;
  }

  .topic-post-card .postUser .avatar a {
    position: relative;
    display: block;
  }

  .topic-post-card .postUser .avatar img {
    width: 80px;
    height: 80px;
    border-radius: 8px; /* mobil cevap kartında kare avatar */
    object-fit: cover;
  }

  .topic-post-card .postUser .avatar .status {
    position: absolute;
    bottom: 2px;
    left: 2px;
    width: 12px;
    height: 12px;
    border-width: 2px;
  }

  .topic-post-card .postUser .avatar .status.on {
    background: #10b981;
  }

  .topic-post-card .postUser .smallInfo {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .topic-post-card .postUser .smallInfo .name {
    font-size: 0.95rem;
    gap: 4px;
    flex-wrap: wrap;
  }

  .topic-post-card .postUser .smallInfo .name > a {
    font-size: 1rem;
    color: #1f2937 !important;
    font-weight: 700;
  }

  .topic-post-card .postUser .post-verified-badge {
    flex-shrink: 0;
  }

  .topic-post-card .postUser .post-user-rank {
    margin-top: 2px;
  }

  .topic-post-card .postUser .post-user-rank img.rank-badge-image {
    /* Mobil cevap kartında rank görseli – topic.php ile aynı boyut,
       ilk yüklemede göz kırpma olmasın diye */
    max-width: 110px;
    max-height: 55px;
    height: auto;
    object-fit: contain;
  }

  .topic-post-card .postUser .post-user-rank .user-rank {
    font-size: 0.75rem;
    padding: 3px 8px;
  }

  .topic-post-card .postContent {
    padding: 12px 0;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #4b5563;
  }

  .topic-post-card .postButtons {
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
  }

  .topic-post-card .postButtons .buttonsRight {
    justify-content: flex-start;
  }
}

/* ========== Upgrade / Pricing (controlBlock pricing) ========== */
.controlBlock.pricing {
  width: 100%;
  max-width: 100%;
  margin-bottom: 2rem;
}
.controlBlock.pricing .content {
  width: 100%;
}
.controlBlock.pricing .pricing-plan-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.controlBlock.pricing .pricing-plan-item {
  background: #fff;
  border: 2px solid var(--plan-border, #e5e7eb);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.controlBlock.pricing .pricing-plan-item:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.controlBlock.pricing .pricing-plan-item.current-plan {
  border-color: #22c55e;
  box-shadow: 0 0 0 1px #22c55e;
}
.controlBlock.pricing .pricing-plan-item .name {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem 1.25rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2937;
  background: linear-gradient(135deg, rgba(0,0,0,0.02), rgba(0,0,0,0.04));
  border-bottom: 1px solid #e5e7eb;
}
.controlBlock.pricing .pricing-plan-item .name .rank {
  margin-top: 0.75rem;
  text-align: center;
}
.controlBlock.pricing .pricing-plan-item .name .rank img.modernRank {
  max-width: 120px;
  height: auto;
  display: block;
  margin: 0 auto;
}
.controlBlock.pricing .pricing-plan-item .name .rank.rank-icon {
  font-size: 2rem;
  color: var(--plan-color);
}
.controlBlock.pricing .pricing-plan-item .name .plan-badge-ultra,
.controlBlock.pricing .pricing-plan-item .name .plan-badge-current {
  position: absolute;
  top: 0.5rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}
.controlBlock.pricing .pricing-plan-item .name .plan-badge-ultra {
  right: 1rem;
  background: linear-gradient(135deg, var(--plan-color), #d97706);
  color: #fff;
}
.controlBlock.pricing .pricing-plan-item .name .plan-badge-current {
  left: 1rem;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
}
.controlBlock.pricing .pricing-plan-item .features {
  padding: 1rem 1.25rem;
  font-size: 0.875rem;
  color: #4b5563;
  line-height: 1.55;
  max-height: 320px;
  overflow-y: auto;
  border-bottom: 1px solid #e5e7eb;
}
.controlBlock.pricing .pricing-plan-item .features .plan-desc {
  margin: 0 0 0.75rem;
  color: #6b7280;
}
.controlBlock.pricing .pricing-plan-item .features .feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.controlBlock.pricing .pricing-plan-item .features .feature-list li {
  padding: 0.35rem 0;
  padding-left: 1.25rem;
  position: relative;
  border-bottom: 1px solid #f3f4f6;
}
.controlBlock.pricing .pricing-plan-item .features .feature-list li:last-child {
  border-bottom: none;
}
.controlBlock.pricing .pricing-plan-item .features .feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--plan-color, #3aa2df);
}
.controlBlock.pricing .pricing-plan-item .buy {
  padding: 1rem 1.25rem;
  background: #f9fafb;
}
.controlBlock.pricing .priceList {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.controlBlock.pricing .priceListHeader {
  margin-bottom: 0.25rem;
}
.controlBlock.pricing .priceListName {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #374151;
}
.controlBlock.pricing .priceListName h4 {
  margin: 0;
  font-size: 0.95rem;
}
.controlBlock.pricing .priceListName .ri-flashlight-fill {
  color: #f59e0b;
  font-size: 1.1rem;
}
.controlBlock.pricing .priceListItem {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  transition: border-color 0.2s, background 0.2s;
}
.controlBlock.pricing .priceListItem:hover {
  border-color: var(--plan-border);
  background: #fafafa;
}
.controlBlock.pricing .price-title h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #1f2937;
}
.controlBlock.pricing .price-amount {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}
.controlBlock.pricing .price-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.15rem;
}
.controlBlock.pricing .price-old {
  font-size: 0.8rem;
  color: #9ca3af;
  text-decoration: line-through;
}
.controlBlock.pricing .price-new {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--plan-color);
}
.controlBlock.pricing .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.05s;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.controlBlock.pricing .btn-success {
  background: linear-gradient(135deg, var(--plan-color), var(--plan-border));
  color: #fff;
}
.controlBlock.pricing .btn-success:hover {
  opacity: 0.92;
}
.controlBlock.pricing .btn-current {
  background: #e5e7eb;
  color: #6b7280;
  cursor: default;
  font-size: 0.75rem;
}
.controlBlock.pricing .priceListNote {
  padding: 0.5rem 0 0;
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: #6b7280;
  border-top: 1px solid #e5e7eb;
}
@media (max-width: 768px) {
  .controlBlock.pricing .pricing-plan-item .buy {
    padding: 0.75rem 1rem;
  }
  .controlBlock.pricing .priceListItem {
    grid-template-columns: 1fr;
    text-align: center;
    align-items: center;
  }
  .controlBlock.pricing .price-title { text-align: center; }
  .controlBlock.pricing .price-amount {
    flex-direction: column;
    align-items: center;
  }
  .controlBlock.pricing .price-wrap {
    align-items: center;
  }
  .controlBlock.pricing .pricing-plan-item .features {
    max-height: 240px;
  }
}

/* Upgrade Modal - site theme */
.upgrade-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10000;
  overflow-y: auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 50px 1rem;
}
.upgrade-modal-content {
  max-width: 500px;
  width: 100%;
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  color: var(--r10-dark, #343a4d);
}
.theme-dark .upgrade-modal-content {
  background: #1e293b;
  border-color: #334155;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  color: #e2e8f0;
}
.upgrade-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}
.upgrade-modal-title {
  color: var(--r10-dark, #343a4d);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
}
.theme-dark .upgrade-modal-title {
  color: #f1f5f9;
}
.upgrade-modal-close {
  background: none;
  border: none;
  color: var(--r10-text-dark, #6b7280);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.theme-dark .upgrade-modal-close {
  color: #94a3b8;
}
.upgrade-modal-close:hover {
  color: var(--r10-primary, #3aa2df);
}
.upgrade-modal-plan-name {
  color: var(--r10-text-dark, #6b7280);
  font-size: 1rem;
  margin-bottom: 1.25rem;
}
.theme-dark .upgrade-modal-plan-name {
  color: #94a3b8;
}
.upgrade-modal-field {
  margin-bottom: 1.25rem;
}
.upgrade-modal-label {
  display: block;
  color: var(--r10-dark, #374151);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.theme-dark .upgrade-modal-label {
  color: #cbd5e1;
}
.upgrade-modal-options {
  display: grid;
  gap: 0.5rem;
}
.upgrade-modal-radio {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  background: var(--r10-bg, #f3f4f6);
  border-radius: 8px;
  cursor: pointer;
  border: 1px solid #e5e7eb;
}
.theme-dark .upgrade-modal-radio {
  background: #0f172a;
  border-color: #334155;
}
.upgrade-modal-radio span {
  color: var(--r10-text-dark, #4b5563);
}
.theme-dark .upgrade-modal-radio span {
  color: #94a3b8;
}
.upgrade-modal-radio input {
  margin-right: 0.75rem;
}
.upgrade-modal-total {
  text-align: center;
  margin-bottom: 1.25rem;
  padding: 1rem;
  background: var(--r10-bg, #f9fafb);
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}
.theme-dark .upgrade-modal-total {
  background: #0f172a;
  border-color: #334155;
}
.upgrade-modal-total-label {
  color: var(--r10-text-dark, #6b7280);
  font-size: 0.75rem;
  margin-bottom: 0.25rem;
}
.theme-dark .upgrade-modal-total-label {
  color: #94a3b8;
}
.upgrade-modal-price {
  color: #16a34a;
  font-size: 1.75rem;
  font-weight: 700;
}
.upgrade-modal-actions {
  display: flex;
  gap: 0.5rem;
}
.upgrade-modal-btn {
  flex: 1;
  padding: 0.625rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  border: none;
}
.upgrade-modal-btn-cancel {
  background: #e5e7eb;
  color: var(--r10-dark, #374151);
}
.theme-dark .upgrade-modal-btn-cancel {
  background: #334155;
  color: #e2e8f0;
}
.upgrade-modal-btn-submit {
  background: var(--r10-primary, #3aa2df);
  color: #fff;
}
.upgrade-modal-btn-submit:hover {
  opacity: 0.9;
}

/* Upgrade modal - Crypto wallets section */
.upgrade-modal-crypto {
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  padding: 0.75rem 0.75rem 0.5rem;
  max-height: 200px;
  overflow-y: auto;
}
.theme-dark .upgrade-modal-crypto {
  border-color: #334155;
  background: #0f172a;
}
.upgrade-modal-crypto-note {
  font-size: 0.75rem;
  color: #6b7280;
  margin: 0 0 0.5rem 0;
}
.theme-dark .upgrade-modal-crypto-note {
  color: #9ca3af;
}
.upgrade-modal-crypto-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.upgrade-modal-crypto-item {
  padding: 0.4rem 0.5rem;
  border-radius: 6px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  margin-bottom: 0.4rem;
}
.upgrade-modal-crypto-item:last-child {
  margin-bottom: 0;
}
.theme-dark .upgrade-modal-crypto-item {
  background: #111827;
  border-color: #374151;
}
.upgrade-modal-crypto-main {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 0.15rem;
}
.upgrade-modal-crypto-currency {
  font-size: 0.8rem;
  font-weight: 600;
  color: #111827;
}
.upgrade-modal-crypto-network {
  font-size: 0.7rem;
  color: #6b7280;
}
.theme-dark .upgrade-modal-crypto-currency {
  color: #e5e7eb;
}
.theme-dark .upgrade-modal-crypto-network {
  color: #9ca3af;
}
.upgrade-modal-crypto-address {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.75rem;
  color: #374151;
  word-break: break-all;
}
.theme-dark .upgrade-modal-crypto-address {
  color: #e5e7eb;
}

/* Messages - bubble colors */
.msg-theirs {
  background: #fff;
  color: var(--r10-dark, #1f2937);
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.msg-mine {
  background: #dbeafe;
  color: #1e3a5f;
  border: 1px solid #93c5fd;
}
.theme-dark .msg-theirs {
  background: #1e293b;
  color: #e2e8f0;
  border-color: #334155;
}
.theme-dark .msg-mine {
  background: #1e3a5f;
  color: #e2e8f0;
  border-color: #2563eb;
}

/* Messages - smaller badges for compact display */
.r10Badge.msg-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex-shrink: 0;
}
.r10Badge.msg-badge svg {
  width: 14px;
  height: 14px;
  display: block;
}
.r10Badge.msg-badge i {
  font-size: 10px;
}
.r10Badge.msg-badge.r10Badge-verified { background: transparent; color: #1d9bf0; }
.r10Badge.msg-badge.r10Badge-fast2faii { background: #1d9bf0; color: #fff; }
.r10Badge.msg-badge.r10Badge-1 { background: #10b981; color: #fff; }
.r10Badge.msg-badge.r10Badge-2 { background: #3b82f6; color: #fff; }
.r10Badge.msg-badge.r10Badge-3 { background: #f59e0b; color: #fff; }
.r10Badge.msg-badge.r10Badge-4 { background: #ef4444; color: #fff; }
.r10Badge.msg-badge.r10Badge-5 { background: #8b5cf6; color: #fff; }
.r10Badge.msg-badge.r10Badge-7 { background: #ec4899; color: #fff; }

.msg-rank,
.conv-rank {
  font-size: 10px;
  font-weight: 600;
  flex-shrink: 0;
}

/* Messages page - fixed height 600px, scrollbars work */
.messages-page-layout {
  min-height: 600px;
  max-height: 600px;
  overflow: hidden;
}

/* Messages - scrollable list when content is long */
.messages-list-scroll,
.conversations-list-scroll {
  min-height: 0;
  overflow-y: auto;
}
