/* Desktop navigation Mastodon logo ကိုဖျောက်ရန် */
.navigation-panel__logo {
  display: flex !important;
  align-items: center !important;
  min-height: 52px !important;
  font-size: 0 !important;
  text-decoration: none !important;
  justify-content: flex-start !important;
  width: 100% !important;
  padding-left: 16px !important;
  margin: 0 !important;
}

.navigation-panel__logo svg,
.navigation-panel__logo .logo,
.navigation-panel__logo .logo--wordmark {
  display: none !important;
}

.navigation-panel__logo::after {
    content: "";
    display: block;
    width: 170px;
    height: 48px;

    //background: url("https://media.burmify.com/branding/burmify-logo-500-250.png")
        no-repeat left center;
    background-size: contain;
}

.navigation-panel__logo > a.column-link--logo {
  display: block !important;
  width: 420px !important;
  height: 50px !important;

  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;

  background-image: url("https://media.burmify.com/branding/burmify-logo-500-250.png") !important;
  background-repeat: no-repeat !important;
  background-position: 0 center !important;
  background-size: 190px auto !important;
}

/* မူရင်း Mastodon SVG wordmark ဖျောက်ရန် */
.navigation-panel__logo > a.column-link--logo > svg.logo--wordmark {
  display: none !important;
}

.navigation-panel__logo span {
    display: none;
}

/* Mobile / tablet header logo */
.ui__header__logo {
  display: flex !important;
  align-items: center !important;
  font-size: 0 !important;
}

.ui__header__logo::after {
  content: "";
  display: block;
  width: 135px;
  height: 38px;
  background-image: url("https://media.burmify.com/branding/burmify-logo-500-250.png");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: contain;
}

.ui__header__logo svg,
.ui__header__logo .logo,
.ui__header__logo .logo--wordmark {
  display: none !important;
}

.ui__header__logo::after {
  content: "Burmify";
  display: block;
  font-size: 22px;
  line-height: 1;
  font-weight: 800;
  color: var(--color-text-primary, #27272a);
}

.getting-started__footer {
  display: none !important;
}

.getting-started__footer p:last-child {
  font-size: 0 !important;
}

.getting-started__footer p:last-child a {
  display: none !important;
}

/* နောက်ဆုံး View source code link ကိုမဖျောက်ပါ */
.getting-started__footer p:last-child a:last-of-type {
  display: inline !important;
  font-size: 12px !important;
}

.getting-started__footer p:last-child::before {
  content: "Burmify source: ";
  display: inline;
  font-size: 12px;
}

/* Footer ထဲက Mastodon navigation section တစ်ခုပဲ ဖျောက်ရန် */
footer[class*="link_footer__wrapper"] > section:last-child {
  display: none !important;
}

.admin-wrapper .sidebar a img.logo {
    display:none !important;
}

/* Hide original Mastodon admin logo */
.admin-wrapper .sidebar > a:first-child img.logo,
.admin-wrapper .sidebar > a:first-child img.logo--icon {
  display: none !important;
}

/* Show Burmify logo only on the first logo link */
.admin-wrapper .sidebar > a:first-child {
  display: block !important;
  width: 220px !important;
  height: 80px !important;
  padding: 0 !important;

  background-image: url("https://media.burmify.com/branding/burmify-logo-500-250.png") !important;
  background-repeat: no-repeat !important;
  background-position: left !important;
  background-size: contain !important;
}

/* Admin account name and Active users on Home page */
/* Hide public administrator + server statistics section */
.server-banner__meta {
  display: none !important;
}

/* =========================================
   Burmify About Page Customization
   ========================================= */

/* Hide the entire "ADMINISTERED BY" section */
.about__meta > .about__meta__column:first-child {
  display: none !important;
}

/* Remove divider after ADMINISTERED BY */
.about__meta > .about__meta__divider {
  display: none !important;
}

/* Let CONTACT use the available space */
.about__meta > .about__meta__column:last-child {
  width: 100% !important;
  flex: 1 1 100% !important;
}

/* Hide Mastodon's original description */
.about__header p {
  font-size: 0 !important;
}

/* Show Burmify ownership text */
.about__header p::after {
  content: "Burmify is owned and operated by 4U Corp.";
  font-size: 15px !important;
  line-height: 1.5 !important;
  color: inherit !important;
}

/* Hide Mastodon attribution footer on About page */
.about__footer {
  display: none !important;
}

/* Hide CC-BY-SA footer on About page */
.privacy-policy__body.prose > hr:last-of-type + p {
  font-size: 12px !important;
  opacity: 0.55;
}

/* Admin sidebar: Back to Mastodon → Back to Burmify */
.admin-wrapper .sidebar li#web > a {
  font-size: 0 !important;
}

.admin-wrapper .sidebar li#web > a::after {
  content: "Back to Burmify";
  font-size: 15px !important;
}

/* ==================================================
   BURMIFY VERIFIED BADGE
   ================================================== */
/* Hide Mastodon's original role icon */
[data-account-role-id="4"] > svg {
  display: none !important;
}

/* Hide Mastodon's original role icon */
[data-account-role-id="5"] > svg {
  display: none !important;
}

/* Hide Mastodon's original role icon */
[data-account-role-id="6"] > svg {
  display: none !important;
}

/* Burmify verified seal */
[data-account-role-id="4"]::before,
[data-account-role-id="5"]::before,
 [data-account-role-id="6"]::before {
    content: "";
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
    display: inline-block;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    box-sizing: border-box;
}

/* ==================================================
   Verified Role ID = 4
Burmify verified seal
   ================================================== */
[data-account-role-id="4"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='%232f80ed'%3E%3Ccircle cx='12' cy='12' r='7.2'/%3E%3Ccircle cx='12' cy='4.2' r='3.1'/%3E%3Ccircle cx='15.9' cy='5.25' r='3.1'/%3E%3Ccircle cx='18.75' cy='8.1' r='3.1'/%3E%3Ccircle cx='19.8' cy='12' r='3.1'/%3E%3Ccircle cx='18.75' cy='15.9' r='3.1'/%3E%3Ccircle cx='15.9' cy='18.75' r='3.1'/%3E%3Ccircle cx='12' cy='19.8' r='3.1'/%3E%3Ccircle cx='8.1' cy='18.75' r='3.1'/%3E%3Ccircle cx='5.25' cy='15.9' r='3.1'/%3E%3Ccircle cx='4.2' cy='12' r='3.1'/%3E%3Ccircle cx='5.25' cy='8.1' r='3.1'/%3E%3Ccircle cx='8.1' cy='5.25' r='3.1'/%3E%3C/g%3E%3Cpath d='M7.2 12.1l3.05 3.05 6.55-7.05' fill='none' stroke='white' stroke-width='2.35' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* ==================================================
   Organization Role ID = 5
Burmify organization seal
   ================================================== */
[data-account-role-id="5"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='%23D9A300'%3E%3Ccircle cx='12' cy='12' r='7.2'/%3E%3Ccircle cx='12' cy='4.2' r='3.1'/%3E%3Ccircle cx='15.9' cy='5.25' r='3.1'/%3E%3Ccircle cx='18.75' cy='8.1' r='3.1'/%3E%3Ccircle cx='19.8' cy='12' r='3.1'/%3E%3Ccircle cx='18.75' cy='15.9' r='3.1'/%3E%3Ccircle cx='15.9' cy='18.75' r='3.1'/%3E%3Ccircle cx='12' cy='19.8' r='3.1'/%3E%3Ccircle cx='8.1' cy='18.75' r='3.1'/%3E%3Ccircle cx='5.25' cy='15.9' r='3.1'/%3E%3Ccircle cx='4.2' cy='12' r='3.1'/%3E%3Ccircle cx='5.25' cy='8.1' r='3.1'/%3E%3Ccircle cx='8.1' cy='5.25' r='3.1'/%3E%3C/g%3E%3Cpath d='M7.2 12.1l3.05 3.05 6.55-7.05' fill='none' stroke='white' stroke-width='2.35' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* ==================================================
   Government Role ID = 6
Burmify government seal
   ================================================== */
[data-account-role-id="6"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='%230F766E'%3E%3Ccircle cx='12' cy='12' r='7.2'/%3E%3Ccircle cx='12' cy='4.2' r='3.1'/%3E%3Ccircle cx='15.9' cy='5.25' r='3.1'/%3E%3Ccircle cx='18.75' cy='8.1' r='3.1'/%3E%3Ccircle cx='19.8' cy='12' r='3.1'/%3E%3Ccircle cx='18.75' cy='15.9' r='3.1'/%3E%3Ccircle cx='15.9' cy='18.75' r='3.1'/%3E%3Ccircle cx='12' cy='19.8' r='3.1'/%3E%3Ccircle cx='8.1' cy='18.75' r='3.1'/%3E%3Ccircle cx='5.25' cy='15.9' r='3.1'/%3E%3Ccircle cx='4.2' cy='12' r='3.1'/%3E%3Ccircle cx='5.25' cy='8.1' r='3.1'/%3E%3Ccircle cx='8.1' cy='5.25' r='3.1'/%3E%3C/g%3E%3Cpath d='M7.2 12.1l3.05 3.05 6.55-7.05' fill='none' stroke='white' stroke-width='2.35' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* ==================================================
   BURMIFY ROLE BADGES
   Hide "(burmify.com)" from ALL roles
   ================================================== */
div[class*="comp_badge__badge"] span[class*="comp_badge__domain"] {
  display: none !important;
}

/* ==================================================
   BURMIFY MENU / LABEL RENAMES
   Home       -> Following
   Live feeds -> Discover
   This server -> Burmify
   ================================================== */
/* ----------------------------------
   Sidebar labels
   ---------------------------------- */

.navigation-panel a[href="/home"] span,
.navigation-panel a[href="/public/local"] span,
.navigation-panel a[href="/settings/preferences"] span {
  position: relative;
  visibility: hidden;
}


/* Common replacement style */
.navigation-panel a[href="/home"] span::after,
.navigation-panel a[href="/public/local"] span::after,
.navigation-panel a[href="/settings/preferences"] span::after {
  visibility: visible;

  position: absolute;
  top: 0;
  left: 0;

  font: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  color: inherit;

  white-space: nowrap;
}


/* Home -> Following */
.navigation-panel a[href="/home"] span::after {
  content: "Following";
}


/* Live feeds -> Discover */
.navigation-panel a[href="/public/local"] span::after {
  content: "Discover";
}


/* Preferences -> Settings */
.navigation-panel a[href="/settings/preferences"] span::after {
  content: "Settings";
}


/* ----------------------------------
   This server -> Burmify
   ---------------------------------- */

.account__section-headline a[href="/public/local"] > div {
  position: relative;
  visibility: hidden;
}

.account__section-headline a[href="/public/local"] > div::after {
  content: "Burmify";

  visibility: visible;

  position: absolute;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  font: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  color: inherit;

  white-space: nowrap;
}

/* ==================================================
   Replace "Posts on Mastodon..." -> "Posts on Burmify..."
   ================================================== */

.follow_requests-unlocked_explanation span {
  font-size: 0 !important;
  line-height: 0 !important;
}

.follow_requests-unlocked_explanation span::before {
  content: "Posts on Burmify are not end-to-end encrypted. Do not share any sensitive information over Burmify. ";
  font-size: 13px;
  line-height: 18px;
  color: var(--color-text);
}

.follow_requests-unlocked_explanation span a {
  font-size: 13px !important;
  line-height: 18px !important;
}

/* Hide Learn more */
.follow_requests-unlocked_explanation a {
  display: none !important;
}

/* ==================================================
   Preferences -> Settings
   ================================================== */
.navigation-panel a[href="/settings/preferences"] span {
  position: relative;
  visibility: hidden;
}

.navigation-panel a[href="/settings/preferences"] span::after {
  content: "Settings";

  visibility: visible;

  position: absolute;
  top: 0;
  left: 0;

  font: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  color: inherit;

  white-space: nowrap;
}

