/* General styles*/
span {
  padding: 2px;
}

.styled-link {
  color: #FFA500;
  text-decoration: none;
}

p {
  white-space: pre-wrap;
}

hr {
  border: none;
  border-top: 1px solid #FFA500;
  margin: 10px 0;
  width: 100%;
}

/* Textarea, input, select styles */
textarea, input, select {
  background-color: #444;
  color: #FFA500;
  border: 1px solid #333;
  padding: 10px;
  border-radius: 5px;
  width: 80%;
  font-size: 1em;
  margin-top: 10px;
}

input[type="text"], input[type="email"], input[type="password"], textarea {
  margin-bottom: 15px;
}

/* Body and overall page styles */
html {
  color: #FFA500;
}

body {
  font-family: sans-serif;
  background-color: #000;
  color: #FFA500;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

/* Link styles */
a {
  color: #FFA500;
  text-decoration: underline;
}

a:hover {
  text-decoration: underline;
}

.header {
  display: flex;
  justify-content: space-between; 
  padding: 10px;
  align-items: center; 
}

.update-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 16px;
  font-size: 0.85em;
  letter-spacing: 0.3px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.update-banner-icon {
  font-size: 1.15em;
  animation: update-spin 2.5s linear infinite;
}

@keyframes update-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.update-banner-text {
  opacity: 0.85;
}

.update-banner-link {
  font-weight: bold;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.header-content {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  overflow: hidden; 
}

.avatar-profile {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 10px;
}

.created-at,
.author-name,
.about-time,
.time {
  margin-right: 10px;
  white-space: nowrap; 
}

.author-name {
  font-weight: bold;
}

.created-at,
.about-time,
.time {
  font-size: 0.9rem;
  color: #ccc;
}

.time {
  font-size: 0.8rem;
  color: gray;
}

.time a {
  color: inherit;
  text-decoration: none;
}

form-button-group {
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
  justify-content: start;
}

.wallet-form-button-group-center {
  display: inline-flex;
  gap: 10px;
  justify-content: space-between; 
  padding: 10px;
  align-items: center; 
}

.conn-buttons {
  display: inline-flex;
  justify-content: space-between; 
  padding: 10px;
  align-items: center; 
  gap: 10px;
}

.left-bar {
  display: flex;
  align-items: center;
}

.right-bar {
  display: flex;
  align-items: center;
}

.search-input {
  width: 380px; 
  height: 38px;
}

nav ul {
  list-style-type: none;
  padding: 0;
}

nav ul li {
  margin: 5px 0;
}

/* Logo and Navigation */
.logo-icon {
  width: 50px;
  height: auto;
  margin-right: 15px;
}

nav ul {
  display: flex;
  list-style: none;
  margin: 0;
}

nav ul a {
  color: #FFA500;
  text-decoration: underline;
  padding: 10px;
  display: flex;
}

nav ul li {
  margin-right: 10px;
  padding: 2px;
}

nav ul li a {
  color: #FFA500;
  text-decoration: none;
  padding: 2px;
  display: block;
}

nav ul li a:hover {
  color: #FFD700;
  padding: 2px;
  text-decoration: underline;
}

/* nav menus */
.oasis-nav-group {
  list-style: none;
  margin-bottom: 0.75rem;
}

.oasis-nav-toggle {
  display: none;
}

.oasis-nav-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  cursor: pointer;
  padding: 0.5rem 0.75rem;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ffb400;
  transition: background 0.2s ease, color 0.2s ease;
  text-align: left;
  border: 1px solid rgba(255, 180, 0, 0.6);
  border-radius: 4px;
  margin: 0 0.25rem;
  box-sizing: border-box;
}

.oasis-nav-header .emoji {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.4em;
  flex-shrink: 0;
  text-align: center;
  line-height: 1;
}

.oasis-nav-header .nav-text {
  flex: 1;
}

.oasis-nav-header:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #ffd36a;
}

.oasis-nav-arrow {
  font-size: 0.7rem;
  margin-left: auto;
  transition: transform 0.2s ease;
}

.oasis-nav-header + .oasis-nav-list {
  margin-top: 0.35rem;
}

.oasis-nav-list {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease-out;
  padding: 0;
  margin: 0 0.25rem;
  box-sizing: border-box;
}

.oasis-nav-toggle:checked + .oasis-nav-header + .oasis-nav-list {
  max-height: 1000px;
}

.oasis-nav-toggle:checked + .oasis-nav-header .oasis-nav-arrow {
  transform: rotate(180deg);
}

.oasis-nav-list li {
  list-style: none;
  padding: 0;
  margin: 0;
}

.oasis-nav-list li a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.85rem;
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.15s ease;
  box-sizing: border-box;
}

.oasis-nav-list li a:hover {
  opacity: 1;
}

.oasis-nav-list .emoji {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.4em;
  flex-shrink: 0;
  text-align: center;
  line-height: 1;
}

.oasis-nav-list .nav-text {
  display: inline-block;
  line-height: 1.2;
}

.oasis-header-marquee {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  white-space: nowrap;
  font-size: 0.78rem;
  color: #ffc45a;
}

.oasis-header-marquee-inner {
  display: inline-block;
  padding: 0 1rem;
  animation: oasis-marquee 30s linear infinite;
}

.oasis-marquee-item {
  margin: 0 0.4rem;
  opacity: 0.9;
}

.oasis-marquee-separator {
  margin: 0 0.4rem;
  opacity: 0.5;
}

@keyframes oasis-marquee {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* Main content area + Menu */
/* 
.main-content { border: 2px solid red !important; }
.sidebar-left { border: 2px solid blue !important; }
.main-column { border: 2px solid green !important; }
.sidebar-right { border: 2px solid orange !important; }
*/

.sidebar-left,
.sidebar-right {
  background-color: #222;
  border: 1px solid #444;
  padding: 10px;
  min-width: 180px;
  max-width: 260px;
  flex-shrink: 0;
  box-sizing: border-box;
}

.main-content {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  width: 100%;
  box-sizing: border-box;
  gap: 10px;
  min-width: 0;  
  max-width: 100vw; 
}

.main-column pre,
.main-column code {
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.main-column img {
  max-width: 100%;
  height: auto;
  display: block;
}

.main-column {
  background-color: #333;
  padding: 20px;
  flex-grow: 1;
  min-width: 0;     
  max-width: 100%;
  border-radius: 5px;
  border: 1px solid #333;
  box-sizing: border-box;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.main-column > *,
.main-column details,
.main-column section,
.main-column article {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.main-column details,
.main-column section {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.sidebar-left nav ul,
.sidebar-right nav ul {
  display: block;
}

.sidebar-left nav ul li,
.sidebar-right nav ul li {
  margin-bottom: 10px;
}

.sidebar-left nav ul li a,
.sidebar-right nav ul li a,
.header nav ul li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 6px;
  background-color: #1d1d1d;
  text-decoration: none;
  font-size: 15px;
  color: #ffa300;
  border: 1px solid #333;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.sidebar-left nav ul li a:hover,
.sidebar-right nav ul li a:hover,
.header nav ul li a:hover {
  background-color: #2a2a2a;
  border-color: #555;
}

/* Header layout */
.header {
  display: flex;
  justify-content: space-between;
  padding: 10px;
  align-items: center;
}

.top-bar-left,
.top-bar-mid,
.top-bar-center,
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0px;
}

.top-bar-left {
  justify-content: flex-start;
}

.top-bar-mid {
  justify-content: center;
}

.top-bar-center {
  flex: 1;
  justify-content: center;
  min-width: 0;
}
.top-bar-center-ainav .ai-ask-form { max-width: 100%; }
.top-bar-center-ainav .ai-ask-input { height: 44px; font-size: 1rem; padding: 0 1rem; }
.top-bar-center-ainav .ai-ask-btn { height: 44px; font-size: 1.1rem; padding: 0 1.1rem; }
.ainav-only.main-content { min-height: 60vh; }
.ainav-landing,
.ainav-landing .ainav-landing-topbar,
.ainav-landing .ainav-landing-center,
.ainav-landing .ainav-landing-myid,
.ainav-landing .top-bar-left,
.ainav-landing .top-bar-right,
.ainav-landing nav,
.ainav-landing ul,
.ainav-landing li { background: transparent !important; border: 0 !important; box-shadow: none !important; }
.ainav-landing { display: flex; flex-direction: column; align-items: stretch; min-height: 100vh; padding: 0 24px 24px; box-sizing: border-box; }
.ainav-landing-topbar { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 12px 0; gap: 16px; }
.ainav-landing-topbar .top-bar-left, .ainav-landing-topbar .top-bar-right { display: flex; align-items: center; gap: 10px; }
.ainav-landing-topbar nav ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.ainav-landing-topbar nav ul li { display: inline-flex; }
.ainav-landing-center { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding-top: 15vh; gap: 20px; }
.ainav-landing-myid { text-align: center; word-break: break-all; margin: -8px 0 -4px !important; padding: 0 !important; box-shadow: none !important; line-height: 1.2 !important; font-size: 0.85rem; }
.ainav-landing-topbar nav ul li a,
.header.ainav-only nav ul li a { background: transparent !important; border: 0 !important; box-shadow: none !important; }
.ainav-landing-topbar nav ul li a:hover,
.header.ainav-only nav ul li a:hover { background: transparent !important; color: inherit !important; box-shadow: none !important; filter: none !important; text-decoration: underline !important; }
.ainav-landing-tags { width: 100%; max-width: 720px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; border: 0 !important; background: transparent !important; padding: 0; margin: 0; box-sizing: border-box; }
.ainav-landing-logo { display: inline-flex; }
.ainav-landing-logo img { width: 96px; height: 96px; border-radius: 50%; display: block; }
.ainav-landing-form { display: flex; align-items: center; gap: 10px; width: 100%; max-width: 720px; }
.ainav-landing-input { flex: 1; height: 56px; font-size: 1.1rem; padding: 0 1.2rem; border-radius: 6px; }
.ainav-landing-btn { height: 56px; font-size: 1.2rem; padding: 0 1.4rem; border-radius: 6px; }

.top-bar-right {
  justify-content: flex-end;
}

.ai-ask-form {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  max-width: 720px;
}

.ai-ask-form .ai-ask-input,
.ai-ask-form .ai-ask-btn {
  box-sizing: border-box;
  margin: 0;
  height: 32px;
  border: 1px solid rgba(255, 180, 0, 0.6);
  border-radius: 4px;
  padding: 0 0.75rem;
  font-size: 0.8rem;
  font-family: inherit;
  font-weight: 600;
  line-height: 1;
  background: transparent;
  color: #ffb400;
  text-transform: none;
  letter-spacing: normal;
}

.ai-ask-form .ai-ask-input {
  flex: 1;
  min-width: 0;
  outline: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.ai-ask-form .ai-ask-input::placeholder {
  color: rgba(255, 180, 0, 0.55);
}

.ai-ask-form .ai-ask-input:focus {
  border-color: #ffa300;
  background: rgba(255, 255, 255, 0.05);
}

.ai-ask-form .ai-ask-btn {
  flex-shrink: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  padding: 0 0.85rem;
}

.ai-ask-form .ai-ask-btn:hover {
  background: rgba(255, 180, 0, 0.15);
  border-color: #ffa300;
  color: #ffa300;
}

@media (max-width: 768px) {
  .top-bar-center { display: none; }
}

.top-bar-left nav ul,
.top-bar-mid nav ul,
.top-bar-right nav ul {
  padding: 0;
  margin: 0;
  overflow-x: auto;
}

.logo-icon {
  width: 40px;
  height: 40px;
  margin-right: 10px;
}

/* Section styles */
section {
  margin-bottom: 20px;
  color: #FFA500;
}

ul {
  padding: 1;
  margin: 10px 0;
}

ul li {
  margin: 10px 0;
}

/* Buttons */
button, input[type="submit"], input[type="button"] {
  background-color: #FFA500;
  color: #000;
  border: 1px solid #FFA500;
  padding: 8px 16px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.9em;
  transition: all 0.3s ease;
  margin-top: 4.5px;
}

button:hover, input[type="submit"]:hover, input[type="button"]:hover {
  background-color: #FFD700;
  border-color: #FFD700;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  border: 1px solid #333;
}

table th, table td {
  padding: 10px;
  border: 1px solid #444;
  text-align: left;
}

table th {
  background-color: #222;
}

table tr:nth-child(even) {
  background-color: #444;
}

/* Media queries */
@media (max-width: 768px) {
  .main-content {
    flex-direction: column;
    gap: 20px;
  }

  .sidebar-left, .sidebar-right {
    width: 100%;
    display: block;
  }

  .main-column {
    width: 100%;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 14px;
  }

  h1, h2, h3 {
    font-size: 1.5em;
  }

  input, select {
    font-size: 0.9em;
  }
}

/* general styles */
div {
  margin-bottom: 20px;
  padding: 20px;
  border-radius: 10px;
  background-color: #222;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
  overflow: hidden;
}

div .header-content{
  width: 35%;
}

h1 {
  color: #FFA500;
  font-weight: bold;
  margin: 0;
}

.md-mention {
  font-size: 1.5em;
  font-weight: bold;
  margin: 20px 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
  user-select: text;
}

article {
  font-size: 1.1em;
  color: #FFF;
  margin-bottom: 20px;
}

.thread-view {
 width: 90%;
}

thread-container {
 width: 95%;
}

.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 10px;
}

.profile-metrics {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.profile-metrics .inhabitant-last-activity {
  align-self: center;
}

.inhabitant-last-activity .label {
  margin-right: 6px;
}

.avatar-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(255, 165, 0, 0.25);
  max-width: 300px;
  margin: 0 auto 20px auto;
  transition: transform 0.3s ease;
}

.avatar-container:hover {
  transform: scale(1.05);
}

.avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  margin-bottom: 12px;
  box-shadow: 0 4px 10px rgba(255, 140, 0, 0.4);
  object-fit: cover;
  transition: border-color 0.3s ease;
}

.avatar:hover {
  border-color: #FFA500;
}

.name {
  font-size: 1.5em;
  font-weight: bold;
}

footer {
  clear: both;
  margin-top: 20px;
  padding: 10px 0;
}

footer div {
  display: flex;
  gap: 10px;
}

footer a {
  background-color: #FFA500;
  color: #000;
  padding: 8px 16px;
  border-radius: 5px;
  text-decoration: none;
  text-align: center;
  margin: 5px 0;
  transition: background-color 0.3s ease;
}

footer a:hover {
  background-color: #FFD700;
  border-color: #FFD700;
}

footer .btn {
  background-color: #FFA500;
  color: #000;
  padding: 8px 16px;
  border-radius: 5px;
  text-align: center;
  text-decoration: none;
}

footer .btn:hover {
  background-color: #FFD700;
  border-color: #FFD700;
}

footer .btn:hover {
  background-color: #007B9F;
}

/* Post preview */
.mention {
  font-weight: bold;
  color: #ffcc00;
  text-decoration: none;
}

.mention:hover {
  text-decoration: underline;
}

.mentions-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mention-item {
  padding: 12px;
  border: 1px solid #333;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
}

.mention-content {
  margin-bottom: 8px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.post-preview img {
  display: block;
  margin: 1em 0;
  max-width: 100%;
  border-radius: 8px;
  border: 2px solid #555;
}

.post-preview audio,
.post-preview video {
  display: block;
  margin: 1.2em 0;
  max-width: 100%;
}

.thread-reply-item {
    margin-bottom: 18px;
}

.thread-reply-item:last-child {
    margin-bottom: 0;
}

.thread-reply-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 10px;
    padding: 0;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

.thread-reply-footer .inline-form {
    display: inline-flex;
    margin: 0;
}

.thread-reply-footer .inline-form button {
    margin: 0;
}

.publish-textarea {
  min-height: 10em;
  padding: 0.75em;
  border: 1px solid #444;
  border-radius: 6px;
  font-family: sans-serif;
  font-size: 1em;
  line-height: 1.4;
}

.preview-text {
  background-color: #444;
  color: #FFA500;
  border: 1px solid #333;
  padding: 10px;
  border-radius: 5px;
  width: 80%;
  font-size: 1em;
  white-space: pre-wrap; 
  word-wrap: break-word;
  line-height: 1.4;
}

/* Section, article, and message word-wrap */
section, article, .message, .profile {
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
}

article img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.post-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin: 8px 0;
}

.post-video {
  max-width: 100%;
  display: block;
  border-radius: 8px;
  margin: 8px 0;
}

.post-audio {
  width: 100%;
  display: block;
  margin: 8px 0;
}

.feed-container .post-image{max-width:100%;width:auto;max-height:480px;height:auto}
.feed-container .post-video,.feed-container .video-container video{width:100%;max-width:720px;max-height:480px;height:auto}
.feed-container .post-audio,.feed-container .audio-container audio{width:100%;max-width:640px}

.fediverse-network{border-radius:8px;padding:18px 22px;margin-top:10px;display:flex;flex-direction:column;gap:16px}
.fediverse-network h3{margin:0}
.fediverse-profile{display:flex;flex-direction:column;gap:24px}
.fediverse-namerow{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.fediverse-namerow .fediverse-avatar{width:80px;height:80px}
.fediverse-profile-id{display:flex;flex-direction:column;min-width:0}
.fediverse-name{font-weight:700;font-size:1.3em}
.fediverse-acct{margin-top:4px !important}
.fediverse-namerow .fediverse-compact-actions{margin-left:auto !important;align-self:flex-start}
.fediverse-compact-actions{display:inline-flex;gap:8px;flex-wrap:wrap}
.fediverse-pre{white-space:pre-wrap;word-break:break-word}
.fediverse-preview-head .fediverse-avatar{width:72px;height:72px}
.fediverse-stats{display:flex;flex-wrap:wrap;gap:32px;margin:0}
.fediverse-stat{display:flex;flex-direction:column;gap:4px}
.fediverse-stat strong{white-space:nowrap}
.fediverse-stat-label{font-size:0.8em;opacity:0.65}
.fediverse-bio{margin:0;padding:0;text-indent:0;opacity:0.9;word-break:break-word;white-space:normal}
.fediverse-bio p{margin:0;padding:0;text-indent:0;white-space:normal}
.fediverse-bio p+p{margin-top:6px}
.fediverse-fields{display:flex;flex-direction:column;gap:10px;margin:0;border-radius:8px;padding:14px 16px}
.fediverse-field{display:flex;flex-wrap:wrap;gap:8px;align-items:baseline}
.fediverse-field-name{font-weight:700;opacity:0.75;min-width:110px}
.fediverse-field-value{min-width:0;word-break:break-word}
.fediverse-field-verified{color:#7fff7f}
.fediverse-reach-url{display:block;margin-top:6px;word-break:break-all}
.pm-exposition-fediverse{background:#2a1a3a;color:#c9a0ff;border-color:#6f4fa3}
.fediverse-profile,.fediverse-profile-id,.fediverse-namerow,.fediverse-stat,.fediverse-name,.fediverse-compact-actions,.fediverse-author,.fediverse-head,.fediverse-bio,.fediverse-stats,.fediverse-field,.fediverse-field-value,.fediverse-actions,.fediverse-compose,.fediverse-compose-actions,.fediverse-media,.fediverse-reach,.fediverse-preview-card,.fediverse-preview-head,.fediverse-disconnected{border:none !important;background:none !important;padding:0 !important;margin:0 !important;box-shadow:none !important;border-radius:0 !important}
.fediverse-empty{text-align:center;padding:24px}
.fediverse-error{color:#ff6b6b;margin:8px 0}
.fediverse-compose{display:flex;flex-direction:column;gap:8px;margin-bottom:18px}
.fediverse-compose textarea{width:100%;box-sizing:border-box;resize:vertical}
.fediverse-compose-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.fediverse-attach{display:inline-flex;align-items:center;gap:6px;font-size:0.9em;opacity:0.85}
.fediverse-card{display:flex;flex-direction:column;gap:8px}
.fediverse-boosted{font-size:0.85em;opacity:0.7}
.fediverse-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.fediverse-avatar{width:40px;height:40px;border-radius:8px;object-fit:cover;flex-shrink:0}
.fediverse-author{display:flex;flex-direction:column;min-width:0}
.fediverse-name{font-weight:700}
.fediverse-acct{font-size:0.85em;opacity:0.7;word-break:break-all}
.fediverse-date{margin-left:auto;font-size:0.8em;opacity:0.6;white-space:nowrap}
.fediverse-media{display:flex;flex-direction:column;gap:8px;align-items:flex-start}
.fediverse-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:4px}
.fediverse-focus,.fediverse-focus .fediverse-card{border:none !important;background:none !important;padding:0 !important;margin:0 !important;box-shadow:none !important;border-radius:0 !important}

.post-pdf {
  color: #FFA500;
  text-decoration: none;
  border-bottom: 1px dashed #FFA500;
}

.post-pdf:hover {
  text-decoration: underline;
}

/* Filters */
button.filter-btn,
a.filter-btn,
button.create-button {
  font: inherit;
  padding: 10px 20px;
  margin-right: 10px;
  border-radius: 5px;
  border: 1px solid;
  cursor: pointer;
  transition: background-color .2s, border-color .2s;
}

button.filter-btn,
a.filter-btn {
  background-color: #ff6600;
  border-color:     #ff3300;
  color:            #fff;
  text-decoration: none;
  display: inline-block;
}

button.filter-btn:hover,
button.filter-btn.active,
a.filter-btn:hover,
a.filter-btn.active {
  background-color: #ff9900;
  border-color:     #e68a00;
  color:            #000;
}

button.create-button {
  background-color: #ffcc00;
  border-color:     #e6b800;
  color:            #000;
}

button.create-button:hover {
  background-color: #e6b800;
  border-color:     #cca300;
}

/* Bookmarks */
.bookmark-form input[type="text"],
.bookmark-form textarea,
.bookmark-form select {
    width: 100%;
    padding: 6px;
    font-size: 14px;
    border: 1px solid #333;
    border-radius: 4px;
    box-sizing: border-box;
}

.bookmark-form input[type="url"] {
    max-width: 800px; 
}

.bookmark-form textarea {
    height: 80px;
}

.bookmark-form select {
    width: auto;
    max-width: 200px;
}

.bookmark-form label {
    margin-bottom: 15px;
    padding: 6px;
}

.bookmark-tags {
    margin-top: 1em;
}

.bookmark-url {
  color: #ff6600;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  word-wrap: break-word;
  margin-bottom: 1em;
}

.bookmark-url:hover {
  text-decoration: underline;
}

.filter-box {
  padding: 16px 18px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.18);
}

.filter-box__input {
  width: 100%;
  box-sizing: border-box;
  height: 42px;
  padding: 10px 12px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.12);
  color: #ffd700;
  outline: none;
}

.filter-box__input::placeholder {
  color: rgba(255, 215, 0, 0.75);
}

.filter-box__controls {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 14px;
  flex-wrap: wrap;
}

.filter-box__select {
  box-sizing: border-box;
  height: 36px;
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.12);
  color: inherit;
  min-width: 170px;
}

.filter-box__button {
  height: 36px;
  padding: 0 14px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.16);
  color: #ffd700;
}

.bookmark-topbar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  border:0px;
}

.bookmark-topbar-left {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.bookmark-topbar-left form {
  margin: 0;
}

.bookmark-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  border: 0px;
}

.tags-header h2 {
  color: #ffa300;
}

.error-page-message{margin:8px 0 16px;white-space:pre-wrap;word-break:break-word}
.error-page-actions{margin-top:16px}

.tags-container {
  display: flex;
  flex-wrap: wrap;
}

.tag-link {
  display: inline-block;
  color: #ff6600;
  padding: 0.2em 0.6em;
  font-size: 0.9em;
  text-decoration: none;
  margin-right: 1em;
  margin-bottom: 0.5em; 
}

.tag-checkboxes-table {
  margin-top: 1rem;
  width: 100%;
  border-collapse: collapse;
  color: yellow;
}

.tag-checkboxes-table td {
  padding: 0.5rem 1rem;
  white-space: nowrap;
  vertical-align: middle;
}

.input-checkbox {
  transform: scale(1.2);
}

/* Inhabitants */
.inhabitant-card {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 1rem;
}

.inhabitant-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 300px;
  flex: 0 0 300px;
}
.inhabitant-left > a:first-of-type { margin-bottom: 0 !important; }
.inhabitant-left > .status.you { margin: 0; }
.inhabitant-left .profile-sensors-box { margin: 0; }
.inhabitant-left .profile-sensors-box .profile-reach { margin: 0; }

.inhabitant-left > a:first-of-type {
  display: block;
  width: 100%;
}
.inhabitant-left .profile-sensors-box a {
  display: inline;
  width: auto;
}

.inhabitant-left h2 {
  margin: 4px 0 0;
  line-height: 1.1;
}

.inhabitant-photo {
  width: 100% !important;
  height: 100% !important;
  border-radius: 50%;
  border: 3px solid #ffa500;
  display: block;
  margin: 0 auto;
}

.inhabitant-photo-details {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #ffa500;
  display: block;
  margin: 0 auto;
}

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

.inhabitant-activity-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 6px;
}

.inhabitant-last-activity {
  margin-top: 0;
  display: flex;
  border: 0;
  align-items: center;
  gap: 6px;
}

.activity-dot {
  display: inline-block;
  font-size: 1em;
  line-height: 1;
  vertical-align: middle;
}

.activity-dot.green {
  color: #2ecc71;
}

.activity-dot.orange {
  color: #f39c12;
}

.activity-dot.red {
  color: #e74c3c;
}

.profile-last-seen,
.profile-device {
  display: block;
  font-size: 13px;
  color: #888;
  margin-top: 4px;
}

.device-kit {
  color: green;
  font-weight: bold;
}

.device-desktop {
  color: yellow;
  font-weight: bold;
}

.device-mobile {
  color: red;
  font-weight: bold;
}

.activity-filters{display:grid;grid-template-columns:repeat(6,1fr);gap:16px;margin-bottom:12px}
.activity-filter-col{display:flex;flex-direction:column;gap:8px}
.activity-search{display:flex;gap:12px;align-items:center;margin:14px 0 18px 0;flex-wrap:wrap}
.activity-search-input{min-width:240px;max-width:520px;width:100%}
.post-text-pre{white-space:pre-wrap}
.activity-image-thumb{width:100%;max-width:720px;height:auto;border-radius:14px;object-fit:cover}
.activity-avatar{width:256px;height:256px;}
.activity-pub{display:flex;flex-direction:column;gap:10px;align-items:flex-start}
.activity-pub-title{margin:0}
.activity-pub-title .user-link{display:inline}
.activity-contact-links{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.activity-contact-arrow{opacity:.85}
.reply-context{margin:0 0 .55rem 0;padding:.5rem .6rem;border-radius:12px;background:rgba(255,255,255,.04)}
.reply-context-author{margin-left:.45rem}
.reply-context-text{margin:.35rem 0 0 0;opacity:.92;font-size:.97em}
.activity-spread-title{margin:.25rem 0 .55rem 0;font-size:1.08em}
.activity-spread-text{line-height:1.45;font-size:1.02em;word-break:break-word;overflow-wrap:anywhere}
.activity-contact {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.activity-contact-avatar-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.activity-contact-avatar {
  width: 256px;
  height: 256px;
  object-fit: cover;
  border-radius: 12px;
}

.activity-contact-arrow {
  font-weight: 800;
  opacity: 0.85;
}

/* Documents */
.pdf-viewer-container {
  width: 100%;
  max-width: 100%;
  background: #1e1e1e;
  margin-bottom: 1rem;
  padding: 1rem;
  border-radius: 6px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
}

.pdf-viewer-container canvas {
  display: block;
  margin: 0 auto;
  border: 1px solid #333;
  background-color: #fff;
}

.pdf-viewer-container div {
  margin-top: 1rem;
}

.pdf-viewer-container button {
  background-color: #2d2d2d;
  color: #eee;
  border: none;
  padding: 0.4rem 0.8rem;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.pdf-viewer-container button:hover {
  background-color: #444;
}

.pdf-viewer-container span {
  color: #ccc;
  margin: 0 1rem;
  font-family: monospace;
}

/* CVs */
.cv-photo {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
}

.cv-item {
  padding: 20px;
  border: 1px solid #ddd;
  margin-bottom: 20px;
}

.cv-section {
  padding: 20px;
}

.no-cv {
  padding: 20px;
  text-align: center;
}

.checkbox-oasisContributor {
  display: table-cell;
  align-items: center;
  gap: 0.5em;
}

.action-card {
  padding: 1em;
  border-bottom: 1px solid #333;
  margin-bottom: 1em;
}

.action-meta {
  font-size: 0.9em;
  color: #FFA500;
}

.feed-image {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

.trending-image .feed-image,
.opinion-image .feed-image {
  max-width: 100%;
  width: auto;
  max-height: 480px;
  height: auto;
}

.opinions-voting-collapse { margin: 8px 0; }
.opinions-summary {
  display: inline-block !important;
  width: auto !important;
  max-width: max-content;
  box-sizing: border-box;
  cursor: pointer;
  font: inherit;
  padding: 10px 20px;
  border: 1px solid #ff3300;
  border-radius: 5px;
  background-color: #ff6600;
  color: #fff;
  transition: background-color .2s, border-color .2s;
  list-style: none;
}
.opinions-summary:hover { background-color: #ff9900; border-color: #e68a00; color: #000; }
.opinions-summary::-webkit-details-marker { display: none; }
.opinions-summary::after { content: " \25BE"; opacity: 0.85; }
details[open] > .opinions-summary::after { content: " \25B4"; }

.message-banner {
  margin: 12px 0;
  padding: 12px 16px;
  border: 1px solid #ffa300;
  border-radius: 6px;
  background: rgba(255, 163, 0, 0.12);
}
.message-banner p { margin: 0; }

.feed-search-form {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.feed-search-input {
  flex: 1 1 260px;
  min-width: 220px;
  height: 40px;
  box-sizing: border-box;
}

.feed-search-btn {
  height: 40px;
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
}

.type-label {
  font-weight: bold;
  margin-top: 0.5em;
}

.content-text {
  margin: 0.5em 0;
}

.filters { 
margin-bottom:16px; 
}

.mode-buttons { 
display:flex; gap:8px; margin-top:16px; 
}

.mention-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 10px;
}

.tribe-card-image {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 8px;
}

.tribe-feed {
  background-color: #111;
  padding: 16px;
  border-radius: 8px;
}

.tribe-feed-full {
  width: 100%;
  background-color: #222;
  padding: 16px;
  border-radius: 8px;
  box-sizing: border-box;
}

.feed-actions {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.vote-actions {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.feed-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.feed-item {
  background-color: #1c1c1c;
  padding: 12px;
  border-radius: 6px;
  color: #f0f0f0;
}

.feed-item p {
  margin: 4px 0;
}

.feed-item form {
  margin-top: 8px;
}

.feed-item button {
  background-color: orange;
  color: black;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
}

.feed-item button:disabled {
  background-color: #555;
  cursor: not-allowed;
}

.tribe-feed .feed-row,
.tribe-feed-full .feed-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.tribe-feed .refeed-column,
.tribe-feed-full .refeed-column {
  flex: 0 0 68px;
  min-width: 68px;
  max-width: 68px;
  padding: 10px 8px;
}

.tribe-feed .refeed-column h1,
.tribe-feed-full .refeed-column h1 {
  margin: 0 0 8px 0;
  font-size: 24px;
}

.tribe-feed .refeed-btn,
.tribe-feed-full .refeed-btn {
  padding: 6px 8px;
  font-size: 12px;
  width: 100%;
}

.tribe-feed .feed-main,
.tribe-feed-full .feed-main {
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

@media (max-width: 720px) {
  .tribe-feed .feed-row,
  .tribe-feed-full .feed-row {
    flex-direction: column;
  }

  .tribe-feed .refeed-column,
  .tribe-feed-full .refeed-column {
    width: 100%;
    min-width: 0;
    max-width: none;
    align-items: flex-start;
  }
}

.tribe-feed .feed-actions,
.tribe-feed-full .feed-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.tribe-feed .feed-actions form,
.tribe-feed-full .feed-actions form,
.tribe-feed .refeed-column form,
.tribe-feed-full .refeed-column form {
  margin: 0;
}

.tribe-feed-compose {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  margin-top: 14px;
  align-items: end;
}

.tribe-feed-compose textarea {
  width: 100%;
  min-width: 0;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #444;
  background: #222;
  color: #eee;
  resize: vertical;
  min-height: 120px;
  line-height: 1.45;
  box-sizing: border-box;
}

.tribe-feed-compose .tribe-feed-send {
  height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .tribe-feed-compose {
    grid-template-columns: 1fr;
  }

  .tribe-feed-compose .tribe-feed-send {
    width: 100%;
  }
}

.tribes-container{ 
  display:grid; grid-template-columns:repeat(auto-fill,minmax(400px,1fr)); gap:20px; margin-top:16px;
 }
 
.tribe-card {
  background: #2c2f33;
  border-radius: 8px;
  border: 1px solid #444;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.tribe-details {
  display: flex;
  border-radius: 12px;
  padding: 24px;
  gap: 24px;
}

.tribe-main {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
  min-width: 0;
}

.tribe-side {
  display: flex;
  background: #2c2f33;
  width: 300px;
  flex-shrink: 0;
  flex-direction: column;
  gap: 16px;
}

@media (max-width: 768px) {
  .tribe-details {
    flex-direction: column;
  }
  .tribe-side {
    width: 100%;
  }
}

.filter-btn,.create-button,.edit-btn,.delete-btn,.join-btn,.leave-btn,.buy-btn                                  
{ 
padding:8px 12px; border:none; border-radius:4px; cursor:pointer; background:#ff6600; color:#fff; 
}
.filter-btn.active { 
background:#ffa500;
 }
 
.create-button {
background:#ffcc00; color:#000;
 }

.buy-btn {
  display: inline-block;
  background: #ffcc00;
  color: #000;
  text-decoration: none;
  text-align: center;
}
.buy-btn:hover { background: #ffcc00; color: #000; }

.gallery { 
display:grid; grid-template-columns:repeat(auto-fill,minmax(200px,1fr)); gap:10px; padding:10px; 
}

.gallery-item img { 
width:100%; max-height:200px; object-fit:cover; border-radius:6px; transition:transform .2s;
 }
 
.gallery-item:hover img { 
transform:scale(1.05);
 }
 
.tribe-detail-image {
width:100%; max-width:200px; max-height:300px; object-fit:cover; margin:16px 0; border-radius:6px;
 }
.report-detail-image {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
  margin: 16px 0;
  border-radius: 6px;
  object-fit: contain;
}

.activity-image-preview {
  width: 400px;
  height: 300px;
  object-fit: contain; 
  border: 0px;
}

.media-preview {
  max-width: 100%;
  height: auto;
  display: block;
}

.meme-checkbox {
  width: 1%;
}

.image-detail {
  width: 100%;
  max-width: 400px;
  max-height: 300px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 8px;
}

.div-center.image-form .image-detail {
  max-width: 200px;
  max-height: 150px;
  object-fit: contain;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px,1fr));
  gap: 10px;
  padding: 10px;
}
.gallery-item img {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  border-radius: 6px;
  transition: transform .2s;
}
.gallery-item:hover img {
  transform: scale(1.05);
}

.lightbox {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.lightbox:target {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 6px;
}

.lightbox-close {
  position: absolute;
  top: 15px;
  right: 60px;
  width: 42px;
  height: 42px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  color: #fff;
  font-size: 1.5em;
  text-align: center;
  line-height: 32px;
  text-decoration: none;
}

/* Opinions */
.voting-buttons {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.opinion-card {
  background-color: #1c1c1c;
  border: 1px solid #333;
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 24px;
  color: #FFA500;
}

.opinion-card h3 {
  margin-bottom: 8px;
}

.opinion-card p {
  margin: 4px 0;
  color: #FFD700;
}

/* Events */
.event-tags {
  margin-top: 12px;
}

.event-tags .tag {
  display: inline-block;
  background-color: #2a2a2a;
  color: #FFA500;
  padding: 4px 10px;
  margin: 4px 4px 0 0;
  border-radius: 6px;
  font-size: 13px;
}

/* Tasks */
.task-id {
  color: #FFA500;
  font-weight: bold;
  margin: 0;
}

/* Governance */
.vote-buttons-row {
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
  justify-content: start;
}

.conn-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.inhabitant-action {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.transfer-actions {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.transfer-topbar-left {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.transfer-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.transfer-voting-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.confirmations-block {
  margin-top: 6px;
}

.confirmations-progress {
  width: 260px;
  max-width: 100%;
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
  appearance: none;
}

.confirmations-progress::-webkit-progress-bar {
  background: rgba(255, 255, 255, 0.12);
}

.confirmations-progress::-webkit-progress-value {
  background: rgba(255, 255, 255, 0.65);
}

.confirmations-progress::-moz-progress-bar {
  background: rgba(255, 255, 255, 0.65);
}

.transfer-range {
  display: flex;
  gap: 8px;
  align-items: center;
}

.transfer-amount-input {
  width: 120px;
}

.market-item-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.job-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.tribe-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.audio-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.video-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.document-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.event-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.feed-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.image-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.task-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.task-actions > form {
    margin: 0;
}

.task-actions .project-control-form,
.task-actions .project-control-form--status {
    margin: 0;
    padding: 0;
}

.task-actions .project-control-form--status {
    display: flex;
    align-items: center;
    gap: 10px;
}

.task-actions .project-control-select,
.task-actions .project-control-btn {
    margin: 0;
}

.task-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.report-actions{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
.report-actions form{ margin:0; }
.report-actions button,
.report-actions select{
  height:40px;
}

.cv-filter-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: flex-end;
}

.cv-filter-submit {
  width: 100%;
  margin-top: 4px;
}

.cv-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.card-salary {
  display: inline-block;
  font-weight: 700;
  font-size: 1.2em;
  letter-spacing: 0.02em;
}

.mode-buttons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

/* Tags */
.tag-cloud-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 1em;
  width: 97%;
  height: auto;    
  background: #111;
  border: 1px solid #333;
  border-radius: 8px;
  margin: 1em auto;
  gap: 0.8em;    
}

.tag-cloud-item {
  display: inline-block;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s ease, color 0.2s ease;
}

.tag-cloud-item:hover {
  transform: scale(1.3);
  color: #FFA500 !important;
  z-index: 10;
}

/* Feed */
.feed-card {
  border: 1px solid #444;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 24px;
  background-color: #1c1c1c;

}

.feed-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 20px;
}

.refeed-column {
  text-align: center;
  border-right: 1px solid #555;
  padding-right: 12px;
}

.refeed-column h1 {
  font-size: 28px;
  margin: 0;
  color: #FFA500;
}

.refeed-btn {
  margin-top: 10px;
  background-color: #FFA500;
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: bold;
  color: #000;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}

.refeed-btn:hover {
  background-color: #cc8500;
}

.feed-main {
  flex: 1;
}

.feed-text {
  background-color: #2a2a2a;
  padding: 10px;
  border-radius: 6px;
  color: #FFD700;
  margin-bottom: 8px;
  margin-right: 15px;
  word-wrap: break-word;
}

.feed-main a {
  text-decoration: underline;
}

.feed-main a:hover {
  text-decoration: underline;
}

.votes-wrapper {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #444;
}

.votes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.vote-category {
  background-color: #333;
  color: #FFA500;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 14px;
}

.voting-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.vote-btn {
  background-color: #FFA500;
  border: none;
  color: #000;
  padding: 6px 10px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
}

.vote-btn:hover {
  background-color: #cc8500;
}

/* Pixelia Grid */
.pixelia-form-wrap {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 12px;
}

.pixel-color-000000 { background-color: #000000; }
.pixel-color-ffffff { background-color: #ffffff; }
.pixel-color-17f018 { background-color: #17f018; }
.pixel-color-ffbb00 { background-color: #ffbb00; }
.pixel-color-ff0000 { background-color: #ff0000; }
.pixel-color-0000ff { background-color: #0000ff; }
.pixel-color-ffff00 { background-color: #ffff00; }
.pixel-color-00ff00 { background-color: #00ff00; }
.pixel-color-00ffff { background-color: #00ffff; }
.pixel-color-ff00ff { background-color: #ff00ff; }
.pixel-color-a52a2a { background-color: #a52a2a; }
.pixel-color-800080 { background-color: #800080; }
.pixel-color-808000 { background-color: #808000; }
.pixel-color-00bfff { background-color: #00bfff; }
.pixel-color-d3d3d3 { background-color: #d3d3d3; }
.pixel-color-ff6347 { background-color: #ff6347; }

.pixel-empty { background-color: #1a1a1a; }

.pixel-cell {
  width: 0.1px;
  height: 0.1px;
}

/* Market */
.market-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  justify-content: center;
}

.market-tribe-card .market-card-kind{display:inline-block;font-size:10px;letter-spacing:2px;color:#888;text-transform:uppercase;font-weight:600;margin-bottom:4px}
.market-tribe-card .market-card-price{font-size:16px;color:#FFD700;font-weight:600;margin-top:6px}
.market-tribe-card .market-card-seller{font-size:13px;color:#bbb;margin-top:4px;word-break:break-all;border:none;background:transparent;padding:0}
.market-tribe-card .market-card-seller-label{color:#ff9800;font-weight:600}

.market-card {
  background-color: #2c2c2c;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
}

.market-comments {
  background: #2f2f2f;
  border-radius: 12px;
  padding: 12px;
}

.market-comments .votations-comment-card {
  background: #3a3a3a;
}

.countdown-strong {
  font-weight: 700;
}

.market-card-image {
  width: 100%;
  max-height: 150px; 
  object-fit: contain;
  border-radius: 8px;
  margin-bottom: 15px;
}

.market-card-title {
  font-size: 1.3em;
  font-weight: bold;
  color: #ffd600;
  margin-bottom: 10px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis; 
}

.market-card-description {
  font-size: 0.9em;
  color: #ccc;
  margin-bottom: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap; 
}

.market-card-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 1.1em;
  color: #ffd600;
}

.market-card-footer .condition,
.market-card-footer .stock {
  font-size: 1em;
  color: #ff9900;
}

.market-card-footer .stock {
  font-weight: bold;
  color: #ff0000;
}

.market-card.price {
  font-size: 1.3em;
  font-weight: bold;
}

/*avatar relationships*/
.relationship-status {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  justify-content: flex-start;
  margin: 0.8rem 0 0.5rem 0;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
}

.relationship-status .relationship-actions {
  display: flex;
  flex-basis: 100%;
  gap: 0.5rem;
  margin-top: 0.4rem;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
}

.relationship-status .relationship-actions form {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
}

.inhabitant-left .cv-actions,
.inhabitant-details .cv-actions {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  width: 100%;
}

.inhabitant-left .cv-actions form,
.inhabitant-details .cv-actions form {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  width: 100%;
}

.inhabitant-left .cv-actions button.btn {
  width: 100%;
}

.inhabitant-left .cv-actions p {
  text-align: center;
  margin: 0;
}

.profile-side-relationship .relationship-status {
  justify-content: center;
  margin: 0;
}

.profile-side-relationship .relationship-actions {
  justify-content: center;
}

.profile-side-relationship,
.profile-side-actions {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
}

.profile-side-relationship form,
.profile-side-actions form {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  display: inline-block;
}

.profile-side-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.status {
  padding: 0.2rem 0.6rem;
  border: 1px solid #555;
  border-radius: 4px;
  background-color: #2a2a2a;
  font-size: 0.9rem;
  color: #e0e0e0;
}

.status.mutual {
  border-color: #557d3b;
  color: #8bc34a;
}

.status.supporting {
  border-color: #997f2e;
  color: #f0c674;
}

.status.supported-by {
  border-color: #3a6f9c;
  color: #6ab0f3;
}

.status.blocked {
  color: #ff5555;
  border-color: #802020;
}

.status.blocked-by {
  color: #ff8888;
  border-color: #a04040;
}

.status.you {
  padding: 0.2rem 0.6rem;
  border: 1px solid #555;
  border-radius: 4px;
  background-color: #2a2a2a;
  font-size: 0.9rem;
  color: #FFDD44;
  border-color: #FF6A00;
  font-weight: bold;
}

/*forums*/
.forum-list {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
}
.forum-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  border-bottom: 1px solid #262626;
  padding: 12px 0 16px 0;
  gap: 1.1em;
  background: none;
}
.visit-forum-form {
  display: flex;
  justify-content: center;
  margin-top: 10px; 
}
.forum-score-col {
  min-width: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.forum-score-box {
  background: #22201a;
  border-radius: 12px;
  box-shadow: 0 0 0.5em #111b;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  min-height: 134px;
  padding: 8px 0;
}
.forum-score-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
}
.score-btn {
  background: #282818;
  color: #ffd740;
  border: none;
  width: 38px;
  height: 38px;
  font-size: 1.25em;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.13s;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.score-btn:hover {
  background: #39391c;
}
.score-total {
  font-size: 2em;
  font-weight: bold;
  color: #ffd740;
  text-align: center;
  margin: 0;
  line-height: 1.1;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.forum-main-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.22em;
}

.forum-header-row {
  display: flex;
  align-items: center;
  gap: 0.7em;
  margin-bottom: 2px;
  flex-wrap: wrap;
}
.forum-header-row .forum-invite-form,
.forum-header-row .forum-delete-form {
  margin: 0;
}
.forum-category {
  color: #ff7300;
  background: #282818;
  font-weight: bold;
  font-size: 1em;
  text-decoration: underline;
  padding: 2px 7px;
  border-radius: 5px;
  margin-right: 0.4em;
}
.forum-title {
  color: #ff7300;
  font-size: 1.13em;
  font-weight: bold;
  text-decoration: underline;
  transition: color 0.15s;
}
.forum-title:hover {
  color: #ffd740;
}
.forum-body {
  margin: 0.15em 0 0.2em 0;
  font-size: 1em;
  color: #ffd740;
  line-height: 1.6;
}
.forum-body {
  margin: 0.15em 0 0.2em 0;
  font-size: 1em;
  color: #ffd740;
  line-height: 1.6;
  word-break: break-word;
}

.forum-body h1 {
  font-size: 1.6em;
  margin: 10px 0 6px 0;
  color: #ff9d00;
}

.forum-body h2 {
  font-size: 1.4em;
  margin: 8px 0 5px 0;
  color: #ff9d00;
}

.forum-body h3 {
  font-size: 1.25em;
  margin: 6px 0 4px 0;
  color: #ff9d00;
}

.forum-body ul,
.forum-body ol {
  padding-left: 22px;
  margin: 6px 0;
}

.forum-body li {
  margin: 3px 0;
}

.forum-body blockquote {
  border-left: 3px solid #ff7300;
  padding-left: 10px;
  margin: 8px 0;
  color: #ffb347;
}

.forum-body code {
  background: #1a1a1a;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: monospace;
}

.forum-body pre {
  background: #111;
  padding: 10px;
  border-radius: 6px;
  overflow-x: auto;
  margin: 8px 0;
}

.forum-body hr {
  border: none;
  border-top: 1px solid #333;
  margin: 10px 0;
}

.forum-body img {
  max-width: 100%;
  border-radius: 6px;
  margin: 8px 0;
}

.forum-body video,
.forum-body audio {
  max-width: 100%;
  margin: 8px 0;
}

.forum-score-box {
  position: sticky;
  top: 80px;
}

.forum-body.truncate {
  max-height: 220px;
  overflow: hidden;
  position: relative;
}

.forum-body.truncate::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: linear-gradient(to bottom, rgba(0,0,0,0), #0f0f0f);
}
.forum-meta {
  font-size: 1em;
  align-items: center;
  color: #ffd740;
  margin: 0.1em 0 0 0;
  display: flex;
  gap: 1.3em;
}
.forum-footer {
  font-size: 0.97em;
  margin-top: 6px;
  display: flex;
  gap: 0.5em;
  align-items: center;
}
.date-link {
  color: #ffd740;
  font-family: monospace;
  font-size: 1em;
}
.user-link {
  color: #ffd740;
  font-weight: bold;
  text-decoration: underline dotted;
}
.card-section .user-link,
.card-field .user-link {
  display: inline-block;
  max-width: 220px;
  vertical-align: bottom;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mode-buttons-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  margin-bottom: 1.5em;
}
.mode-buttons-cols {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6em;
}

.forum-comment {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #282828;
  padding: 12px;
  margin-bottom: 8px;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.comment-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.comment-body-row {
  display: flex;
  flex-direction: row;
  gap: 16px;
}

.comment-vote-col {
  min-width: 78px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.comment-text-col {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.comment-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.comment-textarea {
  resize: vertical;
  width: 100%;
  padding: 8px;
  background: #1e1e1e;
  color: #ffd740;
  border: 1px solid #444;
  border-radius: 6px;
  font-size: 1em;
}

.comment-votes {
  font-size: 0.9em;
  color: #ffd740;
}

.comment-footer {
  font-size: 0.85em;
  display: flex;
  justify-content: space-between;
  color: #ffd740;
}

.date-link {
  color: #ffd740;
  font-size: 0.95em;
}

.user-link {
  color: #ffd740;
  font-weight: bold;
  font-size: 1em;
}

.forum-send-btn {
  background: #ff7300;
  color: #fff;
  border: none;
  padding: 8px 16px;
  font-size: 1em;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}

.forum-send-btn:hover {
  background: #ffd740;
}

.forum-owner-actions {
  margin-top: 8px;
  text-align: left;
}

.comment-votes .votes-count {
  margin-right: 12px;
}

.new-message-wrapper {
  margin-top: 16px;
  padding: 16px;
  border-radius: 8px;
}

.highlighted-reply {
  background-color: #ffe5b4 !important;
}

.forum-comment.highlighted-reply {
  background-color: #ffa400 !important;
  transition: background 0.3s ease;
}

.forum-comment.level-0 { margin-left: 0; }
.forum-comment.level-1 { margin-left: 20px; }
.forum-comment.level-2 { margin-left: 40px; }
.forum-comment.level-3 { margin-left: 60px; }

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 6px;
}

.forum-create-col {
  margin-top: 8px;
}

.forum-title-form {
  display: inline;
}

.forum-title-form .forum-title {
  cursor: pointer;
}

.forum-positive-votes {
  color: #4CAF50;
  font-weight: bold;
}

.forum-messages {
  font-weight: 500;
}

.forum-thread-header {
  margin-bottom: 16px;
}

.tribe-forum-filters {
  margin-bottom: 16px;
}

.tribe-forum-reply-form {
  margin-top: 12px;
  margin-bottom: 16px;
}
.forum-comment.level-4 { margin-left: 80px; }

/*blockexplorer*/
.blockchain-view {
  font-family: 'Inter', 'Roboto', 'Segoe UI', Arial, sans-serif;
  background-color: #191b20;
  padding: 32px 16px;
  border-radius: 16px;
  box-shadow: 0 8px 36px rgba(0,0,0,0.16);
  color: #e7e7e7;
  max-width: 900px;
  margin: 0 auto;
}

.blockexplorer-search{
  margin:16px 0 20px;
}
.blockexplorer-search-form{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.blockexplorer-search-row{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.blockexplorer-search-pair{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
}
.blockexplorer-search-dates{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}
.blockexplorer-search-input{
  min-width:220px;
}
.blockexplorer-search-actions{
  display:flex;
  justify-content:flex-start;
}

.block {
  background: #23242a;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(32,35,42,0.11);
  padding: 22px 24px;
  margin-bottom: 26px;
  transition: box-shadow 0.22s;
  position: relative;
}

.block-buttons {
  display: flex;
  justify-content: right;
  align-items: center; 
  gap: 12px;
}

.button-container {
  display: flex; 
  gap: 12px; 
  justify-content: right;
  align-items: center;
}

.block:hover {
  box-shadow: 0 8px 32px rgba(35,40,50,0.18);
}

.block-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.blockchain-card-label {
  color: #ffa300;
  font-weight: bold;
  letter-spacing: 1.5px;
  line-height: 1.2;
  margin-bottom: 0;
}

.blockchain-card-value {
  color: #ffd740;
}

.block-info-table .card-label {
  color: #ffa300;
  font-weight: bold;
}

.block-info-table .card-value {
  color: #ffd740;
}

.block-row--content {
  margin: 10px 0 0 0;
}

.block-info-table td {
  padding: 12px 15px;
  font-size: 14px;
  border: 1px solid #444;
}

.block-author {
  font-weight: 600;
  font-size: 14px;
  color: #ffd740;
  background: rgba(255,163,0,0.08);
  padding: 3px 10px;
  border-radius: 8px;
  text-decoration: none;
  transition: color 0.12s;
}

.block-author:hover {
  color: #ffa300;
}

.block-timestamp {
  color: #ffd740;
  font-size: 12px;
  margin-right: 6px;
}

.block-content-preview,
.block-content {
  background: #222326;
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 14px;
  line-height: 1.7;
  color: #ffd740;
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  overflow-x: auto;
}

.block-content-preview pre {
  margin: 0;
}

.block-info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 15px 0;
}

.block-info-table td {
  padding: 10px;
  border: 1px solid #444;
  font-size: 14px;
}

.json-content {
  white-space: pre-wrap;
  word-break: break-word;
  color: #ffd740;
}

.block-row--details {
  margin-top: 14px;
  position: relative;
}

.block-url {
  color: #ffd740;
  font-size: 14px;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.13s, border-color 0.13s;
}

.block-row--details .block-url {
  position: absolute;
  top: 0;
  right: 0;
  background: #1f2023;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  border: none;
  transition: background 0.12s, color 0.12s;
}

.block-row--details .block-url:hover {
  background: #292b36;
  color: #ffa300;
}

.btn-singleview {
  background: #1e1f23;
  border: none;
  border-radius: 50%;
  padding: 7px 12px;
  cursor: pointer;
  font-size: 1.14em;
  color: #ffa300;
  box-shadow: none;
  transition: background 0.14s, color 0.14s;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-singleview:hover {
  background: #2d2e34;
  color: #ffd740;
}

.btn-datagram {
  font-size: 1.2em;
  font-weight: bold;
}

.block-row--meta-spaced { margin-top: 8px; }
.filter-column { display: flex; flex-direction: column; gap: 8px; }
.deleted-label { color: #b00; font-weight: bold; margin-top: 8px; }
.block-row--back {
  margin-top: 15px;
}

.block-content-label {
  color: #ffa300;
  font-size: 1.02em;
  margin-bottom: 8px;
  font-weight: 600;
}

.btn-back {
  background: #21232b;
  color: #ffa300;
  padding: 7px 22px;
  border-radius: 8px;
  text-decoration: none;
  border: none;
  font-size: 1.01rem;
  font-weight: 500;
  margin-top: 12px;
  transition: background 0.12s, color 0.13s;
  display: inline-block;
}

.btn-back:hover {
  background: #292b36;
  color: #ffd740;
}

/* block diagram (IP header style) */
.block-diagram-section{margin:16px 0;background:transparent !important;border:none !important}
.block-diagram-title{font-size:16px;margin:0 0 12px;background:transparent !important;border:none !important}
.block-diagram-link{text-decoration:none;color:inherit;display:block;margin-bottom:8px}
.block-diagram-link *{text-decoration:none}
.block-diagram-link:hover,.block-diagram-link:hover *{text-decoration:none}
.block-diagram{border:2px solid #555;border-radius:0;overflow:hidden;margin-bottom:8px;background:#191b20 !important}
.block-diagram-ruler{display:grid;grid-template-columns:0fr 4fr 4fr 8fr 8fr 7fr;font-size:10px;color:#ffa300;padding:2px 0;background:#111 !important;border:none !important;border-bottom:2px solid #555 !important}
.block-diagram-ruler span{background:transparent !important;border:none !important;text-align:left;padding-left:2px;color:#ffa300}
.block-diagram-grid{display:grid;grid-template-columns:repeat(32,1fr)}
.block-diagram-cell{border:1px solid #555;padding:6px 8px;text-align:center;background:#1e1f23 !important;min-height:38px;display:flex;flex-direction:row;align-items:center;justify-content:center;gap:6px}
.bd-label{font-size:10px;color:#ffa300;font-weight:bold;text-transform:uppercase;letter-spacing:0.5px;white-space:nowrap;background:transparent !important;border:none !important}
.bd-value{font-size:12px;font-family:'JetBrains Mono',monospace;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#ffd740;text-decoration:none;background:transparent !important;border:none !important}
.bd-seq{grid-column:1/9}
.bd-type{grid-column:9/19}
.bd-ts{grid-column:19/33}
.bd-id{grid-column:1/33}
.bd-author{grid-column:1/33}
.bd-flags{grid-column:1/17}
.bd-ctype{grid-column:17/33}
.bd-data{grid-column:1/33}
.block-diagram:hover{border-color:inherit;box-shadow:none}

@media (max-width: 700px) {
  .blockchain-view {
    padding: 9vw 2vw;
  }

  .block, .block-single, .block--single {
    padding: 15px 5vw;
  }

  .mode-buttons-row {
    flex-direction: column;
    gap: 18px;
  }
}

/*inbox/pm*/
.pm-card.normal-pm { padding: 10px 12px; border-radius: 8px; margin-bottom: 10px; border: 1px solid #ffa300; background: transparent }
.pm-btn { padding: 6px 16px; border-radius: 6px; font-size: 12px; font-weight: 700; letter-spacing: 0.5px; cursor: pointer; border: 1px solid #ffa300; background: transparent; color: #ffa300; transition: background 0.15s, color 0.15s }
.pm-btn:hover { background: #ffa300; color: #000 }
a.pm-btn { text-decoration: none; display: inline-block; line-height: 1.2 }
a.pm-btn:hover { text-decoration: none }
.pm-thread { margin-bottom: 12px }
.pm-thread-details { margin-top: 0 }
.pm-thread-details[open] .pm-thread-icon { display: inline-block; transform: rotate(90deg) }
.pm-thread-toggle { cursor: pointer; padding: 6px 12px; font-size: 13px; font-weight: 600; list-style: none; display: flex; align-items: center; gap: 6px }
.pm-thread-toggle::-webkit-details-marker { display: none }
.pm-thread-icon { font-size: 10px; transition: transform 0.15s }
.pm-thread-replies { padding-left: 16px; border-left: 3px solid #ffa300; margin-left: 8px; margin-top: 4px }
.pm-info-table { width: 100%; border-collapse: collapse; margin-bottom: 8px }
.pm-info-table td { padding: 10px; border: 1px solid #444; font-size: 14px }
.pm-spacer { flex: 1 }
.pm-chars { font-size: 12px; opacity: .7 }
.pm-subject { margin: 0 0 6px 0; font-size: 14px; font-weight: 600; line-height: 1.2; white-space: pre-wrap }
.pm-bot { opacity: .85 }
.pm-body { margin-top: 6px }
.pm-action-form { display: inline-block; margin: 0 }
.pm-actions-block {
  width: 100%;
  max-width: 720px;
  border: 0;
}
.pm-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.pm-actions .pm-btn { margin: 0 }
.pm-crypter-row {
  border: none;
  background: transparent;
  padding: 0;
  margin: 8px 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.pm-crypter-row label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  cursor: pointer;
}
.pm-crypter-row input[type="checkbox"] {
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  accent-color: currentColor;
}
.pm-crypter-decrypt-form {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  border: none;
  background: transparent;
  padding: 0;
  margin: 8px 0;
}
.pm-crypter-decrypt-form > input.pm-crypter-key-input,
.pm-crypter-decrypt-form > button {
  margin: 0;
  align-self: center;
}
.pm-crypter-key-input {
  width: auto;
  min-width: 22em;
}
.pm-btn.danger-btn {
  border-color: #d9534f;
  color: #d9534f;
  background: transparent;
}
.pm-btn.danger-btn:hover {
  background: #d9534f;
  color: #000;
}
.pm-encryption-cell {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.pm-reply-badge { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 1px; padding: 2px 8px; border-radius: 4px; margin-bottom: 6px; background: rgba(255,163,0,0.15); color: #ffa300 }
.thread-level-0 { margin-left: 0 }
.thread-level-1 { margin-left: 16px; border-left: 3px solid #ffa300; padding-left: 12px }
.thread-level-2 { margin-left: 32px; border-left: 3px solid #ffa300; padding-left: 12px }
.thread-level-3 { margin-left: 48px; border-left: 3px solid #ffa300; padding-left: 12px }
.thread-level-4 { margin-left: 64px; border-left: 3px solid #ffa300; padding-left: 12px }
.thread-level-5 { margin-left: 80px; border-left: 3px solid #ffa300; padding-left: 12px }
.thread-level-6 { margin-left: 96px; border-left: 3px solid #ffa300; padding-left: 12px }
.thread-level-7 { margin-left: 112px; border-left: 3px solid #ffa300; padding-left: 12px }
.thread-level-8 { margin-left: 128px; border-left: 3px solid #ffa300; padding-left: 12px }
.pm-quote { border-left: 3px solid #ffa300; margin: 8px 0; padding: 8px 12px; opacity: 0.75; font-size: 13px; border-radius: 0 6px 6px 0 }

/*projects*/
.project-actions {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px; 
}

.project-card.status-completed .badge{ background:rgba(59,130,246,.12); color:#93c5fd; border-color:rgba(59,130,246,.25); }

.bookmark-actions.project-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.bookmark-actions.project-actions form {
  margin: 0;
}

.project-control-form {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}

.project-control-select,
.project-control-input,
.project-control-btn {
  height: 42px;
}

.project-control-select,
.project-control-input {
  min-width: 220px;
}

.project-control-btn {
  white-space: nowrap;
}

.project-progress-input {
  max-width: 140px;
  min-width: 120px;
}

@media (max-width: 820px) {
  .project-control-select,
  .project-control-input {
    min-width: 180px;
  }

  .project-progress-input {
    min-width: 110px;
  }
}

.badge{
  position:absolute;
  top:14px; right:14px;
  font-size:.75rem;
  letter-spacing:.02em;
  padding:6px 8px;
  border-radius:8px;
  border:1px solid var(--line);
  color:var(--muted);
}

.milestones, .bounties{ display:flex; flex-direction:column; gap:8px; }
.milestone-item, .bounty-item{
  padding:12px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#121620;
}

.milestone-row{
  display:flex; gap:10px; flex-wrap:wrap; align-items:center; justify-content:space-between;
  margin-bottom:6px;
}

.milestone-title{ font-weight:600; }
.milestone-percent{ padding:4px 8px; border-radius:8px; border:1px solid var(--line); font-size:.8rem; color:#b7c2d6; }
.milestone-due{ color:#c9a86a; font-size:.85rem; }

.bounty-main{
  display:flex; align-items:center; justify-content:space-between; gap:8px; margin-bottom:6px;
}

.bounty-title{ font-weight:600; }
.bounty-amount{
  font-variant-numeric: tabular-nums;
  padding:4px 8px; border-radius:8px; background:#18202f; border:1px solid var(--line);
}

.pledge-box{
  margin-top:6px;
  padding:14px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#121620;
  display:grid;
  gap:10px;
}

.pledge-box form{ display:flex; gap:10px; flex-wrap:wrap; }
.pledge-box input[type="number"]{
  background:#0f1420; border:1px solid #2b3240; color:var(--text);
  padding:10px 12px; border-radius:10px; outline:none;
}

.pledge-box input[type="number"]:focus{ border-color:#3a475c; }

.card-field{display:flex;align-items:baseline;gap:6px;margin-bottom:4px;flex-wrap:wrap}
.card-field>.card-label{white-space:nowrap;flex-shrink:0}
.card-field>.card-value{min-width:0;word-break:break-word;overflow-wrap:anywhere;flex:1 1 auto}
.card-field-stacked{flex-direction:column;align-items:flex-start;gap:2px}
.card-field-stacked .card-value{white-space:pre-wrap;word-break:break-word}
.card-field-rich{flex-direction:column;align-items:flex-start}
.card-field-rich .card-value{white-space:pre-wrap;word-break:break-word;margin-top:4px}
.report-template{margin-top:12px;padding:12px;background:rgba(255,255,255,0.05);border-radius:8px}
.report-template .card-label{white-space:nowrap}

@media (max-width: 420px){
  .card-field{ flex-direction:column; }
  .milestone-row{ flex-direction:column; align-items:flex-start; gap:6px; }
}

/*banking*/
.addr-form-card, .addr-list-card {
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
  padding: 20px;
}

.addr-form-card.wide { 
  padding: 22px; 
}

.addr-form .form-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
}

.addr-form .form-input {
  padding: 0 14px;
}

.addr-form .form-input.xl { 
  height: 50px;
  font-size: 16px; 
}

.addr-form .form-actions {
  display: flex;
  margin-top: 8px;
}

.addr-list-card .form-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 10px;
  align-items: center;
}

.addr-list-card .form-input {
  padding: 0 14px;
}

.addr-search input[type="text"]:focus,
.addr-form .form-input:focus {
  outline: none;
  border-color: #ffa300;
}

.addr-form .form-actions .mini-btn {
  background: #ffa300;
  border: none;
  color: #fff;
  padding: 9px 14px;
  border-radius: 8px;
  cursor: pointer;
}

.addr-form .form-actions .mini-btn:hover {
  background: #ff7f00;
}

.bank-summary .bank-info-table tbody tr .synced {
  color: green;
  font-weight: bold;
}

.bank-summary .bank-info-table tbody tr .outdated {
  color: red;
  font-weight: bold;
}

.bank-claim-ubi{margin:16px 0}
.bank-claim-card{border:1px solid #FFA500;border-radius:8px;padding:16px;margin:8px 0}
.bank-claim-card p{margin:4px 0}
.bank-claim-btn{font-size:16px;padding:10px 24px;margin-top:8px}

.bank-eco-chart-block{margin:24px 0;border:1px solid #2a2a2a;border-radius:8px;padding:16px;background:#111}
.bank-eco-chart-title{font-size:16px;margin:0 0 12px 0;color:#FFA500}
.bank-eco-chart-canvas{width:100%;overflow:hidden}
.bank-eco-chart-svg{width:100%;height:auto;display:block}
.bank-eco-chart-bg{fill:#0e0e0e}
.bank-eco-chart-grid{stroke:#1f1f1f;stroke-width:1}
.bank-eco-chart-axis{fill:#FFD700;font-size:10px;font-family:monospace}
.bank-eco-chart-empty{fill:#888;font-size:14px;font-family:monospace}
.bank-eco-chart-line-value{fill:none;stroke:#FFA500;stroke-width:2}
.bank-eco-chart-line-supply{fill:none;stroke:#4aa3ff;stroke-width:1.5;stroke-dasharray:4,3}
.bank-eco-chart-line-inflation{fill:none;stroke:#e74c3c;stroke-width:1.5;stroke-dasharray:2,3}
.bank-eco-chart-line-value-legend{fill:#FFA500}
.bank-eco-chart-line-supply-legend{fill:#4aa3ff}
.bank-eco-chart-line-inflation-legend{fill:#e74c3c}
.bank-eco-chart-legend-text{fill:#bbb;font-size:11px;font-family:monospace}

.transfer-block-card{margin-top:16px;border-top:2px solid #2a2a2a}
.transfer-block-card h2{font-size:16px;color:#FFA500;margin:0 0 8px 0}

.melody-player-card{border:1px solid #2a2a2a;border-radius:8px;padding:16px;background:#111;margin:16px 0}
.melody-meta{margin-bottom:12px;display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.melody-meta-sep{color:#555}
.melody-audio{width:100%;max-width:520px}
.melody-section-title{font-size:16px;color:#FFA500;margin:16px 0 8px 0}
.melody-help{color:#888;font-size:13px;margin:0 0 12px 0}
.melody-notes-grid{display:flex;flex-wrap:wrap;gap:6px}
.melody-note-chip{display:inline-flex;flex-direction:column;align-items:center;border:1px solid #333;border-radius:6px;padding:6px 10px;background:#161616;min-width:54px}
.melody-note-chip-link{text-decoration:none;transition:border-color 0.15s,background 0.15s}
.melody-note-chip-link:hover{border-color:#FFA500;background:#1f1500}
.melody-note-chip-unavailable{opacity:0.45;cursor:not-allowed;border-style:dashed}
.eco-tax-chip{display:inline-flex;align-items:baseline;gap:4px;font-size:12px;border:1px solid;border-radius:10px;padding:2px 8px;text-decoration:none}
.eco-tax-chip-label{text-transform:uppercase;letter-spacing:.5px;font-weight:600}
.eco-tax-chip-value{font-family:monospace}
.eco-tax-chip-low{background:#0e2a16;border-color:#3a7f4c;color:#9aff9a}
.eco-tax-chip-low .eco-tax-chip-label{color:#bfeac0}
.eco-tax-chip-low .eco-tax-chip-value{color:#9aff9a}
.eco-tax-chip-low:hover{background:#143820;border-color:#5aa066}
.eco-tax-chip-mid{background:#2a2410;border-color:#a39134;color:#ffd95a}
.eco-tax-chip-mid .eco-tax-chip-label{color:#ffe9a0}
.eco-tax-chip-mid .eco-tax-chip-value{color:#ffd95a}
.eco-tax-chip-mid:hover{background:#3a3416;border-color:#c5b14e}
.eco-tax-chip-high{background:#3a0e0e;border-color:#b04040;color:#ff8a8a}
.eco-tax-chip-high .eco-tax-chip-label{color:#ffbdbd}
.eco-tax-chip-high .eco-tax-chip-value{color:#ff8a8a}
.eco-tax-chip-high:hover{background:#511414;border-color:#e06060}
.bank-taxes-example-chips{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:8px 0 12px 0}
.bank-taxes-example-label{color:#bbb;font-size:13px;font-weight:600}
.bank-taxes-summary-note{color:#bbb;font-size:13px;line-height:1.5;margin:0 0 10px 0}
.bank-taxes-types-form{display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin:0 0 10px 0;background:transparent !important;border:0 !important;padding:0 !important}
.bank-taxes-types-label{color:#FFD700;font-size:13px;font-weight:600;text-transform:uppercase;letter-spacing:.5px;white-space:nowrap}
.bank-taxes-type-toggle{color:#FFD700;font-size:13px;font-weight:600;display:inline-flex;flex-direction:row;align-items:center;gap:8px;cursor:pointer;white-space:nowrap}
.bank-taxes-type-toggle input[type=checkbox]{accent-color:#FFA500;width:16px;height:16px;flex:none;margin:0}
.bank-taxes-type-toggle-locked{cursor:not-allowed;opacity:0.85}
.bank-taxes-type-toggle-locked input[type=checkbox]{cursor:not-allowed}
.melody-note-name{color:#FFA500;font-family:monospace;font-size:13px;font-weight:600}
.melody-note-type{color:#888;font-size:10px;text-transform:uppercase;letter-spacing:.5px}
.melody-composition{margin:16px 0}
.melody-stats{margin:16px 0}
.melody-regen-form{margin-top:10px}
.melody-upload-block{margin-top:18px;background:#161616;border:1px solid #2a2a2a;border-radius:6px;padding:14px 16px}
.melody-upload-hint{color:#bbb;font-size:13px;line-height:1.5;margin:0 0 12px 0}
.melody-upload-name-note{color:#FFD700;font-size:13px;line-height:1.5;margin:0 0 12px 0}
.melody-upload-name-value{color:#FFD700;font-family:monospace;font-weight:700;word-break:break-all}
.melody-upload-form{background:transparent !important;border:0 !important;padding:0 !important;display:flex;flex-direction:column;gap:6px}
.melody-upload-form textarea,.melody-upload-form input[type=text]{width:100%;max-width:560px;font-family:inherit}
.melody-upload-submit{width:auto;display:inline-block;padding:6px 18px;align-self:flex-start}
.melody-upload-label{color:#FFD700;font-size:13px;font-weight:600;display:inline-block;margin-top:6px}
.melody-bcs-list{display:flex;flex-direction:column;gap:14px;margin-top:14px;background:transparent !important;border:0 !important;padding:0 !important}
.audio-container{display:flex;gap:8px;align-items:center;flex-wrap:wrap;background:transparent !important;border:0 !important;padding:0 !important}
.audio-transcode-form{display:inline-block;background:transparent !important;border:0 !important;padding:0 !important;margin:0}
.melody-bcs-card{background:#161616;border:1px solid #2a2a2a;border-radius:6px;padding:12px 16px}
.melody-bcs-head{display:flex;flex-direction:column;gap:4px;background:transparent !important;border:0 !important;padding:0 !important}
.melody-bcs-title{color:#FFA500;margin:0;font-size:17px}
.melody-bcs-meta{color:#bbb;font-size:13px;background:transparent !important;border:0 !important;padding:0 !important}
.melody-bcs-player{margin:10px 0;background:transparent !important;border:0 !important;padding:0 !important}
.melody-bcs-desc{color:#ccc;font-size:13px;margin:6px 0 0 0;line-height:1.5}
.melody-bcs-actions{margin-top:10px;background:transparent !important;border:0 !important;padding:0 !important}
.transcode-meta{margin:8px 0 0 0;color:#bbb;font-size:13px}
.transcode-stego{margin-top:14px;background:#161616;border:1px solid #2a2a2a;border-radius:6px;padding:10px 14px}
.transcode-stego-fields{display:flex;flex-direction:column;gap:6px;background:transparent !important;border:0 !important;padding:0 !important}
.transcode-stego-field{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;background:transparent !important;border:0 !important;padding:0 !important;font-size:13px}
.transcode-stego-field .card-label{color:#FFD700;text-transform:uppercase;letter-spacing:.5px}
.transcode-stego-field .card-value{color:#ddd;font-family:monospace}
.transcode-stego-msg{flex-direction:column;align-items:flex-start;gap:4px}
.transcode-stego-text{color:#FFD700;font-family:monospace;line-height:1.5;margin:0;white-space:pre-wrap;word-break:break-word;background:#0e0e0e;border:1px solid #333;border-radius:4px;padding:8px 10px;width:100%}
.transcode-composition{margin-top:14px}

.pub-item{border:1;border-radius:10px;background:none}
.snh-invite-box{border:1px solid currentColor;border-radius:8px;padding:16px;margin:12px 0;font-family:monospace}
.snh-invite-name{margin:0 0 8px 0}
.snh-invite-date{font-size:13px;opacity:0.7;margin:0 0 10px 0}
.snh-invite-btn{display:block;word-break:break-all;font-size:14px;margin:0;cursor:pointer;background:none;border:1px solid #FFA500;color:#FFA500;padding:10px;border-radius:5px;width:auto;text-align:left;font-family:monospace}
.error-box{background:#222326;border:none;color:#f5c242;padding:12px;border-radius:8px;margin-top:8px}
.error-title{margin:0 0 6px 0;font-weight:600}
.error-pre{margin:0;white-space:pre-wrap;font-family:monospace}

.shop-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:16px;margin:8px 0}
.shop-card{border:1px solid #333;border-radius:8px;overflow:hidden;display:flex;flex-direction:column}
.shop-card-media{max-height:200px;overflow:hidden;display:flex;align-items:center;justify-content:center;background:#111}
.shop-card-media img,.shop-media{width:100%;max-height:200px;object-fit:cover}
.shop-card-body{padding:12px;display:flex;flex-direction:column;gap:6px}
.shop-title-link{color:#FFA500;text-decoration:none}
.shop-card-desc{font-size:14px;opacity:0.85;margin:0}
.shop-card-meta{display:flex;flex-wrap:wrap;gap:8px;font-size:13px}
.shop-open{color:#0f0;font-weight:bold}
.shop-closed{color:#f44;font-weight:bold}
.shop-product-count{color:#FFA500}
.shop-location{opacity:0.7}
.shop-card-tags{display:flex;flex-wrap:wrap;gap:4px}
.shop-card-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:4px}
.shop-detail{padding:8px 0}
.shop-detail-media{max-width:100%;margin:12px 0}
.shop-detail-media img{max-width:100%;border-radius:6px}
.shop-detail-desc{margin:8px 0}
.shop-share{margin:8px 0;display:flex;align-items:center;gap:8px}
.shop-share-input{flex:1;background:#222;border:1px solid #555;color:#ccc;padding:6px 10px;border-radius:4px;font-family:monospace;font-size:13px}
.shop-products-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px;margin:12px 0}
.shop-product-card{border:1px solid #333;border-radius:8px;overflow:hidden;display:flex;flex-direction:column}
.shop-product-media{max-height:180px;overflow:hidden;display:flex;align-items:center;justify-content:center;background:#111}
.shop-product-media img{width:100%;max-height:180px;object-fit:cover}
.shop-product-body{padding:10px;display:flex;flex-direction:column;gap:6px}
.shop-product-price{font-size:18px;font-weight:bold;color:#FFA500}
.shop-product-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:4px}
.shop-add-product{border:1px dashed #555;border-radius:8px;padding:16px;margin:12px 0}
.shop-featured-products{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0}
.shop-featured-item{display:flex;flex-direction:column;align-items:center;width:72px;text-decoration:none;border:1px solid #333;border-radius:6px;overflow:hidden;background:#111}
.shop-featured-item:hover{border-color:#FFA500}
.shop-featured-thumb{width:72px;height:72px;object-fit:cover}
.shop-featured-price{font-size:11px;color:#FFA500;padding:4px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:100%}
.shop-product-stars{color:#FFA500;font-size:14px;letter-spacing:1px}
.card-field-mb{margin-bottom:10px}
.card-field-mt{margin-top:10px}
.card-tags-mt{margin-top:10px}
.card-label-bold{font-weight:800}
.card-value-bold{margin-left:10px;font-weight:800}
.contact-bold{font-weight:bold}
.textarea-full{width:100%}
.shop-form{padding:8px 0}
.shop-form input[type="text"],.shop-form input[type="number"],.shop-form textarea,.shop-form select{width:100%;max-width:480px;padding:8px;margin:4px 0 8px 0;background:#222;border:1px solid #555;color:#ccc;border-radius:4px;font-family:monospace}

/* carbon footprint chart */
.carbon-section-title{font-size:18px;color:#555;margin:8px 0;font-weight:600}
.carbon-chart{margin:12px 0;background:transparent !important;border:none !important}
.carbon-bar-label{display:flex;justify-content:space-between;font-size:14px;margin:4px 0 2px;background:transparent !important;border:none !important}
.carbon-bar-track{background:#3a3a3a !important;border-radius:6px;height:22px;overflow:hidden;border:none !important}
.carbon-bar-fill{height:100%;border-radius:6px;min-width:2px;transition:width 0.4s ease;border:none !important}
.carbon-bar-network{background:#2ecc71 !important}
.carbon-bar-mine{background:#3498db !important}
.carbon-bar-max{background:#555 !important;border:none !important}
.carbon-bar-note{font-size:13px;color:#ffd700;margin:6px 0 2px}
.carbon-bar-formula{font-size:12px;color:#ffd700;margin:2px 0 10px}

/* parliament */
.cycle-info {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
  margin-bottom: 1rem;
}
.kpi {
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 8px;
  padding: .75rem;
}
.kpi__label {
  display: block;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--parl-accent, #ff9f1a);
  opacity: 1;
}
.kpi__value {
  font-weight: 600;
}
.method-badge,
.method-hero {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.method-cell {
  text-align: center;
}
.leader-cell {
  text-align: center;
}
.mt-2 { margin-top: .5rem; }

.parliament-actor-table {
  table-layout: auto;
  width: 100%;
}
.parliament-actor-table th,
.parliament-actor-table td {
  vertical-align: top;
}

.parliament-actor-col {
  white-space: nowrap;
  width: 1%;
  text-align: left;
}
.parliament-actor-col .user-link {
  display: inline-block;
}

.parliament-description-col {
  white-space: normal;
  text-align: left;
}

.parliament-members-row td {
  padding-top: .5rem;
}
.parliament-members-list {
  margin: .25rem 0 0;
  padding-left: 1.25rem;
}
.parliament-members-list li {
  margin: .125rem 0;
}

.oasis-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 2px 10px;
  border-top: 1px solid rgba(255,255,255,0.08);
  line-height: 1;
  min-height: 0;
  margin-top: 5px;
}

.oasis-footer-center {
  margin-top: 15px;
  text-align: center;
  line-height: 1.6;
  box-shadow: 0 2px 20px 0 #FFD60024;
}

.oasis-footer-pulse-row{display:inline-block}
.oasis-footer-pulse-label{color:inherit}

.oasis-footer-logo-link {
  display: block;
  margin: 0 auto;
}

.oasis-footer-logo {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

.oasis-footer-package-link,
.oasis-footer-package-name,
.oasis-footer-version,
.oasis-footer-sep {
  line-height: 1;
}

.oasis-footer-package-link {
  text-decoration: none;
}

.oasis-footer-package-link,
.oasis-footer-center a,
.oasis-footer-center span,
.oasis-footer-center strong {
  padding-top: 0;
  padding-bottom: 0;
  margin: 0;
}

.oasis-footer-center a {
  background-color: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  text-decoration: none !important;
  font-weight: normal !important;
  box-shadow: none !important;
}

.oasis-footer-carbon {
  font-size: inherit;
}

.inbox-badge {
  display: inline-block;
  background: #e74c3c;
  color: #fff;
  font-size: 0.7em;
  font-weight: bold;
  padding: 1px 5px;
  border-radius: 10px;
  margin-left: 4px;
  min-width: 16px;
  text-align: center;
  line-height: 1.4;
  vertical-align: middle;
}

.reply-context {
  border-left: 3px solid #666;
  padding-left: 10px;
  margin-bottom: 8px;
  opacity: 0.85;
}

.carbon-footprint-bar {
  height: 18px;
  border-radius: 4px;
  transition: width 0.3s;
}

.block-canvas-container {
  border: 1px solid #555;
  border-radius: 8px;
  overflow: hidden;
  margin: 16px 0;
}

.dominant-opinion {
  font-weight: bold;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.85em;
}

.feed-success-msg {
  padding: 12px 16px;
  border-radius: 6px;
  margin-bottom: 16px;
  border: 1px solid #2ecc71;
  background: rgba(46,204,113,0.1);
}
.pm-form-error-msg {
  padding: 12px 16px;
  border-radius: 6px;
  margin-bottom: 16px;
  border: 1px solid #e74c3c;
  background: rgba(231,76,60,0.1);
}

.preset-group {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px;
  margin-bottom: 12px;
}

.preset-group-title {
  font-weight: bold;
  margin-bottom: 8px;
}

.activity-tribe-meta{display:flex;gap:.6em;flex-wrap:wrap}

.tribe-card:hover {
  border-color: #ffa500;
}

.tribe-card-body {
  padding: 12px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tribe-card-title {
  margin: 0;
  font-size: 1.15em;
}

.tribe-card-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.tribe-card-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.tribe-side h2 {
  margin: 0;
}

.tribe-side-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tribe-side-description {
  color: #cfd3e1;
  font-size: 14px;
  line-height: 1.5;
}

.tribe-side-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tribe-side-footer {
  border-top: 1px solid #444;
  padding-top: 8px;
}

.tribe-side-footer p {
  margin: 2px 0;
  font-size: 13px;
}

.tribe-side-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  margin: 8px 0;
}

.tribe-side-actions form {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.tribe-side-actions form > * { margin: 0 }
.tribe-side-actions select,
.tribe-side-actions input[type="number"],
.tribe-side-actions input[type="text"] { height: 36px; box-sizing: border-box }
.tribe-side-actions button { height: 36px; box-sizing: border-box; display: inline-flex; align-items: center }

.tribe-side-subtribes {
  margin: 8px 0;
}

.tribe-subtribes-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tribe-subtribe-link {
  display: block;
  width: 100%;
  text-align: left;
  padding: 8px 12px;
  background: #1c1c1c;
  border: 1px solid #333;
  border-radius: 6px;
  color: #ffa500;
  cursor: pointer;
  font-size: 14px;
}

.tribe-subtribe-link:hover {
  background: #333;
}

.tribe-members-count {
  color: #ffa500;
  font-size: 18px;
}

.tribe-mode-buttons {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.tribe-card-image-wrapper {
  position: relative;
  overflow: hidden;
  padding: 0 !important;
  margin: 0 !important;
}

.tribe-card-hero-image {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.tribe-card-description {
  font-size: 14px;
  line-height: 1.45;
  color: #cfd3e1;
  margin: 0;
}

.tribe-info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0;
}
.tribe-info-table td {
  padding: 6px 8px;
  border: 1px solid #555;
  font-size: 12px;
}
.tribe-info-label {
  font-size: 10px;
  color: #ffa300;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  background: #1e1f23;
}
.tribe-info-value {
  font-size: 12px;
  font-family: 'JetBrains Mono', monospace;
  color: #ffd740;
  background: #1e1f23;
}
.tribe-info-empty {
  color: #9aa3b2;
  font-size: 12px;
  font-style: italic;
}

.tribe-card-members {
  border: none;
  border-radius: 4px;
  padding: 8px;
  margin: 6px 0;
  background: #1e1f23;
  text-align: center;
}

.tribe-open-invite {
  border: none;
  border-radius: 4px;
  padding: 8px;
  margin: 6px 0;
  background: #1e1f23;
  text-align: center;
}
.tribe-open-invite-code {
  font-family: monospace;
  word-break: break-all;
  font-weight: bold;
  margin-left: 6px;
}
.tribe-open-invite-panel { margin: 6px 0; }
.profile-side-version { margin: 4px 0 8px; font-size: 0.9em; text-align: center; }
.larp-house-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  margin: 0 0 6px;
}
.larp-house-mini {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 8px;
  flex: 0 0 auto;
}

.invite-qr-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  margin: 8px 0;
}
.invite-qr-img {
  width: 200px;
  height: 200px;
  background: #fff;
  padding: 8px;
  border-radius: 8px;
  image-rendering: pixelated;
}

.tribe-card-actions {
  border: 1px solid #555;
  border-radius: 4px;
  padding: 8px;
  margin: 6px 0;
  background: #1e1f23;
  display: flex;
  gap: 8px;
  justify-content: center;
}
.tribe-action-btn {
  padding: 6px 16px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: 1px solid #ffa300;
  background: transparent;
  color: #ffa300;
  transition: background 0.15s, color 0.15s;
}
.tribe-action-btn,
.tribe-side-actions button,
.tribe-side-actions a,
.map-detail-actions button,
.map-detail-actions a {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1.2;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  border: 1px solid #ffa300;
  background: transparent;
  color: #ffa300;
  transition: background 0.15s, color 0.15s;
}
.tribe-side-actions button:hover,
.tribe-side-actions a:hover,
.map-detail-actions button:hover,
.map-detail-actions a:hover {
  background: #ffa300;
  color: #000;
}
.tribe-side-actions .tribe-action-btn.danger-btn,
.tribe-side-actions .delete-btn,
.map-detail-actions .delete-btn {
  border-color: #d9534f;
  color: #d9534f;
}
.tribe-side-actions .tribe-action-btn.danger-btn:hover,
.tribe-side-actions .delete-btn:hover,
.map-detail-actions .delete-btn:hover {
  background: #d9534f;
  color: #000;
}
.tribe-action-btn.danger-btn,
.tribe-card-actions .tribe-action-btn.danger-btn,
.tribe-side-actions .tribe-action-btn.danger-btn {
  border: 1px solid #d9534f !important;
  color: #d9534f !important;
  background: transparent !important;
}
.tribe-action-btn.danger-btn:hover,
.tribe-card-actions .tribe-action-btn.danger-btn:hover,
.tribe-side-actions .tribe-action-btn.danger-btn:hover {
  background: #d9534f !important;
  color: #000 !important;
}
.tribe-action-btn:hover {
  background: #ffa300;
  color: #000;
}
.tribe-action-btn.danger-btn { border-color: #d9534f; color: #d9534f; }
.tribe-action-btn.danger-btn:hover { background: #d9534f; color: #000; }

.calendar-interval-block { margin: 8px 0 16px; }
.calendar-interval-label { display: block; margin-bottom: 6px; }
.calendar-interval-until { margin-top: 10px; }
.calendar-interval-row { display: flex; gap: 16px; flex-wrap: wrap; }
.calendar-interval-option { display: flex; align-items: center; gap: 4px; cursor: pointer; white-space: nowrap; }

.tribe-thumb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 8px;
}
.tribe-thumb-link {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid #555;
  transition: border-color 0.15s;
}
.tribe-thumb-link:hover {
  border-color: #ffa300;
}
.tribe-thumb-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tribe-feed-compose {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.tribe-feed-compose textarea {
  width: 100%;
  box-sizing: border-box;
}

.tribe-feed-compose .tribe-feed-send {
  align-self: flex-end;
}

.tribe-parent-box {
  margin-bottom: 12px;
  text-align: center;
}

.tribe-parent-box h2 {
  margin: 0 0 8px 0;
}

.tribe-parent-link {
  display: block;
}

.tribe-parent-image {
  width: 100%;
  max-width: 200px;
  border-radius: 8px;
  border: 2px solid #444;
}

.tribe-card-meta-row {
  display: flex;
  gap: .5em;
  flex-wrap: wrap;
  font-size: 12px;
}

.tribe-meta-label {
  color: #9aa3b2;
  font-size: 12px;
}

.tribe-tag-link {
  margin-right: 0.8em;
  margin-bottom: 0.5em;
}

.tribe-member-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.tribe-visit-btn-wrapper {
  position: absolute;
  bottom: 8px;
  right: 8px;
}

.tribe-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.tribe-section-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 16px;
  padding-bottom: 8px;
}

.tribe-section-nav form {
  margin: 0;
}

.tribe-section-group {
  display: flex;
  gap: 4px;
  padding: 0 8px;
  flex-wrap: wrap;
  align-items: center;
  border: 0px;
}

.tribe-section-group-label {
  font-size: 10px;
  text-transform: uppercase;
  color: #ffcc00;
  letter-spacing: 1px;
  width: 100%;
  padding: 0 4px 2px;
  font-weight: bold;
}

.tribe-section-group:last-child {
  border-right: none;
}

.tribe-section-nav .filter-btn {
  padding: 8px 12px;
  text-transform: uppercase;
}

.tribe-section-nav .filter-btn.active {
  background: #ffcc00;
  color: #000;
}

.tribe-content-card {
  background: #1c1c1c;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 12px;
}

.tribe-content-card h2 {
  margin-top: 0;
}

.tribe-content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

.tribe-content-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tribe-content-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.tribe-search-form{display:flex;gap:10px;align-items:center}

.tribe-content-filters {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.tribe-content-status {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
}

.tribe-content-status-open {
  background: #2d5a27;
  color: #7cc576;
}

.tribe-content-status-closed {
  background: #5a2727;
  color: #c57676;
}

.tribe-content-status-in-progress {
  background: #5a4e27;
  color: #c5b576;
}

.tribe-content-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 8px 0;
  color: #9aa3b2;
  font-size: 14px;
}

.tribe-content-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.tribe-content-actions form {
  margin: 0;
}

.tribe-inhabitants-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.tribe-inhabitant-card {
  background: #1c1c1c;
  border-radius: 8px;
  padding: 12px;
  text-align: center;
}

.tribe-inhabitant-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
}

.tribe-votation-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 12px 0;
}

.tribe-votation-option {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tribe-votation-bar {
  background: #333;
  border-radius: 4px;
  height: 24px;
  position: relative;
  overflow: hidden;
  flex: 1;
}

.tribe-votation-fill {
  background: #ff6600;
  height: 100%;
  border-radius: 4px;
  transition: width 0.3s ease;
}

.tribe-fill-0 { width: 0%; }
.tribe-fill-5 { width: 5%; }
.tribe-fill-10 { width: 10%; }
.tribe-fill-15 { width: 15%; }
.tribe-fill-20 { width: 20%; }
.tribe-fill-25 { width: 25%; }
.tribe-fill-30 { width: 30%; }
.tribe-fill-35 { width: 35%; }
.tribe-fill-40 { width: 40%; }
.tribe-fill-45 { width: 45%; }
.tribe-fill-50 { width: 50%; }
.tribe-fill-55 { width: 55%; }
.tribe-fill-60 { width: 60%; }
.tribe-fill-65 { width: 65%; }
.tribe-fill-70 { width: 70%; }
.tribe-fill-75 { width: 75%; }
.tribe-fill-80 { width: 80%; }
.tribe-fill-85 { width: 85%; }
.tribe-fill-90 { width: 90%; }
.tribe-fill-95 { width: 95%; }
.tribe-fill-100 { width: 100%; }

.tribe-votation-label {
  min-width: 120px;
  color: #ccc;
}

.tribe-votation-count {
  min-width: 40px;
  text-align: right;
  color: #9aa3b2;
}

.tribe-forum-thread {
  background: #1c1c1c;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 12px;
}

.tribe-forum-reply {
  background: #222;
  border-left: 3px solid #ff6600;
  padding: 12px;
  margin: 8px 0 8px 24px;
  border-radius: 0 8px 8px 0;
}

.tribe-forum-reply-form {
  margin-top: 16px;
}

.tribe-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}

.tribe-media-item {
  background: #1c1c1c;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #333;
  transition: border-color .2s;
  padding-bottom: 8px;
}

.tribe-media-item:hover {
  border-color: #ffa500;
}

.tribe-media-item a {
  display: block;
}

.tribe-media-thumb {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  cursor: pointer;
}

.tribe-media-audio {
  width: 100%;
  padding: 8px;
  box-sizing: border-box;
}

.tribe-media-item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.tribe-media-item video {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.tribe-media-title-link {
  color: #ffa500;
  font-weight: bold;
  text-decoration: none;
  display: block;
  margin-bottom: 4px;
}

.tribe-media-title-link:hover {
  text-decoration: underline;
}

.tribe-media-item-info {
  padding: 12px;
}

.tribe-media-date {
  margin: 6px 0 2px 0;
  font-size: 0.85em;
}

.tribe-media-author {
  margin: 0 0 6px 0;
  font-size: 0.85em;
}

.tribe-media-filters {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.tribe-overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.tribe-overview-section {
  background: #1c1c1c;
  border-radius: 8px;
  padding: 16px;
}

.tribe-overview-section h2 {
  margin-top: 0;
  font-size: 16px;
  border-bottom: 1px solid #333;
  padding-bottom: 8px;
}

.tribe-priority-critical {
  color: #ff4444;
  font-weight: bold;
}

.tribe-priority-high {
  color: #ff8800;
  font-weight: bold;
}

.tribe-priority-medium {
  color: #ffcc00;
}

.tribe-priority-low {
  color: #88cc88;
}

.tribe-feed-compose {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.tribe-feed-compose textarea {
  width: 100%;
  box-sizing: border-box;
}

.tribe-feed-compose .tribe-feed-send {
  align-self: flex-end;
}

.comment-submit-btn {
  width: auto;
  max-width: 200px;
}

.market-owner-actions-inline {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.project-goal-highlight {
  font-size: 1.4em;
  font-weight: 700;
}

.project-control-form--progress {
  max-width: 300px;
}

.project-progress-input {
  max-width: 80px;
}

.applicants-under {
  color: #4caf50;
}

.applicants-at {
  color: #ffeb3b;
}

.applicants-over {
  color: #f44336;
}

.transfer-amount-highlight {
  font-size: 1.3em;
  font-weight: 700;
}

.pixelia-paint-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.pixelia-paint-form label,
.pixelia-paint-form input,
.pixelia-paint-form select,
.pixelia-paint-form button {
  width: auto;
  margin: 0;
}

.pixelia-paint-form input[type="number"] {
  max-width: 80px;
}

.method-image-centered {
  text-align: center;
  margin: 12px 0;
}

.method-image-centered img {
  height: auto;
  margin: 0 auto;
}

.tag-cloud-wrap {
  display: flex;
  flex-wrap: wrap;
  max-width: 90%;
  gap: 14px;
  justify-content: center;
  align-items: center;
  min-height: 220px;
  padding: 36px;
  border-radius: 16px;
}

.tag-cloud-item {
  position: relative;
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.tag-cloud-item:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-3px);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.5);
}

.tag-cloud-item[data-weight="1"] {
  font-size: 0.85rem;
  opacity: 0.7;
}

.tag-cloud-item[data-weight="2"] {
  font-size: 0.95rem;
  opacity: 0.8;
}

.tag-cloud-item[data-weight="3"] {
  font-size: 1.05rem;
  opacity: 0.9;
}

.tag-cloud-item[data-weight="4"] {
  font-size: 1.15rem;
  font-weight: 600;
}

.stats-karma-block {
  background-color: #222;
  padding: 24px;
  border-radius: 8px;
  border: 1px solid #444;
  margin-bottom: 24px;
}

.feed-detail-card {
  background-color: #222;
  border: 1px solid #444;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 16px;
}

.map-card {
  background-color: #222;
  border: 1px solid #444;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 16px;
}

.map-card-info {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 8px;
  border: 0px;
}

.map-type-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  background-color: #FFA500;
  color: #000;
}

.map-coords {
  font-family: monospace;
  font-size: 0.85rem;
  color: white;
}

.map-coords-detail {
  font-family: monospace;
  font-size: 0.9rem;
  color: white;
}

.map-marker-count {
  font-size: 0.8rem;
  color: #888;
}

.map-description {
  margin: 20px 0;
}

.map-url-container {
  margin: 8px 0;
}

.map-url-link {
  color: #FFA500;
  word-break: break-all;
}

.map-detail-info {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.map-wrap {
  margin-right: 30px;
  position: relative;
  border: 0px;
}

.map-img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  border: none !important;
}

.map-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 12px;
  background-color: #1a1a1a;
  border-top: 1px solid #333;
}

.map-bar-info {
  font-size: 0.75rem;
  color: #aaa;
}

.map-attr {
  font-size: 0.6rem;
  color: #555;
}

.map-coord-preview {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background-color: #222;
  border-radius: 6px;
  margin: 8px 0;
  font-family: monospace;
  font-size: 0.9rem;
  color: #FFA500;
}

.map-coord-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: monospace;
  font-size: 0.9rem;
  color: #FFA500;
  margin: 4px 0;
}

.map-coord-pin {
  font-size: 1.2rem;
}

.map-create-layout {
  width: 100%;
}

.map-form {
  margin-top: 12px;
}

.map-form label {
  display: block;
  font-weight: 600;
  color: #FFA500;
  margin-top: 8px;
  margin-bottom: 4px;
}

.map-form input[type="text"],
.map-form textarea,
.map-form select {
  width: 100%;
  box-sizing: border-box;
}

.map-form-row {
  display: flex;
  border: 0px;
  gap: 12px;
}

.map-form-field {
  flex: 1;
}

.map-card {
  background-color: #222;
  border: 1px solid #444;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 12px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.map-card-thumb-link {
  flex-shrink: 0;
}

.map-card-thumb {
  width: 120px !important;
  height: 120px !important;
  max-width: none !important;
  border-radius: 6px !important;
  border: 1px solid #555 !important;
  object-fit: cover;
}

.map-card-body {
  flex: 1;
  min-width: 0;
}

.map-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.map-card-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
}

.map-click-hint {
  color: #FFA500;
  font-size: 0.85rem;
  padding: 6px 0;
}

.map-detail {
  background-color: #222;
  border: 1px solid #444;
  border-radius: 8px;
  padding: 16px;
}

.map-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.map-detail-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
}

.map-marker-form {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #444;
}

.map-markers-list {
  margin-top: 16px;
}

.map-marker-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #333;
}

.map-marker-dot {
  font-size: 1.2rem;
  line-height: 1;
}

.map-marker-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border: 0px;
}

.map-marker-label {
  font-weight: 600;
  color: #ffa300;
}

.map-marker-coords {
  font-family: monospace;
  font-size: 0.8rem;
  color: white;
}

.map-marker-meta {
  font-size: 0.75rem;
}

.map-empty {
  padding: 24px;
  text-align: center;
  color: #666;
  font-size: 0.9rem;
}

.map-form {
  width: 100%;
}

.map-form label {
  font-weight: 600;
  color: #FFA500;
}

.map-form input[type="text"],
.map-form textarea,
.map-form select {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.map-marker-form {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #444;
}

.map-marker-form label {
  font-weight: 600;
  color: #FFA500;
}

.map-marker-form input[type="text"] {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.map-form-map-slot {
  margin: 12px 0;
  border: none;
  overflow: hidden;
}

.map-markers-list {
  margin-top: 16px;
  text-align: left;
}

.map-marker-item {
  padding: 8px 0;
  border-bottom: 1px solid #333;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.map-marker-dot {
  color: #4a9eff;
  font-size: 0.9rem;
}

.search-result-image {
  max-width: 100%;
  max-height: 300px;
  border-radius: 4px;
  display: block;
  margin: 6px 0;
}

.map-embed-section {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 8px 0;
}

.map-location-inline {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.map-location-icon {
  color: #FFA500;
}

.map-location-link {
  color: #FFA500;
  font-size: 0.85rem;
}

.map-location-embed {
  margin: 16px 0;
}

.maps-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.maps-search {
  margin-bottom: 16px;
}

.inhabitant-karma-ubi {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.inhabitant-karma-ubi .karma-line,
.inhabitant-karma-ubi .ubi-line {
  display: block;
  font-size: 0.9em;
}

.shop-featured-item,
.shop-featured-item:hover,
.shop-featured-item:visited,
.shop-featured-item:active {
  text-decoration: none;
}

.shop-detail {
  border: 1px solid #333;
  border-radius: 8px;
  padding: 16px;
}

.map-form-map-slot {
  margin: 12px 0 0 0;
  border: none;
  outline: none;
  box-shadow: none;
  overflow: hidden;
}

.map-marker-item {
  border: none;
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  text-align: left;
}
.map-marker-info {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  padding: 4px 0;
  width: 100%;
  overflow: hidden;
  text-align: left;
  justify-content: flex-start;
}
.map-markers-list h3 {
  margin-bottom: 4px;
}
.map-form-full {
  width: 100%;
}
.map-form-full form {
  width: 100%;
}
.map-osm-embed {
  width: 100%;
  height: 450px;
  border: 1px solid #444;
  border-radius: 8px;
  margin: 12px 0;
}
.map-viewer {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  border: 0px;
}
.map-form-full, .map-form-full form {
  box-sizing: border-box;
  overflow: hidden;
}
.map-popup {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.65);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}
.map-popup:target {
  display: flex;
}
.map-popup-box {
  background: #222;
  border: 1px solid #555;
  border-radius: 10px;
  padding: 20px 24px;
  max-width: 360px;
  width: 90%;
  color: #ddd;
  position: relative;
}
.map-popup-close {
  position: absolute;
  top: 10px; right: 14px;
  color: #FFA500;
  text-decoration: none;
  font-size: 1.2rem;
  line-height: 1;
}
.map-popup-label {
  font-weight: 600;
  font-size: 1rem;
  color: #eee;
  margin-bottom: 6px;
}
.map-popup-coords {
  font-family: monospace;
  font-size: 0.85rem;
  color: white;
}
.map-popup-link {
  color: #FFA500;
  text-decoration: underline;
  word-break: break-all;
}
.map-popup-img {
  display: block;
  max-width: 180px;
  max-height: 120px;
  object-fit: cover;
  border-radius: 4px;
  margin: 6px auto;
}
.map-marker-img {
  display: block;
  max-width: 120px;
  max-height: 80px;
  object-fit: cover;
  border-radius: 4px;
  margin: 4px 0;
}
.map-zoom-info {
  display: block;
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 4px;
}
.map-embed-url {
  margin-top: 6px;
}
.map-embed-url .map-location-link {
  font-size: 0.8rem;
}
.map-zone {
  display: block;
}
.map-popup-container { height: 0; overflow: hidden; border: 0px; }
.project-maploc {
  margin: 6px 0;
}
.project-maploc .map-location-link {
  font-size: 0.85rem;
  word-break: break-all;
}
.shop-product-actions:empty {
  display: none;
}
.ubi-available{color:#4CAF50;font-weight:bold}
.ubi-unavailable{color:#F44336;font-weight:bold}
.banking-ubi .card-field{margin:4px 0}
.pad-status-open{font-weight:bold}
.pad-status-invite{color:#FFA500;font-weight:bold}
.pad-status-closed{font-weight:bold}
.pad-deadline{color:#FFA500;font-size:0.9rem}
.pad-editor-container{margin-top:12px}
.pad-editor-area{display:flex;flex-direction:column;gap:8px;}
.pad-editor-area textarea{width:100%;min-height:200px;background:#1a1a1a;color:#eee;border:1px solid #444;border-radius:4px;padding:10px;font-family:monospace;font-size:0.95rem;resize:vertical;box-sizing:border-box}
.pad-members-list{flex:1;min-width:160px;background:#1a1a1a;border:1px solid #333;border-radius:4px;padding:10px}
.pad-members-list h4{margin:0 0 8px 0;color:#aaa;font-size:0.85rem;text-transform:uppercase}
.pad-member-item{display:flex;align-items:center;gap:8px;padding:4px 0;font-size:0.85rem}
.pad-color-indicator{width:10px;height:10px;border-radius:50%;flex-shrink:0}
.pad-entries{margin-top:16px;display:flex;flex-direction:column;gap:8px}
.pad-entry{padding:8px 12px;border-left:4px solid #444;background:#1a1a1a;border-radius:0 4px 4px 0}
.pad-entry-header{font-size:0.8rem;color:#888;margin-bottom:4px}
.pad-entry-text{white-space:pre-wrap;word-break:break-word;font-family:monospace;font-size:0.9rem}
.pad-invite-section{margin-top:12px;padding:12px;background:#1a1a1a;border:1px solid #333;border-radius:4px}
.pad-invite-section input[type="text"]{width:100%;background:#111;color:#eee;border:1px solid #555;border-radius:4px;padding:8px;box-sizing:border-box;margin-bottom:8px}
.chat-main-split{display:flex;gap:16px;width:100%}
.chat-messages-column{flex:2;min-width:0;display:flex;flex-direction:column;gap:8px}
.chat-participants-column{flex:1;min-width:140px;background:#1a1a1a;border:1px solid #333;border-radius:4px;padding:12px}
.chat-participants-column h2{margin:0 0 8px 0;color:#aaa;font-size:0.85rem;text-transform:uppercase;font-weight:normal}
.chat-participants-list{list-style:none;padding:0;margin:0}
.chat-participants-list li{padding:4px 0;font-size:0.85rem}
.chat-message-form{background:#1a1a1a;border:1px solid #333;border-radius:4px;padding:10px}
.chat-message-form textarea{width:100%;box-sizing:border-box;background:#111;color:#eee;border:1px solid #555;border-radius:4px;padding:8px;resize:vertical;font-family:inherit}
.chat-messages-list{display:flex;flex-direction:column;gap:4px}
.chat-message{padding:6px 10px;border-radius:4px;background:#1a1a1a;word-break:break-word;border:none}
.chat-message-author{border-left-color:#FFA500;background:#1f1800}
.chat-message-self{border-left-color:#888;background:#181818}
.chat-message-meta{font-size:0.8rem;color:#888;border:none}
.chat-message-date{color:#666}
.chat-message-sender a{color:#aaa}
.chat-message-text{display:block;margin-top:2px;font-size:0.9rem;white-space:pre-wrap;word-break:break-word}
.calendar-note-card{position:relative;padding:10px 80px 10px 10px;min-height:56px}
.calendar-note-delete{position:absolute;top:8px;right:8px;margin:0}
.calendar-note-delete button{padding:4px 10px;font-size:0.8rem}
.chat-no-messages{color:#666;font-style:italic;padding:12px 0}
.chat-join-section{margin-top:12px;padding:12px;background:#1a1a1a;border:1px solid #333;border-radius:4px}
.chat-invite-form input[type="text"]{width:100%;background:#111;color:#eee;border:1px solid #555;border-radius:4px;padding:8px;box-sizing:border-box;margin-bottom:8px}
.games-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;margin-top:16px}
.game-card{border:1px solid #333;border-radius:8px;overflow:hidden;display:flex;flex-direction:column;background:#111}
.game-card-media{width:100%;max-height:180px;overflow:hidden;display:flex;align-items:center;justify-content:center;background:#000}
.game-card-media img{width:100%;max-height:180px;object-fit:cover}
.game-card-body{padding:14px;display:flex;flex-direction:column;gap:8px;flex:1}
.game-card-title{margin:0;font-size:1.1rem;color:#FFA500}
.game-card-desc{margin:0;font-size:0.9rem;color:#ccc;flex:1}
.game-card-actions{display:flex;justify-content:center;margin-top:8px}
.hall-of-fame-table{width:100%;border-collapse:collapse;font-size:0.9rem}
.hall-of-fame-table th{color:#FFA500;text-align:left;padding:4px 8px;border-bottom:1px solid #444}
.hall-of-fame-table td{padding:4px 8px;color:#ccc;border-bottom:1px solid #222}
.hall-of-fame-table tr:hover td{background:#1a1a1a}

.activity-filter-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:16px;margin-bottom:24px}
.activity-filter-col{display:flex;flex-direction:column;gap:8px}

.visit-btn-centered{display:flex;margin-top:10px;border:0px}

.pad-editor-white{width:100%;box-sizing:border-box;background:#fff;color:#111;border-radius:4px;padding:10px;resize:vertical;font-family:inherit;font-size:0.95rem}
.pad-readonly-text{background:#fff;color:#111;border:1px solid #aaa;border-radius:4px;padding:10px;white-space:pre-wrap;word-break:break-word;font-size:0.95rem}
.pad-version-list{margin-top:12px}
.pad-version-item{display:flex;flex-direction:column;gap:4px;padding:8px;border-bottom:1px solid #333;font-size:0.85rem}
.pad-version-date{color:#888}
.pad-version-author a{color:#FFA500}
.pad-version-link{color:#aaa;text-decoration:underline;cursor:pointer}
.pad-author-color-0{background-color:#e74c3c}
.pad-author-color-1{background-color:#3498db}
.pad-author-color-2{background-color:#2ecc71}
.pad-author-color-3{background-color:#f39c12}
.pad-author-color-4{background-color:#9b59b6}
.pad-author-color-5{background-color:#1abc9c}
.pad-author-color-6{background-color:#e67e22}
.pad-author-color-7{background-color:#e91e63}
.pad-author-color-8{background-color:#00bcd4}
.pad-author-color-9{background-color:#8bc34a}
.pad-author-color-none{background-color:#888}
.pad-entry-author{display:block;font-size:.75rem;margin-bottom:4px;opacity:.75}
.pad-author-swatch{display:inline-block;width:12px;height:12px;border-radius:2px;margin-right:6px;vertical-align:middle;border:1px solid #000}
.pad-readonly-colored{background:#fff;color:#111;padding:12px;border-radius:4px;min-height:120px;white-space:pre-wrap;word-break:break-word;font-family:inherit;font-size:.95rem;border:1px solid #aaa;margin-bottom:10px}
.pad-author-span{padding:1px 2px;border-radius:2px}
.pad-members-section{margin-top:12px;border:none}
.pad-members-below-tags{margin-top:12px;border:none}
.pad-member-card{display:flex;align-items:center;gap:8px;padding:4px 0;font-size:0.85rem}
.pad-members-grid{display:flex;flex-direction:column;gap:4px;margin-bottom:12px}
.pad-version-section{margin-top:16px;border-top:1px solid #333;padding-top:12px}

.chat-full-width{flex:1;min-width:0}
.chat-participants-section{margin-top:12px;padding:12px;background:#1a1a1a;border:none;border-radius:4px}
.chat-participants-below{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}
.chat-participants-below a{font-size:0.85rem;color:#aaa}
.chat-message-image-wrap{margin:4px 0}
.chat-message-image{max-width:100%;max-height:300px;border-radius:4px}

.games-single-col{display:flex;flex-direction:column;gap:16px;margin-top:16px}
.game-row{display:flex;gap:16px;border:1px solid #333;border-radius:8px;overflow:hidden;background:#111;padding:12px;align-items:flex-start}
.game-row-media{flex-shrink:0;width:120px}
.game-row-media img{width:100%;border-radius:4px}
.game-row-body{flex:1;display:flex;flex-direction:column;gap:6px}
.game-top-score{font-size:0.85rem;color:#aaa}
.score-first{color:#2ecc71;font-weight:bold}
.games-scoring-list{display:flex;flex-direction:column;gap:24px;margin-top:16px}
.game-scoring-section{border:1px solid #333;border-radius:8px;padding:16px;background:#111}
.game-scoring-header{display:flex;gap:16px;align-items:flex-start;margin-bottom:12px}
.game-scoring-thumb{width:80px;border-radius:4px;flex-shrink:0}
.game-scoring-info{flex:1}
.game-shell-section{padding:0!important;margin:0}
.game-iframe{width:100%;height:82vh;border:none;background:#000;display:block}
.game-iframe-ecoinflow{height:95vh}
.game-iframe-neoninfiltrator{height:95vh}
.game-iframe-audiopendulum{height:95vh}
.game-iframe-flipflop{height:720px}
.game-iframe-rockpaperscissors{height:580px}
.game-iframe-tiktaktoe{height:580px}
.game-desc-yellow{color:yellow}
.game-new-record-label{color:#FFA500;font-weight:bold}
.game-row-actions{display:flex;align-items:center;text-align:center;flex-shrink:0;border:0px;}
.calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;margin:12px 0}
.calendar-day-header{font-weight:bold;padding:8px;text-align:center;color:#FFA500}
.calendar-day{padding:10px 4px;text-align:center;background:#222;border-radius:4px;min-height:36px}
.calendar-day-empty{background:#111;opacity:.4}
.calendar-day-marked{background:#FFA500;color:#000;font-weight:bold}
.calendar-day-marked a{color:#000;text-decoration:none;display:block}
.calendar-nav{display:flex;justify-content:space-between;align-items:center;margin:8px 0}
.calendar-date-list{margin-top:16px}
.calendar-date-item{background:#333;padding:18px 108px 18px 18px;border-radius:6px;margin-bottom:14px;position:relative;min-height:64px}
.calendar-date-delete{position:absolute;top:12px;right:12px;margin:0}
.calendar-date-delete button{padding:4px 10px;font-size:0.8rem}
.calendar-date-item-header{color:#FFA500;font-weight:bold;margin-bottom:6px;width:max-content}
.calendar-participants-count{color:#FFA500;font-weight:bold}
.calendar-day-notes{margin-top:16px}
.pad-viewer-back{margin-bottom:12px}

.access-denied-msg{margin:12px 0;padding:12px;background:#1a1a1a;border:1px solid #555;border-radius:4px;color:#ccc;font-style:italic}

.torrent-table{width:100%;border-collapse:collapse;margin-top:12px}
.torrent-table th,.torrent-table td{padding:8px 12px;text-align:left}
.torrent-table th{background:#1a1a1a;color:#FFA500;font-weight:bold}
.torrent-download{margin:12px 0}
.torrent-download .filter-btn{border:none}

.logs-table{width:100%;border-collapse:collapse;margin-top:12px}
.logs-table th,.logs-table td{padding:8px 12px;text-align:left;vertical-align:middle;border-bottom:1px solid #222}
.logs-col-actions{vertical-align:middle;text-align:center;white-space:nowrap;background:transparent}
.logs-col-actions form{margin:0;display:inline-block}
.logs-col-actions .filter-btn{min-width:110px}
.logs-table th{background:#1a1a1a;color:#FFA500;font-weight:bold}
.logs-col-date{white-space:nowrap;text-align:center;font-family:monospace;background:transparent}
.logs-date-day{color:#FFA500;font-weight:bold;font-size:0.9rem}
.logs-date-time{color:#ddd;font-size:0.85rem}
.logs-col-log{max-width:560px;vertical-align:middle;background:transparent;padding:8px 12px}
.logs-col-log>*{background:transparent;border:0;padding:0;margin:0}
.logs-entry-label{color:#FFA500;font-weight:bold;margin-bottom:4px !important;background:transparent;border:0}
.logs-entry-meta{color:#888;font-size:0.85rem;margin-bottom:6px}
.logs-entry-mode{color:#FFA500;font-weight:bold}
.logs-entry-text{white-space:pre-wrap;word-break:break-word;color:#ddd;background:transparent;border:0;padding:0;margin:0;display:block}
.logs-toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:12px 0}
.logs-toolbar-inline{display:inline-flex;gap:10px;margin:0}
.logs-mode-form{margin:12px 0}
.logs-mode-group{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.logs-ai-disabled{color:#e74c3c;font-style:italic;margin:8px 0}
.logs-col-type{white-space:nowrap;text-align:center;font-family:monospace;background:transparent}
.logs-type-text{font-weight:bold;letter-spacing:0.5px;text-transform:uppercase;font-family:monospace;font-size:0.85rem}
.logs-type-ai{color:#00b4ff}
.logs-type-manual{color:#FFA500}
.logs-toolbar-wrap{display:flex;flex-direction:column;gap:12px;margin:12px 0}
.logs-search{margin:0}
.logs-detail{padding:16px}
.logs-detail-header{color:#aaa;font-family:monospace;margin-bottom:12px;word-break:break-all}
.logs-detail-text{white-space:pre-wrap;word-break:break-word;color:#ddd;margin:12px 0}
.logs-detail-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}
.no-border{border:none}
.tribe-card-padded{padding:12px 16px}
.tribe-content-list-spaced{display:flex;flex-direction:column;gap:16px}
.tribe-banner{padding:12px 16px;margin-bottom:16px;text-align:center}
.bold{font-weight:bold}
.inline-form{display:inline}
.bd-type-post{border-color:#3498db}.bd-type-post .block-diagram-ruler{border-bottom-color:#3498db}
.bd-type-vote,.bd-type-votes,.bd-type-pixelia,.bd-type-parliamentTerm,.bd-type-parliamentProposal,.bd-type-parliamentLaw,.bd-type-parliamentCandidature,.bd-type-parliamentRevocation{border-color:#9b59b6}
.bd-type-vote .block-diagram-ruler,.bd-type-votes .block-diagram-ruler,.bd-type-pixelia .block-diagram-ruler,.bd-type-parliamentTerm .block-diagram-ruler,.bd-type-parliamentProposal .block-diagram-ruler,.bd-type-parliamentLaw .block-diagram-ruler,.bd-type-parliamentCandidature .block-diagram-ruler,.bd-type-parliamentRevocation .block-diagram-ruler{border-bottom-color:#9b59b6}
.bd-type-about,.bd-type-forum,.bd-type-curriculum{border-color:#1abc9c}
.bd-type-about .block-diagram-ruler,.bd-type-forum .block-diagram-ruler,.bd-type-curriculum .block-diagram-ruler{border-bottom-color:#1abc9c}
.bd-type-contact{border-color:#16a085}.bd-type-contact .block-diagram-ruler{border-bottom-color:#16a085}
.bd-type-pub,.bd-type-project,.bd-type-pad,.bd-type-map,.bd-type-mapMarker{border-color:#2ecc71}
.bd-type-pub .block-diagram-ruler,.bd-type-project .block-diagram-ruler,.bd-type-pad .block-diagram-ruler,.bd-type-map .block-diagram-ruler,.bd-type-mapMarker .block-diagram-ruler{border-bottom-color:#2ecc71}
.bd-type-tribe,.bd-type-market,.bd-type-shop,.bd-type-shopProduct{border-color:#e67e22}
.bd-type-tribe .block-diagram-ruler,.bd-type-market .block-diagram-ruler,.bd-type-shop .block-diagram-ruler,.bd-type-shopProduct .block-diagram-ruler{border-bottom-color:#e67e22}
.bd-type-event,.bd-type-transfer,.bd-type-calendar{border-color:#e74c3c}
.bd-type-event .block-diagram-ruler,.bd-type-transfer .block-diagram-ruler,.bd-type-calendar .block-diagram-ruler{border-bottom-color:#e74c3c}
.bd-type-task,.bd-type-banking,.bd-type-bankWallet,.bd-type-bankClaim,.bd-type-gameScore{border-color:#f39c12}
.bd-type-task .block-diagram-ruler,.bd-type-banking .block-diagram-ruler,.bd-type-bankWallet .block-diagram-ruler,.bd-type-bankClaim .block-diagram-ruler,.bd-type-gameScore .block-diagram-ruler{border-bottom-color:#f39c12}
.bd-type-report,.bd-type-courtsCase,.bd-type-courtsEvidence,.bd-type-courtsAnswer,.bd-type-courtsVerdict,.bd-type-courtsSettlement,.bd-type-courtsNomination{border-color:#c0392b}
.bd-type-report .block-diagram-ruler,.bd-type-courtsCase .block-diagram-ruler,.bd-type-courtsEvidence .block-diagram-ruler,.bd-type-courtsAnswer .block-diagram-ruler,.bd-type-courtsVerdict .block-diagram-ruler,.bd-type-courtsSettlement .block-diagram-ruler,.bd-type-courtsNomination .block-diagram-ruler{border-bottom-color:#c0392b}
.bd-type-image,.bd-type-job,.bd-type-aiExchange,.bd-type-chat{border-color:#3498db}
.bd-type-image .block-diagram-ruler,.bd-type-job .block-diagram-ruler,.bd-type-aiExchange .block-diagram-ruler,.bd-type-chat .block-diagram-ruler{border-bottom-color:#3498db}
.bd-type-audio{border-color:#8e44ad}.bd-type-audio .block-diagram-ruler{border-bottom-color:#8e44ad}
.bd-type-video{border-color:#d35400}.bd-type-video .block-diagram-ruler{border-bottom-color:#d35400}
.bd-type-document{border-color:#27ae60}.bd-type-document .block-diagram-ruler{border-bottom-color:#27ae60}
.bd-type-bookmark{border-color:#f1c40f}.bd-type-bookmark .block-diagram-ruler{border-bottom-color:#f1c40f}
.bd-type-feed,.bd-type-tombstone{border-color:#95a5a6}
.bd-type-feed .block-diagram-ruler,.bd-type-tombstone .block-diagram-ruler{border-bottom-color:#95a5a6}
.stats-link{color:#ffa500;text-decoration:none}
.stats-link-break{color:#ffa500;text-decoration:none;word-break:break-all}
.stats-muted{color:#aaa}
.stats-strong{color:#ffd700;font-weight:600}
.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:16px;margin-bottom:24px}
.stats-mode-row{justify-content:flex-start;margin-bottom:24px}
.stats-section-h{font-size:18px;color:#ffa500;margin:8px 0;font-weight:600}
.stats-list-reset{list-style-type:none;padding:0;margin:0}
.stats-mb-16{margin-bottom:16px}
.stats-w-100{width:100%}
.stats-table{width:100%;border-collapse:collapse}
.stats-table-mt8{width:100%;border-collapse:collapse;margin-top:8px}
.stats-h-row{font-size:15px;color:#ddd;margin:6px 0;display:flex;gap:8px;align-items:baseline}
.stats-card{background:none;padding:0;border:none;border-radius:0;margin-bottom:16px;box-shadow:none}
.stats-card .block-info-table{table-layout:fixed}
.stats-card .block-info-table .card-label{width:70%}
.stats-card .block-info-table .card-value{width:30%;text-align:right;word-break:break-word}
.invites-pubs-table{table-layout:fixed}
.invites-pubs-table col.invites-col-host,.invites-pubs-table td:nth-child(1){width:22%}
.invites-pubs-table td:nth-child(2){width:8%}
.invites-pubs-table td:nth-child(3){width:40%;word-break:break-all}
.invites-pubs-table td:nth-child(4){width:30%}
.invites-pubs-table tr:first-child td{white-space:nowrap}
.stats-block{background:none;padding:0;border:none;border-radius:0;margin-bottom:16px}
.stats-block h2{margin:0 0 10px;font-size:16px;color:#ffa500;font-weight:600}
.stats-block ul{margin:6px 0 0;padding-left:18px}
.stats-block ul li{margin:3px 0;color:#ddd;font-size:14px}
.stats-block table.stats-table th,.stats-block table.stats-table-mt8 th{background:#272727;color:#FFDD44;text-align:left;padding:6px 8px;font-size:13px}
.stats-block table.stats-table td,.stats-block table.stats-table-mt8 td{padding:5px 8px;border-bottom:1px solid #2a2a2a;color:#ddd;font-size:13px}
.stats-block table.stats-table tr:last-child td,.stats-block table.stats-table-mt8 tr:last-child td{border-bottom:none}
.stats-pill{display:inline-block;padding:2px 8px;border-radius:10px;background:#2a2a2a;border:1px solid #3a3a3a;color:#ffd700;font-size:12px;margin:2px 4px 2px 0}
.stats-toplist{margin:0;padding:0;list-style:none}
.stats-toplist li{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:4px 0;border-bottom:1px solid #2a2a2a}
.stats-toplist li:last-child{border-bottom:none}
.stats-toplist .stats-bar-track{flex:1;background:#2a2a2a;border-radius:4px;height:8px;overflow:hidden}
.stats-toplist .stats-bar-fill{background:#ffa500;height:100%}
.stats-toplist .stats-toplist-name{flex:0 0 auto;color:#FFDD44;font-size:13px;min-width:120px}
.stats-toplist .stats-toplist-num{flex:0 0 auto;color:#FFDD44;font-size:13px;min-width:36px;text-align:right}
.peer-key{word-break:break-all;font-size:12px}
.peers-technical-block{margin-top:16px}
.peers-conn-actions{margin-bottom:12px}
.invites-pubs-actions{margin:12px 0}
.larp-cycle-banner{display:flex;flex-wrap:wrap;align-items:center;gap:8px;background:#1A1A1A;border:1px solid #FFA500;border-radius:6px;padding:8px 14px;margin:12px 0;font-family:monospace}
.larp-post-submit{width:auto;display:inline-block;padding:6px 18px;align-self:flex-start}
.larp-cycle-label,.larp-governing-label{color:#FFD700;font-size:12px;text-transform:uppercase;letter-spacing:1px}
.larp-cycle-value{color:#FFA500;font-weight:700;font-size:14px}
.larp-cycle-sep{color:#555}
.larp-governing-house{color:#FFD700;font-weight:700;text-decoration:underline}
.larp-my-house{display:flex;align-items:center;gap:8px;margin:8px 0 16px 0;background:transparent !important;border:0 !important;padding:0 !important}
.larp-my-house-label{color:#FFD700;font-size:12px;text-transform:uppercase;letter-spacing:1px}
.larp-my-house-link{color:#FFA500;font-weight:700}
.larp-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px;margin-top:12px}
.larp-card{background:#1A1A1A;border:1px solid #333;border-radius:8px;overflow:hidden;display:flex;flex-direction:column}
.larp-card-mine{border:3px solid #FFA500}
.larp-card-ruling{border:3px solid #ff6b6b}
.larp-card-image-link{display:block}
.larp-card-image{width:100%;height:160px;object-fit:cover;display:block;background:#0a0a0a}
.larp-card-body{padding:10px 12px;display:flex;flex-direction:column;gap:4px;background:transparent !important;border:0 !important}
.larp-card-title-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px;background:transparent !important;border:0 !important;padding:0 !important}
.larp-card-title{color:#FFA500;font-weight:700;font-size:16px;letter-spacing:0.5px}
.larp-card-motto{color:#FFDD44;font-style:italic;font-size:13px;margin:0}
.larp-card-roles{color:#bbb;font-size:12px;margin:0}
.larp-card-count{color:#888;font-size:12px;margin:0}
.larp-badge{display:inline-block;padding:2px 8px;border-radius:10px;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:0.5px}
.larp-badge-mine{background:#0e3320;color:#7fff7f}
.larp-badge-ruling{background:#3a0000;color:#ff6b6b}
.larp-detail-header{display:flex;flex-wrap:wrap;align-items:center;gap:10px;background:transparent !important;border:0 !important;padding:0 !important}
.larp-detail-motto{color:#FFDD44;font-style:italic;font-size:15px;margin:6px 0 0 0}
.larp-detail{display:flex;flex-wrap:wrap;gap:18px;margin-top:14px}
.larp-detail-image-col{flex:0 0 240px}
.larp-detail-image{width:100%;height:auto;border-radius:8px;border:2px solid #FFA500;display:block}
.larp-detail-body{flex:1 1 320px;display:flex;flex-direction:column;gap:10px;background:transparent !important;border:0 !important;padding:0 !important}
.larp-info-table{width:100%;border-collapse:collapse}
.larp-info-table td{padding:4px 8px;border-bottom:1px solid #2a2a2a;vertical-align:top}
.larp-detail-description{color:#ccc;line-height:1.5;margin:0}
.larp-actions{margin-top:10px;background:transparent !important;border:0 !important;padding:0 !important;display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.larp-members-block{margin-top:24px}
.larp-members-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:6px;background:transparent !important;border:0 !important;padding:0 !important}
.larp-member-row{padding:4px 8px;background:#1A1A1A;border:1px solid #333;border-radius:4px}
.larp-back{margin-right:6px}
.larp-house-badges{display:flex;flex-wrap:wrap;gap:14px;margin:8px 0 12px 0;background:transparent !important;border:0 !important;padding:0 !important}
.larp-house-nav{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:10px 0;background:transparent !important;border:0 !important;padding:0 !important}
.larp-house-nav-label{color:#FFD700;font-size:12px;text-transform:uppercase;letter-spacing:1px;margin-right:6px}
.larp-house-nav-chip{display:inline-block;padding:4px 10px;border:1px solid #555;border-radius:14px;color:#ccc;font-size:12px;font-weight:600;text-decoration:none;background:#1A1A1A}
.larp-house-nav-chip:hover{border-color:#FFA500;color:#FFA500}
.larp-house-nav-chip.active{background:#FFA500;border-color:#FFA500;color:#000}
.larp-detail-name{color:#FFA500;font-size:22px;margin:0 0 4px 0}
.larp-posts-block{margin-top:24px}
.larp-post-form{margin:12px 0;background:transparent !important;border:0 !important;padding:0 !important;display:flex;flex-direction:column;gap:6px}
.larp-post-form textarea{width:100%;max-width:720px;font-family:inherit}
.larp-post-label{color:#FFD700;font-size:13px;font-weight:600}
.larp-post-public-label{color:#bbb;font-size:13px;display:inline-flex;align-items:center;gap:6px}
.larp-posts-list{display:flex;flex-direction:column;gap:10px;background:transparent !important;border:0 !important;padding:0 !important}
.larp-post{background:#1A1A1A;border:1px solid #2a2a2a;border-radius:6px;padding:10px 14px}
.larp-post-private{border-left:3px solid #FFA500}
.larp-post-head{display:flex;flex-wrap:wrap;align-items:center;gap:10px;font-size:13px;background:transparent !important;border:0 !important;padding:0 !important;margin-bottom:6px}
.larp-post-time{color:#888;font-size:12px}
.larp-post-badge{display:inline-block;padding:2px 8px;border-radius:10px;background:#3a2300;color:#FFD700;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:0.5px}
.larp-post-text{color:#ddd;line-height:1.5;margin:0;white-space:pre-wrap;word-break:break-word}
.larp-rules{margin-top:14px;display:flex;flex-direction:column;gap:18px;background:transparent !important;border:0 !important;padding:0 !important}
.larp-rules-section{background:#1A1A1A;border:1px solid #2a2a2a;border-radius:6px;padding:12px 16px}
.larp-rules-section h3{color:#FFA500;margin:0 0 6px 0;font-size:15px}
.larp-rules-section p{color:#ccc;line-height:1.55;margin:6px 0}
.larp-rules-list{display:flex;flex-direction:column;gap:6px;background:transparent !important;border:0 !important;padding:0 !important}
.larp-rules-list strong{color:#FFD700}
.lan-checkbox-label{display:inline-flex;align-items:center;gap:10px;color:#FFD700;font-size:14px;margin:10px 0;background:transparent !important;border:0 !important;padding:0 !important;cursor:pointer}
.lan-checkbox-input{width:18px;height:18px;margin:0;flex:0 0 auto;cursor:pointer;accent-color:#FFA500}
.lan-checkbox-text{line-height:1}
.larp-sign-block{display:block;line-height:0;margin:0 auto;background:transparent !important;border:0 !important;padding:0 !important;width:180px}
.profile-sensors-box .larp-sign-block{margin-top:14px}
.larp-sign-large{width:180px;height:180px;object-fit:cover;border-radius:8px;border:2px solid #FFA500;display:block}
.larp-sign-mini-block{display:inline-block;line-height:0;margin:6px 0;background:transparent !important;border:0 !important;padding:0 !important;width:64px}
.larp-sign-mini{width:64px;height:64px;object-fit:cover;border-radius:50%;border:2px solid #FFA500;display:block}
.larp-academia-join{margin-top:18px;background:transparent !important;border:0 !important;padding:0 !important}
.larp-academia-join>h2{color:#FFA500;margin:0 0 8px 0;font-size:18px;text-transform:uppercase;letter-spacing:1px}
.larp-academia-join-hint{color:#ccc;font-size:13px;margin:0 0 10px 0}
.larp-test-cooldown-banner{color:#FFD700;background:#3a2300;border:1px solid #FFA500;border-radius:4px;padding:6px 10px;font-size:13px;margin:0 0 10px 0;display:inline-block}
.larp-last-attempt{margin:8px 0 14px 0;background:#161616;border:1px solid #2a2a2a;border-radius:6px;padding:10px 14px}
.larp-last-attempt-title{color:#FFA500;font-size:15px;margin:0 0 8px 0}
.larp-last-attempt-pass{color:#7fff7f;font-weight:700}
.larp-last-attempt-fail{color:#ff8a8a;font-weight:700}
.larp-test-form-compact{margin:10px 0 0 0;gap:8px}
.larp-test-form-compact .larp-test-question{padding:8px 12px}
.larp-test-form-compact .larp-test-q-text{font-size:13px;margin:0 0 6px 0}
.larp-test-form-compact .larp-test-option{font-size:12px;padding:2px 6px}
.larp-will-test-hint{color:#bbb;font-size:13px;line-height:1.4;margin:4px 0 10px 0}
.larp-academia-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:12px;background:transparent !important;border:0 !important;padding:0 !important}
.larp-invite-redeem-form,.larp-invite-create-form,.larp-card-invite-form{display:inline-flex;gap:6px;align-items:center;background:transparent !important;border:0 !important;padding:0 !important;margin:0}
.larp-invite-redeem-form input[type=text],.larp-card-invite-form input[type=text]{padding:4px 8px;font-family:monospace;font-size:12px;min-width:280px;width:100%;max-width:360px;box-sizing:border-box}
.larp-card-invite-form{margin-top:8px;flex-wrap:wrap}
.larp-invite-banner{background:#161616;border:1px solid #FFA500;border-radius:6px;padding:10px 14px;margin:10px 0}
.larp-invite-banner-title{color:#FFD700;margin:0 0 4px 0;font-size:14px}
.larp-invite-banner-hint{color:#bbb;font-size:13px;margin:0 0 8px 0}
.larp-invite-banner-code{color:#9aff9a;font-family:monospace;font-size:15px;letter-spacing:1px;margin:0;word-break:break-all}
.larp-test-ranking{margin-top:14px;background:transparent !important;border:0 !important;padding:0 !important}
.larp-test-ranking-title{color:#FFA500;font-size:15px;margin:0 0 8px 0}
.larp-academia-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px;background:transparent !important;border:0 !important;padding:0 !important}
.larp-academia-thumb{display:flex;flex-direction:column;align-items:center;gap:6px;text-decoration:none;background:#1A1A1A;border:1px solid #333;border-radius:8px;padding:10px;transition:border-color 0.2s}
.larp-academia-thumb:hover{border-color:#FFA500}
.larp-academia-thumb-mine{border:3px solid #FFA500}
.larp-academia-thumb-image{width:100%;max-width:128px;height:128px;object-fit:cover;border-radius:6px;border:1px solid #FFA500;display:block}
.larp-academia-thumb-name{color:#FFA500;font-weight:700;font-size:14px;text-transform:uppercase;letter-spacing:0.5px;text-align:center}
.larp-test-header{display:flex;flex-wrap:wrap;gap:16px;align-items:flex-start;margin:14px 0;background:transparent !important;border:0 !important;padding:0 !important}
.larp-test-image{width:180px;height:180px;object-fit:cover;border-radius:8px;border:2px solid #FFA500;display:block;flex:0 0 180px}
.larp-test-info{flex:1 1 320px;background:transparent !important;border:0 !important;padding:0 !important}
.larp-test-intro{color:#ccc;line-height:1.5;margin:0 0 8px 0}
.larp-test-meta{color:#bbb;font-size:13px;margin:0}
.larp-test-meta strong{color:#FFD700}
.larp-test-cooldown{background:#1A1A1A;border:1px solid #FFA500;border-radius:6px;padding:14px 18px;margin:14px 0}
.larp-test-cooldown p{color:#FFD700;margin:0 0 8px 0;font-size:14px}
.larp-test-form{margin:14px 0;background:transparent !important;border:0 !important;padding:0 !important;display:flex;flex-direction:column;gap:14px}
.larp-test-question{background:#1A1A1A;border:1px solid #2a2a2a;border-radius:6px;padding:12px 16px}
.larp-test-q-text{color:#ddd;line-height:1.5;margin:0 0 10px 0;font-size:14px}
.larp-test-q-text strong{color:#FFA500}
.larp-test-options{display:flex;flex-direction:column;gap:6px;background:transparent !important;border:0 !important;padding:0 !important;align-items:flex-start}
.larp-test-option{color:#ccc;font-size:13px;display:inline-flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:8px;cursor:pointer;padding:4px 6px;border-radius:3px;width:auto;max-width:100%}
.larp-test-option:hover{background:#222}
.larp-test-option input[type=radio]{accent-color:#FFA500;margin:0;flex:none;width:16px;height:16px}
.larp-test-result{background:#1A1A1A;border:1px solid #FFA500;border-radius:8px;padding:18px 22px;margin:14px 0}
.larp-test-result.passed{border-color:#FFA500}
.larp-test-result.failed{border-color:#FFA500}
.larp-test-result h2{margin:0 0 8px 0;font-size:18px;color:#FFA500}
.larp-test-result.passed h2{color:#FFA500}
.larp-test-result.failed h2{color:#FFA500}
.larp-test-score{color:#FFD700;font-size:16px;font-weight:700;margin:0 0 4px 0}
.larp-test-next{color:#bbb;font-size:13px;margin:0 0 12px 0}
.suggested-meta{margin-top:8px;display:flex;flex-direction:column;gap:4px;background:transparent !important;border:0 !important;padding:0 !important}
.inbox-exposition{margin:12px 0 4px 0;display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.inbox-filters-label{color:#FFDD44;font-size:13px;font-weight:600;align-self:center}
.inbox-vis-toggle{background:transparent !important;border:0 !important;padding:0 !important;display:inline-block}
.suggested-badge{display:inline-block;background:#FFA500;color:#000;padding:2px 8px;border-radius:4px;font-size:12px;font-weight:600;width:fit-content}
.peers-import-form{margin-top:16px;display:flex;flex-direction:column;gap:8px;align-items:flex-start}
.peers-import-form textarea{width:100%;max-width:720px;font-family:monospace;font-size:12px}
.peers-import-label{color:#FFDD44;font-size:13px;font-weight:600}
.graphos-canvas{width:100%;max-width:1100px;margin:12px auto;padding:8px;background:transparent}
.graphos-svg{width:100%;height:auto;min-height:480px;display:block}
.graphos-edge{stroke:#666;stroke-width:1;opacity:.55}
.graphos-edge-online{stroke:#2ecc71;stroke-width:2;opacity:.9}
.graphos-edge-discovered{stroke:#ffd700;stroke-width:1.5;opacity:.75}
.graphos-edge-unknown{stroke:#888;stroke-width:1;stroke-dasharray:4 4;opacity:.55}
.graphos-node-circle{stroke:#1a1a1a;stroke-width:2;transition:stroke-width .15s,filter .15s}
.graphos-node-circle-me{fill:#ffa500;stroke:#cc7700;stroke-width:3}
.graphos-node-circle-online{fill:#2ecc71;stroke:#1e8449}
.graphos-node-circle-discovered{fill:#ffd700;stroke:#b8860b}
.graphos-node-circle-unknown{fill:#888;stroke:#555}
.graphos-node-link{cursor:pointer;outline:none}
.graphos-node-link:hover .graphos-node-circle{stroke-width:4;filter:brightness(1.15)}
.graphos-node-link:hover .graphos-node-label{font-weight:600}
.graphos-node-label{font-size:12px;fill:#ddd;text-anchor:middle;pointer-events:none}
.graphos-node-label-me{font-weight:600;fill:#ffa500}
.graphos-legend{display:flex;gap:18px;flex-wrap:wrap;align-items:center;font-size:13px;color:#ddd;margin:0 0 8px}
.graphos-legend-item{display:flex;align-items:center;gap:6px}
.graphos-legend-dot{display:inline-block;width:12px;height:12px;border-radius:50%;border:2px solid #1a1a1a}
.graphos-legend-dot.graphos-node-circle-me{background:#ffa500;border-color:#cc7700}
.graphos-legend-dot.graphos-node-circle-online{background:#2ecc71;border-color:#1e8449}
.graphos-legend-dot.graphos-node-circle-discovered{background:#ffd700;border-color:#b8860b}
.graphos-legend-dot.graphos-node-circle-unknown{background:#888;border-color:#555}
.stats-kpi{padding:8px 4px;display:flex;flex-direction:column;gap:4px;background:transparent;border:none}
.stats-kpi-label{color:#ffa500;font-size:12px;font-weight:600;letter-spacing:.3px}
.stats-kpi-value{color:#ffd700;font-weight:600;font-size:22px;line-height:1.1;word-break:break-word}
.stats-kpi-bar{margin-top:6px}
.stats-activity-totals{display:flex;gap:24px;flex-wrap:wrap;color:#ffa500;font-size:13px;margin-top:8px}
.stats-activity-totals strong{color:#ffd700}
.stats-w-0{width:0%}.stats-w-5{width:5%}.stats-w-10{width:10%}.stats-w-15{width:15%}.stats-w-20{width:20%}.stats-w-25{width:25%}.stats-w-30{width:30%}.stats-w-35{width:35%}.stats-w-40{width:40%}.stats-w-45{width:45%}.stats-w-50{width:50%}.stats-w-55{width:55%}.stats-w-60{width:60%}.stats-w-65{width:65%}.stats-w-70{width:70%}.stats-w-75{width:75%}.stats-w-80{width:80%}.stats-w-85{width:85%}.stats-w-90{width:90%}.stats-w-95{width:95%}.stats-w-100{width:100%}
.profile-qr{display:flex;justify-content:center;align-items:center;margin:16px 0}
.profile-qr-img{display:block;max-width:240px;height:auto}
.inhabitant-qr-link{display:inline-block;margin:6px 0 8px;line-height:0}
.inhabitant-qr-small{display:block;width:96px;height:96px;background:#fff;padding:4px;border-radius:4px;image-rendering:pixelated}
.job-candidates{margin-top:24px;padding-top:16px;border-top:1px solid #333}
.job-candidates>h2{color:#ffa500;margin-bottom:4px}
.job-exchange-hint{color:#ffa500;font-style:italic;margin:4px 0 12px;font-size:13px}
.profile-visibility-table{margin:8px 0;border-collapse:collapse;width:auto;max-width:320px}
.profile-visibility-table td{padding:6px 8px;text-align:left;vertical-align:middle;border:none;background:transparent}
.profile-visibility-table tr,
.profile-visibility-table tr:nth-child(even),
.profile-visibility-table tr:nth-child(odd){background:transparent}
.profile-visibility-table label{cursor:pointer;background:transparent;color:inherit;font-size:inherit;font-weight:inherit;font-family:inherit}

.prefs-card{border:1px solid #2a2a2a;padding:14px 16px;margin:12px 0;background:#111}
.prefs-card .tags-header{margin:0 0 10px 0}
.prefs-card .tags-header h2{font-size:16px;color:#FFA500;margin:0 0 4px 0}
.prefs-help{color:#FFD700;font-size:12px;margin:0}
.pref-pill-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.pref-pill{display:inline-flex;align-items:center;border:1px solid #333;padding:6px 12px;cursor:pointer;background:#161616;color:#888;font-size:13px;user-select:none}
.pref-pill:hover{border-color:#555;color:#bbb}
.pref-pill-input{position:absolute;opacity:0;width:0;height:0;pointer-events:none}
.pref-pill-label{display:inline-block}
.pref-pill:has(.pref-pill-input:checked){background:#FFA500;border-color:#FFA500;color:#000;font-weight:600}
.pref-pill:has(.pref-pill-input:checked):hover{background:#FFD700;border-color:#FFD700;color:#000}
.pref-pill-forced,.pref-pill-forced:hover,.pref-pill:has(.pref-pill-input:checked).pref-pill-forced,.pref-pill:has(.pref-pill-input:checked).pref-pill-forced:hover{background:#c0392b !important;border-color:#c0392b !important;color:#fff !important;font-weight:600;cursor:not-allowed}

.profile-layout{align-items:flex-start}
.profile-layout .tribe-side,
.profile-layout .tribe-main{background:transparent}
.profile-layout-single{display:flex;justify-content:center;padding:24px 0;gap:24px}
.profile-layout-single .profile-side{width:560px;max-width:100%;flex:0 0 auto}
.profile-side{align-items:center;text-align:center}
.profile-side-header{display:flex;flex-direction:column;align-items:center;gap:6px;width:100%}
.profile-side .inhabitant-photo-details{width:160px !important;height:160px !important;max-width:160px !important;object-fit:cover;border:2px solid #ff9800;background:transparent}
.profile-side-name{font-size:20px;margin:0;color:#FFD700;word-break:break-word}
.profile-side-mention{font-family:monospace;font-size:12px;color:#FFD700;word-break:break-all;overflow-wrap:anywhere;margin:6px 0 8px 0;line-height:1.5;align-self:stretch;width:100%;max-width:100%;box-sizing:border-box;text-align:center}
.profile-side-mention a{color:#FFD700;text-decoration:none}
.profile-side-mention strong{color:#FFD700;font-weight:700}
.profile-side-description{color:#ddd;font-size:13px;line-height:1.5;margin:0;word-break:break-word;background:transparent;padding:0;border:none;text-align:left}
.profile-side-description p{margin:0 0 6px 0}
.profile-side-description ul,.profile-side-description ol{margin:6px 0;padding-left:20px}
.profile-side-description li{margin:2px 0}
.profile-side-qr{width:160px;height:160px;background:#fff;padding:6px;display:block;margin:0 auto}
.profile-side-relationship{margin:0}
.profile-side-relationship .status{display:inline-block;margin:0 2px}
.profile-side-actions,
.profile-sensors-box{
  display:flex;
  flex-direction:column;
  gap:6px;
  align-items:stretch;
  margin:12px 0;
  background:transparent;
  border:none;
  padding:0;
  width:100%;
}
.inhabitant-stats-box{
  margin:12px 0;
  width:100%;
  border:none !important;
  background:none !important;
  padding:0 !important;
  box-shadow:none !important;
}
.inhabitant-stats-title{
  display:block;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.04em;
  font-size:13px;
  opacity:.85;
  margin-bottom:8px;
}
.inhabitant-stats-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(120px,1fr));
  gap:6px;
}
.inhabitant-stat{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:8px;
  padding:5px 10px;
  border:1px solid rgba(128,128,128,.35);
  border-radius:6px;
}
.inhabitant-stat-label{
  font-size:12px;
  opacity:.85;
}
.inhabitant-stat-value{
  font-weight:700;
}
.profile-side-actions .btn{
  background-color:#FFA500;
  color:#000;
  padding:8px 16px;
  text-align:center;
  text-decoration:none;
  border:none;
  cursor:pointer;
  font-family:inherit;
  font-size:inherit;
  display:inline-block;
}
.profile-side-actions .btn:hover{background-color:#FFD700;color:#000;text-decoration:none}
.profile-sensors-box .inhabitant-activity-group,
.inhabitant-left .inhabitant-activity-group,
.inhabitant-left .inhabitant-karma-ubi{display:flex;flex-direction:column;gap:6px;margin-top:0;align-items:stretch;border:none;background:transparent;padding:0}
.inhabitant-left>a:first-child{margin-bottom:14px}
.profile-sensors-box .inhabitant-last-activity,
.profile-sensors-box .karma-line,
.profile-sensors-box .ubi-line,
.profile-sensors-box .gpg-line,
.inhabitant-left .inhabitant-last-activity,
.inhabitant-left .karma-line,
.inhabitant-left .ubi-line,
.inhabitant-left .gpg-line{
  display:flex;
  gap:6px;
  align-items:center;
  justify-content:center;
  padding:0.2rem 0.6rem;
  border:1px solid #555;
  border-radius:4px;
  background-color:#1A1A1A;
  font-size:0.9rem;
  color:#FFDD44;
  margin:0;
}
.profile-sensors-box .inhabitant-last-activity strong,
.profile-sensors-box .karma-line strong,
.profile-sensors-box .ubi-line strong,
.profile-sensors-box .gpg-line strong,
.inhabitant-left .inhabitant-last-activity strong,
.inhabitant-left .karma-line strong,
.inhabitant-left .ubi-line strong,
.inhabitant-left .gpg-line strong{color:#FFDD44}
.profile-sensors-box .inhabitant-last-activity a,
.profile-sensors-box .karma-line a,
.profile-sensors-box .ubi-line a,
.profile-sensors-box .gpg-line a,
.inhabitant-left .inhabitant-last-activity a,
.inhabitant-left .karma-line a,
.inhabitant-left .ubi-line a,
.inhabitant-left .gpg-line a{color:#FFDD44;text-decoration:none}
a.chip-link{text-decoration:none;display:inline-block}
a.chip-link:hover .pm-exposition-chip{filter:brightness(1.2)}
.gpg-edit-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:4px}
.gpg-edit-row .gpg-remove-btn{background:transparent;border:1px solid #FF6B6B;color:#FF6B6B;cursor:pointer;padding:4px 10px;border-radius:4px;font-family:inherit;font-size:0.9rem}
.gpg-edit-row .gpg-remove-btn:hover{background:#FF6B6B;color:#000}
.profile-sensors-box .inhabitant-last-activity a:hover,
.profile-sensors-box .karma-line a:hover,
.profile-sensors-box .ubi-line a:hover,
.profile-sensors-box .gpg-line a:hover,
.inhabitant-left .inhabitant-last-activity a:hover,
.inhabitant-left .karma-line a:hover,
.inhabitant-left .ubi-line a:hover,
.inhabitant-left .gpg-line a:hover{color:#ffa500;text-decoration:underline}
.profile-main{gap:12px}
.profile-module-section{display:flex;flex-direction:column;gap:12px;margin:0 0 12px 0}
.tribe-invite-code-input{width:100%;max-width:680px;padding:10px 12px;font-family:monospace;font-size:14px;letter-spacing:1px;background:#1a1a1a;color:#ffd700;border:1px solid #555;border-radius:4px;margin:12px 0}
.pad-author-cell,.tribe-author-cell{width:100%}
.pad-author-cell a.user-link,.tribe-author-cell a.user-link{display:block;width:100%;box-sizing:border-box;text-align:center;padding:8px 12px}

.search-filters-table{margin:12px 0;border-collapse:collapse;width:auto;max-width:680px}
.search-filters-table tr,
.search-filters-table tr:nth-child(even),
.search-filters-table tr:nth-child(odd){background:transparent}
.search-filters-table td{padding:6px 10px;border:none;vertical-align:middle;background:transparent}
.search-filters-table td.card-label{white-space:nowrap;font-weight:600;color:#ffa500}
.search-filters-table input[type="datetime-local"],
.search-filters-table input.search-oasis-id{min-width:280px}
.transfer-category-select{width:auto;min-width:160px;max-width:200px;padding:6px 10px}
.spread-row{margin:8px 0;display:flex;justify-content:flex-start}
.spread-form{display:inline-block}
.spread-btn{cursor:pointer;font:inherit;padding:4px 10px;border:1px solid #555;border-radius:4px;background:#1a1a1a;color:#ffa500;font-size:14px}
.spread-btn:hover{background:#2a2a2a;border-color:#ffa500}
.spread-btn-on{background:#ffa500;color:#1a1a1a;border-color:#ff7300}
.spread-btn-on:hover{background:#ffb733;color:#000}
.welcome-header{margin-bottom:18px}
.welcome-chat{max-width:760px;margin:0 auto;padding:8px}
.welcome-ai-header{display:flex;align-items:center;gap:10px;margin-bottom:10px;color:#ffa500;font-weight:600}
.welcome-ai-avatar{font-size:24px}
.welcome-ai-name{font-size:16px}
.welcome-ai-step{margin-left:auto;font-size:12px;color:#888}
.welcome-bubble{background:#1a1a1a;border:1px solid #333;border-radius:12px;padding:14px 18px;margin-bottom:14px;line-height:1.5}
.welcome-bubble-ai{border-left:3px solid #ffa500}
.welcome-bubble-title{margin:0 0 8px;color:#ffd700;font-size:18px}
.welcome-bubble p{margin:6px 0;color:#ddd}
.welcome-actions{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0;justify-content:flex-end}
.welcome-action-primary{background:#ff6600;color:#fff;border-color:#ff3300}
.welcome-progress{display:flex;justify-content:center;gap:10px;margin:18px 0 6px}
.welcome-dot{font-size:14px;color:#444;text-decoration:none}
.welcome-dot-active{color:#ffa500}
.welcome-skip{text-align:center;margin-top:6px}
.welcome-skip-link{color:#666;font-size:12px}
.indexing-progress-block{max-width:640px;margin:24px auto;text-align:center}
.indexing-progress{width:100%;height:18px}
.indexing-percent{margin:8px 0 4px;font-size:22px;color:#ffd700}
.indexing-note{color:#888;font-size:12px;margin:0}
.indexing-detail{max-width:720px;margin:24px auto;color:#ddd;line-height:1.55}
.indexing-detail p{margin:10px 0}
.indexing-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin:24px 0}
.search-filters-row{display:flex;gap:32px;flex-wrap:wrap;align-items:flex-start}
.search-filters-row .search-filters-table{flex:1 1 320px}
.search-submit-cell{padding-top:8px}
.search-submit-cell button{padding:6px 16px}
.search-submit-row{margin-top:12px;display:flex;justify-content:flex-start}
.search-submit-row button{padding:8px 18px}
.pm-exposition{display:flex;border:0;}
.pm-exposition-label{color:#ffa500;font-weight:600;font-size:13px;text-transform:uppercase;letter-spacing:0.5px}
.pm-exposition-chip{display:inline-flex;align-items:center;gap:4px;border-radius:10px;font-size:12px;font-weight:600;border:1px solid;padding:2px 8px}
.pm-exposition-whole{background:#3a2300;color:#ffd700;border-color:#a39134}
.pm-exposition-mutuals{background:#1a3a1a;color:#7fff7f;border-color:#3a7f4c}
.pm-exposition-encrypted{background:#0e3320;color:#7fff7f;border-color:#3a7f4c}
.pm-double-enc-chip{background:#2a1633;border-color:#7a4b9c}
.pm-double-enc-chip,.pm-double-enc-chip .pm-exposition-icon,.pm-double-enc-chip .pm-exposition-text{color:#d59bff}
.pm-exposition-closed{background:#3a0e0e;color:#ff8a8a;border-color:#b04040}
.pm-exposition-hidden{background:#1f2533;color:#9fb3d1;border-color:#46557a}
.shop-orders-badge{color:#2ecc71;font-weight:700;margin-left:4px}
.pm-exposition-lifespan-green{background:#0e2a16;color:#9aff9a;border-color:#3a7f4c}
.pm-exposition-lifespan-orange{background:#2a1f10;color:#ffb84d;border-color:#a37a34}
.pm-exposition-lifespan-red{background:#2a0e0e;color:#ff7f7f;border-color:#b04040}
.jobs-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(360px,1fr));gap:20px}
.jobs-grid .tribe-card,.tribe-grid .tribe-card{margin-bottom:0}
.tribe-card .card-comments-summary{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:8px}
.tribe-card .card-comments-summary .inline-form{margin:0}
.jobs-info-table{table-layout:auto}
.jobs-info-table .tribe-info-label{width:1%;white-space:nowrap}
.jobs-info-table .tribe-info-value{white-space:normal;word-break:normal;overflow-wrap:anywhere}
.job-section{margin-bottom:12px;padding:0}
.job-section-title{margin:0 0 8px 0;color:#ffa500;font-size:1.05em}
.job-card .tribe-card-members{background:transparent;padding:4px 0;text-align:left}
.job-card .card-field{border-bottom:none}
.job-card .confirmations-block{margin:6px 0}
.job-meta-line{margin:0;color:#9aa3b2;font-size:12px;letter-spacing:1px;text-transform:uppercase}
.job-price-line{margin:0;font-size:18px;font-weight:700;font-family:'JetBrains Mono',monospace}
.job-card-view-btn{margin-top:8px}
.job-card-view-btn form{margin:0}
.vote-comments-section,.comments-count,.comment-form-wrapper,.comments-list,.vote-buttons-block,.vote-buttons-row,.voting-buttons,.vote-table{border:none;background:transparent;padding:0;margin:0}
.vote-buttons-block{display:flex;flex-direction:column;gap:8px}
.vote-buttons-row{display:flex;gap:8px;flex-wrap:wrap}
.voting-buttons{display:flex;gap:10px;margin-top:10px;flex-wrap:wrap}
.vote-comments-section{margin-top:16px}
.comment-form-wrapper{margin-top:12px}
.comments-list{margin-top:12px}
.comments-count{margin-bottom:8px}
.title-with-chip{display:flex;align-items:center;gap:10px;flex-wrap:wrap;background:transparent !important;border:0 !important;padding:0 !important}
.title-with-chip h2{margin:0}
.pm-exposition-icon{font-size:14px;line-height:1}
.pm-exposition-text{line-height:1;}
.shop-title-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:6px;padding:0;background:transparent;border-radius:0;box-shadow:none}
.shop-title-row h2{margin:0}
.card-chips-row{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 10px 0;padding:0;border:none;background:transparent;border-radius:0;box-shadow:none}
.tribe-card-body .job-price-line,.tribe-card-body .job-meta-line,.tribe-card-body .job-card-view-btn,.tribe-card-body .card-comments-summary,.tribe-card-body .tribe-card-members{padding:0;background:transparent;border-radius:0;box-shadow:none;border:none}
.tribe-card-body .job-price-line{margin:4px 0}
.tribe-card-body .job-card-view-btn{margin-top:8px;margin-bottom:0}
.transfer-block-card{border:none;background:transparent;padding:0;margin:0 0 12px 0}
.tribe-main .job-section{border:none;background:transparent}
.profile-reach{display:flex;flex-direction:column;align-items:center;gap:8px;margin:12px 0;text-align:center;border:none !important;background:none !important}
.profile-reach .shop-clearnet-url{margin:0;text-align:center;border:none !important;background:none !important}
.profile-reach-toggle{margin:0}
.profile-reach-toggle .btn{
  background-color:#FFA500;
  color:#000;
  padding:8px 16px;
  border-radius:5px;
  text-align:center;
  text-decoration:none;
  border:none;
  cursor:pointer;
  font-family:inherit;
  font-size:inherit;
}
.profile-reach-toggle .btn:hover{background-color:#FFD700}

/* Unified item card aesthetic — applied to per-module containers that previously had no card styling. Existing rules (.market-card, .feed-card, .tribe-card, etc.) keep their own look via cascade. */
.card,
.card-section,
.event-card,
.job-card,
.task-card,
.transfer-card,
.project-card,
.report-card,
.vote-card,
.ai-nav-result-card,
.forum-card,
.calendar-card,
.game-card,
.game-score-card,
.bookmark-card,
.audio-card,
.video-card,
.image-card,
.document-card,
.torrent-card,
.chat-card,
.opinions-card,
.post-card,
.map-card,
.mention-card,
.trending-card,
.bank-claim-card,
.addr-list-card,
.shop-product-card,
.cv-item,
.transfer-item,
.bounty-item,
.calendar-date-item,
.evidence-item,
.settlement-item,
.thread-reply-item {
  background: #1c1c1c;
  border: 1px solid #444;
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.35);
}
.card-section .card-section,
.event-card .card-section,
.job-card .card-section,
.transfer-card .card-section,
.project-card .card-section {
  margin-bottom: 8px;
  padding: 10px 12px;
  background: #232323;
  border-color: #3a3a3a;
}
.card>.card-footer,
.card-section>.card-footer,
.event-card>.card-footer,
.job-card>.card-footer,
.task-card>.card-footer,
.transfer-card>.card-footer,
.project-card>.card-footer,
.vote-card>.card-footer {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid #333;
  font-size: 13px;
  color: #aaa;
}
.tribe-details .card-footer,
.tribe-main>.card-footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.tribe-details .card-footer .date-link,
.tribe-main>.card-footer .date-link { margin-left: 0; }

.rules-points { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.rules-point {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid #333;
  border-left: 3px solid #ff6600;
  border-radius: 6px;
  line-height: 1.5;
}
.rules-point-num {
  flex: 0 0 auto;
  min-width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: #ff6600;
  color: #fff;
  font-weight: bold;
  font-size: 0.85em;
}
.rules-point-text { flex: 1 1 auto; }

.parliament-leader-avatar,
.leader-table__avatar,
.avatar--lg {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}
.candidature-voters { display: flex; flex-direction: column; gap: 2px; margin-top: 6px; }
.candidature-voter { font-size: 0.85em; }
.candidature-votes-count { font-weight: bold; }
.parliament-method-img { width: 160px; height: 160px; object-fit: contain; display: block; margin: -12px auto 0; vertical-align: middle; }
.parliament-method-col { vertical-align: middle !important; }
.parliament-avatar-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
}
.parliament-avatar-name {
  font-size: 0.9em;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}
.parliament-avatar-cell a,
.parliament-avatar-name a {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
}
.parliament-gov-table td, .parliament-gov-table th,
.parliament-actor-table td, .parliament-actor-table th,
.table--centered td, .table--centered th,
.gov-overview td, .gov-overview th { text-align: center !important; vertical-align: middle; }
.parliament-gov-table td, .parliament-gov-table th,
.parliament-gov-table td:first-child,
.gov-overview td:first-child { background: none !important; border: none !important; }

.graphos-backbar { margin: 24px 0; }
.graphos-focus-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
}
.graphos-focus-label { font-weight: bold; }
.graphos-cap-note { opacity: 0.75; font-size: 0.9em; margin: 4px 0 0; }
.graphos-node-link { cursor: pointer; }
.card-fields-container { display:flex; flex-direction:column; gap:0; }

/* Table-like layout for label/value pairs inside item cards. Two-column grid: label fixed, value flexible, subtle row separator. */
.card .card-field,
.card-section .card-field,
.card-fields-container .card-field,
.event-card .card-field,
.job-card .card-field,
.task-card .card-field,
.transfer-card .card-field,
.project-card .card-field,
.report-card .card-field,
.vote-card .card-field,
.forum-card .card-field,
.tribe-card .card-field,
.tribe-content-card .card-field,
.calendar-card .card-field,
.game-card .card-field,
.game-score-card .card-field,
.bookmark-card .card-field,
.audio-card .card-field,
.video-card .card-field,
.image-card .card-field,
.document-card .card-field,
.torrent-card .card-field,
.chat-card .card-field,
.opinions-card .card-field,
.post-card .card-field,
.map-card .card-field,
.mention-card .card-field,
.trending-card .card-field,
.bank-claim-card .card-field,
.shop-product-card .card-field,
.cv-item .card-field,
.transfer-item .card-field {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 10px;
  padding: 4px 0;
  margin: 0;
  border-bottom: 1px solid #2a2a2a;
  align-items: baseline;
}
.card .card-field:last-child,
.card-section .card-field:last-child,
.card-fields-container .card-field:last-child,
.event-card .card-field:last-child,
.job-card .card-field:last-child,
.task-card .card-field:last-child,
.transfer-card .card-field:last-child,
.project-card .card-field:last-child,
.report-card .card-field:last-child,
.vote-card .card-field:last-child,
.forum-card .card-field:last-child,
.tribe-card .card-field:last-child,
.calendar-card .card-field:last-child,
.bookmark-card .card-field:last-child,
.audio-card .card-field:last-child,
.video-card .card-field:last-child,
.image-card .card-field:last-child,
.document-card .card-field:last-child,
.torrent-card .card-field:last-child,
.chat-card .card-field:last-child,
.cv-item .card-field:last-child,
.transfer-item .card-field:last-child {
  border-bottom: none;
}
.card .card-field-stacked,
.card-section .card-field-stacked,
.event-card .card-field-stacked,
.job-card .card-field-stacked,
.project-card .card-field-stacked,
.report-card .card-field-stacked,
.tribe-card .card-field-stacked {
  grid-template-columns: 1fr;
  gap: 4px;
}

.ai-approve-block{display:flex;flex-direction:column;gap:8px;width:100%}
.ai-approve-form{display:flex;flex-direction:column;gap:6px;background:transparent !important;border:0 !important;padding:0 !important}
.ai-approve-meta{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.ai-approve-meta-label{color:#FFA500;font-size:12px}
.ai-approve-meta input[type="text"]{flex:1 1 240px;padding:4px 8px}
.ai-approve-meta select{padding:4px 8px}
.ai-approve-custom{width:100%;font-family:inherit}
.ai-approve-actions{display:flex;justify-content:flex-start}
.ai-approve-reject{background:transparent !important;border:0 !important;padding:0 !important;margin:0}
.approve-btn{background:#1e7e34;color:#fff;border:none;padding:0.45em 0.9em;border-radius:6px;cursor:pointer}
.reject-btn{background:#a71d2a;color:#fff;border:none;padding:0.45em 0.9em;border-radius:6px;cursor:pointer}
.ai-exchange-tag{display:inline-block;padding:1px 6px;margin-right:4px;background:#222;color:#FFD700;border-radius:8px;font-size:11px}
.ai-exchange-vote-form{display:inline-block;margin-left:8px;background:transparent !important;border:0 !important;padding:0 !important}
.shop-title-row,.card-chips-row,.card-tags,.tribe-card-image-wrapper,.tribe-visit-btn-wrapper,.bookmark-topbar,.bookmark-topbar-left,.bookmark-topbar-right,.bookmark-actions{border:0 !important;background:transparent !important}
.bookmark-topbar-right{display:flex;align-items:center;gap:10px}
.trending-card .bookmark-topbar div,.trending-card .bookmark-topbar form{border:0 !important;background:transparent !important;box-shadow:none !important;margin:0;padding:0}
.trending-card .bookmark-topbar{align-items:center}
.trending-card .bookmark-topbar button{margin:0;padding:8px 14px;font-size:14px;line-height:1.2}
.bookmark-actions .delete-btn{border:1px solid #d9534f;color:#d9534f;background:transparent}
.bookmark-actions .delete-btn:hover{background:#d9534f;color:#000}
.card-date-highlight{color:#ffd740;font-size:18px;font-weight:700;margin:6px 0;letter-spacing:.5px;background:transparent !important;border:0 !important;padding:0 !important}
.vote-buttons-row-single{display:flex;flex-wrap:wrap;gap:6px;background:transparent !important;border:0 !important;padding:0 !important}
.vote-buttons-row-single form{margin:0;display:inline-block}
.card-visit-btn-centered{display:flex;justify-content:center;margin-top:10px;background:transparent !important;border:0 !important;padding:0 !important}
.card-visit-btn-centered form{margin:0}
.tribe-card-body .voting-buttons{padding:0;background:transparent !important;border:0 !important;margin:8px 0 0 0}
.card-assigned-list{display:flex;flex-direction:column;gap:4px;background:transparent !important;border:0 !important;padding:0 !important;margin:6px 0}
.card-assigned-list a{display:block}
.audio-detail-chip-row{display:flex;justify-content:flex-start;align-items:center;margin:0 0 6px 0;background:transparent !important;border:0 !important;padding:0 !important}
.audio-detail-tags{background:transparent !important;border:0 !important;padding:0 !important;margin:8px 0}
.audio-detail-replicate{background:transparent !important;border:0 !important;padding:0 !important;margin:8px 0}
.card-spread-centered,.spread-row{display:flex;justify-content:center;background:transparent !important;border:0 !important;padding:0 !important;margin:8px 0}
.card-spread-centered form,.spread-row form{margin:0}
.card-spread-left{display:flex;justify-content:flex-start;background:transparent !important;border:0 !important;padding:0 !important;margin:8px 0}
.card-spread-left form{margin:0}
.progress-block,.confirmations-block{border:0 !important;background:transparent !important;padding:0 !important;margin:8px 0}
.trending-card{background:#2c2f33;border-radius:8px;padding:16px 16px 24px;border:1px solid #444;margin-bottom:16px}
.trending-card>.card-footer{margin-top:14px;padding-top:10px;border-top:1px solid #333;font-size:13px;color:#aaa;margin-bottom:0}
.trending-card>.card-section{padding:16px 18px 22px;margin-bottom:14px}
.trending-card>.card-section>:last-child{margin-bottom:0}
.activity-card-header{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:10px;border:none;background:transparent;padding:0}
.activity-card-header .card-chips-row{margin:0}
.content-actions{display:flex;justify-content:right;align-items:center;gap:12px;flex-wrap:wrap;border:none;background:transparent;padding:0}
.trending-card.own-content{box-shadow:inset 3px 0 0 #ffa300}
.trending-dominant-sep{margin:0 8px;opacity:0.5}
.trending-dominant-text,.trending-total-count{font-weight:700}
.comment-file-upload{display:flex;flex-direction:column;align-items:flex-start;gap:6px;background:transparent !important;border:0 !important;padding:0 !important;margin:8px 0}
.comment-file-upload label{display:block}
.comment-file-upload input[type=file]{display:block}

.post-preview .image-container{max-width:100%;overflow:hidden;display:block;margin:0 auto}
div .header-content{width:100%}
::-webkit-scrollbar{width:10px}
::-webkit-scrollbar-thumb{border-radius:10px}
.action-container{padding:10px;border-radius:8px;border-width:1px;border-style:solid}
.card{border-radius:16px;padding:0 24px 10px 24px;margin-bottom:16px;font-family:inherit}
.card-section{border:none;padding:10px 0 0 16px}
.card-header{display:flex;justify-content:space-between;align-items:center;padding-bottom:0;margin-top:8px;padding-top:0;border:none}
.card-label{font-weight:bold;letter-spacing:1.5px;line-height:1.2;margin-bottom:0}
.card-footer{margin-top:6px;font-weight:500;font-size:1.07em;display:flex;align-items:center;gap:8px;background:none;border:none;padding-top:0}
.card-body{margin-top:0;padding:0}
.card-field{display:flex;align-items:baseline;padding:0;margin-bottom:0;border:none;background:none}
.card-tags{margin:5px 0 3px 0;display:flex;flex-wrap:wrap;gap:9px}
.card-tags a.tag-link{text-decoration:none;padding:5px 13px 4px 13px;border-radius:7px;font-size:.98em;border:none;font-weight:bold}
a.user-link{padding:8px 16px;border-radius:5px;text-align:center;font-weight:bold;text-decoration:none;display:inline-block;border:2px solid transparent;font-size:.8em}
.date-link{padding:8px 16px;border-radius:5px;margin-left:8px}
.activitySpreadInhabitant2,.activityVotePost{padding:8px 16px;border-radius:5px;font-weight:bold;text-decoration:none;display:inline-block;border:2px solid transparent}
.danger-btn,.delete-btn{border:1px solid #d9534f;color:#d9534f;background:transparent}
.danger-btn:hover,.delete-btn:hover{background:#d9534f;color:#000}
.pm-fileshare-form-wrap{margin-top:16px}
.pm-fileshare-form input[type=file]{display:block;margin:10px 0 15px}
.pm-fileshare-info{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:8px 0}
.pm-fileshare-icon{font-size:1.2em}
.pm-fileshare-name{font-weight:bold;word-break:break-all}
.pm-fileshare-meta{font-size:.85em;opacity:.75}
.pm-fileshare-download-form{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:8px;border:0;background:transparent;padding:0}
.pm-fileshare-download{text-decoration:none;display:inline-block}
.industry-form{margin:0 auto}
.industry-governance{margin-top:16px}
.industry-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:12px 0}
.industry-build-vote{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.industry-estimate,.industry-materials,.industry-blueprint-meta,.industry-meta{border:none;background:transparent;padding:0;box-shadow:none;border-radius:0;margin:8px 0}
.industry-estimate p{margin:2px 0}
.industry-estimate-total{font-weight:700;margin-top:6px}
.industry-section{margin-top:20px}
.industry-applicants,.industry-members-list{list-style:none;padding:0;margin:8px 0}
.industry-applicants li,.industry-members-list li{padding:6px 0;display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.industry-vote-form,.industry-invite-form{display:flex;flex-wrap:wrap;gap:6px;align-items:center;border:0;background:transparent;padding:0}
.industry-invite-form input{flex:1 1 240px}
.industry-vote-count{opacity:.85}
.industry-hint{opacity:.75;font-style:italic}
.industry-meta{margin:12px 0}
.industry-meta p{margin:4px 0}
.industry-meta-label{font-weight:bold}
.industry-card-desc,.industry-detail-desc{margin:8px 0}
.industry-side-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.search-industry .card-field{margin:4px 0}
.industry-form select,.industry-form input[type="number"],.industry-form input[type="file"],.industry-form input[type="date"]{margin-bottom:15px}
.industry-form-media,.industry-detail-media{margin:8px 0}
.industry-hero-image,.tribe-card-hero-image{max-width:100%;height:auto;border-radius:6px}
.industry-search{margin:8px 0}
.industry-card-noimage{display:flex;align-items:center;justify-content:center;min-height:120px;font-size:48px;opacity:.5}
.industry-bot-notification .pm-title{margin-top:4px}
.industry-table{width:100%;border-collapse:collapse;margin:8px 0}
.industry-table th,.industry-table td{text-align:left;padding:6px 8px;border-bottom:1px solid rgba(128,128,128,.3)}
.industry-contrib-form{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin:6px 0}
.industry-contrib-form-single label{display:block;margin:10px 0 4px 0}
.industry-contrib-form-single input,.industry-contrib-form-single textarea,.industry-contrib-form-single select{width:100%;box-sizing:border-box;display:block;margin:0}
.industry-contrib-form-single .industry-input-num{width:auto;max-width:220px}
.industry-contrib-form-single button{margin-top:14px}
.industry-contrib-kind{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:0 0 6px 0;border:none;background:transparent;padding:0;box-shadow:none}
.industry-contrib-kind label{margin:0}
.industry-contrib-kind select{width:auto;min-width:190px;margin:0;height:38px;box-sizing:border-box}
.industry-contrib-kind button{margin:0;height:38px;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center}
.industry-blueprint-card{border:1px solid rgba(128,128,128,.3);border-radius:6px;padding:10px;margin:8px 0}
.industry-card-wrap{position:relative;border:1px solid rgba(128,128,128,.3);border-radius:6px;padding:10px;margin:8px 0;background:transparent;box-shadow:none}
.industry-card-wrap .industry-blueprint-card{border:none;background:transparent;padding:0;margin:0;box-shadow:none;border-radius:0}
.industry-card-wrap > .card-header{position:absolute;top:8px;right:10px;margin:0;padding:0;border:none;background:transparent;box-shadow:none;z-index:1}
.industry-card-wrap > .card-header > span:empty{display:none}
.industry-card-wrap > .industry-blueprint-card{padding:0 96px 0 0}
.industry-actions form,.industry-actions .project-control-form--status{margin:0;padding:0;border:none;background:transparent;display:flex;align-items:center;gap:10px}
.industry-actions .project-control-select,.industry-actions .project-control-btn,.industry-actions select,.industry-actions button{margin:0}
.industry-actions button,.industry-actions .project-control-select{display:inline-flex;align-items:center;justify-content:center;height:38px;box-sizing:border-box}
.card-chips-row .spread-form{margin:0;padding:0;border:none;background:transparent;display:flex;align-items:center}
.card-chips-row .spread-form .spread-btn{margin:0}
.industry-build-notes{margin:22px 0}
.industry-dates-row{border:none;background:transparent;padding:0;box-shadow:none;border-radius:0;margin:8px 0}
.industry-dates-row p{margin:0}
.dev-breadcrumb,.dev-stats,.dev-file-meta,.dev-file-head,.dev-listing,.dev-pager,.dev-actions,.dev-result-text,.dev-result-head,.dev-desktop{border:none;background:transparent;padding:0;box-shadow:none;border-radius:0}
.dev-stats{margin:12px 0}
.dev-stats p,.dev-file-meta p{margin:4px 0;line-height:1.9}
.dev-label{font-weight:bold}
.dev-sep{opacity:.45}
.dev-hint{opacity:.75;font-style:italic}
.dev-breadcrumb{margin:14px 0;word-break:break-all}
.dev-breadcrumb-sep{opacity:.45}
.dev-breadcrumb-current{font-weight:bold}
.dev-desktop{display:grid;grid-template-columns:repeat(auto-fill,minmax(118px,1fr));gap:12px;margin:16px 0}
.dev-icon{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;text-align:center;gap:5px;padding:12px 6px;border:1px solid rgba(128,128,128,.28);border-radius:8px;text-decoration:none;word-break:break-word;min-height:104px}
.dev-icon:hover{border-color:rgba(128,128,128,.7)}
.dev-icon-glyph{font-size:30px;line-height:1}
.dev-icon-name{font-size:.9em;line-height:1.25}
.dev-icon-meta{font-size:.76em;opacity:.6}
.dev-icon-off{opacity:.5;cursor:default}
.dev-icon-off:hover{border-color:rgba(128,128,128,.28)}
.dev-file-head{display:flex;align-items:center;gap:10px;margin:14px 0 4px 0}
.dev-file-glyph{font-size:26px}
.dev-file-name{margin:0;word-break:break-all}
.dev-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:14px 0}
.dev-actions form{margin:0;padding:0;border:none;background:transparent}
.dev-actions button{margin:0}
.dev-code{overflow-x:auto;border:1px solid rgba(128,128,128,.3);border-radius:6px;padding:8px;margin:12px 0}
.dev-code-table{border-collapse:collapse;width:100%}
.dev-code-num a{text-decoration:none}
.dev-code-line pre{margin:0;white-space:pre}
.dev-code-line code{font-family:monospace;font-size:.92em}
.dev-pager{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}
.dev-list{list-style:none;padding:0;margin:14px 0}
.dev-entry{padding:9px 0;border-bottom:1px solid rgba(128,128,128,.2);word-break:break-all}
.dev-result-head{display:flex;align-items:center;gap:8px}
.dev-result-glyph{font-size:18px}
.dev-result-text{margin:5px 0 0 26px;overflow-x:auto}
.dev-result-text pre{margin:0}
.dev-table{width:100%;border-collapse:collapse;margin:8px 0}
.dev-table th,.dev-table td{text-align:left;padding:6px 8px;border-bottom:1px solid rgba(128,128,128,.3);word-break:break-all}
.filters .dev-toolbar{border:none !important;background:transparent !important;padding:0 !important;margin:0 !important;box-shadow:none !important;border-radius:0 !important}
.dev-search{border:none !important;background:transparent !important;padding:0 !important;box-shadow:none !important;border-radius:0 !important;margin:14px 0}
.dev-search .filter-box{margin:0}
.dev-search .filter-box__controls{border:none !important;background:transparent !important;padding:0 !important;box-shadow:none !important;border-radius:0 !important;margin-top:12px;display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.dev-search .filter-box__select{width:auto;min-width:170px;margin:0;height:38px}
.dev-search .filter-btn{margin:0;height:38px;padding:0 20px;display:inline-flex;align-items:center;justify-content:center}
.dev-code-row td{border:none;vertical-align:top}
.dev-code-num{text-align:right;padding:0 14px 0 4px;width:1%;min-width:52px;white-space:nowrap;opacity:.5;user-select:none;border-right:1px solid rgba(128,128,128,.25) !important}
.dev-code-line{padding-left:16px}
.welcome-banner .update-banner-icon{animation:none}
.welcome-banner .welcome-banner-close{margin:0;padding:0;border:none;background:transparent;box-shadow:none;display:inline-flex;align-items:center}
.welcome-banner-close-btn{background:transparent;border:none;color:inherit;cursor:pointer;font-size:1em;line-height:1;padding:0 4px;margin:0;opacity:.6}
.welcome-banner-close-btn:hover{opacity:1}
.welcome-progress,.welcome-steps,.welcome-complete,.welcome-footer,.welcome-action,.welcome-step-head{border:none !important;background:transparent !important;padding:0 !important;box-shadow:none !important;border-radius:0 !important}
.welcome-progress{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin:12px 0}
.welcome-progress p{margin:0}
.welcome-progress form{margin:0;padding:0;border:none;background:transparent}
.welcome-progress-label{font-weight:bold}
.welcome-optional{opacity:.75;font-style:italic;margin:0 0 18px 0}
.welcome-steps{display:flex;flex-direction:column;gap:14px;margin:16px 0}
.welcome-step{border:1px solid rgba(128,128,128,.3) !important;border-radius:8px;padding:14px 16px !important;margin:0}
.welcome-step-done{opacity:.72}
.welcome-step-head{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:0 0 6px 0}
.welcome-step-number{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:50%;border:1px solid rgba(128,128,128,.5);font-size:.85em;flex:0 0 auto}
.welcome-step-title{margin:0;font-size:1.05em}
.welcome-step-text{margin:0 0 12px 0}
.welcome-chip{border:1px solid rgba(128,128,128,.4);border-radius:12px;padding:2px 10px;font-size:.78em;opacity:.8}
.welcome-chip-done{opacity:1;font-weight:bold}
.welcome-action{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:0}
.welcome-action form,.welcome-language-form{margin:0;padding:0;border:none;background:transparent}
.welcome-language-form select{width:auto;min-width:170px;height:38px;box-sizing:border-box;margin:0}
.welcome-action .filter-btn{margin:0;height:38px;padding:0 20px;display:inline-flex;align-items:center;justify-content:center}
.welcome-complete{margin:16px 0}
.welcome-footer{margin:20px 0 0 0}
.welcome-footer form{margin:0;padding:0;border:none;background:transparent}
.welcome-profile-form,.welcome-greeting-form{margin:0;padding:0;border:none;background:transparent;box-shadow:none}
.welcome-profile-form label{display:block;margin:10px 0 4px 0}
.welcome-profile-form input[type="text"],.welcome-profile-form textarea,.welcome-greeting-form textarea{width:100%;box-sizing:border-box;display:block;margin:0}
.welcome-profile-form input[type="file"]{margin:0;width:auto}
.welcome-profile-form .welcome-action,.welcome-greeting-form .welcome-action{margin-top:14px}
.welcome-profile-avatar{display:block;width:96px;height:96px;object-fit:cover;border-radius:6px;margin:0 0 10px 0}
.welcome-step-warning{margin:0 0 12px 0}
.welcome-oasisid{border:none !important;background:transparent !important;padding:0 !important;box-shadow:none !important;margin:0 0 14px 0;word-break:break-all}
.welcome-oasisid .user-link{user-select:all}
