/* ===========================
   NAVBAR – showcase highlight
=========================== */
.nav-showcase { color: var(--red) !important; }

/* ===========================
   HOMEPAGE – showcase section
=========================== */
.showcase-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.showcase-sub {
  color: var(--grey);
  font-size: 1rem;
  margin-top: .5rem;
}
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.showcase-loading {
  grid-column: 1 / -1;
  text-align: center;
  color: rgba(255,255,255,.3);
  padding: 3rem 0;
  font-family: 'Oswald', sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.showcase-cta {
  text-align: center;
  padding: 3rem;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 6px;
  background: rgba(255,255,255,.02);
}
.showcase-cta p {
  color: var(--grey);
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}

/* ===========================
   PROJECT CARD
=========================== */
.sc-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 6px;
  padding: 1.25rem;
  cursor: pointer;
  transition: transform .2s, border-color .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.sc-card:hover {
  transform: translateY(-4px);
  border-color: rgba(227,30,36,.4);
  box-shadow: 0 8px 30px rgba(227,30,36,.12);
}
.sc-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .75rem;
}
.sc-card-title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.05rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.3;
}
.sc-badge {
  font-family: 'Oswald', sans-serif;
  font-size: .65rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .25rem .6rem;
  border-radius: 3px;
  white-space: nowrap;
  flex-shrink: 0;
}
.sc-badge-game   { background: rgba(147,51,234,.2); color: #c084fc; border: 1px solid rgba(147,51,234,.3); }
.sc-badge-app    { background: rgba(59,130,246,.2); color: #93c5fd; border: 1px solid rgba(59,130,246,.3); }
.sc-badge-ai_agent { background: rgba(16,185,129,.2); color: #6ee7b7; border: 1px solid rgba(16,185,129,.3); }
.sc-badge-other  { background: rgba(255,255,255,.08); color: var(--grey); border: 1px solid rgba(255,255,255,.1); }

.sc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.sc-tag {
  font-size: .7rem;
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.5);
  border: 1px solid rgba(255,255,255,.08);
  padding: .15rem .5rem;
  border-radius: 3px;
  letter-spacing: .06em;
}
.sc-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: .75rem;
  border-top: 1px solid rgba(255,255,255,.06);
}
.sc-author {
  font-size: .8rem;
  color: rgba(255,255,255,.45);
}
.sc-stats {
  display: flex;
  gap: .75rem;
  font-size: .8rem;
  color: rgba(255,255,255,.35);
}

/* ===========================
   SHOWCASE PAGE
=========================== */
.sc-page-header {
  padding: calc(var(--nav-h) + 4rem) 0 3rem;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(227,30,36,.07) 0%, transparent 70%),
    var(--bg);
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.sc-page-title {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 700;
  letter-spacing: .08em;
  margin-bottom: .75rem;
}
.sc-page-sub {
  color: var(--grey);
  font-size: 1rem;
}

/* TOOLBAR */
.sc-toolbar {
  position: sticky;
  top: var(--nav-h);
  z-index: 50;
  background: rgba(10,10,10,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.07);
  padding: .85rem 0;
}
.sc-toolbar-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.sc-filters {
  display: flex;
  gap: .4rem;
  flex-wrap: wrap;
}
.sc-filter {
  font-family: 'Oswald', sans-serif;
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .4rem .9rem;
  background: rgba(255,255,255,.06);
  color: var(--grey);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 3px;
  cursor: pointer;
  transition: all .2s;
}
.sc-filter:hover { background: rgba(255,255,255,.12); color: var(--white); }
.sc-filter.active { background: var(--red); color: var(--white); border-color: var(--red); }

.sc-right {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-left: auto;
  flex-wrap: wrap;
}
.sc-select {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  color: var(--grey);
  padding: .4rem .75rem;
  border-radius: 3px;
  font-family: 'Inter', sans-serif;
  font-size: .8rem;
  cursor: pointer;
  outline: none;
}
.sc-select option { background: #111; }
.sc-search {
  display: flex;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 3px;
  overflow: hidden;
}
.sc-search input {
  background: rgba(255,255,255,.06);
  border: none;
  color: var(--white);
  padding: .4rem .75rem;
  font-size: .8rem;
  font-family: 'Inter', sans-serif;
  outline: none;
  width: 160px;
}
.sc-search input::placeholder { color: rgba(255,255,255,.3); }
.sc-search button {
  background: rgba(255,255,255,.08);
  border: none;
  color: var(--grey);
  padding: .4rem .75rem;
  cursor: pointer;
  font-size: .9rem;
  transition: background .2s;
}
.sc-search button:hover { background: rgba(255,255,255,.15); }
.sc-submit-btn { font-size: .78rem; padding: .45rem 1rem; }

/* GALLERY GRID */
.sc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.sc-empty {
  text-align: center;
  padding: 6rem 0;
  color: var(--grey);
}
.sc-empty p { margin-bottom: 1.5rem; font-size: 1.05rem; }

/* ===========================
   MODALS
=========================== */
.sc-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.75);
  z-index: 200;
  backdrop-filter: blur(4px);
}
.sc-overlay.active { display: block; }

.sc-modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 201;
  width: 90%;
  max-width: 440px;
  max-height: 90vh;
  overflow-y: auto;
  background: #111;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  padding: 2rem;
}
.sc-modal.active { display: block; }
.sc-modal-wide { max-width: 600px; }
.sc-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--grey);
  font-size: 1rem;
  cursor: pointer;
  transition: color .2s;
}
.sc-modal-close:hover { color: var(--white); }
.sc-modal-title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.4rem;
  letter-spacing: .06em;
  margin-bottom: 1.5rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

/* Auth tabs */
.sc-modal-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.sc-tab {
  font-family: 'Oswald', sans-serif;
  font-size: .85rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .5rem 1.25rem;
  background: none;
  border: none;
  color: var(--grey);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all .2s;
}
.sc-tab.active { color: var(--white); border-bottom-color: var(--red); }

/* Form */
.sc-form { display: flex; flex-direction: column; gap: 1rem; }
.sc-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.sc-form-group { display: flex; flex-direction: column; gap: .35rem; }
.sc-form-group label {
  font-size: .75rem;
  color: var(--grey);
  letter-spacing: .06em;
  text-transform: uppercase;
  font-family: 'Oswald', sans-serif;
}
.sc-form-group input,
.sc-form-group select,
.sc-form-group textarea {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: var(--white);
  padding: .65rem .85rem;
  border-radius: 3px;
  font-size: .9rem;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color .2s;
}
.sc-form-group input::placeholder,
.sc-form-group textarea::placeholder { color: rgba(255,255,255,.25); }
.sc-form-group input:focus,
.sc-form-group select:focus,
.sc-form-group textarea:focus { border-color: var(--red); }
.sc-form-group select option { background: #111; }
.sc-form-group textarea { resize: vertical; }
.sc-form-error {
  color: #f87171;
  font-size: .8rem;
  min-height: 1.2rem;
}

/* Success */
.sc-success {
  text-align: center;
  padding: 1rem 0 .5rem;
}
.sc-success-icon { font-size: 3rem; margin-bottom: 1rem; }
.sc-success h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.4rem;
  letter-spacing: .05em;
  margin-bottom: .5rem;
}
.sc-success p {
  color: var(--grey);
  font-size: .9rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* Auth nav button */
.nav-auth-btn {
  font-size: .75rem !important;
  padding: .3rem .85rem;
  background: var(--red);
  border-radius: 3px;
  color: var(--white) !important;
  transition: background .2s !important;
}
.nav-auth-btn:hover { background: #c91920 !important; }
.nav-auth-btn::after { display: none !important; }

/* Detail modal */
.sc-detail-title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.5rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: .75rem;
}
.sc-detail-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.sc-detail-author { font-size: .85rem; color: var(--grey); }
.sc-detail-body {
  color: var(--grey);
  font-size: .9rem;
  line-height: 1.7;
  white-space: pre-line;
  margin-bottom: 1.5rem;
}
.sc-detail-actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.sc-detail-actions a {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-family: 'Oswald', sans-serif;
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .55rem 1.25rem;
  border-radius: 3px;
  transition: all .2s;
}
.sc-link-primary { background: var(--red); color: var(--white) !important; }
.sc-link-primary:hover { background: #c91920; }
.sc-link-secondary {
  background: rgba(255,255,255,.08);
  color: var(--grey) !important;
  border: 1px solid rgba(255,255,255,.12);
}
.sc-link-secondary:hover { background: rgba(255,255,255,.14); color: var(--white) !important; }

.sc-like-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-family: 'Oswald', sans-serif;
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .55rem 1.25rem;
  border-radius: 3px;
  background: rgba(255,255,255,.08);
  color: var(--grey);
  border: 1px solid rgba(255,255,255,.12);
  cursor: pointer;
  transition: all .2s;
}
.sc-like-btn:hover, .sc-like-btn.liked {
  background: rgba(227,30,36,.15);
  color: #f87171;
  border-color: rgba(227,30,36,.3);
}

/* ===========================
   COMMENTS
=========================== */
.sc-comments-section {
  margin-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 1.25rem;
}
.sc-comments-title {
  font-size: .95rem;
  font-weight: 600;
  margin: 0 0 1rem;
  color: var(--grey);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.sc-comments-list { display: flex; flex-direction: column; gap: .85rem; margin-bottom: 1rem; }
.sc-comment { background: rgba(255,255,255,.04); border-radius: 8px; padding: .75rem 1rem; }
.sc-cmt-head { display: flex; align-items: center; gap: .5rem; margin-bottom: .4rem; }
.sc-cmt-avatar {
  width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
}
.sc-cmt-avatar-ph {
  width: 28px; height: 28px; border-radius: 50%; background: var(--red);
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; font-weight: 700; color: #fff; flex-shrink: 0;
}
.sc-cmt-name { font-weight: 600; font-size: .82rem; }
.sc-cmt-time { font-size: .75rem; color: var(--grey); margin-left: auto; }
.sc-cmt-body { font-size: .87rem; line-height: 1.5; white-space: pre-wrap; word-break: break-word; }
.sc-comment-img {
  display: block; max-width: 100%; max-height: 320px; border-radius: 6px;
  margin-top: .5rem; cursor: pointer; object-fit: contain;
}
.sc-comment-form { margin-top: .75rem; }
.sc-comment-textarea {
  width: 100%; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px; color: #fff; font-family: 'Inter', sans-serif;
  font-size: .87rem; padding: .6rem .8rem; resize: vertical;
  transition: border-color .2s; box-sizing: border-box;
}
.sc-comment-textarea:focus { outline: none; border-color: var(--red); }
.sc-comment-form-actions {
  display: flex; align-items: center; gap: .6rem; margin-top: .5rem;
}
.sc-comment-img-label {
  cursor: pointer; color: var(--grey); display: flex; align-items: center;
  padding: .35rem .5rem; border-radius: 6px; transition: background .2s;
}
.sc-comment-img-label:hover { background: rgba(255,255,255,.08); color: #fff; }

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 860px) {
  .showcase-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
  .showcase-grid { grid-template-columns: 1fr; }
  .sc-toolbar-inner { flex-direction: column; align-items: flex-start; }
  .sc-right { margin-left: 0; width: 100%; }
  .sc-modal { padding: 1.5rem; }
  .sc-form-row { grid-template-columns: 1fr; }
}

/* ===========================
   PROFILE PAGE
=========================== */
.sc-profile-page-header {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  padding: 5rem 2rem 3rem;
  max-width: 1100px;
  margin: 0 auto;
}

.sc-profile-avatar-wrap { flex-shrink: 0; }

.sc-profile-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--red);
  background: #222;
}

.sc-profile-info { flex: 1; }

.sc-profile-name {
  font-family: 'Oswald', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 .5rem;
}

.sc-profile-bio {
  color: var(--grey);
  font-size: .95rem;
  margin: 0 0 1rem;
  line-height: 1.6;
  max-width: 600px;
}

.sc-profile-socials {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}

.sc-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,.07);
  color: var(--grey);
  transition: background .2s, color .2s;
  text-decoration: none;
}
.sc-social-link:hover { background: var(--red); color: #fff; }

/* Section headings */
.sc-section {
  max-width: 1100px;
  margin: 0 auto 3rem;
  padding: 0 2rem;
}
.sc-section-title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #fff;
  margin: 0 0 1.5rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--red);
  display: inline-block;
}

/* Wall */
.sc-wall-form {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-bottom: 1.5rem;
}
.sc-wall-form textarea {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  color: #fff;
  padding: .75rem 1rem;
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  resize: vertical;
  min-height: 80px;
  outline: none;
  transition: border-color .2s;
}
.sc-wall-form textarea:focus { border-color: var(--red); }
.sc-wall-submit-btn { align-self: flex-start; }

.sc-wall-login-hint {
  color: var(--grey);
  font-size: .9rem;
  margin-bottom: 1.5rem;
}
.sc-wall-login-hint a { color: var(--red); }

.sc-wall-post {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin-bottom: .75rem;
}
.sc-wall-post-header {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .6rem;
}
.sc-wall-post-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.sc-wall-post-avatar-placeholder {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: .9rem;
  flex-shrink: 0;
}
.sc-wall-post-meta { flex: 1; display: flex; flex-direction: column; gap: .1rem; }
.sc-wall-author-link { color: #fff; font-weight: 600; font-size: .9rem; text-decoration: none; }
.sc-wall-author-link:hover { color: var(--red); }
.sc-wall-post-time { color: var(--grey); font-size: .78rem; }
.sc-wall-post-delete {
  background: none;
  border: none;
  color: var(--grey);
  cursor: pointer;
  font-size: .85rem;
  padding: .25rem .5rem;
  border-radius: 4px;
  transition: color .2s, background .2s;
  margin-left: auto;
}
.sc-wall-post-delete:hover { color: #fff; background: rgba(220,38,38,.4); }
.sc-wall-post-body {
  color: rgba(255,255,255,.85);
  font-size: .9rem;
  line-height: 1.6;
  white-space: pre-line;
  margin: 0;
}

@media (max-width: 600px) {
  .sc-profile-page-header { flex-direction: column; align-items: center; text-align: center; padding-top: 4rem; }
  .sc-profile-socials { justify-content: center; }
}

/* ===========================
   PROFILE – NAME ROW + EDIT BUTTON
=========================== */
.sc-profile-name-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: .5rem;
}
.sc-edit-profile-btn {
  font-family: 'Oswald', sans-serif;
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .35rem .85rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  color: var(--grey);
  border-radius: 3px;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}
.sc-edit-profile-btn:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

/* ===========================
   PROFILE – AVATAR UPLOAD BUTTON
=========================== */
.sc-profile-avatar-wrap {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
}
.sc-avatar-upload-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  cursor: pointer;
  position: absolute;
  bottom: 4px;
  right: 4px;
  transition: background .2s, transform .2s;
  border: 2px solid #0a0a0a;
}
.sc-avatar-upload-btn:hover { background: #c91920; transform: scale(1.1); }

/* ===========================
   EDIT PROFILE MODAL
=========================== */
.sc-edit-modal { max-width: 560px; }

/* ===========================
   SOCIAL PLATFORM CARDS (index.html – SLEDUJ NÁS)
=========================== */
.social-platforms {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.social-platform-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  padding: 2rem 2.5rem;
  text-decoration: none;
  color: var(--grey);
  transition: border-color .2s, background .2s, transform .2s, color .2s;
  min-width: 130px;
}
.social-platform-card:hover {
  border-color: rgba(227,30,36,.4);
  background: rgba(227,30,36,.06);
  transform: translateY(-4px);
  color: #fff;
}
.social-platform-card svg { width: 40px; height: 40px; flex-shrink: 0; }
.social-platform-card span {
  font-family: 'Oswald', sans-serif;
  font-size: .9rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.social-platform-handle {
  font-family: 'Inter', sans-serif;
  font-size: .78rem;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(255,255,255,.35);
}
.social-platform-card:hover .social-platform-handle { color: rgba(255,255,255,.6); }
@media (max-width: 600px) {
  .social-platforms { gap: 1rem; }
  .social-platform-card { padding: 1.5rem 1.75rem; min-width: 100px; }
}

/* ===========================
   WALL POST ACTIONS (likes, replies)
=========================== */
.sc-wall-post-actions {
  display: flex;
  gap: .35rem;
  margin-top: .6rem;
  padding-top: .5rem;
  border-top: 1px solid rgba(255,255,255,.06);
}
.sc-wall-like-btn,
.sc-wall-reply-toggle {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: none;
  border: none;
  color: var(--grey);
  font-size: .78rem;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  padding: .3rem .6rem;
  border-radius: 4px;
  transition: background .2s, color .2s;
}
.sc-wall-like-btn:hover,
.sc-wall-reply-toggle:hover { background: rgba(255,255,255,.07); color: #fff; }
.sc-wall-like-btn.liked { color: #f87171; }
.sc-wall-like-btn.liked svg { fill: #f87171; }

/* Replies section */
.sc-wall-replies-wrap {
  margin-top: .75rem;
  padding-left: 1rem;
  border-left: 2px solid rgba(255,255,255,.07);
}
.sc-reply {
  display: flex;
  gap: .6rem;
  margin-bottom: .65rem;
}
.sc-reply-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.sc-reply-avatar-placeholder {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(227,30,36,.5);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Oswald', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  flex-shrink: 0;
}
.sc-reply-body { flex: 1; min-width: 0; }
.sc-reply-header {
  display: flex;
  align-items: center;
  gap: .45rem;
  flex-wrap: wrap;
  margin-bottom: .2rem;
}
.sc-reply-text {
  color: rgba(255,255,255,.8);
  font-size: .85rem;
  line-height: 1.5;
  margin: 0;
  white-space: pre-line;
  word-break: break-word;
}
.sc-reply-delete {
  background: none;
  border: none;
  color: var(--grey);
  cursor: pointer;
  font-size: .72rem;
  padding: .1rem .3rem;
  border-radius: 3px;
  margin-left: auto;
  transition: color .2s, background .2s;
}
.sc-reply-delete:hover { color: #fff; background: rgba(220,38,38,.4); }

.sc-wall-reply-form {
  display: flex;
  gap: .45rem;
  margin-top: .65rem;
  align-items: center;
}
.sc-wall-reply-input {
  flex: 1;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px;
  color: #fff;
  padding: .38rem .85rem;
  font-size: .82rem;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color .2s;
  min-width: 0;
}
.sc-wall-reply-input:focus { border-color: var(--red); }
.sc-wall-reply-input::placeholder { color: rgba(255,255,255,.3); }
.sc-wall-reply-send {
  background: var(--red);
  border: none;
  border-radius: 20px;
  color: #fff;
  padding: .38rem .85rem;
  font-size: .75rem;
  font-family: 'Oswald', sans-serif;
  letter-spacing: .06em;
  cursor: pointer;
  transition: background .2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.sc-wall-reply-send:hover { background: #c91920; }
.sc-wall-reply-send:disabled { opacity: .5; cursor: not-allowed; }

/* ===========================
   CHAT WIDGET
=========================== */
#chat-widget {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 300;
}
.chat-bubble {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--red);
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(0,0,0,.45);
  transition: transform .2s, background .2s;
  position: relative;
}
.chat-bubble:hover { transform: scale(1.08); background: #c91920; }
.chat-unread-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  background: #fff;
  color: var(--red);
  border-radius: 10px;
  font-size: .62rem;
  font-weight: 700;
  padding: 0 .3rem;
  min-width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.chat-panel {
  position: absolute;
  bottom: 62px;
  right: 0;
  width: 310px;
  max-height: 470px;
  background: #111;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 40px rgba(0,0,0,.55);
  overflow: hidden;
}
.chat-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .8rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-family: 'Oswald', sans-serif;
  font-size: .9rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #fff;
  flex-shrink: 0;
}
.chat-panel-close {
  background: none;
  border: none;
  color: var(--grey);
  cursor: pointer;
  font-size: .85rem;
  transition: color .2s;
  padding: 0 .25rem;
}
.chat-panel-close:hover { color: #fff; }
.chat-panel-body { flex: 1; overflow: hidden; display: flex; flex-direction: column; }
.chat-empty, .chat-loading {
  text-align: center;
  color: var(--grey);
  font-size: .82rem;
  padding: 1.5rem 1rem;
}
#chat-conversations-view { overflow-y: auto; flex: 1; }
.chat-conv-item {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .7rem 1rem;
  cursor: pointer;
  border-bottom: 1px solid rgba(255,255,255,.05);
  transition: background .2s;
}
.chat-conv-item:hover { background: rgba(255,255,255,.05); }
.chat-conv-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.chat-conv-avatar-placeholder {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: .82rem;
  flex-shrink: 0;
}
.chat-conv-info { flex: 1; display: flex; flex-direction: column; gap: .12rem; overflow: hidden; }
.chat-conv-name { font-size: .85rem; font-weight: 600; color: #fff; display: flex; align-items: center; gap: .4rem; }
.chat-conv-last { font-size: .74rem; color: var(--grey); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Online dot on avatar */
.chat-conv-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}
.chat-online-dot {
  position: absolute;
  bottom: 1px;
  right: 1px;
  width: 9px;
  height: 9px;
  background: #18a058;
  border-radius: 50%;
  border: 2px solid #141414;
}

/* Load more */
.chat-load-more-btn {
  display: block;
  width: 100%;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,.06);
  color: var(--grey);
  cursor: pointer;
  font-size: .77rem;
  padding: .45rem 0;
  text-align: center;
  font-family: 'Inter', sans-serif;
  transition: color .2s;
}
.chat-load-more-btn:hover { color: #fff; }

.chat-unread-dot {
  background: var(--red);
  color: #fff;
  border-radius: 10px;
  font-size: .6rem;
  font-weight: 700;
  padding: 0 .3rem;
  min-width: 15px;
  height: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
/* Thread view */
#chat-thread-view { display: flex; flex-direction: column; flex: 1; overflow: hidden; }
.chat-back-btn {
  background: none;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,.06);
  color: var(--grey);
  cursor: pointer;
  font-size: .78rem;
  padding: .45rem 1rem;
  text-align: left;
  transition: color .2s;
  flex-shrink: 0;
}
.chat-back-btn:hover { color: #fff; }
.chat-thread-header {
  padding: .35rem 1rem .5rem;
  font-family: 'Oswald', sans-serif;
  font-size: .88rem;
  letter-spacing: .05em;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.06);
  flex-shrink: 0;
}
.chat-messages-list {
  flex: 1;
  overflow-y: auto;
  padding: .75rem 1rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.chat-msg {
  max-width: 76%;
  padding: .42rem .72rem;
  border-radius: 12px;
  font-size: .84rem;
  line-height: 1.4;
  word-break: break-word;
  white-space: pre-line;
}
.chat-msg-mine { background: var(--red); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.chat-msg-theirs { background: rgba(255,255,255,.1); color: #fff; align-self: flex-start; border-bottom-left-radius: 4px; }
.chat-input-row {
  display: flex;
  gap: .45rem;
  padding: .6rem 1rem;
  border-top: 1px solid rgba(255,255,255,.08);
  flex-shrink: 0;
  align-items: center;
}
.chat-input {
  flex: 1;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px;
  color: #fff;
  padding: .38rem .85rem;
  font-size: .84rem;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color .2s;
  min-width: 0;
}
.chat-input:focus { border-color: var(--red); }
.chat-input::placeholder { color: rgba(255,255,255,.3); }
.chat-send-btn {
  background: var(--red);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  flex-shrink: 0;
}
.chat-send-btn:hover { background: #c91920; }
@media (max-width: 420px) {
  .chat-panel { width: calc(100vw - 3rem); right: 0; }
  #chat-widget { bottom: 1rem; right: 1rem; }
}

/* ── Notification Bell ──────────────────────────────────────── */
.nav-notif-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #fff;
  padding: 4px 6px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: .88rem;
  line-height: 1;
}
.nav-notif-btn:hover { opacity: .8; }
.notif-badge {
  background: var(--red);
  color: #fff;
  font-size: .66rem;
  font-weight: 700;
  border-radius: 10px;
  padding: 1px 5px;
  min-width: 17px;
  text-align: center;
  line-height: 1.6;
}
.notif-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 320px;
  background: #1c1c1c;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,.55);
  z-index: 2000;
  max-height: 420px;
  overflow-y: auto;
}
.notif-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .55rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  position: sticky;
  top: 0;
  background: #1c1c1c;
}
.notif-read-all-btn {
  background: none;
  border: none;
  color: var(--red);
  font-size: .78rem;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
}
.notif-read-all-btn:hover { opacity: .8; }
.notif-item {
  display: block;
  padding: .72rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
  color: #fff;
  cursor: pointer;
  transition: background .15s;
}
.notif-item:last-child { border-bottom: none; }
.notif-item:hover { background: rgba(255,255,255,.05); }
.notif-item.unread { background: rgba(229,9,20,.08); }
.notif-item-title { font-weight: 600; font-size: .84rem; margin-bottom: .15rem; }
.notif-item-body { font-size: .77rem; color: rgba(255,255,255,.58); }
.notif-item-time { font-size: .71rem; color: rgba(255,255,255,.32); margin-top: .12rem; }
.notif-empty {
  padding: 1.2rem;
  text-align: center;
  color: rgba(255,255,255,.38);
  font-size: .84rem;
}
