/* HushBox — bazowy arkusz (wartości z projektu referencyjnego 2024) */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url('/assets/nunito-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url('/assets/nunito.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'fontello';
  src: url('/assets/fontello.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

:root {
  --red: #ee1144;
  --red-dark: #be0e36;
  --dark: #131619;
  --white: #fff;
  --muted: #b2b2bb;
  --gray: #8b8b94;
  --border: #e6e6f0;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--dark);
  color: #fff;
  font-family: 'Nunito', -apple-system, 'Segoe UI', Arial, sans-serif;
  font-size: 14px;
  line-height: 1.4;
  min-width: 320px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
img { max-width: 100%; }
::selection { background: var(--red); color: #fff; }
[hidden] { display: none !important; }

/* ---------- ikony (fontello) ---------- */
[class^="icon-"]::before, [class*=" icon-"]::before {
  font-family: 'fontello';
  font-style: normal;
  font-weight: normal;
  speak: none;
  display: inline-block;
  text-decoration: inherit;
  text-align: center;
  font-variant: normal;
  text-transform: none;
  -webkit-font-smoothing: antialiased;
}
.icon-like::before { content: '\e815'; }
.icon-like:hover::before, .icon-like.active::before { content: '\e743'; }
.icon-reward::before { content: '\ebf0'; }
.icon-mention::before { content: '\e838'; }
.icon-tab-notifications::before { content: '\e809'; }
.icon-upload-image::before { content: '\ea53'; }
.streamPhoto { display: block; width: 100%; border-radius: 5px; margin-top: 8px; }
.streamVideo { display: block; width: 100%; max-height: 420px; border-radius: 5px; margin-top: 8px; background: #000; }
.askPhoto { background: none; border: 0; color: #fff; font-size: 18px; cursor: pointer; padding: 0 4px; opacity: .8; }
.askPhoto:hover { opacity: 1; }
.askPreview { display: block; max-height: 180px; border-radius: 4px; margin-top: 8px; }
.dailyCard { margin-bottom: 12px; padding: 16px 20px; }
.dailyLabel { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--red); margin-bottom: 6px; }
.dailyQ { font-size: 19px; font-weight: 700; line-height: 1.3; margin-bottom: 12px; }
.mediaBar { display: flex; gap: 8px; align-items: center; margin-top: 10px; flex-wrap: wrap; }
.mediaInfo { font-size: 12px; color: var(--gray); }
.notifPanel {
  position: absolute; top: 52px; right: 10px; width: 360px; max-width: calc(100vw - 20px);
  max-height: 440px; overflow-y: auto; background: #fff; color: var(--dark);
  border-radius: 7px; box-shadow: 0 10px 40px rgba(0, 0, 0, .45); z-index: 1400;
}
.notifItem { display: flex; gap: 10px; padding: 11px 14px; border-bottom: 1px solid #f1f1f5; }
.notifItem:hover { background: #f7f7fb; }
.notifItem.unread { background: #fff4f7; }
.notifItem .avatar { width: 34px; height: 34px; font-size: 14px; }
.notifText { font-size: 13px; line-height: 1.35; }
.notifText .hint { margin-top: 2px; }
.notifEmpty { padding: 20px; text-align: center; color: var(--gray); font-size: 13px; }
.chatRow { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.chatRow .avatar { width: 44px; height: 44px; }
.chatWho { flex: 1; min-width: 0; }
.chatName { font-weight: 700; font-size: 15px; }
.chatLast { font-size: 13px; color: var(--gray); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chatRight { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.chatUnread { background: var(--red); color: #fff; border-radius: 10px; font-size: 11px; font-weight: 700; padding: 1px 7px; }
.chatBox { padding: 0; overflow: hidden; }
.chatHeader { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid #f1f1f5; }
.chatHeader .avatar { width: 40px; height: 40px; }
.chatHeader .btn { margin-left: auto; }
.chatMessages { height: 420px; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: #fafafe; }
.chatMessages > *:first-child { margin-top: auto; }
.msg { display: flex; flex-direction: column; align-items: flex-start; max-width: 80%; }
.msg.mine { align-self: flex-end; align-items: flex-end; }
.bubble { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 8px 12px; font-size: 14px; line-height: 1.4; overflow-wrap: anywhere; }
.msg.mine .bubble { background: var(--red); border-color: var(--red); color: #fff; }
.msgTime { font-size: 11px; color: var(--gray); margin-top: 3px; }
.chatForm { display: flex; gap: 8px; padding: 12px 16px; border-top: 1px solid #f1f1f5; background: #fff; }
.chatForm .input { flex: 1; }
.adminTabs { display: flex; gap: 6px; margin-bottom: 14px; flex-wrap: wrap; }
.adminTab { background: rgba(255, 255, 255, .08); color: #fff; border: 0; border-radius: 5px; padding: 8px 14px; font-weight: 700; font-size: 13px; cursor: pointer; }
.adminTab:hover { background: rgba(255, 255, 255, .16); }
.adminTab.active { background: var(--red); }
.adminStats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 12px; }
.statCard { background: #fff; border-radius: 7px; padding: 14px; }
.statNum { font-size: 24px; font-weight: 800; color: var(--dark); line-height: 1.1; }
.statLabel { font-size: 11px; color: var(--gray); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; margin-top: 4px; }
.adminActions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.adminUser { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.adminUser .avatar { width: 42px; height: 42px; font-size: 16px; flex: 0 0 42px; }
.adminUserInfo { flex: 1; min-width: 0; }
.adminUserName { font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.adminUserActions { display: flex; gap: 6px; flex-wrap: wrap; }
.tag { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; padding: 2px 6px; border-radius: 3px; }
.tagAdmin { background: #e8e2ff; color: #5b3fd6; }
.tagBan { background: #ffe1e7; color: #b3123a; }
.adminReport { margin-bottom: 10px; }
.adminReportHead { display: flex; justify-content: space-between; gap: 10px; }
.icon-send::before { content: '\ea60'; }
.icon-more::before { content: '\e837'; }
.icon-flag::before { content: '\e810'; }
.icon-search::before { content: '\e80a'; }
.icon-question::before { content: '\e81a'; }
.icon-bio::before { content: '\ea45'; }
.icon-location::before { content: '\ea41'; }
.icon-link::before { content: '\ea42'; }
.icon-interest::before { content: '\ea43'; }
.icon-caret-right::after { content: '\e80c'; }
.icon-close::before { content: '\e830'; }
.icon-hamburger::before { content: '\e824'; }
.icon-star::before { content: '\e8a0'; }
.icon-facebook::before { content: '\e81d'; }
.icon-google::before { content: '\e81e'; }
.icon-twitter::before { content: '\e822'; }
.icon-vkontakte::before { content: '\e829'; }
.icon-settings::before { content: '\e800'; }
.icon-delete::before { content: '\e831'; }
.icon-check::before { content: '\e844'; }
.icon-home::before { content: '\e805'; }

/* ---------- tło / okładka ---------- */
.backgroundWrap {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 400px;
  overflow: hidden;
  background-color: var(--dark);
  background-image: linear-gradient(160deg, #2a2d33, #131619 70%);
  z-index: -10;
}
.backgroundWrap img {
  width: 100%; min-height: 400px; object-fit: cover;
}
.backgroundWrap .gradient {
  position: absolute; inset: 0; z-index: 2;
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, .4) 30%, #131619);
}

/* ---------- górny pasek ---------- */
.topMenu {
  background-color: var(--dark);
  position: sticky; top: 0; width: 100%; z-index: 1000;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .15);
}
.topBar {
  max-width: 820px; margin: 0 auto; height: 49px; padding: 0 10px;
  display: flex; align-items: center; justify-content: space-between;
  white-space: nowrap;
}
.topBar .brandLogo { font-size: 26px; font-weight: 900; letter-spacing: -1.4px; color: #fff; line-height: 1; text-decoration: none; }
.topBar .brandLogo:hover { color: #ffd9e2; }
.topBar_side { display: flex; align-items: center; gap: 4px; }
.btnAction {
  cursor: pointer; display: inline-block; text-align: center; font-weight: 700;
  color: var(--red); line-height: normal; padding: 5px 12px; border-radius: 5px;
  font-size: 16px; background: none; border: none;
}
.btnAction:hover { background: var(--red); color: #fff; }
.topIcon {
  background: none; border: 0; color: #fff; font-size: 19px; cursor: pointer;
  width: 38px; height: 38px; border-radius: 50%; position: relative;
  display: inline-flex; align-items: center; justify-content: center; padding: 0;
}
.topIcon:hover { background: rgba(255, 255, 255, .1); }
.topIcon .badge {
  position: absolute; top: 2px; right: 2px; min-width: 16px; height: 16px;
  padding: 0 4px; border-radius: 8px; background: var(--red); color: #fff;
  font-size: 10px; font-weight: 700; line-height: 16px; text-align: center;
}
.topAvatar {
  width: 28px; height: 28px; border-radius: 50%; background-size: cover;
  background-position: center; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .25);
  display: inline-block; margin-left: 4px; flex: 0 0 28px;
  font-size: 12px; font-weight: 700; color: #fff; text-align: center; line-height: 28px;
  overflow: hidden; user-select: none;
}
.topAvatar:hover { box-shadow: 0 0 0 1.5px #fff; }

/* menu użytkownika */
.userMenu {
  position: absolute; top: 52px; right: 10px; z-index: 1200;
  background: #fff; color: var(--dark); border-radius: 7px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .4); min-width: 190px; overflow: hidden;
}
.userMenu a, .userMenu button {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 11px 15px; font-size: 14px; font-weight: 600; text-align: left;
  background: none; border: 0; color: var(--dark); cursor: pointer;
}
.userMenu a:hover, .userMenu button:hover { background: #f2f2f9; }
.userMenu .sep { height: 1px; background: var(--border); }

/* szukajka */
.searchPanel {
  background: #1d2025; border-top: 1px solid #2a2e35; padding: 10px;
}
.searchPanel .inner { max-width: 820px; margin: 0 auto; position: relative; }
.searchPanel input {
  width: 100%; height: 40px; border-radius: 5px; border: 1px solid #3a3f47;
  background: #fff; color: var(--dark); padding: 0 12px; font: inherit; font-size: 15px; outline: none;
}
.searchResults {
  position: absolute; left: 0; right: 0; top: 46px; background: #fff; color: var(--dark);
  border-radius: 7px; box-shadow: 0 10px 40px rgba(0, 0, 0, .45); overflow: hidden; z-index: 1300;
  max-height: 360px; overflow-y: auto;
}
.searchRow { display: flex; align-items: center; gap: 10px; padding: 10px 12px; }
.searchRow:hover { background: #f2f2f9; }
.searchRow .avatar { width: 34px; height: 34px; font-size: 14px; }
.searchRow .who { min-width: 0; }
.searchRow .name { font-weight: 700; font-size: 14px; }
.searchRow .meta { color: var(--gray); font-size: 12px; }

/* ---------- układ ---------- */
.rsp-container { width: 100%; max-width: 820px; margin: 0 auto; padding: 0 10px; }
.main-content {
  display: grid; grid-template-columns: 500px 300px; gap: 20px;
  grid-template-areas: "header header" "content aside-top";
  align-items: start; padding-top: 12px;
}
.top-content { grid-area: header; }
.aside-top { grid-area: aside-top; }
.main-column { grid-area: content; min-width: 0; }

/* ---------- profil ---------- */
.profileBox { display: flex; align-items: flex-start; margin: 32px 0 16px; position: relative; }
.userAvatar-big {
  width: 80px; height: 80px; flex: 0 0 80px; border-radius: 50%;
  background-size: cover; background-position: center; background-color: #555;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, .2);
  display: grid; place-items: center; font-size: 32px; font-weight: 700; color: #fff;
  margin-right: 20px; overflow: hidden; user-select: none;
}
.profileBox .handle {
  color: #fff; font-size: 12px; display: flex; align-items: center; gap: 6px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
}
.profileName {
  font-size: 28px; font-weight: 700; color: #fff; line-height: 1.25;
  margin: 8px 0 10px; text-shadow: 0 1px 3px rgba(0, 0, 0, .35);
  overflow-wrap: anywhere;
}
.profileActions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.profileStats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  color: #fff; margin-top: 24px; align-items: center;
}
.stat { display: flex; align-items: center; min-width: 0; }
.profileStats_icon {
  width: 40px; height: 40px; flex: 0 0 40px; border-radius: 50%;
  background: rgba(0, 0, 0, .5); display: grid; place-items: center;
  font-size: 19px; margin-right: 12px;
}
.statValue { font-size: 19px; font-weight: 700; line-height: 1.1; }
.statLabel { font-size: 12px; opacity: .5; }

.aboutBox { margin-top: 24px; color: #fff; }
.aboutBox h2 { font-size: 16px; font-weight: 700; margin: 0 0 12px; }
.aboutRow {
  position: relative; padding-left: 24px; margin: 8px 0;
  font-size: 14px; color: #e6e6f0; overflow-wrap: anywhere;
}
.aboutRow::before {
  font-family: 'fontello'; position: absolute; left: 0; top: 1px;
  font-size: 15px; opacity: .75;
}
.aboutRow.bio::before { content: '\ea45'; }
.aboutRow.location::before { content: '\ea41'; }
.aboutRow.link::before { content: '\ea42'; }
.aboutRow.interest::before { content: '\ea43'; }

/* ---------- przyciski ---------- */
.btn {
  cursor: pointer; display: inline-block; font-size: 14px; width: auto;
  padding: 9px 15px; text-align: center; font-weight: 700; box-sizing: border-box;
  min-width: 140px; line-height: 18px; position: relative;
  border: 1px solid transparent; border-radius: 7px; height: 38px;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background-color: var(--red-dark); }
.btn-secondary { border: 1px solid var(--dark); background: transparent; color: var(--dark); }
.btn-secondary:hover { background: var(--dark); color: #fff; }
.btn-secondaryInverse { border: 1px solid #fff; background: transparent; color: #fff; }
.btn-secondaryInverse:hover { background: #fff; color: var(--dark); }
.btn-compact { padding: 6px 12px; border-radius: 5px; height: 30px; min-width: auto; line-height: 18px; font-size: 14px; white-space: nowrap; }
.btn-wide { width: 100%; }
.btn:disabled { opacity: .5; cursor: default; }
.btn-send { width: 100px; min-width: 0; padding: 0; display: inline-flex; align-items: center; justify-content: center; }
.btn-send::before { font-size: 16px; }

.linkbtn { background: none; border: 0; padding: 0; color: var(--red); font: inherit; font-weight: 700; cursor: pointer; }
.linkbtn:hover { text-decoration: underline; }

/* ---------- pole "zadaj pytanie" ---------- */
.baseDark { background: rgba(0, 0, 0, .5); color: #fff; }
.rounded-normal { border-radius: 7px; }
.rounded-small { border-radius: 5px; }
.askBox { margin-bottom: 16px; }
.askBox > header { padding: 15px 15px 0; }
.askBox > header .title { font-size: 16px; font-weight: 700; overflow-wrap: anywhere; }
.askForm .textBlock {
  background: #fff; border: 1px solid var(--border); border-radius: 5px;
  margin: 12px 15px 0; padding: 8px 10px; color: var(--dark);
}
.askForm textarea {
  width: 100%; border: 0; outline: none; resize: none; background: transparent;
  font-family: inherit; font-size: 16px; line-height: 20px; color: var(--dark);
  min-height: 20px; max-height: 250px; padding: 0; display: block; overflow: hidden;
}
.askForm textarea::placeholder { color: var(--muted); }
.optionsBar {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 15px 15px; line-height: 38px; color: #fff;
}
.optionsBar .flex-1 { flex: 1; min-width: 0; }
.optionsBar-counter { font-size: 12px; color: var(--muted); min-width: 42px; text-align: right; font-variant-numeric: tabular-nums; }

/* przełącznik anonimowości */
.toggleSwitch { position: absolute; opacity: 0; visibility: hidden; width: 0; height: 0; }
.toggleSwitch + label {
  position: relative; display: inline-block; padding-left: 40px;
  color: #d4d4db; font-size: 12px; line-height: 16px; cursor: pointer;
  user-select: none; transition: color .2s;
}
.toggleSwitch + label::before {
  content: ''; position: absolute; left: 0; top: 0; width: 30px; height: 15px;
  border-radius: 8px; background: rgba(255, 255, 255, .15); transition: background .2s;
}
.toggleSwitch + label::after {
  content: ''; position: absolute; left: 2px; top: 2px; width: 11px; height: 11px;
  border-radius: 50%; background: #fff; transition: transform .2s;
}
.toggleSwitch:checked + label::before { background: var(--red); }
.toggleSwitch:checked + label::after { transform: translateX(15px); }
.toggleSwitch:disabled + label { opacity: .45; cursor: not-allowed; }

/* ---------- breadcrumbs / zakładki ---------- */
.breadcrumbs { display: flex; align-items: center; margin: 5px 0 20px; font-size: 12px; }
.breadcrumbs a {
  color: rgba(255, 255, 255, .75); font-weight: 700; font-size: 12px;
  position: relative; padding-right: 22px;
}
.breadcrumbs a::after {
  font-family: 'fontello'; content: '\e80c'; position: absolute; right: 4px;
  top: 50%; transform: translateY(-50%) rotate(90deg); font-size: 10px; opacity: .35;
}
.breadcrumbs span { color: rgba(255, 255, 255, .5); font-size: 12px; }

.tabBar {
  display: flex; border: 1px solid #fff; border-radius: 7px; overflow: hidden;
  margin-bottom: 14px; text-align: center; font-size: 12px; font-weight: 700;
}
.tabBar a { flex: 1; line-height: 22px; padding: 4px 3px 3px; color: #fff; }
.tabBar a:first-child { border-radius: 4px 0 0 4px; }
.tabBar a:last-child { border-radius: 0 4px 4px 0; }
.tabBar a.active { background: #fff; color: var(--dark); }

.sortRow { display: flex; justify-content: flex-end; align-items: center; gap: 16px; font-size: 12px; color: #b2b2bb; margin-bottom: 14px; }
.sortRow .label { margin: 0; }
.sortRow a { color: #b2b2bb; font-weight: 700; position: relative; padding-right: 14px; }
.sortRow a.active { color: #fff; }
.sortRow a.active::after {
  content: ''; position: absolute; right: 2px; top: 50%; width: 5px; height: 5px;
  border-right: 2px solid #fff; border-bottom: 2px solid #fff;
  transform: translateY(-80%) rotate(45deg);
}

/* ---------- strumień ---------- */
.stream { display: flex; flex-direction: column; gap: 10px; }
.streamItem {
  background: #fff; color: var(--dark); border-radius: 7px;
  padding: 15px 20px 0; position: relative; overflow: hidden;
}
.streamItem_header { margin-bottom: 10px; word-wrap: break-word; }
.streamItem_header h3 {
  font-weight: 700; font-size: 19px; display: inline; margin: 0 5px 0 0;
  line-height: 1.3; overflow-wrap: anywhere;
}
.author {
  color: var(--muted); font-size: 12px; font-weight: 400; line-height: 20px;
  display: inline-flex; align-items: center; gap: 4px; vertical-align: text-bottom;
  max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.author_username { vertical-align: text-bottom; line-height: 12px; }
.userAvatar-mini {
  width: 20px; height: 20px; border-radius: 50%; background-size: cover;
  background-position: center; display: inline-block; flex: 0 0 20px; overflow: hidden;
  font-size: 9px; font-weight: 700; color: #fff; text-align: center; line-height: 20px;
}
.streamItem_details { margin-top: 2px; }
.streamItem_meta { color: var(--muted); font-size: 12px; }
.streamItem_meta a { color: var(--muted); }
.streamItem_content {
  word-wrap: break-word; font-size: 16px; line-height: 21px;
  color: var(--dark); margin-top: 10px; white-space: pre-wrap; overflow-wrap: anywhere;
}
.streamItem_footer {
  display: flex; align-items: center; gap: 16px; padding: 12px 0;
  width: 100%; border-top: 1px solid #f1f1f5; margin-top: 12px;
}
.heartButton, .rewardButton { display: flex; align-items: center; gap: 5px; height: 19px; }
.icon-like, .icon-reward { color: var(--dark); font-size: 17px; cursor: pointer; line-height: 1; }
.icon-like:hover, .icon-like.active { color: var(--red); }
.icon-reward { font-size: 21px; }
.heartButton .counter, .rewardButton .counter { color: var(--muted); font-size: 12px; }
.streamItem_option { margin-left: auto; color: var(--muted); font-size: 16px; cursor: pointer; }
.likedBy { padding: 0 0 12px; font-size: 12px; color: var(--gray); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.likedBy .lbl { color: var(--gray); }
.likedBy a { color: var(--dark); font-weight: 700; }
.likedBy a:not(:last-child)::after { content: ', '; font-weight: 400; color: var(--dark); }

/* komentarze (dodatek funkcjonalny, wizualnie stonowany) */
.commentsBar { padding: 0 0 10px; }
.commentsToggle { font-size: 12px; color: var(--gray); background: none; border: 0; padding: 0; cursor: pointer; }
.commentsToggle:hover { color: var(--dark); text-decoration: underline; }
.comments { display: none; border-top: 1px solid #f1f1f5; padding: 10px 0 12px; }
.comments.open { display: block; }
.comment { display: flex; gap: 8px; padding: 5px 0; }
.comment .userAvatar-mini { width: 26px; height: 26px; line-height: 26px; font-size: 11px; }
.comment-body { min-width: 0; flex: 1; }
.comment-name { font-weight: 700; font-size: 12px; }
.comment-name span { color: var(--gray); font-weight: 400; }
.comment-text { font-size: 13px; line-height: 18px; overflow-wrap: anywhere; }
.commentForm { display: flex; gap: 8px; margin-top: 8px; }
.commentForm input {
  flex: 1; height: 34px; border: 1px solid var(--border); border-radius: 5px;
  padding: 0 10px; font: inherit; font-size: 13px; outline: none; color: var(--dark);
}
.commentForm input:focus { border-color: var(--red); }
.commentForm button { min-width: 70px; height: 34px; padding: 0 12px; }

/* ---------- formularze ---------- */
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 12px; font-weight: 700; margin-bottom: 5px; }
.input {
  width: 100%; border: 1px solid var(--border); border-radius: 5px;
  background: #fff; color: var(--dark); padding: 10px 12px;
  font: inherit; font-size: 15px; outline: none;
}
.input:focus { border-color: var(--red); }
textarea.input { resize: vertical; min-height: 90px; }
.hint { font-size: 12px; color: var(--gray); margin-top: 5px; }
.form-error {
  background: #ffe8ee; color: #b3002b; border-radius: 5px;
  padding: 10px 12px; font-size: 13px; margin-bottom: 12px;
}

/* ---------- karty na ciemnym tle ---------- */
.darkCard { background: #fff; color: var(--dark); border-radius: 7px; padding: 20px; }
.pageTitle { font-size: 19px; font-weight: 700; color: #fff; margin: 24px 0 14px; }
.pageTitle .count { opacity: .5; font-weight: 400; }

/* skrzynka */
.inboxItem { margin-bottom: 10px; }
.inboxItem .qHead { font-size: 19px; font-weight: 700; margin-bottom: 4px; overflow-wrap: anywhere; }
.inboxItem .qMeta { font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.inboxItem textarea { width: 100%; min-height: 80px; border: 1px solid var(--border); border-radius: 5px; padding: 10px; font: inherit; font-size: 15px; resize: vertical; outline: none; color: var(--dark); }
.inboxItem textarea:focus { border-color: var(--red); }
.inboxActions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 10px; }

/* ludzie / explore */
.peopleGrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.person { display: flex; align-items: center; gap: 10px; background: #fff; color: var(--dark); border-radius: 7px; padding: 12px 14px; }
.person .avatar { width: 40px; height: 40px; font-size: 16px; }
.person .who { min-width: 0; flex: 1; }
.person .name { font-weight: 700; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.person .meta { font-size: 12px; color: var(--gray); }
.person .btn { min-width: auto; height: 28px; padding: 4px 10px; font-size: 12px; }

/* ---------- awatary ---------- */
.avatar {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; font-weight: 700; font-size: 16px; flex-shrink: 0;
  background-size: cover; background-position: center; overflow: hidden; user-select: none;
}

/* ---------- ekran powitalny / logowanie ---------- */
.rsp-container.welcomeMode { max-width: none; padding: 0; }
.welcome-container {
  min-height: 100vh; color: #fff; text-align: center;
  background: radial-gradient(700px 380px at 78% 8%, rgba(238, 17, 68, .16), transparent 65%);
  display: flex; flex-direction: column;
}
.welcome-content {
  max-width: 400px; width: 100%; margin: 0 auto; flex: 1;
  display: flex; flex-direction: column; justify-content: center;
  padding: 28px 16px 10px;
}
.welcome-logo { margin-bottom: 24px; }
.welcome-logo img { width: 70px; margin: 0 auto; display: block; }
.welcome-logo .brandLogo { display: block; text-align: center; font-size: 58px; font-weight: 900; letter-spacing: -3px; color: #fff; }
.welcome-title { font-size: 28px; font-weight: 700; color: #fff; margin: 0 0 25px; line-height: 1.25; }
.welcome-sub { font-size: 14px; color: var(--muted); margin: 0 0 6px; font-weight: 600; }
.welcome-form { text-align: left; padding: 8px 0 10px; }
.welcome-form .field label { color: #fff; }
.welcome-form .input { border: 0; height: 40px; border-radius: 5px; }
.welcome-form .btn { margin-top: 6px; }
.welcome-alt { margin-top: 14px; font-size: 13px; color: var(--muted); text-align: center; }
.welcome-alt a { color: #fff; font-weight: 700; text-decoration: underline; }
.welcome-services { display: flex; justify-content: center; gap: 12px; margin-top: 22px; }
.welcome-services a {
  width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .12);
  display: grid; place-items: center; color: #fff; font-size: 16px;
}
.welcome-services a:hover { background: rgba(255, 255, 255, .25); }
.welcome-stores { display: flex; gap: 10px; justify-content: center; margin-top: 22px; }
.welcome-stores a {
  flex: 1; max-width: 170px; height: 45px; border: 1px solid #fff; border-radius: 7px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 13px; font-weight: 700; color: #fff;
}
.welcome-stores a:hover { background: rgba(255, 255, 255, .12); }
.welcome-footer { padding: 20px 10px 28px; font-size: 12px; color: rgba(255, 255, 255, .5); }
.welcome-footer a { color: rgba(255, 255, 255, .7); margin: 0 6px; }
.welcome-footer a:hover { color: #fff; }

/* ---------- stopka ---------- */
.bottomFooter {
  background: #fff; color: var(--gray); font-size: 12px;
  padding: 14px 0; margin-top: auto; text-align: center;
}
.bottomFooter .inner { max-width: 820px; margin: 0 auto; padding: 0 10px; }
.bottomFooter nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; margin-bottom: 8px; }
.bottomFooter a { color: var(--gray); font-weight: 700; }
.bottomFooter a:hover { color: var(--dark); }
.bottomFooter .copy { color: var(--gray); }

/* ---------- toast / modal ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px);
  background: #fff; color: var(--dark); padding: 11px 18px; border-radius: 7px;
  font-size: 14px; font-weight: 700; opacity: 0; pointer-events: none;
  transition: opacity .2s, transform .2s; z-index: 3000; max-width: calc(100vw - 40px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, .45);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.err { background: var(--red); color: #fff; }

.modal-backdrop {
  position: fixed; inset: 0; z-index: 2000; background: rgba(0, 0, 0, .65);
  display: grid; place-items: center; padding: 20px;
}
.modal {
  background: #fff; color: var(--dark); border-radius: 7px; width: 100%;
  max-width: 460px; padding: 20px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
}
.modal h3 { margin: 0 0 12px; font-size: 19px; }
.modal .row { display: flex; justify-content: flex-end; gap: 8px; margin-top: 14px; }
.modal .row .btn { min-width: 100px; height: 34px; padding: 6px 12px; }

.empty { padding: 40px 20px; text-align: center; color: var(--gray); }
.skeleton { padding: 40px; text-align: center; color: var(--muted); }
.spinner {
  width: 22px; height: 22px; border-radius: 50%; margin: 0 auto 10px;
  border: 3px solid rgba(255, 255, 255, .2); border-top-color: #fff;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- responsywność ---------- */
@media (max-width: 860px) {
  .main-content { grid-template-columns: 100%; grid-template-areas: "header" "aside-top" "content"; }
  .profileBox { margin-top: 24px; }
  .profileName { font-size: 24px; }
  .profileStats { margin-top: 16px; }
  .aboutBox { margin-top: 18px; }
  .topBar { height: 39px; }
  .rsp-container { padding: 0 15px; }
  .streamItem { padding: 14px 15px 0; }
  .peopleGrid { grid-template-columns: 1fr; }
  .backgroundWrap { height: 320px; }
  .backgroundWrap img { min-height: 320px; }
  .welcome-stores { display: none; }
}
@media (max-width: 560px) {
  .main-content { grid-template-columns: minmax(0, 1fr) !important; padding: 0 12px; }
  .main-column { width: 100%; min-width: 0; }
  .topBar .inner { padding: 0 10px; }
  .adminStats { grid-template-columns: repeat(2, 1fr); }
  .adminUser { flex-wrap: wrap; }
  .adminUserActions { width: 100%; }
}

@media (max-width: 480px) {
  .profileBox { align-items: center; }
  .userAvatar-big { width: 72px; height: 72px; flex-basis: 72px; font-size: 28px; margin-right: 14px; }
  .profileName { font-size: 22px; margin: 4px 0 8px; }
  .profileActions .btn { min-width: 0; }
  .optionsBar { gap: 6px; }
  .btn-send { width: 44px; }
  .breadcrumbs { margin-bottom: 14px; }
  .chatMessages { height: 58vh; }
  .notifPanel { right: 6px; }
}
