:root {
  --app-page-max: 1080px;
  --app-form-max: 920px;
  --app-card-radius: 8px;
  --app-control-radius: 6px;
  --fb-bg: #141617;
  --fb-surface: rgba(30, 33, 36, 0.92);
  --fb-surface-soft: #24282c;
  --fb-surface-deep: #181b1e;
  --fb-chat-panel: #182129;
  --fb-border: rgba(226, 235, 243, 0.14);
  --fb-border-strong: rgba(74, 163, 255, 0.48);
  --fb-text: #f4f7f8;
  --fb-text-soft: #d2d9df;
  --fb-text-muted: #9ba7b0;
  --fb-accent: #4aa3ff;
  --fb-accent-soft: rgba(74, 163, 255, 0.16);
  --fb-green: #42c68f;
  --fb-green-soft: rgba(66, 198, 143, 0.16);
  --fb-red: #d95151;
  --fb-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
}

html { background: var(--fb-bg); }

body {
  --app-content-top: 78px;
  --desktop-chat-width: var(--app-page-max);
  --desktop-chat-side-pad: 20px;
  --desktop-chat-bottom-pad: 20px;
  color: var(--fb-text);
  background-color: var(--fb-bg) !important;
  background-blend-mode: multiply;
  letter-spacing: 0;
}

body, button, input, select, textarea { font-family: "Open Sans", Arial, sans-serif; }
a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { max-width: 100%; }

.fixed-navbar {
  height: 64px;
  padding: 0 clamp(12px, 2.4vw, 28px);
  background: rgba(20, 22, 24, 0.94);
  border-bottom: 1px solid var(--fb-border);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
}

.nav-left, .nav-center, .nav-right { gap: 8px; }
.nav-center { padding: 0 10px; }
.fixed-navbar a { color: var(--fb-text-soft); }

.icon-btn-left, .nav-box, .mobile-nav-item, .mobile-guest-link {
  min-height: 40px;
  border: 1px solid transparent;
  border-radius: var(--app-control-radius);
  color: var(--fb-text-soft);
}

.icon-btn-left {
  width: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.icon-btn-chat-left { margin-right: 8px; }

.nav-box {
  min-width: 96px;
  max-width: 142px;
  height: 40px;
  padding: 0 12px;
  font-size: 15px;
  font-weight: 700;
}

.nav-center .nav-box { flex: 0 1 auto; }
.nav-right .nav-box, .nav-icon-box { width: 44px; min-width: 44px; max-width: 44px; padding: 0; }
.nav-context-switch { border-color: rgba(66, 198, 143, 0.32); color: #dff8ec; }

.fixed-navbar a:hover, .icon-btn-left:hover, .nav-box:hover, .nav-context-switch:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--fb-border);
  color: var(--fb-text);
  text-decoration: none;
}

.icon-btn-left.nav-link-active, .nav-box.nav-link-active, .nav-link-active,
.mobile-nav-item.is-active, .mobile-nav-item.is-active .nav-icon {
  background: var(--fb-accent-soft);
  border-color: var(--fb-border-strong);
  color: var(--fb-text);
  stroke: var(--fb-text);
  box-shadow: inset 0 -2px 0 var(--fb-accent);
}

.chat-notif-dot, .notif-dot, .mobile-notif-dot {
  background-color: var(--fb-green);
  box-shadow: 0 0 0 2px rgba(20, 22, 24, 0.95), 0 0 12px rgba(66, 198, 143, 0.55);
}

.dropdown-content, .notif-dropdown, .post-option-menu {
  top: calc(100% + 8px);
  background: rgba(24, 27, 30, 0.98);
  border: 1px solid var(--fb-border);
  border-radius: var(--app-card-radius);
  box-shadow: var(--fb-shadow);
  overflow: hidden;
}

.dropdown-content a, .nav-logout-button, .post-option-menu a, .post-option-menu button {
  border-bottom: 1px solid var(--fb-border);
  color: var(--fb-text-soft);
  background: transparent;
}

.dropdown-content a:hover, .nav-logout-button:hover, .post-option-menu a:hover, .post-option-menu button:hover {
  background: var(--fb-accent-soft);
  color: var(--fb-text);
}

.wrapper-contents, .wrapper-setting, .wrapper-log {
  border: 1px solid var(--fb-border);
  border-radius: var(--app-card-radius);
  background: var(--fb-surface);
  box-shadow: var(--fb-shadow);
  backdrop-filter: blur(18px);
}

.wrapper-contents { max-width: var(--app-page-max); padding: 22px; }
.wrapper-setting { max-width: var(--app-page-max); }
.wrapper-log { width: min(100%, 620px); max-width: calc(100vw - 40px); padding: 28px; }
.wrapper-contents a, .wrapper-setting a, .wrapper-log a { color: var(--fb-text); }

.post-create-shell { width: 100%; max-width: var(--app-form-max); margin: 0 auto; padding: 0; border: 0; background: transparent; }

.post_main, .post-empty-card, .js-notif-empty, .wrapper-profil,
.support-section, .support-chat-card, .profile-search-top, .profile-search-middle,
.profile-private-note, .profile-public-login-box, .post-upload, .upload-editor,
.post-create-text-wrap, .post-report-modal {
  border: 1px solid var(--fb-border);
  border-radius: var(--app-card-radius);
  background: rgba(32, 36, 40, 0.92);
  box-shadow: none;
}

.post_main { padding: 18px; margin-bottom: 14px; }
.post_main:hover, .feed-post-shell > .post_main:hover,
.post-view-highlight > .post_main:first-child:hover,
#js-notification-list > .post_main:hover { border-color: var(--fb-border-strong); }
.post-head, .post-profile { gap: 10px; }

.post_profile_picture, .post_profile_picture_comment, .profile_picture_setting,
.notif-post-preview-image, .liked-row-media-image {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.post_profile_picture, .post_profile_picture_comment, .profile_picture_setting {
  border: 1px solid rgba(244, 247, 248, 0.18);
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.12);
}

.post_username, .liked-row-user, .notif-request-name, .profile-name-block h2 { color: var(--fb-text); }
.post_text_post, .post_text_home_text, .post_text_home_picture,
.liked-row-text, .notif-request-text, .profile-bio-plain { color: var(--fb-text-soft); }

.input-field, .comment-input-field, .post-create-text-wrap, .profile-bio-edit-wrap,
.support-text-wrap, .post-report-modal-field textarea, .desktop-chat-compose-input { border-color: var(--fb-border); }
.input-field input, .post-create-text-wrap textarea, .profile-bio-edit-wrap textarea,
.support-text-wrap textarea, .post-report-modal-field textarea, .desktop-chat-compose-input { color: var(--fb-text); }
.input-field label, .post-create-text-wrap textarea::placeholder,
.desktop-chat-compose-input::placeholder { color: var(--fb-text-muted); }

button, .support-action-btn, .support-create-btn, .profile-search-more-btn,
.post-follow-button, .comment-send-btn, .post-report-modal-submit,
.post-report-modal-cancel, .crop-choice, .upload-tool-button, .upload-thumb-action {
  border-radius: var(--app-control-radius);
}

.crop-choice, .upload-tool-button, .upload-thumb-action, .post-follow-button,
.profile-public-register-btn, .support-action-muted {
  background: var(--fb-surface-deep);
  border: 1px solid var(--fb-border);
  color: var(--fb-text);
}

.crop-choice.active, .crop-choice:hover, .upload-tool-button.active,
.upload-tool-button:hover, .upload-preview-item.is-selected, .upload-thumb.is-selected,
.upload-thumb:hover, .post-follow-button:hover, .support-action-primary,
.profile-public-login-btn, .profile-search-more-btn:hover, .comment-send-btn:hover {
  background: var(--fb-green-soft);
  border-color: rgba(66, 198, 143, 0.58);
  color: var(--fb-text);
  box-shadow: none;
}

.support-action-danger { background: rgba(217, 81, 81, 0.26); border-color: rgba(255, 120, 120, 0.65); color: var(--fb-text); }
.post_feet, .post-save-button, .post-reaction-button, .post-option-trigger { color: var(--fb-text-soft); }
.post-save-button.is-saved, .post-reaction-button.is-liked, .post_feet:hover,
.post-save-button:hover, .post-reaction-button:hover, .post-option-trigger:hover,
.post-option-box:focus-within .post-option-trigger { color: var(--fb-accent); }

.comment-author-line { display: inline-flex; align-items: baseline; gap: 8px; min-width: 0; flex-wrap: wrap; }
.comment-created-at { color: var(--fb-text-muted); font-size: 12px; font-weight: 500; line-height: 1.2; white-space: nowrap; }
.comment-send-form { display: block; }
.comment-send-form .comment-input-field {
  min-height: 48px;
  margin: 0;
  padding: 0 42px 0 12px;
  border: 1px solid rgba(74, 163, 255, 0.44);
  border-radius: var(--app-control-radius);
  background: rgba(18, 24, 30, 0.72);
  box-shadow: none;
}
.comment-send-form .comment-input-field input { height: 40px; font-size: 14px; }
.comment-send-form .comment-input-field label {
  left: 12px;
  right: 42px;
  width: auto;
  overflow: hidden;
  color: var(--fb-text-muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.comment-send-form .comment-input-field input:focus~label,
.comment-send-form .comment-input-field input:valid~label { display: none; }
.two_comment { margin: 12px 0 0 32px; padding: 2px 0 2px 16px; border-left: 2px solid var(--fb-border); border-radius: 0; background: transparent; box-shadow: none; }
.two_comment hr { display: none; }
.comment-reply-form { margin: 12px 0 0 32px; padding-left: 16px; border-left: 2px solid var(--fb-border); }

.mobile-feed-tabs, .profile-post-filter-tabs { background: transparent; border: 0; border-radius: 0; }
.mobile-feed-tab, .profile-post-filter-tab {
  min-height: 36px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  color: var(--fb-text-muted);
  box-shadow: none;
}
.mobile-feed-tab:hover, .profile-post-filter-tab:hover,
.mobile-feed-tab.is-active, .profile-post-filter-tab.is-active { color: var(--fb-text); border-bottom-color: var(--fb-accent); }

.wrapper-profil { background-image: none; }
.profile-name-actions { flex-direction: row; flex-wrap: wrap; gap: 6px; }
.profile-name-actions .post-follow-button.is-icon, .profile-name-actions .profile-chat-trigger,
.profile-name-actions .profile-share-trigger, .profile-name-actions .profile-block-trigger,
.profile-editor-toggle-btn, .profile-editor-settings-btn {
  background: var(--fb-surface-deep);
  border: 1px solid var(--fb-border);
  color: var(--fb-text-soft);
  box-shadow: none;
}
.profile-name-actions .post-follow-button.is-icon:hover, .profile-name-actions .profile-chat-trigger:hover,
.profile-name-actions .profile-share-trigger:hover, .profile-name-actions .profile-block-trigger:hover,
.profile-editor-toggle-btn:hover, .profile-editor-settings-btn:hover { color: var(--fb-text); border-color: var(--fb-border-strong); }
.profile-name-actions-separator { width: 1px; height: 28px; margin: 0 2px; background: var(--fb-border); }
.profile-post-filter-tabs { margin-top: 12px; margin-bottom: 12px; }
.profile-post-tile-grid { gap: 10px; }
.profile-post-tile-card { background: var(--fb-surface-soft); border: 1px solid var(--fb-border); border-radius: var(--app-card-radius) var(--app-card-radius) 0 0; }
.profile-post-tile-card.is-text { color: var(--fb-text-soft); }
.profile-post-tile-metric { background: var(--fb-surface-deep); border-color: var(--fb-border); color: var(--fb-text-muted); }

.desktop-chat-box { border: 1px solid var(--fb-border); border-radius: var(--app-card-radius); background: #15191d; box-shadow: var(--fb-shadow); }
.desktop-chat-head, .desktop-chat-partner-head, .desktop-chat-compose { background: #171d22; border-color: var(--fb-border); }
.desktop-chat-body, .desktop-chat-left-column, .desktop-chat-right-content,
.chat-mobile-page-live .desktop-chat-left-column, .chat-mobile-page-live .desktop-chat-pane-right { background: var(--fb-chat-panel); }
.desktop-chat-right-content { border: 1px solid rgba(74, 163, 255, 0.34); border-radius: var(--app-card-radius); box-shadow: none; }
.desktop-chat-list-row, .desktop-chat-message-row, .desktop-chat-request-card,
.desktop-chat-profile-share-card, .desktop-chat-post-share-card, .desktop-chat-group-invite-card {
  background-color: rgba(27, 36, 44, 0.9);
  border-color: rgba(226, 235, 243, 0.12);
  box-shadow: none;
}
.desktop-chat-list-row.is-active, .desktop-chat-list-row.has-unread { border-color: rgba(66, 198, 143, 0.62); background: rgba(66, 198, 143, 0.12); }
.desktop-chat-day-label, .desktop-chat-day-separator::after,
.desktop-chat-message-area.is-validity-sticky-active .desktop-chat-day-separator:not(.desktop-chat-validity-separator) { background: transparent; }

body.chat-open .wrapper-contents, body.chat-open.chat-open-overlay .wrapper-contents,
body.chat-open .wrapper-setting, body.chat-open .wrapper-log,
body.chat-open.chat-open-overlay .wrapper-setting {
  width: 100%;
  max-width: min(var(--app-page-max), var(--desktop-chat-main-open-max));
}
body.app-context-chat.chat-open {
  --desktop-chat-effective-width: min(var(--app-page-max), calc(100vw - 32px));
  justify-content: center;
  overflow-x: hidden;
  overflow-y: auto;
  padding-left: 0;
  padding-right: 0;
}
body.app-context-chat.chat-open .desktop-chat-shell {
  position: relative;
  top: auto;
  left: auto;
  bottom: auto;
  width: min(100%, calc(100vw - 32px));
  max-width: var(--app-page-max);
  height: calc(100vh - var(--app-content-top) - 28px);
  min-height: 620px;
  margin: var(--app-content-top) auto 24px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  transition: none;
  z-index: 1;
}
body.app-context-chat.chat-open .desktop-chat-box { height: 100%; }

/* Settings pages use the same visual language as feeds/profiles. */
.wrapper-setting.settings-upgrade,
.wrapper-setting.settings-upgrade.settings-page,
.wrapper-setting.settings-upgrade.admin-settings-wrap,
.wrapper-setting.settings-upgrade.admin-settings-form-wrap,
.wrapper-setting.settings-upgrade.admin-user-settings-wrap,
.wrapper-setting.settings-upgrade.admin-website-settings-wrap {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}
.settings-upgrade .settings-page-head,
.wrapper-setting.settings-upgrade.admin-settings-wrap .settings-page-head,
.settings-upgrade .settings-group,
.wrapper-setting.settings-upgrade.admin-settings-form-wrap .settings-group,
.admin-user-profile-summary,
.wrapper-setting.settings-upgrade .support-empty {
  border: 1px solid var(--fb-border);
  border-radius: var(--app-card-radius);
  background: rgba(32, 36, 40, 0.92);
  box-shadow: none;
}
.settings-upgrade .settings-page-head { margin: 0 0 14px; padding: 18px; }
.settings-upgrade .settings-page-head h2 { margin: 0; color: var(--fb-text); font-size: 24px; line-height: 1.2; }
.settings-upgrade .settings-group { margin: 0 0 14px; padding: 18px; }
.settings-upgrade .settings-group:hover, .settings-upgrade .settings-page-head:hover { border-color: var(--fb-border-strong); }
.settings-upgrade .settings-group-title, .settings-upgrade .settings-bg-title {
  margin: 0 0 10px;
  color: var(--fb-text);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
}
.settings-upgrade .settings-switch-row { margin: 10px 0 0; }
.settings-upgrade .settings-switch { display: inline-flex; align-items: center; gap: 10px; color: var(--fb-text-soft); cursor: pointer; }
.settings-upgrade .settings-switch-box {
  width: 22px;
  height: 22px;
  border: 1px solid var(--fb-border-strong);
  border-radius: var(--app-control-radius);
  background: var(--fb-surface-deep);
  box-shadow: none;
}
.settings-upgrade .settings-switch input:checked + .settings-switch-box {
  background: var(--fb-green-soft);
  border-color: rgba(66, 198, 143, 0.68);
  box-shadow: inset 0 0 0 5px rgba(66, 198, 143, 0.28);
}
.settings-upgrade .settings-switch-label { color: var(--fb-text-soft); }
.settings-upgrade .settings-bg-arrow {
  width: 36px;
  height: 36px;
  border: 1px solid var(--fb-border);
  border-radius: var(--app-control-radius);
  background: var(--fb-surface-deep);
  color: var(--fb-text-soft);
  box-shadow: none;
}
.settings-upgrade .settings-bg-arrow:hover:not(:disabled) { border-color: var(--fb-border-strong); color: var(--fb-text); background: var(--fb-accent-soft); }
.settings-upgrade .settings-bg-preview { border: 1px solid var(--fb-border); border-radius: var(--app-card-radius); }
.settings-upgrade .settings-bg-item input:checked + .settings-bg-preview {
  border-color: rgba(66, 198, 143, 0.76);
  box-shadow: 0 0 0 2px rgba(66, 198, 143, 0.2);
}
.settings-upgrade .settings-bg-upload-preview { border-color: var(--fb-border); background: var(--fb-surface-deep); }
.settings-upgrade .settings-bg-upload-plus { border-color: var(--fb-border); color: var(--fb-text-soft); }
.settings-upgrade .settings-bg-upload-text, .settings-upgrade .settings-bg-upload-note { color: var(--fb-text-muted); text-shadow: none; }
.wrapper-setting.settings-upgrade .input-field input:not([type='checkbox']):not([type='radio']):not([type='file']),
.wrapper-setting.settings-upgrade .input-field select,
.wrapper-setting.settings-upgrade .support-text-wrap textarea,
.wrapper-setting.settings-upgrade textarea,
.wrapper-setting.settings-upgrade input[type='file'] {
  border: 1px solid var(--fb-border);
  border-radius: var(--app-control-radius);
  background: var(--fb-surface-deep);
  color: var(--fb-text);
  box-shadow: none;
}
.wrapper-setting.settings-upgrade .input-field input:not([type='checkbox']):not([type='radio']):not([type='file']):focus,
.wrapper-setting.settings-upgrade .input-field select:focus,
.wrapper-setting.settings-upgrade .support-text-wrap textarea:focus,
.wrapper-setting.settings-upgrade textarea:focus {
  border-color: var(--fb-border-strong);
  box-shadow: 0 0 0 2px rgba(74, 163, 255, 0.14);
}

.mobile-bottom-bar, .mobile-guest-topbar { background: rgba(20, 22, 24, 0.96); border-color: var(--fb-border); box-shadow: none; }
.chat-home-page { min-height: 55vh; }
.minecraft-home-page { display: flex; flex-direction: column; gap: 14px; }
.minecraft-home-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.minecraft-home-card { display: flex; flex-direction: column; gap: 6px; text-decoration: none; }
.minecraft-mobile-nav-tab { min-width: 82px; padding: 0 8px; font-size: 12px; }
.minecraft-profile-dashboard {
  --mc-accent: 205;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-color: hsla(var(--mc-accent), 72%, 58%, 0.28);
}
.minecraft-profile-dashboard::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(135deg, hsla(var(--mc-accent), 76%, 55%, 0.11), rgba(255, 255, 255, 0.018) 58%);
}
.minecraft-profile-dashboard > * { position: relative; z-index: 1; }
.minecraft-profile-dashboard-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.minecraft-profile-dashboard-title {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.minecraft-profile-dashboard-title strong {
  color: #fff;
  font-size: 19px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.minecraft-profile-dashboard-state {
  flex: 0 0 auto;
  border: 1px solid hsla(var(--mc-accent), 74%, 62%, 0.38);
  border-radius: 999px;
  padding: 6px 11px;
  color: #dff1ff;
  background: hsla(var(--mc-accent), 68%, 42%, 0.17);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}
.minecraft-profile-dashboard.is-online .minecraft-profile-dashboard-state {
  border-color: rgba(57, 203, 117, 0.46);
  color: #c9ffe0;
  background: rgba(38, 163, 97, 0.21);
}
.minecraft-profile-dashboard.is-offline .minecraft-profile-dashboard-state,
.minecraft-profile-dashboard.is-disconnected .minecraft-profile-dashboard-state {
  border-color: rgba(148, 163, 184, 0.28);
  color: var(--fb-text-soft);
  background: rgba(148, 163, 184, 0.12);
}
.minecraft-profile-dashboard.is-banned .minecraft-profile-dashboard-state {
  border-color: rgba(255, 92, 92, 0.42);
  color: #ffd4d4;
  background: rgba(255, 92, 92, 0.16);
}
.minecraft-profile-dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid hsla(var(--mc-accent), 58%, 58%, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
}
.minecraft-profile-dashboard-metric {
  min-width: 0;
  padding: 10px 12px;
  border-right: 1px solid hsla(var(--mc-accent), 58%, 58%, 0.16);
}
.minecraft-profile-dashboard-metric:last-child { border-right: 0; }
.minecraft-profile-dashboard-metric span {
  display: block;
  color: var(--fb-text-muted);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}
.minecraft-profile-dashboard-metric strong {
  display: block;
  margin-top: 5px;
  color: #fff;
  font-size: 14px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.minecraft-profile-dashboard-metric em {
  display: block;
  margin-top: 3px;
  color: var(--fb-text-muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}
.minecraft-profile-dashboard-copy {
  margin: 0;
  color: var(--fb-text-soft);
  font-size: 14px;
  line-height: 1.45;
}
.minecraft-profile-dashboard-code {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 5px;
  border: 1px solid hsla(var(--mc-accent), 58%, 58%, 0.2);
  border-radius: 8px;
  padding: 11px 12px;
  background: rgba(255, 255, 255, 0.025);
}
.minecraft-profile-dashboard-code span {
  color: var(--fb-text-muted);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}
.minecraft-profile-dashboard-command {
  display: grid;
  grid-template-columns: 46px 1px minmax(0, 1fr);
  min-height: 42px;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid hsla(var(--mc-accent), 58%, 58%, 0.18);
  border-radius: 8px;
  background: rgba(6, 10, 14, 0.24);
}
.minecraft-profile-dashboard-copy-button {
  display: inline-flex;
  width: 46px;
  min-width: 46px;
  align-items: center;
  justify-content: center;
  border: 0;
  color: #dff1ff;
  background: transparent;
  cursor: pointer;
}
.minecraft-profile-dashboard-copy-button:hover {
  color: #fff;
  background: hsla(var(--mc-accent), 68%, 46%, 0.2);
}
.minecraft-profile-dashboard-copy-button.is-copied {
  color: #d9ffe8;
  background: rgba(38, 190, 102, 0.28);
  box-shadow: inset 0 0 0 1px rgba(86, 255, 157, 0.38), 0 0 18px rgba(38, 190, 102, 0.34);
  animation: minecraft-copy-green-flash 1.15s ease-out;
}
@keyframes minecraft-copy-green-flash {
  0% { background: rgba(38, 190, 102, 0.54); box-shadow: inset 0 0 0 1px rgba(132, 255, 184, 0.72), 0 0 24px rgba(38, 190, 102, 0.58); }
  100% { background: rgba(38, 190, 102, 0.18); box-shadow: inset 0 0 0 1px rgba(86, 255, 157, 0.2), 0 0 0 rgba(38, 190, 102, 0); }
}
.minecraft-profile-dashboard-copy-button.is-copy-error {
  color: #ffd4d4;
  background: rgba(255, 92, 92, 0.14);
}
.minecraft-profile-dashboard-copy-icon {
  display: block;
  width: 24px;
  height: 24px;
  min-width: 24px;
  stroke: currentColor;
  pointer-events: none;
}
.minecraft-profile-dashboard-command i {
  width: 1px;
  background: hsla(var(--mc-accent), 58%, 58%, 0.2);
}
.minecraft-profile-dashboard-command strong {
  display: flex;
  min-width: 0;
  align-items: center;
  padding: 0 12px;
  color: #fff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 15px;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.minecraft-profile-dashboard-code em {
  color: var(--fb-text-muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}
.minecraft-profile-dashboard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.minecraft-profile-dashboard-actions button {
  min-height: 36px;
  border: 1px solid hsla(var(--mc-accent), 74%, 62%, 0.38);
  border-radius: var(--app-control-radius);
  padding: 0 13px;
  color: #eaf6ff;
  background: hsla(var(--mc-accent), 68%, 42%, 0.17);
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
}
.minecraft-profile-dashboard-actions button:hover {
  border-color: hsla(var(--mc-accent), 82%, 66%, 0.58);
  background: hsla(var(--mc-accent), 72%, 48%, 0.24);
}
.nav-chat-disabled {
  cursor: default;
  opacity: 0.72;
}
.funboa-inline-toast {
  position: fixed;
  top: calc(var(--app-content-top, 68px) + 12px);
  left: 50%;
  z-index: 10050;
  max-width: min(420px, calc(100vw - 28px));
  transform: translate(-50%, -8px);
  border: 1px solid rgba(74, 163, 255, 0.34);
  border-radius: 8px;
  padding: 10px 13px;
  color: #eaf6ff;
  background: rgba(19, 24, 30, 0.96);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.34);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.16s ease, transform 0.16s ease;
}
.funboa-inline-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.minecraft-news-empty { color: var(--fb-text-soft); }
.minecraft-news-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.minecraft-news-list .post_main.minecraft-news-post {
  margin-bottom: 0;
}
.minecraft-news-list.is-embedded {
  gap: 0;
}
.minecraft-news-list.is-embedded .minecraft-news-post {
  padding: 10px 0;
  border-top: 1px solid hsla(var(--mc-accent), 62%, 58%, 0.18);
}
.minecraft-news-list.is-embedded .minecraft-news-post:first-child {
  padding-top: 0;
  border-top: 0;
}
.minecraft-news-list.is-embedded .minecraft-news-post:last-child {
  padding-bottom: 2px;
}
.minecraft-news-post {
  min-width: 0;
}
.minecraft-news-post-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.minecraft-news-post-titleline {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  align-items: baseline;
  gap: 8px;
}
.minecraft-news-post-head strong {
  min-width: 0;
  color: #fff;
  font-size: 16px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.minecraft-news-post-head span {
  flex: 0 0 auto;
  color: var(--fb-text-muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  white-space: nowrap;
}
.minecraft-news-post-source {
  color: var(--fb-text-soft);
  font-size: 14px;
  font-weight: 700;
}
.minecraft-news-post-text {
  margin-top: 8px;
  color: var(--fb-text-soft);
  font-size: 14px;
  line-height: 1.48;
  overflow-wrap: anywhere;
}
.minecraft-news-list.is-embedded .minecraft-news-post-head strong {
  font-size: 14px;
}
.minecraft-news-list.is-embedded .minecraft-news-post-text {
  font-size: 13px;
}
.minecraft-news-empty-inline {
  color: var(--fb-text-muted);
  font-size: 13px;
}
.minecraft-server-status-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.minecraft-server-status-card {
  --mc-accent: 205;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-color: hsla(var(--mc-accent), 72%, 58%, 0.28);
}
.minecraft-server-status-link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
.minecraft-server-status-link:hover {
  border-color: hsla(var(--mc-accent), 82%, 64%, 0.52);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.024));
}
.minecraft-server-detail-card {
  gap: 12px;
}
.minecraft-server-detail-back {
  align-self: flex-start;
  color: var(--fb-text-muted);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}
.minecraft-server-detail-back:hover {
  color: #fff;
}
.minecraft-server-status-card::before {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.minecraft-server-status-card::before { inset: 0; }
.minecraft-server-status-card > * { position: relative; z-index: 1; }
.minecraft-server-status-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.minecraft-server-status-head strong { flex: 1 1 auto; min-width: 0; color: #fff; overflow-wrap: anywhere; }
.minecraft-server-status-title {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}
.minecraft-server-status-title strong { flex: 0 1 auto; }
.minecraft-server-group-subline {
  color: var(--fb-text-muted);
  font-size: 12px;
  font-weight: 700;
}
.minecraft-server-status-meta {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-left: auto;
}
.minecraft-server-status-meta span {
  flex: 0 0 auto;
  border: 1px solid var(--fb-border);
  border-radius: 999px;
  color: var(--fb-text-soft);
  background: rgba(90, 102, 124, 0.2);
  padding: 4px 9px;
  font-size: 12px;
}
.minecraft-server-status-meta .minecraft-server-player-count {
  border-color: hsla(var(--mc-accent), 72%, 62%, 0.5);
  color: #d8efff;
  background: hsla(var(--mc-accent), 72%, 40%, 0.2);
}
.minecraft-server-status-card.is-online .minecraft-server-online-state {
  border-color: rgba(80, 190, 125, 0.7);
  color: #d8ffe8;
  background: rgba(47, 154, 87, 0.22);
}
.minecraft-server-status-card.is-offline .minecraft-server-online-state {
  border-color: rgba(255, 112, 112, 0.68);
  color: #ffe1e1;
  background: rgba(184, 56, 56, 0.22);
}
.minecraft-server-detail-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.minecraft-server-detail-server {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px;
  border: 1px solid hsla(var(--mc-accent), 62%, 58%, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.026);
}
.minecraft-server-detail-stack.is-accordion .minecraft-server-detail-server {
  gap: 0;
  padding: 0;
  overflow: hidden;
}
.minecraft-server-detail-toggle {
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  padding: 10px;
  text-align: left;
}
.minecraft-server-detail-toggle:hover {
  background: rgba(255, 255, 255, 0.035);
}
.minecraft-server-detail-toggle:focus-visible {
  outline: 2px solid hsla(var(--mc-accent), 82%, 64%, 0.55);
  outline-offset: -2px;
}
.minecraft-server-detail-toggle .minecraft-server-status-head {
  width: 100%;
}
.minecraft-server-detail-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.minecraft-server-detail-stack.is-accordion .minecraft-server-detail-content {
  padding: 0 10px 10px;
}
.minecraft-server-detail-content[hidden] {
  display: none;
}
.minecraft-server-detail-server.is-online .minecraft-server-online-state {
  border-color: rgba(80, 190, 125, 0.7);
  color: #d8ffe8;
  background: rgba(47, 154, 87, 0.22);
}
.minecraft-server-detail-server.is-offline .minecraft-server-online-state {
  border-color: rgba(255, 112, 112, 0.68);
  color: #ffe1e1;
  background: rgba(184, 56, 56, 0.22);
}
.minecraft-server-history-options {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}
.minecraft-server-history-preview {
  position: relative;
  min-width: 0;
  min-height: 232px;
  padding: 10px;
  border: 1px solid hsla(var(--mc-accent), 62%, 58%, 0.22);
  border-radius: 8px;
}
.minecraft-server-history-preview::before {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 28px;
  pointer-events: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.minecraft-server-history-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.minecraft-server-history-top span {
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}
.minecraft-server-history-top strong {
  flex: 0 0 auto;
  color: var(--fb-text-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}
.minecraft-server-history-chart {
  position: absolute;
  left: 10px;
  right: 10px;
  top: 10px;
  bottom: 28px;
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: auto;
  margin-top: 0;
  padding-top: 0;
}
.minecraft-server-history-chart::before,
.minecraft-server-history-chart::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  pointer-events: none;
}
.minecraft-server-history-chart::before {
  content: none;
}
.minecraft-server-history-chart::after {
  top: 8px;
  bottom: 12px;
}
.minecraft-server-history-chart i {
  position: relative;
  z-index: 1;
  flex: 1 1 0;
  min-width: 3px;
  height: var(--bar);
  opacity: var(--shade);
  border-radius: 999px 999px 4px 4px;
  background: linear-gradient(180deg, hsla(var(--mc-accent), 82%, 66%, 0.96), hsla(var(--mc-accent), 76%, 48%, 0.34));
}
.minecraft-server-history-time {
  display: grid;
  grid-template-columns: repeat(25, minmax(0, 1fr));
  gap: 0;
  color: var(--fb-text-muted);
  font-size: 9px;
  line-height: 1;
}
.minecraft-server-history-time span {
  min-width: 0;
  text-align: center;
}
.minecraft-server-history-time span:first-child { text-align: left; }
.minecraft-server-history-time span:last-child { text-align: right; }
.minecraft-server-history-line {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.minecraft-server-history-line polyline {
  fill: none;
  stroke: hsla(var(--mc-accent), 82%, 64%, 0.72);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.minecraft-server-history-caption {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 3;
  pointer-events: none;
  color: var(--fb-text-muted);
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
}
.minecraft-server-history-preview.is-history-dots .minecraft-server-history-chart i {
  position: absolute;
  z-index: 2;
  left: var(--x);
  top: var(--y);
  width: 6px;
  height: 6px;
  min-width: 6px;
  max-width: 6px;
  opacity: 1;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: hsla(var(--mc-accent), 82%, 64%, 0.96);
  box-shadow: 0 0 9px hsla(var(--mc-accent), 82%, 64%, 0.28);
  transform: translate(-50%, -50%);
}
.minecraft-server-history-preview.is-history-dots .minecraft-server-history-chart i.is-missing {
  border-color: rgba(148, 163, 184, 0.18);
  background: rgba(148, 163, 184, 0.34);
  box-shadow: none;
}
.minecraft-server-history-preview.is-history-dots .minecraft-server-history-chart i.is-missing::before {
  border-color: rgba(148, 163, 184, 0.28);
  color: #c8d2de;
}
.minecraft-server-history-preview.is-history-dots .minecraft-server-history-chart i::after {
  display: none;
}
.minecraft-server-history-preview.is-history-dots .minecraft-server-history-chart i::before {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 14px);
  z-index: 5;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, 4px);
  transition: opacity 0.14s ease, transform 0.14s ease;
  white-space: nowrap;
  border: 1px solid hsla(var(--mc-accent), 72%, 62%, 0.42);
  border-radius: 7px;
  background: rgba(12, 16, 22, 0.94);
  color: #e8f5ff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.32);
  min-width: 132px;
  padding: 10px 14px;
  text-align: center;
  font-size: 14px;
  font-style: normal;
  font-weight: 850;
  line-height: 1.25;
}
.minecraft-server-history-preview.is-history-dots .minecraft-server-history-chart i:hover::before {
  opacity: 1;
  transform: translate(-50%, 0);
}
.minecraft-server-address,
.minecraft-server-motd {
  color: var(--fb-text-muted);
  font-size: 13px;
  overflow-wrap: anywhere;
}
.minecraft-server-stat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--fb-text-soft);
  font-size: 13px;
}
.minecraft-server-stat-row strong {
  color: #fff;
  font-weight: 700;
  text-align: right;
  overflow-wrap: anywhere;
}
.minecraft-server-empty { color: var(--fb-text-soft); }
.minecraft-home-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }

@media (max-width: 900px) {
  .fixed-navbar { height: 60px; padding: 0 8px; }
  body { --app-content-top: 72px; }
  .nav-center { gap: 4px; padding: 0 4px; }
  .nav-center .nav-box { min-width: 76px; padding: 0 8px; font-size: 13px; }
  .icon-btn-left, .nav-right .nav-box, .nav-icon-box { width: 40px; min-width: 40px; max-width: 40px; }
}

@media (max-width: 767px) {
  .wrapper-contents { padding: 0; border-left: 0; border-right: 0; border-radius: 0; box-shadow: none; }
  .post_main, .wrapper-profil, .support-section, .support-chat-card,
  .profile-search-top, .profile-search-middle,
  .settings-upgrade .settings-page-head, .settings-upgrade .settings-group {
    border-left: 0;
    border-right: 0;
    border-radius: 0;
  }
  .post_main, .settings-upgrade .settings-page-head, .settings-upgrade .settings-group { padding: 14px; margin-bottom: 10px; }
  .two_comment, .comment-reply-form { margin-left: 18px; padding-left: 12px; }
  .profile-name-actions-separator { display: none; }
  .profile-post-tile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0 10px 12px; }
  .profile-post-tile-shell:nth-child(5n + 1) { grid-column: span 2; }
  .profile-post-tile-shell:nth-child(5n + 1) .profile-post-tile-card { aspect-ratio: 16 / 9; }
  .funboa-inline-toast {
    top: auto;
    bottom: calc(76px + env(safe-area-inset-bottom));
  }
  .minecraft-profile-dashboard-actions button { width: 100%; }
  .minecraft-profile-dashboard-head { align-items: stretch; flex-direction: column; }
  .minecraft-profile-dashboard-state { align-self: flex-start; }
  .minecraft-profile-dashboard-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .minecraft-profile-dashboard-metric:nth-child(2n) { border-right: 0; }
  .minecraft-profile-dashboard-metric:nth-child(n + 3) { border-top: 1px solid hsla(var(--mc-accent), 58%, 58%, 0.16); }
  .minecraft-server-history-options { grid-template-columns: minmax(0, 1fr); }
  .minecraft-server-history-preview { min-height: 208px; }
  .minecraft-server-history-chart { height: auto; }
}

@media (max-height: 760px) {
  body.app-context-chat.chat-open .desktop-chat-shell { min-height: calc(100vh - var(--app-content-top) - 24px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               
                                                                                                                             
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                   
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    