:root {
  --bg-primary: #111113;
  --bg-card: #161619;
  --card-header: #141417;
  --border-color: #252830;
  --deep-shadow: rgba(0, 0, 0, 0.25);
  --focus-shadow: rgba(85, 87, 92, 0.25);
  --text-body: #b8bbc2;
  --text-bright: #eceef2;
  --text-deep-muted: #636670;
  --text-muted: #92959c;
  --navbar-bg: rgba(15, 15, 17, 0.85);
  --scrollbar-thumb: #2b2d31;
  --scrollbar-thumb-hover: #404247;

  --shdow-color: rgba(0, 0, 0, 0.45);

  --approved-color: #3de8aa;
  --pending-color: #ffc34d;
  --heart-color: #ff4040;
  --heart-color-sub: #b02020;
  --highlight-color: rgb(0, 175, 75);
  --error-shadow: rgba(239, 68, 68, 0.35);
  --pin-color: #d4d9e2;
  --pin-color-sub: #9aa0aa;
  --star-color: #f5c842;
  --star-color-sub: #d4a020;
  --url-color: #2563eb;
  --url-color-sub: #1d4ed8;

  --default-transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, opacity 0.3s ease;
  --filter-transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
  --search-transition: width 0.3s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease;

  overflow-y: scroll;
  scrollbar-width: none;
}

body.light-mode {
  --bg-primary: #f5f5f7;
  --bg-card: #ffffff;
  --card-header: #fafafa;
  --border-color: #d3d4d6;
  --text-muted: #585b62;
  --text-body: #2e2f34;
  --text-bright: #0d0d0f;
  --text-deep-muted: #82858c;
  --scrollbar-thumb: #ced0d6;
  --scrollbar-thumb-hover: #b2b4b9;
  --navbar-bg: rgba(245, 245, 247, 0);
  --focus-shadow: rgba(160, 162, 167, 0.2);
  --deep-shadow: rgba(255, 255, 255, 0.25);
  --highlight-color: rgb(0, 255, 100);
  --pin-color: #6b707a;
  --pin-color-sub: #4e535b;
}

.inverse {
  --navbar-bg: rgba(245, 245, 247, 1);
  --bg-primary: #f5f5f7;
  --bg-card: #ffffff;
  --card-header: #fafafa;
  --border-color: #d3d4d6;
  --text-muted: #585b62;
  --text-body: #2e2f34;
  --text-bright: #0d0d0f;
  --text-deep-muted: #82858c;
  --scrollbar-thumb: #ced0d6;
  --scrollbar-thumb-hover: #b2b4b9;
  --focus-shadow: rgba(160, 162, 167, 0.2);
  --deep-shadow: rgba(255, 255, 255, 0.25);
  --pin-color: #6b707a;
  --pin-color-sub: #4e535b;
}

body.light-mode .inverse {
  --navbar-bg: rgba(15, 15, 17, 1);
  --bg-primary: #111113;
  --bg-card: #161619;
  --card-header: #141417;
  --border-color: #252830;
  --deep-shadow: rgba(0, 0, 0, 0.25);
  --focus-shadow: rgba(85, 87, 92, 0.25);
  --text-body: #b8bbc2;
  --text-bright: #eceef2;
  --text-deep-muted: #636670;
  --text-muted: #92959c;
  --scrollbar-thumb: #2b2d31;
  --scrollbar-thumb-hover: #404247;
  --pin-color: #d4d9e2;
  --pin-color-sub: #9aa0aa;
}

body.light-mode #qr-light { display: block; }
body:not(.light-mode) #qr-dark { display: block; }

html { scroll-behavior: smooth; scrollbar-color: var(--scrollbar-thumb) var(--bg-card); scrollbar-width: none; }
html::-webkit-scrollbar { width: 10px; }
html::-webkit-scrollbar-track { background: var(--bg-card); transition: var(--default-transition); }
html::-webkit-scrollbar-thumb { background-color: var(--scrollbar-thumb); border: 2px solid var(--bg-card); border-radius: 10px; transition: var(--default-transition); }
html::-webkit-scrollbar-thumb:hover { background-color: var(--scrollbar-thumb-hover); }

body {
  align-items: center;
  background-color: var(--bg-primary);
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  font-family: 'Ubuntu', sans-serif;
  font-size: 16px;
  font-weight: 500;
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  padding: 0;
  transition: var(--default-transition);
}

footer a { border-bottom: none; text-decoration: none;}

/* ---------- ---------- [ANIMATIONS] ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- */

.has-glow {
  position: relative;
  z-index: 1;
}

.has-glow::before {
  animation: oceanFlow 10s ease infinite;
  background: linear-gradient(
    135deg,
    transparent 0%,
    transparent 35%,
    var(--border-color) 50%,
    transparent 65%,
    transparent 100%
  );
  background-size: 400% 400%;
  bottom: 0;
  content: '';
  left: 0;
  opacity: 0.5;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 0;
  transition: var(--default-transition);
  z-index: -1;
}

.has-fast-glow {
  position: relative;
  z-index: 1;
}

.has-fast-glow::before {
  animation: oceanFlow 5s ease infinite;
  background: linear-gradient(
    135deg,
    transparent 0%,
    transparent 35%,
    var(--border-color) 50%,
    transparent 65%,
    transparent 100%
  );
  background-size: 400% 400%;
  bottom: 0;
  content: '';
  left: 0;
  opacity: 0.5;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 0;
  transition: var(--default-transition);
  z-index: -1;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes oceanFlow {
  0%   { background-position: 0%   50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0%   50%; }
}

@keyframes typingBounce {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}

@keyframes starCelebration {
  0% {
    transform: translate(-50%, -50%) translate(0, 0) scale(0.1) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) translate(var(--tx), var(--ty)) scale(var(--final-scale)) rotate(var(--rot));
    opacity: 0;
  }
}

@keyframes slideOutLeft {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(-40px); }
}

@keyframes slideOutRight {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(40px); }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes footerGripFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ---------- ---------- [NAVBAR_&_FOOTER] ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- */

.navbar {
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  align-items: center;
  background-color: var(--navbar-bg);
  border-bottom: 1px solid var(--border-color);
  box-sizing: border-box;
  display: flex;
  height: 60px;
  justify-content: space-between;
  left: 0;
  overflow: hidden;
  padding: 0 40px;
  position: fixed;
  top: 0;
  transition: var(--default-transition);
  width: 100%;
  z-index: 1000;
}

.nav-profile {
  align-items: baseline;
  display: flex;
  gap: 12px;
  user-select: none;
}

.nav-name {
  color: var(--text-bright);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.1px;
  transition: var(--default-transition);
}

.nav-role {
  color: var(--text-deep-muted);
  font-size: 0.85rem;
  font-weight: 400;
  transition: var(--default-transition);
}

.nav-links {
  display: flex;
  flex-shrink: 0;
  gap: 24px;
  margin-left: auto;
}

.nav-links a {
  align-items: center;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  font-size: 0.95rem;
  font-weight: 500;
  gap: 8px;
  text-decoration: none;
  border-bottom: none !important;
  transition: var(--default-transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--text-bright); }

.share-icon:not(#nav-share-icon .share-icon) { font-size: 0.95rem; }

.filter-wrapper {
  align-items: center;
  display: flex;
  position: relative;
}

.filter-panel {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  box-shadow: 0 8px 24px var(--deep-shadow);
  min-width: 200px;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  position: fixed;
  transform: translateY(-8px);
  transition: var(--filter-transition);
  z-index: 2000;
}

.filter-panel.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.filter-header {
  border-bottom: 1px solid var(--border-color);
  color: var(--text-deep-muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.7px;
  padding: 10px 12px;
  text-transform: uppercase;
  transition: var(--filter-transition);
  user-select: none;
}

.filter-dropdown {
  max-height: 280px;
  overflow-y: auto;
  scrollbar-color: var(--scrollbar-thumb) var(--bg-card);
  scrollbar-width: thin;
  z-index: 9999;
}

.filter-segment-line {
  align-items: center;
  color: var(--text-muted);
  display: flex;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.6px;
  padding: 10px 14px 6px 14px;
  text-transform: uppercase;
  transition: var(--filter-transition);
  user-select: none;
}

.filter-segment-line .segment-btn {
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px 8px;
  transition: var(--filter-transition);
}

.filter-segment-line.inactive-mode {
  color: var(--text-body);
}
.filter-segment-line .segment-btn.active {
  color: var(--text-bright);
}

.filter-segment-line.inactive-mode .segment-btn,
.filter-segment-line.inactive-mode .segment-btn.active {
  color: var(--text-deep-muted);
  cursor: default;
}

.filter-segment-line .segment-line {
  border-top: 1px solid var(--border-color);
  flex: 1;
}

.filter-segment-line .line-left {
  margin-right: 8px;
}
.filter-segment-line .line-middle {
  margin-left: 8px;
}
.filter-segment-line .line-right {
  margin-left: 8px;
}

.filter-item {
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.88rem;
  padding: 8px 14px;
  transition: var(--filter-transition);
  user-select: none;
}

.filter-item:hover {
  background-color: var(--bg-primary);
  color: var(--text-bright);
}

.filter-item.active {
  color: var(--text-bright);
}

.filter-item-all,
.filter-item-star {
  border-bottom: 1px solid var(--border-color);
  font-weight: 600;
  padding-bottom: 12px;
  padding-top: 12px;
}

.search-wrapper {
  align-items: center;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  box-sizing: border-box;
  display: flex;
  height: 32px;
  padding: 4px 4px;
  position: relative;
  transition: var(--search-transition);
}

.search-wrapper .search-icon {
  color: var(--text-deep-muted);
  font-size: 0.8rem;
  font-weight: 600;
  margin-left: 6px;
  margin-right: 8px;
  margin-top: 2px;
  transition: var(--search-transition);
}

.search-wrapper input {
  background: transparent;
  border: none;
  color: var(--text-bright);
  font-family: 'Ubuntu', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  outline: none;
  padding: 0;
  transition: var(--search-transition);
  width: 100px;
}

.search-wrapper input::placeholder {
  color: var(--text-deep-muted);
  font-family: 'Ubuntu', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.8px;
}

.search-wrapper:focus-within {
  border-color: var(--text-deep-muted);
  box-shadow: 0 0 15px var(--focus-shadow);
}

.search-wrapper input:focus {
  width: 120px;
}

#nav-share-icon {
  transition: opacity 0.3s ease, color 0.3s ease;
}

#nav-share-icon.ui-disabled:hover {
  color: var(--text-deep-muted);
}

.ui-disabled,
.ui-disabled:hover {
  color: var(--text-deep-muted);
  cursor: not-allowed !important;
  opacity: 0.35 !important;
}

.template-footer {
  border-top: 1px solid var(--border-color);
  color: var(--text-deep-muted);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  padding: 16px;
  text-align: center;
}

.template-footer a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--default-transition);
}

.template-footer a:hover {
  color: var(--text-bright);
}

.post-detail {
  font-size: 0.8em;
  font-weight: normal;
  margin-left: 2px;
  opacity: 0.75;
}

@media (max-width: 1024px) {
  .nav-profile,
  .home-nav-file,
  .filter-detail {
    display: none !important;
  }

  .nav-links {
    align-items: center;
    display: flex;
    gap: 0;
    justify-content: space-between;
    width: 100%;
  }

  .nav-links a {
    align-items: center;
    display: flex;
    flex: none;
    justify-content: center;
  }
}

@media (max-width: 840px) {
  .navbar {
    padding: 12px 18px;
    position: relative;
  }

  .nav-profile, .cv-date, .filter-detail {
    display: none;
  }

  .nav-links {
    align-items: center;
    display: flex;
    justify-content: space-between;
    width: 100%;
  }

  .nav-links a {
    align-items: center;
    display: flex;
    flex: none;
    flex-direction: column;
    font-size: 1.1rem;
    gap: 4px;
    justify-content: center;
    text-align: center;
  }

  .nav-links a .nav-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.45px;
    margin-top: 4px;
  }

  .home-nav-home,
  .home-nav-file {
    display: none !important;
  }

  .filter-wrapper {
    order: 3;
  }

  .filter-panel {
    left: 40px !important;
    right: 40px !important;
    width: auto !important;
  }

  .search-wrapper {
    flex: 1;
    margin: 0 16px;
    max-width: 160px;
    order: 2;
  }

  .search-wrapper input,
  .search-wrapper input:focus {
    width: 100%;
  }

  #hub-search-wrapper { display: none; }

  #nav-share-icon { display: none !important; }
}

/* ---------- ---------- [FLOATING TRIGGERS] ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- */

.floating-trigger {
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  align-items: center;
  background-color: var(--navbar-bg);
  border: 1px solid var(--border-color);
  border-radius: 0px;
  color: var(--text-bright);
  cursor: pointer;
  display: flex;
  font-size: 1.15rem;
  height: 52px;
  justify-content: center;
  overflow: hidden;
  position: fixed;
  right: 24px;
  transition:
    transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    border-color 0.3s ease,
    background-color 0.3s ease,
    box-shadow 0.3s ease,
    opacity 0.3s ease;
  width: 52px;
  z-index: 999;
}

.floating-trigger:hover {
  border-color: var(--text-deep-muted);
  transform: scale(1.03);
}

.floating-trigger img {
  height: 24px;
  object-fit: contain;
  width: 24px;
}

#modal-trigger .feed-card-avatar {
  border: none;
  border-radius: 0;
  height: 100%;
  max-height: 100%;
  max-width: 100%;
  object-fit: cover;
  width: 100%;
}

#modal-trigger .feed-card-avatar-fallback {
  background: none;
  border: none;
  height: 100%;
  width: 100%;
}

.chat-trigger, .feed-action-trigger {
  border-radius: 12px 0px 12px 12px;
  bottom: 24px;
}

.chat-window {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px 14px 0px 14px;
  bottom: 86px;
  box-shadow: 0 8px 24px var(--shadow-color);
  display: flex;
  flex-direction: column;
  height: 490px;
  max-height: calc(100vh - 120px);
  max-width: calc(100vw - 48px);
  opacity: 0;
  pointer-events: none;
  position: fixed;
  right: 24px;
  transform: scale(0.1);
  transform-origin: bottom right;
  transition: opacity 0.3s cubic-bezier(0.25, 1, 0.5, 1), transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  width: 360px;
  z-index: 1000;
}

.chat-window.open {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.chat-header {
  align-items: center;
  background-color: var(--card-header);
  border-bottom: 1px solid var(--border-color);
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  display: flex;
  justify-content: space-between;
  padding: 14px 16px;
}

.chat-footer {
  align-items: center;
  background-color: var(--card-header);
  border-radius: 0px 0px 0 14px;
  border-top: 1px solid var(--border-color);
  display: flex;
  gap: 8px;
  padding: 12px;
}

.chat-bot-info {
  align-items: center;
  display: flex;
  flex-grow: 1;
  gap: 10px;
}
.chat-bot-avatar {
  flex-shrink: 0;
  height: 24px;
  object-fit: contain;
  width: 24px;
}
.chat-bot-brand {
  align-items: baseline;
  display: flex;
  gap: 6px;
}

.chat-messages {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
  padding: 16px;
  scrollbar-color: var(--scrollbar-thumb) var(--bg-card);
  scrollbar-width: thin;
}
.chat-messages::-webkit-scrollbar {
  width: 4px;
}
.chat-messages::-webkit-scrollbar-track {
  background: transparent;
}
.chat-messages::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb);
  border-radius: 4px;
}

.chat-msg-item {
  display: flex;
  flex-direction: column;
  max-width: 85%;
}
.chat-msg-item.assistant {
  align-self: flex-start;
}
.chat-msg-item.user {
  align-self: flex-end;
}
.chat-msg-item.system-error {
  align-self: center;
  max-width: 100%;
}

.chat-msg {
  font-size: 0.88rem;
  line-height: 1.45;
  padding: 10px 14px;
  word-wrap: break-word;
}
.chat-msg-item.assistant .chat-msg {
  background-color: var(--bg-primary);
  border-radius: 12px 12px 12px 0px;
  color: var(--text-body);
}
.chat-msg-item.user .chat-msg {
  background-color: var(--text-deep-muted);
  border-radius: 12px 12px 0px 12px;
  color: var(--text-bright);
}
.chat-msg-item.system-error .chat-msg {
  background: transparent;
  color: var(--heart-color);
  font-size: 0.82rem;
  padding: 4px 0;
  text-align: center;
}

.chat-msg-meta {
  color: var(--text-muted);
  font-size: 0.72rem;
  margin-top: 4px;
  opacity: 0.65;
  padding: 0 4px;
}
.chat-msg-item.assistant .chat-msg-meta {
  align-self: flex-start;
}
.chat-msg-item.user .chat-msg-meta {
  align-self: flex-end;
}
.chat-msg-item.system-error .chat-msg-meta {
  display: none;
}

.chat-input-wrapper {
  align-items: center;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  box-sizing: border-box;
  display: flex;
  flex: 1;
  height: 38px;
  padding: 4px 12px;
}
.chat-input-wrapper input {
  background: transparent;
  border: none;
  color: var(--text-bright);
  font-family: inherit;
  font-size: 0.88rem;
  outline: none;
  width: 100%;
}
.chat-input-wrapper input::placeholder {
  color: var(--text-deep-muted);
}

.chat-close-btn,
.chat-send-btn,
.chat-clear-btn {
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
}

.chat-close-btn {
  color: var(--text-deep-muted);
  font-size: 1.1rem;
  padding: 4px;
  transition: color 0.15s ease;
}

.chat-close-btn:hover {
  color: var(--text-bright);
}

.chat-send-btn,
.chat-clear-btn {
  color: var(--text-bright);
  font-size: 0.95rem;
  opacity: 0.45;
  padding: 4px 8px;
  transition: opacity 0.15s ease;
}

.chat-send-btn:hover,
.chat-clear-btn:hover {
  opacity: 1;
}
.chat-send-btn:disabled,
.chat-clear-btn:disabled {
  cursor: not-allowed;
  opacity: 0.15;
}

.typing-indicator {
  align-items: center;
  display: flex;
  gap: 4px;
  padding: 4px 8px;
}

.typing-indicator span {
  animation: typingBounce 1.4s infinite ease-in-out both;
  background-color: var(--text-muted);
  border-radius: 50%;
  display: inline-block;
  height: 6px;
  width: 6px;
}

.typing-indicator span:nth-child(1) {
  animation-delay: -0.32s;
}

.typing-indicator span:nth-child(2) {
  animation-delay: -0.16s;
}

.qr-trigger, .feed-switch-trigger {
  border-radius: 12px 12px 0px 12px;
  bottom: 86px;
}

.qr-modal-overlay {
  align-items: center;
  backdrop-filter: blur(8px);
  background: var(--shadow-color);
  display: flex;
  height: 100vh;
  justify-content: center;
  left: 0;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  top: 0;
  transition: opacity 0.3s ease;
  width: 100vw;
  z-index: 9999;
}

.qr-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.qr-modal-content {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 8px 32px var(--shadow-color);
  max-width: 90%;
  overflow: hidden;
  text-align: center;
  transform: scale(0.95);
  transition: transform 0.3s ease;
  width: 320px;
}

.qr-modal-overlay.open .qr-modal-content {
  transform: scale(1);
}

.qr-modal-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 20px 20px 16px;
}

.close-qr-modal {
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.2rem;
}

.qr-image-wrapper {
  background: var(--bg-primary);
  display: flex;
  justify-content: center;
  padding: 10px 20px 30px 20px;
}

.qr-code-img {
  display: none;
  height: 220px;
  width: 220px;
}

.item-card-title {
  color: var(--text-bright);
  font-size: 1rem;
  font-weight: 600;
}

@media (max-width: 840px) {
  .chat-trigger, .feed-action-trigger {
    bottom: 16px;
    right: 16px;
  }

  .qr-trigger, .feed-switch-trigger{
    bottom: 78px;
    right: 16px;
  }

  .chat-window {
    border-radius: 14px 14px 0px 14px;
    bottom: 78px;
    left: 16px;
    max-width: none;
    right: 16px;
    width: auto;
  }
}

/* ---------- ---------- [HEROS] ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- */

.hero {
  min-height: 100vh;
  width: 100%;
  padding-bottom: 20px;
  display: flex;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
}

.hero-logo {
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: oceanFlow 10s ease infinite;
  background: linear-gradient(
    135deg,
    var(--text-deep-muted) 0%,
    var(--text-deep-muted) 35%,
    var(--text-muted) 50%,
    var(--text-deep-muted) 65%,
    var(--text-deep-muted) 100%
  );
  background-clip: text;
  background-size: 400% 100%;
  cursor: pointer;
  display: inline-block;
  font-family: 'Rubik Mono One', sans-serif;
  font-size: 5.1rem;
  letter-spacing: -14px;
  line-height: 1;
  overflow: visible;
  padding-right: 14px;
  margin-left: -14px;
  transition: var(--default-transition);
  user-select: none;
}

.hero-card {
  align-items: center;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-left: auto;
  margin-right: auto;
  max-width: calc(100% - 80px);
  text-align: center;
  width: 100%;
}

.hero-card h2 {
  color: var(--text-bright);
  font-size: 2.15rem;
  font-weight: 700;
  letter-spacing: 1.1px;
  transition: var(--default-transition);
  margin: 0px;
  margin-top: 12px;
}

.subtitle {
  color: var(--text-deep-muted);
  font-size: 0.95rem;
  letter-spacing: -0.1px;
  transition: var(--default-transition);
  margin: 0px;
}

#user-role { font-size: 1.15rem; margin-top: -2px; margin-bottom: -2px; }

#user-location { font-size: 1.05rem; }
#user-location::before {
  content: '\f3c5';
  font-family: 'Font Awesome 6 Free';
  font-size: 0.95rem;
  font-weight: 600;
  margin-right: 6px;
}

#timezone::before {
  content: '\f0ac';
  font-family: 'Font Awesome 6 Free';
  font-size: 0.8rem;
  font-weight: 600;
  margin-left: 8px;
  margin-right: 6px;
}

#clock::before {
  content: '\f186';
  font-family: 'Font Awesome 6 Free';
  font-size: 0.8rem;
  font-weight: 600;
  margin-left: 8px;
  margin-right: 6px;
}
#clock.is-day::before { content: '\f185'; }

#status::before {
  content: '\f058';
  font-family: 'Font Awesome 6 Free';
  font-size: 0.8rem;
  font-weight: 600;
  margin-left: 8px;
  margin-right: 6px;
}
#status.is-busy::before { content: '\f056'; }
#status.is-away::before { content: '\f554'; }

#user-bio {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.2;
  max-width: 480px;
  margin: 12px 0px;
  line-height: 1.35;
}

.socials {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.socials a,
.socials .socials-more {
  color: var(--text-deep-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: color 0.3s ease;
}

.socials a:hover, .socials .socials-more:hover { color: var(--text-bright); }
.socials a i, .socials a iconify-icon { font-size: 1.55rem; display: inline-block; line-height: 1; }
#socials-list { font-size: 1.4rem; }

.socials-more { position: relative; }
.socials-more-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  gap: 18px;
  padding: 10px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  cursor: default;
  transform: translateX(-50%) translateY(-6px) scale(0.96);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  z-index: 20;
}

.socials-more.is-open .socials-more-panel {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}

.socials-more-panel a,
.socials-more-panel a i,
.socials-more-panel a iconify-icon {
  cursor: pointer !important;
  font-size: 1.45rem !important;
}

.separator {
  align-items: center;
  color: var(--text-deep-muted);
  display: inline-flex;
  font-size: 0.8rem;
  justify-content: center;
  transition: var(--default-transition);
  user-select: none;
}

.role-separator { margin: 0 10px; }

#cta-panel {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  position: relative;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
}

.cta-trigger {
  align-items: center;
  background-color: var(--navbar-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px 12px 0px  0px;
  color: var(--text-bright);
  cursor: pointer;
  display: flex;
  font-size: 0.85rem;
  height: 46px;
  justify-content: center;
  padding: 0px 20px;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}
.cta-trigger:hover { border-color: var(--text-deep-muted); transform: scale(1.025); box-shadow: 0 4px 12px var(--deep-shadow); }
.cta-trigger:active { transform: scale(0.95); }

.cta-trigger[data-index='0'][data-total='2'] { border-radius: 0px  12px 0px  12px; }
.cta-trigger[data-index='1'][data-total='2'] { border-radius: 12px 0px  12px  0px; }

.cta-title {
  font-family: 'Ubuntu', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.cta-icon {
  font-size: 0.95rem;
  margin-right: 10px;
}

.hero-card.hero-split {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 48px;
  text-align: left;
  max-width: 1100px !important;
  margin-left: auto;
  margin-right: auto;
}

.hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

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

.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-picture-wrapper {
  position: relative;
  max-height: calc(100vh - 160px);
  max-width: 480px;
  aspect-ratio: 2 / 2.5;
  border-radius: 60% 40% 60% 45% / 45% 55% 45% 55%;
  clip-path: inset(-20px round 60% 40% 60% 45% / 45% 55% 45% 55%);
  overflow: hidden;
  isolation: isolate;
  border: 1px solid color-mix(in srgb, var(--text-muted) 35%, transparent);
  box-shadow: 0 0 8px color-mix(in srgb, var(--focus-shadow) 40%, transparent);
  transition: transform 1s cubic-bezier(0.15, 1, 0.3, 1), border-color 1s ease, box-shadow 1s ease;
}

.hero-picture {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.5s cubic-bezier(0.15, 1, 0.3, 1);
  will-change: transform;
}

.hero-picture-wrapper:hover {
  border-color: var(--text-muted);
  box-shadow: 0 0 15px var(--focus-shadow);
  transform: scale(1.025);
}

.hero-picture:hover { transform: scale(1.025); }

#latest-hero { margin-top: 60px; margin-bottom: -120px; padding-bottom: 0px; }
#latest-title { margin-top: -8px; margin-bottom: -8px; }
#latest-subtitle { margin: 16px 0 16px 0; }

.latest-meta {
  align-items: center;
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.latest-keywords-container {
  background: none;
  border: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  gap: 8px;
  justify-content: center;
  margin-bottom: 22px;
  padding: 0;
}

#isolate-latest-btn { margin-top: 0px; }
#isolate-latest-btn i { font-size: 0.9rem; }

@media (max-width: 840px) {
  .hero-card.hero-split {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-right { display: none; }
  .hero-left { align-items: center; width: 100% !important; }

  .hero-left .socials { justify-content: center; }

  #user-role {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  #user-location {
    row-gap: 4px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
  }

  #user-location::after {
    content: '';
    flex-basis: 100%;
    height: 0;
    order: 1;
  }

  #user-location .post-detail {
    display: inline-flex;
    align-items: center;
    order: 2;
  }

  .socials-more-panel {
    flex-wrap: wrap;
    justify-content: center;
    flex-direction: column;
    padding: 14px 10px;
    position: absolute;
    top: 50%;
    left: 50%;
    bottom: auto;
    right: auto;
    transform: translate(-50%, -50%) scale(0.96);
  }
  .socials-more.is-open .socials-more-panel { transform: translate(-50%, -50%) scale(1); }
  
  .separator { display: none; }
  
  #latest-hero { margin-top: 0px; margin-bottom: -60px; }
}

/* ---------- ---------- [CONTAINERS] ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- */

.container {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 1100px;
  margin-top: 60px;
  padding: 30px 40px 30px 40px;
  width: 100%;
}

#sections-container {
  padding-top: 0px;
  padding-bottom: 30px;
  margin-top: 0px;
}

#projects-container {
  margin-top: 60px;
}

#list-container, #feed-container, #guests-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 30px;
}

.row {
  align-items: start;
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(var(--col-count, 1), 1fr);
  width: 100%;
}

@media (max-width: 840px) {
  .container {
    margin-top: 0px;
  }
  
  .row {
    grid-template-columns: 1fr !important;
  }

  .row .card {
    grid-column: span 1 !important;
  }

  #projects-container {
    margin-top: 0px;
  }
  
  #feed-container, #guests-container {
    margin-top: 0;
  }
}

/* ---------- [CARDS] ---------- ---------- ---------- ---------- */

.card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  overflow: hidden;
  scroll-margin-top: 90px;
  transition: var(--default-transition);
}

.card.focus {
  border-color: var(--text-deep-muted);
  box-shadow: 0 0 15px var(--focus-shadow);
}

.card.visible {
  animation: slideUp 0.3s ease-out forwards;
}

.card-header {
  align-items: center;
  background-color: var(--card-header);
  border-bottom: 1px solid var(--border-color);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  padding: 16px 20px;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  user-select: none;
  z-index: 5;
}

.card-header:has(+ .card-collapse.closed) {
  border-bottom: none;
}

.idle-header {
  cursor: default;
}

.card-collapse {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows 0.3s ease-out;
}

.card-collapse.closed {
  grid-template-rows: 0fr;
}

.card-body {
  min-height: 0;
  max-height: calc(100vh - 180px);
  overflow: auto;
  scrollbar-width: none;
}

.card:has(.mail-form) .card-collapse,
.card:has(.mail-form) .card-body {
  overflow: visible !important;
  max-height: none !important;
}

.project-card .card-body { max-height: calc(100vh - 195px) !important; }

.card-title {
  color: var(--text-bright);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: capitalize;
  transition: color 0.3s ease;
}

.card-title-link {
  text-decoration: underline transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  border: none;
  transition: text-decoration-color 0.3s ease, color 0.3s ease;
}

.card-title-link:hover {
  color: var(--text-bright);
  text-decoration-color: var(--text-bright);
}

.project-title-container {
  align-items: center;
  display: flex;
  gap: 10px;
}

.project-card-footer {
  background-color: var(--card-header);
  border-top: 1px solid var(--border-color);
  cursor: pointer;
  display: grid;
  grid-template-rows: 1fr;
  overflow: hidden;
  transition: grid-template-rows 0.3s ease-out, background-color 0.3s ease, border-color 0.3s ease;
  user-select: none;
}

.project-card-footer-inner {
  align-items: center;
  display: flex;
  min-height: 0;
  overflow: hidden;
}

.project-card-footer-topics {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
  padding: 10px 12px 10px 20px;
}

.project-card-footer::after {
  background: linear-gradient(var(--border-color), var(--border-color)) center calc(50% - 3px) / 60px 1.5px no-repeat, linear-gradient(var(--border-color), var(--border-color)) center calc(50% + 3px) / 40px 1.5px no-repeat;
  content: '';
  display: none;
  flex-shrink: 0;
  height: 16px;
  position: relative;
}

.project-card-footer.closed::after {
  animation: footerGripFadeIn 0.3s ease forwards;
  animation-delay: 0.35s;
  display: block;
  opacity: 0;
}

.project-card-footer.closed:hover::after {
  background:
    linear-gradient(var(--text-deep-muted), var(--text-deep-muted)) center calc(50% - 3px) / 60px 1.5px no-repeat,
    linear-gradient(var(--text-deep-muted), var(--text-deep-muted)) center calc(50% + 3px) / 40px 1.5px no-repeat;
}

/* ---------- [QUICK_LINKS] ---------- ---------- ---------- ---------- */

.quick-links-row {
  display: grid;
  grid-template-columns: repeat(var(--quick-count, 4), 1fr);
  gap: 30px;
}

.quick-link-item.visible {
  animation: slideUp 0.3s ease-out forwards !important;
}

.quick-link-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 30px 15px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: var(--text-body);
  text-decoration: none;
  transition: var(--default-transition);
  overflow: hidden;
  opacity: 0;
}

.quick-link-item i {
  font-size: 1.4rem;
  color: var(--text-muted);
  transition: var(--default-transition);
}

.quick-link-item:hover {
  background: var(--card-header);
  border-color: var(--text-deep-muted);
  color: var(--text-bright);
}

.quick-link-item:hover i {
  color: var(--text-bright);
}

.quick-link-label {
  font-size: 0.85rem;
  font-weight: 500;
  margin-top: 4px;
}

@media (max-width: 840px) {
  .quick-links-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- ---------- [MAIL_FORM] ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- */

#form-card-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  gap: 18px;
}

.mail-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: space-between;
}

.mail-form .form-textarea {
  font-size: 0.9rem;
  line-height: 1.5;
  min-height: 140px;
  resize: none;
  overflow: hidden;
}

.form-stack {
  position: relative;
  overflow: hidden;
}

.form-screen {
  display: none;
  opacity: 0;
}

.form-screen.active {
  display: block;
  opacity: 1;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.form-row-top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.form-group {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.form-label {
  color: var(--text-deep-muted);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.form-group .form-label {
  margin-left: 4px;
}

.form-last {
  color: var(--text-muted);
  font-size: 0.9rem;
  cursor: pointer;
}

.form-last:hover {
  color: var(--text-bright);
}

.form-input {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  box-sizing: border-box;
  color: var(--text-bright);
  font-family: 'Ubuntu', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.4px;
  outline: none;
  padding: 10px 12px;
  transition: var(--search-transition);
  width: 100%;
}

.form-input:focus {
  border-color: var(--text-deep-muted);
  box-shadow: 0 0 15px var(--focus-shadow);
}

.form-input::placeholder {
  color: var(--text-deep-muted);
}

.form-actions-wrapper {
  display: flex;
  gap: 12px;
  margin-right: 4px;
}

.form-footer {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: flex-end;
}

.form-footer .action-btn {
  margin: 0;
  padding: 12px 26px;
}

.form-footer a {
  border-bottom: none;
  text-align: left;
  margin-right: auto;
}

.form-footer a:hover {
  color: var(--text-bright);
}

.time-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, auto);
  gap: 18px;
}

.time-day-cell {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 10px 12px;
}

.time-day-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.timezone-note {
  color: var(--text-deep-muted);
  font-size: 0.75rem;
  line-height: 1.4;
  margin: 0 0 14px;
}

.timezone-note:empty {
  display: none;
}

.timezone-note-label {
  color: var(--text-deep-muted);
  font-size: 0.68rem;
  line-height: 1.3;
  border-top: 1px dashed var(--border-color);
  padding-top: 6px;
  margin-top: 2px;
  display: none;
}

.timezone-note-label.show {
  display: block;
}

.time-day-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 12px;
}

.time-slot-part {
  background-color: var(--bg-secondary, var(--bg-primary));
  border: 1px solid var(--border-color);
  border-radius: 4px;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  font-family: 'Ubuntu', sans-serif;
  font-size: 0.65rem;
  padding: 8px 4px;
  text-align: center;
  transition: var(--search-transition);
}

.time-slot-from,
.time-slot-to {
  padding: 1px 0;
}

.time-slot-part:hover {
  border-color: var(--text-deep-muted);
  color: var(--text-bright);
}

.time-slot-part.selected {
  background-color: var(--text-bright);
  border-color: var(--text-bright);
  color: var(--bg-primary);
  font-weight: 600;
}

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

.form-status {
  color: var(--approved-color);
  font-size: 0.8rem;
  opacity: 0;
  transition: opacity 0.3s ease, color 0.3s ease;
}

.form-status-error {
  color: var(--heart-color);
}

.form-status-visible {
  opacity: 1;
}

.autocomplete-wrapper { position: relative; }

.autocomplete-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  box-sizing: border-box;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  margin-top: 6px;
  z-index: 100;
  overflow-y: auto;
  overflow-x: hidden;
  max-height: 220px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  scrollbar-width: thin;
  scrollbar-color: var(--border-color) transparent;
}

.autocomplete-suggestions::-webkit-scrollbar { width: 6px; }
.autocomplete-suggestions::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 3px; }

.autocomplete-suggestions.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.suggestion-item {
  height: 44px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  color: var(--text-bright);
  font-family: 'Ubuntu', sans-serif;
  font-size: 0.9rem;
  cursor: pointer;
  border-bottom: 1px solid var(--border-color);
  background-color: var(--bg-primary);
  transition: background-color 0.15s ease, padding-left 0.15s ease, color 0.15s ease;
}

.suggestion-item:last-child { border-bottom: none; }

.suggestion-item:hover {
  background-color: rgba(255, 255, 255, 0.05); 
  color: var(--text-bright);
  padding-left: 18px; 
}

.form-input.error-glow {
  border-color: var(--heart-color) !important;
  box-shadow: 0 0 15px var(--error-shadow) !important;
}

.action-btn.btn-success-glow {
  color: var(--text-bright);
  background-color: var(--approved-color) !important;
  border-color: var(--approved-color) !important;
  box-shadow: 0 0 15px var(--approved-color) !important;
}

.action-btn.btn-fail-glow {
  color: var(--text-bright);
  background-color: var(--heart-color) !important;
  border-color: var(--heart-color) !important;
  box-shadow: 0 0 15px var(--heart-color) !important;
}

@media (max-width: 840px) {
  .form-row-top {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .form-actions-wrapper {
    width: 100%;
    justify-content: space-around;
    gap: 20px;
  }

  .form-footer a {
    display: none;
  }
}

/* ---------- [HEADER_BUTTONS] ---------- ---------- ---------- ---------- */

.card-btns {
  align-items: center;
  display: flex;
  gap: 8px;
}

.card-url-btn {
  font-size: 0.9rem;
}

.prev-btn,
.next-btn {
  transition: opacity 0.2s ease;
}

@media (max-width: 840px) {
  .url-action-btn,
  .header-slide-btn {
    display: none !important;
  }
}

/* ---------- [HEADER_BUTTONS] ---------- ---------- ---------- ---------- */

.keyword {
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  align-items: center;
  background-color: var(--navbar-bg);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  color: var(--text-muted);
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 500;
  justify-content: center;
  letter-spacing: 0.2px;
  min-height: 15px;
  overflow: hidden;
  padding: 4px 10px;
  position: relative;
  transition:
    color 0.3s ease,
    background-color 0.3s ease,
    border-color 0.3s ease;
  user-select: none;
}

.keyword::before {
  animation: oceanFlow 5s ease infinite;
  background: linear-gradient(
    135deg,
    transparent 0%,
    transparent 35%,
    var(--border-color) 50%,
    transparent 65%,
    transparent 100%
  );
  background-size: 400% 400%;
  bottom: 0;
  content: '';
  left: 0;
  opacity: 0.5;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 0;
  transition: background 0.3s ease;
  z-index: -1;
}

.keyword-big {
  align-items: center;
  align-self: center;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  color: var(--text-deep-muted);
  display: flex;
  font-size: 0.8rem;
  font-weight: 600;
  justify-content: center;
  letter-spacing: 0.8px;
  margin: 0 auto;
  min-height: 22px;
  padding: 2px 8px;
  text-align: center;
  text-transform: uppercase;
  transition: var(--default-transition);
  user-select: none;
  width: fit-content;
}

.star-icon {
  align-items: center;
  cursor: default;
  display: inline-flex;
  flex-shrink: 0;
  justify-content: center;
  position: relative;
}

.star-icon::before {
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: oceanFlow 5s ease infinite;
  background: linear-gradient(
    135deg,
    var(--star-color) 0%,
    var(--star-color) 35%,
    var(--star-color-sub) 50%,
    var(--star-color) 65%,
    var(--star-color) 100%
  );
  background-clip: text;
  background-size: 400% 400%;
  content: '\f005';
  cursor: default;
  display: inline-block;
  filter: drop-shadow(0 0 3px color-mix(in srgb, var(--star-color-sub) 50%, transparent));
  font-family: 'Font Awesome 6 Free';
  font-size: 1.05rem;
  font-weight: 900;
  position: relative;
}

.star-celebration-overlay {
  height: 100vh;
  left: 0;
  pointer-events: none;
  position: fixed;
  top: 0;
  width: 100vw;
  z-index: 9999;
}

.bursting-star {
  animation: starCelebration 2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  color: var(--star-color);
  font-family: 'Font Awesome 6 Free';
  font-size: 1.5rem;
  font-weight: 900;
  position: absolute;
  transform: translate(-50%, -50%);
}

.star-item,
.star-item::before {
  font-size: 0.85rem;
  margin-right: 4px;
  transition: var(--filter-transition);
}

.heart-icon {
  align-items: center;
  cursor: default;
  display: inline-flex;
  flex-shrink: 0;
  justify-content: center;
  position: relative;
}

.heart-icon::before {
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: oceanFlow 5s ease infinite;
  background: linear-gradient(
    135deg,
    var(--heart-color) 0%,
    var(--heart-color) 35%,
    var(--heart-color-sub) 50%,
    var(--heart-color) 65%,
    var(--heart-color) 100%
  );
  background-clip: text;
  background-size: 400% 400%;
  content: '\f004';
  cursor: default;
  display: inline-block;
  filter: drop-shadow(
    0 0 3px color-mix(in srgb, var(--heart-color-sub) 50%, transparent)
  );
  font-family: 'Font Awesome 6 Free';
  font-size: 1.05rem;
  font-weight: 900;
  position: relative;
}

.pin-icon {
  align-items: center;
  cursor: default;
  display: inline-flex;
  flex-shrink: 0;
  justify-content: center;
  position: relative;
}

.pin-icon::before {
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: oceanFlow 5s ease infinite;
  background: linear-gradient(
    135deg,
    var(--pin-color) 0%,
    var(--pin-color) 35%,
    var(--pin-color-sub) 50%,
    var(--pin-color) 65%,
    var(--pin-color) 100%
  );
  background-clip: text;
  background-size: 400% 400%;
  content: '\f02e';
  cursor: default;
  display: inline-block;
  filter: drop-shadow(
    0 0 3px color-mix(in srgb, var(--pin-color-sub) 50%, transparent)
  );
  font-family: 'Font Awesome 6 Free';
  font-size: 1.05rem;
  font-weight: 900;
  position: relative;
}

/* ---------- [BUTTONS & SCROLL_AREAS] ---------- ---------- ---------- ---------- */

.btn {
  align-items: center;
  background: none;
  border: none;
  color: var(--text-deep-muted);
  cursor: pointer;
  display: flex;
  font-size: 1.05rem;
  justify-content: center;
  padding: 4px;
  transition: color 0.15s ease;
}

.btn:hover {
  color: var(--text-bright);
  cursor: pointer;
}

.action-btn {
  align-items: center;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 40px;
  color: var(--text-body);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 14px;
  justify-content: center;
  letter-spacing: 1.5px;
  margin-bottom: 30px;
  margin-top: 24px;
  overflow: hidden;
  padding: 15px 30px;
  position: relative;
  text-transform: uppercase;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  user-select: none;
  z-index: 1;
}

.action-btn::before {
  animation: oceanFlow 5s ease infinite;
  background: linear-gradient(
    135deg,
    transparent 0%,
    transparent 35%,
    var(--border-color) 50%,
    transparent 65%,
    transparent 100%
  );
  background-size: 400% 400%;
  bottom: 0;
  content: '';
  left: 0;
  opacity: 0.5;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.action-btn i {
  font-size: 0.8rem;
  margin-right: 10px;
  margin-top: 2px;
  transition: transform 0.3s ease;
}

.action-btn:hover {
  background-color: var(--navbar-bg);
  border-color: var(--text-deep-muted);
  box-shadow: var(--focus-shadow) 0px 4px 24px;
  color: var(--text-bright);
  letter-spacing: 2px;
  transform: translateY(-2px);
}

.action-btn:hover::before {
  opacity: 1;
}

.action-btn:hover i {
  transform: scale(1.025) translateX(1px);
}

.action-btn:active {
  background-color: var(--border-color);
  box-shadow: var(--focus-shadow) 0px 2px 6px;
  color: var(--text-bright);
  letter-spacing: 1.5px;
  transform: translateY(1px);
  transition: 80ms;
}

.scroll-area {
  box-sizing: border-box;
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 8px;
  margin-top: 8px;
  overflow-y: auto;
  padding: 20px;
  padding-bottom: 4px;
  padding-top: 4px;
  position: relative;
  scrollbar-width: none;
  scrollbar-color: var(--scrollbar-thumb) var(--bg-card);
  touch-action: pan-y;
  transition: color 0.3s ease;
}

.slide-out-left { animation: slideOutLeft 180ms ease forwards; }
.slide-out-right { animation: slideOutRight 180ms ease forwards; }
.slide-in-left { animation: slideInLeft 180ms ease forwards; }
.slide-in-right { animation: slideInRight 180ms ease forwards; }

/* ---------- [CONTENT_AREA] ---------- ---------- ---------- ---------- */

h1, h2, h3 {
  color: var(--text-bright);
  font-size: 0.95rem;
  font-weight: 600;
  margin: 12px 0 6px 0;
  transition: color 0.3s ease;
}
h1:first-child, h2:first-child, h3:first-child { margin-top: 0; }
p { margin: 0 0 4px 0px; }
p:last-child { margin-bottom: 0px; }

a {
  border-bottom: 1px solid var(--url-color);
  color: var(--url-color);
  text-decoration: none;
  transition: color 0.3s ease, border-color 0.3s ease;
}
a:hover { border-color: var(--url-color-sub); color: var(--url-color-sub); }

ul { margin: 0 6px 6px 0; padding-left: 24px; }
li { margin-top: 4px; margin-bottom: 4px; }
li:first-child { margin-top: 0px; }
li:last-child { margin-bottom: 8px; }

hr { border: none; border-top: 1px solid var(--border-color); margin: 16px 0; }
strong { color: var(--text-bright); font-weight: 600; }

code {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 3px;
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-weight: 600;
  font-size: 0.8rem;
  padding: 4px 6px;
}

.media-container {
  align-items: center;
  display: flex;
  height: 100%;
  justify-content: center;
  width: 100%;
}

.media-element {
  border-radius: 4px;
  display: block;
  max-height: 400px;
  max-width: 100%;
}

.image-element {
  height: auto;
  object-fit: contain;
  width: auto;
}

.video-element {
  background: var(--navbar-bg);
  height: auto;
  width: 100%;
}

.image-container,
.video-container {
  align-items: center;
  display: flex;
  height: 100%;
  justify-content: center;
  width: 100%;
}

.image-container img,
.video-container video {
  border-radius: 4px;
  display: block;
  max-height: 360px;
  max-width: 100%;
}

.image-container img {
  height: auto;
  object-fit: contain;
  width: auto;
}

.video-container video {
  background: black;
  height: auto;
  width: 100%;
}

.gallery-pane {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.gallery-viewport {
  -webkit-user-select: none;
  align-items: center;
  display: flex;
  flex: 1;
  justify-content: center;
  min-height: 200px;
  overflow: hidden;
  position: relative;
  touch-action: pan-y;
  user-select: none;
}

.gallery-track {
  display: flex;
  height: 100%;
  transition: transform 0.3s ease;
  width: 100%;
}

.gallery-slide {
  align-items: center;
  box-sizing: border-box;
  display: flex;
  height: 100%;
  justify-content: center;
  align-self: center;
  min-width: 100%;
  padding: 16px;
}

.gallery-slide img,
.gallery-slide video {
  -webkit-user-drag: none;
  -webkit-user-select: none;
  border-radius: 4px;
  display: block;
  height: auto;
  max-height: 240px;
  max-width: 100%;
  object-fit: contain;
  pointer-events: auto;
  user-select: none;
  width: auto;
}

.gallery-sub {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: center;
  padding: 8px 12px;
  height: 16px;
}

.gallery-header { border-bottom: 1px solid var(--border-color); }
.gallery-controls { border-top: 1px solid var(--border-color); }

.gallery-btn {
  font-size: 0.75rem;
  padding: 2px;
}

.gallery-btn:disabled,
.gallery-btn.edge {
  cursor: default;
  opacity: 0.35;
  pointer-events: none;
}

.slide-counter {
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  line-height: 1;
  margin-left: -5px;
  margin-right: -5px;
  opacity: 0.75;
}

.gallery-counter {
  min-width: 32px;
  text-align: center;
}

/* ---------- [LOG_PAGE] ---------- ---------- ---------- ---------- */

.log-card-header {
  background-color: var(--card-header);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
  padding: 16px;
  transition: var(--default-transition);
  user-select: none;
}

.log-card-header:has(+ .card-collapse.closed) {
  border-bottom: none;
}

.log-desktop-view {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.log-mobile-view {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.log-flex-row {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: space-between;
  width: 100%;
}

.log-flex-left {
  align-items: center;
  display: flex;
  flex: 1;
  gap: 8px;
  min-width: 0;
  overflow: hidden;
}

.log-flex-right {
  align-items: center;
  display: flex;
  flex-shrink: 0;
  gap: 8px;
}

.log-card-title {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  word-break: break-word;
  border: none;
}

.log-entity {
  color: var(--text-muted);
  flex-shrink: 1;
  font-size: 0.88rem;
  font-weight: 500;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.3s ease;
}

.log-entity a {
  color: inherit;
  text-decoration: none;
  border: none;
  transition: color 0.3s ease;
}

.log-entity a:hover {
  color: var(--text-bright);
}

.log-subtitle {
  color: var(--text-deep-muted);
  font-size: 0.8rem;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.3s ease;
}

.log-date, .log-type, .log-location { flex-shrink: 0; white-space: nowrap; }
.log-type::before, .log-location::before {
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  margin-right: 4px;
}

.log-type::before { content: '\f017'; }
.log-location::before { content: '\f3c5'; }

.log-body {
  display: flex;
  gap: 0;
  max-height: calc(100vh - 205px);
  min-height: 0;
  overflow: hidden;
  scrollbar-width: none;
}

.log-body.has-gallery .log-md-pane {
  flex-shrink: 0;
  width: 65%;
}

.log-body.has-gallery .gallery-pane {
  border-left: 1px solid var(--border-color);
  flex-shrink: 0;
  width: 35%;
}

.log-md-pane {
  box-sizing: border-box;
  overflow-y: auto;
  padding: 20px 24px;
  scrollbar-color: var(--scrollbar-thumb) var(--bg-card);
  scrollbar-width: none;
  width: 100%;
}

.log-md-content {
  color: var(--text-body);
  font-size: 0.9rem;
  line-height: 1.7;
  transition: color 0.3s ease;
}

.skill-card-body { max-height: none !important; overflow: visible !important; }
.meta-separator { margin: 0 5px; }

.skills-grid {
  display: grid;
  grid-template-columns: 2fr 0px 1fr 1fr;
  grid-auto-rows: minmax(75px, auto);
  gap: 16px;
  margin: 20px 20px;
  align-items: stretch;
}

.skill-slider {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.skill-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px 8px;
  gap: 6px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  background: var(--navbar-bg);
}

.skill-url {
  cursor: pointer;
  transition: transform 0.6s cubic-bezier(0.15, 1, 0.3, 1), border-color 0.6s ease, box-shadow 0.6s ease;
}

.skill-url:hover {
  border-color: var(--text-deep-muted);
  box-shadow: 0 0 15px var(--focus-shadow);
  transform: scale(1.025);
}

.progress-bar {
  background-color: var(--border-color);
  border-radius: 2px;
  height: 8px;
  margin-top: auto;
  overflow: hidden;
  width: 100%;
}

.progress-bar-fill {
  background-color: var(--text-bright);
  border-radius: 2px;
  height: 100%;
  transition: width 0.3s ease;
}

.log-flex-row, .progress-bar, .skill-slider-meta { margin: 0; }

@media (max-width: 840px) {
  .log-desktop-view { display: none !important; }
  .log-mobile-view { display: flex !important; }
  .log-entity { margin-left: auto; text-align: right; }
  .log-body.has-gallery { flex-direction: column; }
  .log-body.has-gallery .log-md-pane, .log-body.has-gallery .gallery-pane { width: 100%; }
  .log-body.has-gallery .gallery-pane { border-left: none; }
  .log-body { -webkit-overflow-scrolling: touch; overflow-y: auto; }
  .log-md-pane { -webkit-overflow-scrolling: touch; overflow-y: auto; padding-bottom: 0px; }
  .log-flex-left {margin-right: -8px;}

  .skills-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .skill-slider { grid-column: 1 / 3 !important; grid-row: auto !important; order: 0; }
  .skill-box { grid-column: span 1 !important; grid-row: auto !important; order: 1; }
  .skill-box.skill-full { grid-column: 1 / 3 !important; }

  .gallery-header {
    border-top: 1px solid var(--border-color);
    margin-top: 8px;
  }
}

/* ---------- ---------- [HUB] ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- */

.hub-hidden { display: none !important; }

.hub-main {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  align-items: center;
  width: 100%;
}

#hub-panel-feed, #hub-panel-guests {
  box-sizing: border-box;
  display: flex;
  gap: 30px;
  flex-direction: column;
  align-items: center;
}

#guests-container {
  width: 100% !important;
  row-gap: 30px !important;
}

.faq-question {
  color: var(--text-bright);
  flex: 1;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.4;
  padding-right: 12px;
  transition: color 0.3s ease;
}

.faq-index {
  color: var(--text-deep-muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  transition: color 0.3s ease;
  user-select: none;
}

.faq-answer {
  color: var(--text-body);
  display: block;
  font-size: 0.88rem;
  line-height: 1.65;
  margin: 0;
  padding: 14px 18px;
  transition: color 0.3s ease;
}

.hub-highlight {
  background-color: var(--highlight-color);
  border-radius: 2px;
  color: var(--text-bright);
  padding: 1px 2px;
  margin: 0px 0px;
}

.feed-text {
  color: var(--text-body);
  display: block;
  font-size: 0.88rem;
  line-height: 1.65;
  margin-top: 0px;
  margin-bottom: 14px;
  padding: 0px 18px;
  transition: color 0.3s ease;
}

.log-subtitle p, .faq-question p, .faq-answer p, .feed-text p { margin: 0 !important; }

.feed-row { display: flex; }
.feed-row .feed-msgc { flex-shrink: 0; width: 65%; }
.feed-row .gallery-pane { border-left: 1px solid var(--border-color); flex-shrink: 0; width: 35%; }

.feed-modal-overlay {
  align-items: center;
  backdrop-filter: blur(8px);
  background: var(--shadow-color);
  display: flex;
  height: 100vh;
  justify-content: center;
  left: 0;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  top: 0;
  transition: opacity 0.3s ease;
  width: 100vw;
  z-index: 9999;
  /* align-items: end; */
}

.feed-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.feed-modal {
  flex-shrink: 0;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 8px 32px var(--shadow-color);
  box-sizing: border-box;
  display: flex;
  align-items: stretch;
  max-height: 80vh;
  overflow-y: auto;
  padding: 16px 18px;
  position: relative;
  transform: scale(0.95);
  transition: transform 0.3s ease;
  /* margin-bottom: 10vh; */
  width: calc(100% - 80px);
  max-width: 840px;
}

.feed-modal-overlay.open .feed-modal {
  transform: scale(1);
}

#feed-modal-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
}

#feed-state-loading,
#feed-state-user {
  align-items: center;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
  width: 100%;
}

.feed-login-row {
  padding-bottom: 8px;
}

#feed-state-login {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.feed-login-title-row {
  align-items: flex-start;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding-top: 4px;
  width: 100%;
}

.feed-login-title {
  color: var(--text-bright);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.4;
}

.form-divider {
  align-items: center;
  color: var(--text-deep-muted);
  display: flex;
  font-size: 0.75rem;
  gap: 10px;
  width: 100%;
}

.form-divider::before,
.form-divider::after {
  background: var(--border-color);
  content: '';
  flex: 1;
  height: 1px;
}

.feed-otp-row {
  align-items: center;
  display: flex;
  gap: 8px;
  width: 100%;
}

.feed-otp-row .form-input {
  flex: 3;
  width: auto;
}

.feed-otp-row .feed-otp-btn {
  flex: 1;
  padding: 10px !important;
  font-size: smaller;
}

.feed-login-row {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: center;
  width: 100%;
}

.feed-modal .action-btn {
  margin: 0;
  width: 100%;
}

.feed-modal .action-btn i {
  margin: 0px 12px 0px 0px;
}

.feed-modal .subtitle:not(.feed-hidden) {
  align-self: center;
  margin-top: 10px;
  text-align: center;
  width: 100%;
}

.feed-modal .subtitle i {
  margin-right: 4px;
}

.feed-card-avatar {
  align-items: center;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  color: var(--text-deep-muted);
  display: flex;
  flex-shrink: 0;
  font-size: 0.85rem;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.feed-card-avatar-fallback {
  align-items: center;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  color: var(--text-deep-muted);
  display: flex;
  flex-shrink: 0;
  font-size: 0.85rem;
  height: 40px;
  justify-content: center;
  width: 40px;
}
.feed-card-avatar-fallback i { font-size: larger; }

.feed-identity-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.feed-name {
  text-transform: capitalize;
  color: var(--text-bright);
  font-size: 0.9rem;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
}

.feed-gmail {
  text-transform: none !important;
  color: var(--text-deep-muted);
  font-size: 0.72rem;
  word-break: break-all;
}

.feed-date {
  color: var(--text-deep-muted);
  font-size: 0.72rem;
}

.feed-name-banned {
  color: var(--text-deep-muted);
  font-style: italic;
}

.feed-badge-pending,
.feed-badge-approved,
.feed-badge-banned { 
  border-color: var(--card-header); 
  color: var(--text-body); 
}

.feed-badge-pending::before {
  background: linear-gradient(
    135deg,
    transparent 0%,
    transparent 35%,
    var(--pending-color) 50%,
    transparent 65%,
    transparent 100%
  );
  background-size: 400% 400%;
}

.feed-badge-approved::before {
  background: linear-gradient(
    135deg,
    transparent 0%,
    transparent 35%,
    var(--approved-color) 50%,
    transparent 65%,
    transparent 100%
  );
  background-size: 400% 400%;
}

.feed-badge-banned::before {
  background: linear-gradient(
    135deg,
    transparent 0%,
    transparent 35%,
    var(--heart-color) 50%,
    transparent 65%,
    transparent 100%
  );
  background-size: 400% 400%;
}

.feed-card-icons {
  align-items: center;
  display: flex;
  flex-shrink: 1;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end; 
  margin-left: auto;
}

#feed-state-user {
  align-items: stretch;
  gap: 10px;
}

#feed-state-admin {
  align-items: center;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
}

.feed-state-admin-row {
  align-items: center;
  display: flex;
  flex: 1;
  gap: 10px;
  min-width: 0;
}

.feed-identity-row {
  align-items: center;
  display: flex;
  gap: 10px;
  width: 100%;
}

.feed-identity-meta {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.feed-identity-left {
  align-items: center;
  display: flex;
  flex: 1;
  gap: 10px;
  min-width: 0;
}

.feed-identity-right {
  align-items: center;
  display: flex;
  flex-shrink: 0;
  gap: 6px;
}

.feed-entry-meta {
  align-items: center;
  color: var(--text-deep-muted);
  display: flex;
  font-size: 0.72rem;
  gap: 10px;
  justify-content: space-between;
}

.feed-preview-indicators {
  align-items: center;
  display: flex;
  gap: 12px;
  margin-left: auto;
}

.feed-unlink-btn {
  background: none;
  border: none;
  color: var(--text-deep-muted);
  cursor: pointer;
  flex-shrink: 0;
  font-size: 0.9rem;
  margin-left: auto;
  padding: 4px 6px;
  transition: color 0.3s ease;
}

.feed-unlink-btn:hover {
  color: var(--heart-color);
}

#feed-entry-preview {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 14px;
  width: 100%;
}

.feed-preview-text {
  color: var(--text-body);
  font-size: 0.88rem;
  line-height: 1.55;
  margin: 0;
  word-break: break-word;
}

.feed-entry-status-approved { color: var(--approved-color); font-weight: 600; }
.feed-entry-status-pending { color: var(--pending-color); font-weight: 600; }

.feed-textarea {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  box-sizing: border-box;
  color: var(--text-bright);
  font-family: 'Ubuntu', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  line-height: 1.5;
  max-height: 28vh;
  min-height: 70px;
  outline: none;
  overflow: hidden;
  padding: 6px 10px;
  resize: none;
  transition: var(--search-transition);
  width: 100%;
}

#feed-textarea:focus {
  border-color: var(--text-deep-muted);
  box-shadow: 0 0 15px var(--focus-shadow);
}

#feed-textarea::placeholder {
  color: var(--text-deep-muted);
  font-family: 'Ubuntu', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.8px;
}

.feed-icon-btn {
  align-items: center;
  background: none;
  border: none;
  color: var(--text-deep-muted);
  cursor: pointer;
  display: flex;
  flex-shrink: 0;
  font-size: 0.9rem;
  justify-content: center;
  padding: 4px;
  transition: color 0.15s ease;
}

.feed-icon-close {
  background-color: var(--card-header);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  padding: 6px 6px;
  width: 28px;
  height: 28px;
  margin-left: 4px;
  transition: all 0.3s ease;
}
.feed-icon-close i { transform: translate(0.15px, 1.35px); }
.feed-icon-close:hover { background-color: var(--bg-primary); box-shadow: 0 0 15px var(--focus-shadow); }
 

.feed-icon-btn:hover { color: var(--text-bright); }
.feed-icon-save, .feed-icon-cancel, .feed-icon-close { font-size: 1.05rem; }
.feed-icon-save:hover { color: var(--approved-color); }
.feed-icon-cancel:hover, .feed-icon-delete:hover { color: var(--pending-color); }

.feed-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  cursor: default;
  display: flex;
  flex-direction: column;
  padding: 0;
  width: 100% !important;
  box-sizing: border-box;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.feed-card-header {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  min-width: 0;
  padding: 14px 18px 10px;
}

.feed-identity {
  align-items: center;
  display: flex;
  gap: 10px;
  min-width: 0;
}

.feed-msg {
  color: var(--text-body);
  font-size: 0.88rem;
  line-height: 1.65;
  margin: 0;
  min-height: 20px;
  padding: 0 18px 14px;
  word-break: break-word;
}

.feed-msg-rtl {
  direction: rtl;
  text-align: right;
}

.feed-btn {
  background: none;
  border: none;
  color: var(--text-deep-muted);
  cursor: pointer;
  font-size: 0.85rem;
  padding: 4px 6px;
  transition: color 0.15s ease;
}

.feed-btn:hover {
  color: var(--text-bright);
}

.feed-btn-active {
  color: var(--text-bright) !important;
}

.feed-btn-remove:hover,
.feed-btn-delete:hover,
.feed-btn-ban:hover {
  color: var(--heart-color);
}

.feed-btn-unban:hover {
  color: var(--approved-color);
}

.feed-card-banned {
  border-color: var(--heart-color) !important;
  box-shadow: 0 0 15px var(--heart-color-sub) !important;
  opacity: 0.75 !important;
}

@media (max-width: 840px) {
  .feed-row { flex-direction: column; }
  .feed-row .feed-msg-pane, .feed-row .gallery-pane { width: 100% !important; }
  .feed-row .gallery-pane { order: 1; margin-top: -10px; width: 100% !important; border-left: none !important; }
}